Documentation
¶
Index ¶
Constants ¶
View Source
const ( URLDeleteLeaderboard = "/ISteamLeaderboards/DeleteLeaderboard/v1/" URLFindOrCreateLeaderboard = "/ISteamLeaderboards/FindOrCreateLeaderboard/v2/" URLGetLeaderboardEntries = "/ISteamLeaderboards/GetLeaderboardEntries/v1/" URLGetLeaderboardsForGame = "/ISteamLeaderboards/GetLeaderboardsForGame/v2/" URLResetLeaderboard = "/ISteamLeaderboards/ResetLeaderboard/v1/" URLSetLeaderboardScore = "/ISteamLeaderboards/SetLeaderboardScore/v1/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOpt ¶
type CreateOpt struct {
Appid uint `json:"appid" mapstructure:"appid" valid:"required"`
Name string `json:"name" mapstructure:"name"`
SortMethod string `json:"sortmethod" mapstructure:"sortmethod"`
DisplayType string `json:"displaytype" mapstructure:"displaytype"`
CreateIfNotFound bool `json:"createifnotfound" mapstructure:"createifnotfound"`
OnlyTrustedWrites bool `json:"onlytrustedwrite" mapstructure:"onlytrustedwrite"`
OnlyFriendSreads bool `json:"onlyfriendsreads" mapstructure:"onlyfriendsreads"`
}
type EntriesQueryOpt ¶
type EntriesQueryOpt struct {
Appid uint `json:"appid" mapstructure:"appid" valid:"required"`
SteamId uint `json:"steamid" mapstructure:"steamid"`
LeaderBoardId int `json:"leaderboardid" mapstructure:"leaderboardid" valid:"required"`
RangeStart int `json:"rangestart" mapstructure:"rangestart"`
RangeEnd int `json:"rangeend" mapstructure:"rangeend"`
DataRequest uint `json:"datarequest" mapstructure:"datarequest" valid:"required"`
}
type ScoreSetOpt ¶
type ScoreSetOpt struct {
AppId uint `json:"appid" mapstructure:"appid" valid:"required"`
SteamdId uint `json:"steamdid" mapstructure:"steamdid" valid:"required"`
LeaderBoardId uint `json:"leaderboardid" mapstructure:"leaderboardid" valid:"required"`
Score int `json:"score" mapstructure:"score" valid:"required"`
ScoreMethod string `json:"scoremethod" mapstructure:"scoremethod" valid:"required"`
Details []byte `json:"details" mapstructure:"details"`
}
Click to show internal directories.
Click to hide internal directories.