Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ The base URL for HTTP requests is: `https://api.rlpp.psynet.gg/rpc/`.
> [!NOTE]
> When the API refers to a "Player ID", it typically expects the following format:
> ```
> <platform>|<platform-specific account ID>|0
> <platform>|<platform-specific account ID>|<splitscreen ID>
> ```
> For example, on Steam: `Steam|76561197960287930|0`. The final 0 is always included, though its purpose is unknown.
> For example, on Steam: `Steam|76561197960287930|0`. The trailing number represents the Rocket League splitscreen player index (`0` for the primary player, `1`+ for secondary local split-screen players).

###### Request
```json5
Expand Down
3 changes: 2 additions & 1 deletion playerid.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"strings"
)

// PlayerID represents a unique player identifier in the format "Platform|ID|0"
// PlayerID represents a unique player identifier in the format "Platform|ID|SplitscreenID"
// where SplitscreenID is typically 0 for the primary player.
type PlayerID string

// Platform represents a gaming platform
Expand Down