Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetCustomId() string
- func (x *Account) GetDevices() []*AccountDevice
- func (x *Account) GetDisableTime() *timestamppb.Timestamp
- func (x *Account) GetEmail() string
- func (x *Account) GetUser() *User
- func (x *Account) GetVerifyTime() *timestamppb.Timestamp
- func (x *Account) GetWallet() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountApple
- func (*AccountApple) Descriptor() ([]byte, []int)deprecated
- func (x *AccountApple) GetToken() string
- func (x *AccountApple) GetVars() map[string]string
- func (*AccountApple) ProtoMessage()
- func (x *AccountApple) ProtoReflect() protoreflect.Message
- func (x *AccountApple) Reset()
- func (x *AccountApple) String() string
- type AccountCustom
- func (*AccountCustom) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCustom) GetId() string
- func (x *AccountCustom) GetVars() map[string]string
- func (*AccountCustom) ProtoMessage()
- func (x *AccountCustom) ProtoReflect() protoreflect.Message
- func (x *AccountCustom) Reset()
- func (x *AccountCustom) String() string
- type AccountDevice
- func (*AccountDevice) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDevice) GetId() string
- func (x *AccountDevice) GetVars() map[string]string
- func (*AccountDevice) ProtoMessage()
- func (x *AccountDevice) ProtoReflect() protoreflect.Message
- func (x *AccountDevice) Reset()
- func (x *AccountDevice) String() string
- type AccountEmail
- func (*AccountEmail) Descriptor() ([]byte, []int)deprecated
- func (x *AccountEmail) GetEmail() string
- func (x *AccountEmail) GetPassword() string
- func (x *AccountEmail) GetVars() map[string]string
- func (*AccountEmail) ProtoMessage()
- func (x *AccountEmail) ProtoReflect() protoreflect.Message
- func (x *AccountEmail) Reset()
- func (x *AccountEmail) String() string
- type AccountFacebook
- func (*AccountFacebook) Descriptor() ([]byte, []int)deprecated
- func (x *AccountFacebook) GetToken() string
- func (x *AccountFacebook) GetVars() map[string]string
- func (*AccountFacebook) ProtoMessage()
- func (x *AccountFacebook) ProtoReflect() protoreflect.Message
- func (x *AccountFacebook) Reset()
- func (x *AccountFacebook) String() string
- type AccountFacebookInstantGame
- func (*AccountFacebookInstantGame) Descriptor() ([]byte, []int)deprecated
- func (x *AccountFacebookInstantGame) GetSignedPlayerInfo() string
- func (x *AccountFacebookInstantGame) GetVars() map[string]string
- func (*AccountFacebookInstantGame) ProtoMessage()
- func (x *AccountFacebookInstantGame) ProtoReflect() protoreflect.Message
- func (x *AccountFacebookInstantGame) Reset()
- func (x *AccountFacebookInstantGame) String() string
- type AccountGameCenter
- func (*AccountGameCenter) Descriptor() ([]byte, []int)deprecated
- func (x *AccountGameCenter) GetBundleId() string
- func (x *AccountGameCenter) GetPlayerId() string
- func (x *AccountGameCenter) GetPublicKeyUrl() string
- func (x *AccountGameCenter) GetSalt() string
- func (x *AccountGameCenter) GetSignature() string
- func (x *AccountGameCenter) GetTimestampSeconds() int64
- func (x *AccountGameCenter) GetVars() map[string]string
- func (*AccountGameCenter) ProtoMessage()
- func (x *AccountGameCenter) ProtoReflect() protoreflect.Message
- func (x *AccountGameCenter) Reset()
- func (x *AccountGameCenter) String() string
- type AccountGoogle
- func (*AccountGoogle) Descriptor() ([]byte, []int)deprecated
- func (x *AccountGoogle) GetToken() string
- func (x *AccountGoogle) GetVars() map[string]string
- func (*AccountGoogle) ProtoMessage()
- func (x *AccountGoogle) ProtoReflect() protoreflect.Message
- func (x *AccountGoogle) Reset()
- func (x *AccountGoogle) String() string
- type AccountRefresh
- func (*AccountRefresh) Descriptor() ([]byte, []int)deprecated
- func (x *AccountRefresh) GetToken() string
- func (x *AccountRefresh) GetVars() map[string]string
- func (*AccountRefresh) ProtoMessage()
- func (x *AccountRefresh) ProtoReflect() protoreflect.Message
- func (x *AccountRefresh) Reset()
- func (x *AccountRefresh) String() string
- type AccountSteam
- func (*AccountSteam) Descriptor() ([]byte, []int)deprecated
- func (x *AccountSteam) GetToken() string
- func (x *AccountSteam) GetVars() map[string]string
- func (*AccountSteam) ProtoMessage()
- func (x *AccountSteam) ProtoReflect() protoreflect.Message
- func (x *AccountSteam) Reset()
- func (x *AccountSteam) String() string
- type AddFriendsRequest
- func (*AddFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFriendsRequest) GetIds() []string
- func (x *AddFriendsRequest) GetUsernames() []string
- func (*AddFriendsRequest) ProtoMessage()
- func (x *AddFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *AddFriendsRequest) Reset()
- func (x *AddFriendsRequest) String() string
- type AddGroupUsersRequest
- func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGroupUsersRequest) GetGroupId() string
- func (x *AddGroupUsersRequest) GetUserIds() []string
- func (*AddGroupUsersRequest) ProtoMessage()
- func (x *AddGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *AddGroupUsersRequest) Reset()
- func (x *AddGroupUsersRequest) String() string
- type AuthenticateAppleRequest
- func (*AuthenticateAppleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateAppleRequest) GetAccount() *AccountApple
- func (x *AuthenticateAppleRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateAppleRequest) GetUsername() string
- func (*AuthenticateAppleRequest) ProtoMessage()
- func (x *AuthenticateAppleRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateAppleRequest) Reset()
- func (x *AuthenticateAppleRequest) String() string
- type AuthenticateCustomRequest
- func (*AuthenticateCustomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateCustomRequest) GetAccount() *AccountCustom
- func (x *AuthenticateCustomRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateCustomRequest) GetUsername() string
- func (*AuthenticateCustomRequest) ProtoMessage()
- func (x *AuthenticateCustomRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateCustomRequest) Reset()
- func (x *AuthenticateCustomRequest) String() string
- type AuthenticateDeviceRequest
- func (*AuthenticateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateDeviceRequest) GetAccount() *AccountDevice
- func (x *AuthenticateDeviceRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateDeviceRequest) GetUsername() string
- func (*AuthenticateDeviceRequest) ProtoMessage()
- func (x *AuthenticateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateDeviceRequest) Reset()
- func (x *AuthenticateDeviceRequest) String() string
- type AuthenticateEmailRequest
- func (*AuthenticateEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateEmailRequest) GetAccount() *AccountEmail
- func (x *AuthenticateEmailRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateEmailRequest) GetUsername() string
- func (*AuthenticateEmailRequest) ProtoMessage()
- func (x *AuthenticateEmailRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateEmailRequest) Reset()
- func (x *AuthenticateEmailRequest) String() string
- type AuthenticateFacebookInstantGameRequest
- func (*AuthenticateFacebookInstantGameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateFacebookInstantGameRequest) GetAccount() *AccountFacebookInstantGame
- func (x *AuthenticateFacebookInstantGameRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateFacebookInstantGameRequest) GetUsername() string
- func (*AuthenticateFacebookInstantGameRequest) ProtoMessage()
- func (x *AuthenticateFacebookInstantGameRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateFacebookInstantGameRequest) Reset()
- func (x *AuthenticateFacebookInstantGameRequest) String() string
- type AuthenticateFacebookRequest
- func (*AuthenticateFacebookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateFacebookRequest) GetAccount() *AccountFacebook
- func (x *AuthenticateFacebookRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateFacebookRequest) GetSync() *wrapperspb.BoolValue
- func (x *AuthenticateFacebookRequest) GetUsername() string
- func (*AuthenticateFacebookRequest) ProtoMessage()
- func (x *AuthenticateFacebookRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateFacebookRequest) Reset()
- func (x *AuthenticateFacebookRequest) String() string
- type AuthenticateGameCenterRequest
- func (*AuthenticateGameCenterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateGameCenterRequest) GetAccount() *AccountGameCenter
- func (x *AuthenticateGameCenterRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateGameCenterRequest) GetUsername() string
- func (*AuthenticateGameCenterRequest) ProtoMessage()
- func (x *AuthenticateGameCenterRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateGameCenterRequest) Reset()
- func (x *AuthenticateGameCenterRequest) String() string
- type AuthenticateGoogleRequest
- func (*AuthenticateGoogleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateGoogleRequest) GetAccount() *AccountGoogle
- func (x *AuthenticateGoogleRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateGoogleRequest) GetUsername() string
- func (*AuthenticateGoogleRequest) ProtoMessage()
- func (x *AuthenticateGoogleRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateGoogleRequest) Reset()
- func (x *AuthenticateGoogleRequest) String() string
- type AuthenticateSteamRequest
- func (*AuthenticateSteamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateSteamRequest) GetAccount() *AccountSteam
- func (x *AuthenticateSteamRequest) GetCreate() *wrapperspb.BoolValue
- func (x *AuthenticateSteamRequest) GetSync() *wrapperspb.BoolValue
- func (x *AuthenticateSteamRequest) GetUsername() string
- func (*AuthenticateSteamRequest) ProtoMessage()
- func (x *AuthenticateSteamRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateSteamRequest) Reset()
- func (x *AuthenticateSteamRequest) String() string
- type BanGroupUsersRequest
- func (*BanGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BanGroupUsersRequest) GetGroupId() string
- func (x *BanGroupUsersRequest) GetUserIds() []string
- func (*BanGroupUsersRequest) ProtoMessage()
- func (x *BanGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *BanGroupUsersRequest) Reset()
- func (x *BanGroupUsersRequest) String() string
- type BlockFriendsRequest
- func (*BlockFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockFriendsRequest) GetIds() []string
- func (x *BlockFriendsRequest) GetUsernames() []string
- func (*BlockFriendsRequest) ProtoMessage()
- func (x *BlockFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *BlockFriendsRequest) Reset()
- func (x *BlockFriendsRequest) String() string
- type ChannelMessage
- func (*ChannelMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelMessage) GetChannelId() string
- func (x *ChannelMessage) GetCode() *wrapperspb.Int32Value
- func (x *ChannelMessage) GetContent() string
- func (x *ChannelMessage) GetCreateTime() *timestamppb.Timestamp
- func (x *ChannelMessage) GetGroupId() string
- func (x *ChannelMessage) GetMessageId() string
- func (x *ChannelMessage) GetPersistent() *wrapperspb.BoolValue
- func (x *ChannelMessage) GetRoomName() string
- func (x *ChannelMessage) GetSenderId() string
- func (x *ChannelMessage) GetUpdateTime() *timestamppb.Timestamp
- func (x *ChannelMessage) GetUserIdOne() string
- func (x *ChannelMessage) GetUserIdTwo() string
- func (x *ChannelMessage) GetUsername() string
- func (*ChannelMessage) ProtoMessage()
- func (x *ChannelMessage) ProtoReflect() protoreflect.Message
- func (x *ChannelMessage) Reset()
- func (x *ChannelMessage) String() string
- type ChannelMessageList
- func (*ChannelMessageList) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelMessageList) GetCacheableCursor() string
- func (x *ChannelMessageList) GetMessages() []*ChannelMessage
- func (x *ChannelMessageList) GetNextCursor() string
- func (x *ChannelMessageList) GetPrevCursor() string
- func (*ChannelMessageList) ProtoMessage()
- func (x *ChannelMessageList) ProtoReflect() protoreflect.Message
- func (x *ChannelMessageList) Reset()
- func (x *ChannelMessageList) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetAvatarUrl() string
- func (x *CreateGroupRequest) GetDescription() string
- func (x *CreateGroupRequest) GetLangTag() string
- func (x *CreateGroupRequest) GetMaxCount() int32
- func (x *CreateGroupRequest) GetName() string
- func (x *CreateGroupRequest) GetOpen() bool
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- type DeleteFriendsRequest
- func (*DeleteFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFriendsRequest) GetIds() []string
- func (x *DeleteFriendsRequest) GetUsernames() []string
- func (*DeleteFriendsRequest) ProtoMessage()
- func (x *DeleteFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFriendsRequest) Reset()
- func (x *DeleteFriendsRequest) String() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetGroupId() string
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- type DeleteLeaderboardRecordRequest
- func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLeaderboardRecordRequest) GetLeaderboardId() string
- func (*DeleteLeaderboardRecordRequest) ProtoMessage()
- func (x *DeleteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLeaderboardRecordRequest) Reset()
- func (x *DeleteLeaderboardRecordRequest) String() string
- type DeleteNotificationsRequest
- func (*DeleteNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotificationsRequest) GetIds() []string
- func (*DeleteNotificationsRequest) ProtoMessage()
- func (x *DeleteNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotificationsRequest) Reset()
- func (x *DeleteNotificationsRequest) String() string
- type DeleteStorageObjectId
- func (*DeleteStorageObjectId) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStorageObjectId) GetCollection() string
- func (x *DeleteStorageObjectId) GetKey() string
- func (x *DeleteStorageObjectId) GetVersion() string
- func (*DeleteStorageObjectId) ProtoMessage()
- func (x *DeleteStorageObjectId) ProtoReflect() protoreflect.Message
- func (x *DeleteStorageObjectId) Reset()
- func (x *DeleteStorageObjectId) String() string
- type DeleteStorageObjectsRequest
- func (*DeleteStorageObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStorageObjectsRequest) GetObjectIds() []*DeleteStorageObjectId
- func (*DeleteStorageObjectsRequest) ProtoMessage()
- func (x *DeleteStorageObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStorageObjectsRequest) Reset()
- func (x *DeleteStorageObjectsRequest) String() string
- type DeleteTournamentRecordRequest
- func (*DeleteTournamentRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTournamentRecordRequest) GetTournamentId() string
- func (*DeleteTournamentRecordRequest) ProtoMessage()
- func (x *DeleteTournamentRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTournamentRecordRequest) Reset()
- func (x *DeleteTournamentRecordRequest) String() string
- type DemoteGroupUsersRequest
- func (*DemoteGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteGroupUsersRequest) GetGroupId() string
- func (x *DemoteGroupUsersRequest) GetUserIds() []string
- func (*DemoteGroupUsersRequest) ProtoMessage()
- func (x *DemoteGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *DemoteGroupUsersRequest) Reset()
- func (x *DemoteGroupUsersRequest) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetExternal() bool
- func (x *Event) GetName() string
- func (x *Event) GetProperties() map[string]string
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Friend
- func (*Friend) Descriptor() ([]byte, []int)deprecated
- func (x *Friend) GetState() *wrapperspb.Int32Value
- func (x *Friend) GetUpdateTime() *timestamppb.Timestamp
- func (x *Friend) GetUser() *User
- func (*Friend) ProtoMessage()
- func (x *Friend) ProtoReflect() protoreflect.Message
- func (x *Friend) Reset()
- func (x *Friend) String() string
- type FriendList
- type Friend_State
- func (Friend_State) Descriptor() protoreflect.EnumDescriptor
- func (x Friend_State) Enum() *Friend_State
- func (Friend_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Friend_State) Number() protoreflect.EnumNumber
- func (x Friend_State) String() string
- func (Friend_State) Type() protoreflect.EnumType
- type GetSubscriptionRequest
- func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionRequest) GetProductId() string
- func (*GetSubscriptionRequest) ProtoMessage()
- func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionRequest) Reset()
- func (x *GetSubscriptionRequest) String() string
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersRequest) GetFacebookIds() []string
- func (x *GetUsersRequest) GetIds() []string
- func (x *GetUsersRequest) GetUsernames() []string
- func (*GetUsersRequest) ProtoMessage()
- func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersRequest) Reset()
- func (x *GetUsersRequest) String() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAvatarUrl() string
- func (x *Group) GetCreateTime() *timestamppb.Timestamp
- func (x *Group) GetCreatorId() string
- func (x *Group) GetDescription() string
- func (x *Group) GetEdgeCount() int32
- func (x *Group) GetId() string
- func (x *Group) GetLangTag() string
- func (x *Group) GetMaxCount() int32
- func (x *Group) GetMetadata() string
- func (x *Group) GetName() string
- func (x *Group) GetOpen() *wrapperspb.BoolValue
- func (x *Group) GetUpdateTime() *timestamppb.Timestamp
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupList
- type GroupUserList
- func (*GroupUserList) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUserList) GetCursor() string
- func (x *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser
- func (*GroupUserList) ProtoMessage()
- func (x *GroupUserList) ProtoReflect() protoreflect.Message
- func (x *GroupUserList) Reset()
- func (x *GroupUserList) String() string
- type GroupUserList_GroupUser
- func (*GroupUserList_GroupUser) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUserList_GroupUser) GetState() *wrapperspb.Int32Value
- func (x *GroupUserList_GroupUser) GetUser() *User
- func (*GroupUserList_GroupUser) ProtoMessage()
- func (x *GroupUserList_GroupUser) ProtoReflect() protoreflect.Message
- func (x *GroupUserList_GroupUser) Reset()
- func (x *GroupUserList_GroupUser) String() string
- type GroupUserList_GroupUser_State
- func (GroupUserList_GroupUser_State) Descriptor() protoreflect.EnumDescriptor
- func (x GroupUserList_GroupUser_State) Enum() *GroupUserList_GroupUser_State
- func (GroupUserList_GroupUser_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x GroupUserList_GroupUser_State) Number() protoreflect.EnumNumber
- func (x GroupUserList_GroupUser_State) String() string
- func (GroupUserList_GroupUser_State) Type() protoreflect.EnumType
- type ImportFacebookFriendsRequest
- func (*ImportFacebookFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFacebookFriendsRequest) GetAccount() *AccountFacebook
- func (x *ImportFacebookFriendsRequest) GetReset_() *wrapperspb.BoolValue
- func (*ImportFacebookFriendsRequest) ProtoMessage()
- func (x *ImportFacebookFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportFacebookFriendsRequest) Reset()
- func (x *ImportFacebookFriendsRequest) String() string
- type ImportSteamFriendsRequest
- func (*ImportSteamFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportSteamFriendsRequest) GetAccount() *AccountSteam
- func (x *ImportSteamFriendsRequest) GetReset_() *wrapperspb.BoolValue
- func (*ImportSteamFriendsRequest) ProtoMessage()
- func (x *ImportSteamFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportSteamFriendsRequest) Reset()
- func (x *ImportSteamFriendsRequest) String() string
- type JoinGroupRequest
- type JoinTournamentRequest
- func (*JoinTournamentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinTournamentRequest) GetTournamentId() string
- func (*JoinTournamentRequest) ProtoMessage()
- func (x *JoinTournamentRequest) ProtoReflect() protoreflect.Message
- func (x *JoinTournamentRequest) Reset()
- func (x *JoinTournamentRequest) String() string
- type KickGroupUsersRequest
- func (*KickGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KickGroupUsersRequest) GetGroupId() string
- func (x *KickGroupUsersRequest) GetUserIds() []string
- func (*KickGroupUsersRequest) ProtoMessage()
- func (x *KickGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *KickGroupUsersRequest) Reset()
- func (x *KickGroupUsersRequest) String() string
- type Leaderboard
- func (*Leaderboard) Descriptor() ([]byte, []int)deprecated
- func (x *Leaderboard) GetAuthoritative() bool
- func (x *Leaderboard) GetCreateTime() *timestamppb.Timestamp
- func (x *Leaderboard) GetId() string
- func (x *Leaderboard) GetMetadata() string
- func (x *Leaderboard) GetNextReset() uint32
- func (x *Leaderboard) GetOperator() Operator
- func (x *Leaderboard) GetPrevReset() uint32
- func (x *Leaderboard) GetSortOrder() uint32
- func (*Leaderboard) ProtoMessage()
- func (x *Leaderboard) ProtoReflect() protoreflect.Message
- func (x *Leaderboard) Reset()
- func (x *Leaderboard) String() string
- type LeaderboardList
- func (*LeaderboardList) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardList) GetCursor() string
- func (x *LeaderboardList) GetLeaderboards() []*Leaderboard
- func (*LeaderboardList) ProtoMessage()
- func (x *LeaderboardList) ProtoReflect() protoreflect.Message
- func (x *LeaderboardList) Reset()
- func (x *LeaderboardList) String() string
- type LeaderboardRecord
- func (*LeaderboardRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardRecord) GetCreateTime() *timestamppb.Timestamp
- func (x *LeaderboardRecord) GetExpiryTime() *timestamppb.Timestamp
- func (x *LeaderboardRecord) GetLeaderboardId() string
- func (x *LeaderboardRecord) GetMaxNumScore() uint32
- func (x *LeaderboardRecord) GetMetadata() string
- func (x *LeaderboardRecord) GetNumScore() int32
- func (x *LeaderboardRecord) GetOwnerId() string
- func (x *LeaderboardRecord) GetRank() int64
- func (x *LeaderboardRecord) GetScore() int64
- func (x *LeaderboardRecord) GetSubscore() int64
- func (x *LeaderboardRecord) GetUpdateTime() *timestamppb.Timestamp
- func (x *LeaderboardRecord) GetUsername() *wrapperspb.StringValue
- func (*LeaderboardRecord) ProtoMessage()
- func (x *LeaderboardRecord) ProtoReflect() protoreflect.Message
- func (x *LeaderboardRecord) Reset()
- func (x *LeaderboardRecord) String() string
- type LeaderboardRecordList
- func (*LeaderboardRecordList) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardRecordList) GetNextCursor() string
- func (x *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord
- func (x *LeaderboardRecordList) GetPrevCursor() string
- func (x *LeaderboardRecordList) GetRankCount() int64
- func (x *LeaderboardRecordList) GetRecords() []*LeaderboardRecord
- func (*LeaderboardRecordList) ProtoMessage()
- func (x *LeaderboardRecordList) ProtoReflect() protoreflect.Message
- func (x *LeaderboardRecordList) Reset()
- func (x *LeaderboardRecordList) String() string
- type LeaveGroupRequest
- type LinkFacebookRequest
- func (*LinkFacebookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkFacebookRequest) GetAccount() *AccountFacebook
- func (x *LinkFacebookRequest) GetSync() *wrapperspb.BoolValue
- func (*LinkFacebookRequest) ProtoMessage()
- func (x *LinkFacebookRequest) ProtoReflect() protoreflect.Message
- func (x *LinkFacebookRequest) Reset()
- func (x *LinkFacebookRequest) String() string
- type LinkSteamRequest
- func (*LinkSteamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkSteamRequest) GetAccount() *AccountSteam
- func (x *LinkSteamRequest) GetSync() *wrapperspb.BoolValue
- func (*LinkSteamRequest) ProtoMessage()
- func (x *LinkSteamRequest) ProtoReflect() protoreflect.Message
- func (x *LinkSteamRequest) Reset()
- func (x *LinkSteamRequest) String() string
- type ListChannelMessagesRequest
- func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelMessagesRequest) GetChannelId() string
- func (x *ListChannelMessagesRequest) GetCursor() string
- func (x *ListChannelMessagesRequest) GetForward() *wrapperspb.BoolValue
- func (x *ListChannelMessagesRequest) GetLimit() *wrapperspb.Int32Value
- func (*ListChannelMessagesRequest) ProtoMessage()
- func (x *ListChannelMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelMessagesRequest) Reset()
- func (x *ListChannelMessagesRequest) String() string
- type ListFriendsRequest
- func (*ListFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFriendsRequest) GetCursor() string
- func (x *ListFriendsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListFriendsRequest) GetState() *wrapperspb.Int32Value
- func (*ListFriendsRequest) ProtoMessage()
- func (x *ListFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFriendsRequest) Reset()
- func (x *ListFriendsRequest) String() string
- type ListGroupUsersRequest
- func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupUsersRequest) GetCursor() string
- func (x *ListGroupUsersRequest) GetGroupId() string
- func (x *ListGroupUsersRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListGroupUsersRequest) GetState() *wrapperspb.Int32Value
- func (*ListGroupUsersRequest) ProtoMessage()
- func (x *ListGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupUsersRequest) Reset()
- func (x *ListGroupUsersRequest) String() string
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsRequest) GetCursor() string
- func (x *ListGroupsRequest) GetLangTag() string
- func (x *ListGroupsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListGroupsRequest) GetMembers() *wrapperspb.Int32Value
- func (x *ListGroupsRequest) GetName() string
- func (x *ListGroupsRequest) GetOpen() *wrapperspb.BoolValue
- func (*ListGroupsRequest) ProtoMessage()
- func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupsRequest) Reset()
- func (x *ListGroupsRequest) String() string
- type ListLeaderboardRecordsAroundOwnerRequest
- func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLeaderboardRecordsAroundOwnerRequest) GetCursor() string
- func (x *ListLeaderboardRecordsAroundOwnerRequest) GetExpiry() *wrapperspb.Int64Value
- func (x *ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId() string
- func (x *ListLeaderboardRecordsAroundOwnerRequest) GetLimit() *wrapperspb.UInt32Value
- func (x *ListLeaderboardRecordsAroundOwnerRequest) GetOwnerId() string
- func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoMessage()
- func (x *ListLeaderboardRecordsAroundOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *ListLeaderboardRecordsAroundOwnerRequest) Reset()
- func (x *ListLeaderboardRecordsAroundOwnerRequest) String() string
- type ListLeaderboardRecordsRequest
- func (*ListLeaderboardRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLeaderboardRecordsRequest) GetCursor() string
- func (x *ListLeaderboardRecordsRequest) GetExpiry() *wrapperspb.Int64Value
- func (x *ListLeaderboardRecordsRequest) GetLeaderboardId() string
- func (x *ListLeaderboardRecordsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListLeaderboardRecordsRequest) GetOwnerIds() []string
- func (*ListLeaderboardRecordsRequest) ProtoMessage()
- func (x *ListLeaderboardRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListLeaderboardRecordsRequest) Reset()
- func (x *ListLeaderboardRecordsRequest) String() string
- type ListMatchesRequest
- func (*ListMatchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMatchesRequest) GetAuthoritative() *wrapperspb.BoolValue
- func (x *ListMatchesRequest) GetLabel() *wrapperspb.StringValue
- func (x *ListMatchesRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListMatchesRequest) GetMaxSize() *wrapperspb.Int32Value
- func (x *ListMatchesRequest) GetMinSize() *wrapperspb.Int32Value
- func (x *ListMatchesRequest) GetQuery() *wrapperspb.StringValue
- func (*ListMatchesRequest) ProtoMessage()
- func (x *ListMatchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMatchesRequest) Reset()
- func (x *ListMatchesRequest) String() string
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotificationsRequest) GetCacheableCursor() string
- func (x *ListNotificationsRequest) GetLimit() *wrapperspb.Int32Value
- func (*ListNotificationsRequest) ProtoMessage()
- func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsRequest) Reset()
- func (x *ListNotificationsRequest) String() string
- type ListStorageObjectsRequest
- func (*ListStorageObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageObjectsRequest) GetCollection() string
- func (x *ListStorageObjectsRequest) GetCursor() string
- func (x *ListStorageObjectsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListStorageObjectsRequest) GetUserId() string
- func (*ListStorageObjectsRequest) ProtoMessage()
- func (x *ListStorageObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListStorageObjectsRequest) Reset()
- func (x *ListStorageObjectsRequest) String() string
- type ListSubscriptionsRequest
- func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscriptionsRequest) GetCursor() string
- func (x *ListSubscriptionsRequest) GetLimit() *wrapperspb.Int32Value
- func (*ListSubscriptionsRequest) ProtoMessage()
- func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubscriptionsRequest) Reset()
- func (x *ListSubscriptionsRequest) String() string
- type ListTournamentRecordsAroundOwnerRequest
- func (*ListTournamentRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTournamentRecordsAroundOwnerRequest) GetCursor() string
- func (x *ListTournamentRecordsAroundOwnerRequest) GetExpiry() *wrapperspb.Int64Value
- func (x *ListTournamentRecordsAroundOwnerRequest) GetLimit() *wrapperspb.UInt32Value
- func (x *ListTournamentRecordsAroundOwnerRequest) GetOwnerId() string
- func (x *ListTournamentRecordsAroundOwnerRequest) GetTournamentId() string
- func (*ListTournamentRecordsAroundOwnerRequest) ProtoMessage()
- func (x *ListTournamentRecordsAroundOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *ListTournamentRecordsAroundOwnerRequest) Reset()
- func (x *ListTournamentRecordsAroundOwnerRequest) String() string
- type ListTournamentRecordsRequest
- func (*ListTournamentRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTournamentRecordsRequest) GetCursor() string
- func (x *ListTournamentRecordsRequest) GetExpiry() *wrapperspb.Int64Value
- func (x *ListTournamentRecordsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListTournamentRecordsRequest) GetOwnerIds() []string
- func (x *ListTournamentRecordsRequest) GetTournamentId() string
- func (*ListTournamentRecordsRequest) ProtoMessage()
- func (x *ListTournamentRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTournamentRecordsRequest) Reset()
- func (x *ListTournamentRecordsRequest) String() string
- type ListTournamentsRequest
- func (*ListTournamentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTournamentsRequest) GetCategoryEnd() *wrapperspb.UInt32Value
- func (x *ListTournamentsRequest) GetCategoryStart() *wrapperspb.UInt32Value
- func (x *ListTournamentsRequest) GetCursor() string
- func (x *ListTournamentsRequest) GetEndTime() *wrapperspb.UInt32Value
- func (x *ListTournamentsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListTournamentsRequest) GetStartTime() *wrapperspb.UInt32Value
- func (*ListTournamentsRequest) ProtoMessage()
- func (x *ListTournamentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTournamentsRequest) Reset()
- func (x *ListTournamentsRequest) String() string
- type ListUserGroupsRequest
- func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserGroupsRequest) GetCursor() string
- func (x *ListUserGroupsRequest) GetLimit() *wrapperspb.Int32Value
- func (x *ListUserGroupsRequest) GetState() *wrapperspb.Int32Value
- func (x *ListUserGroupsRequest) GetUserId() string
- func (*ListUserGroupsRequest) ProtoMessage()
- func (x *ListUserGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserGroupsRequest) Reset()
- func (x *ListUserGroupsRequest) String() string
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetAuthoritative() bool
- func (x *Match) GetHandlerName() string
- func (x *Match) GetLabel() *wrapperspb.StringValue
- func (x *Match) GetMatchId() string
- func (x *Match) GetSize() int32
- func (x *Match) GetTickRate() int32
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type MatchList
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCode() int32
- func (x *Notification) GetContent() string
- func (x *Notification) GetCreateTime() *timestamppb.Timestamp
- func (x *Notification) GetId() string
- func (x *Notification) GetPersistent() bool
- func (x *Notification) GetSenderId() string
- func (x *Notification) GetSubject() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationList
- func (*NotificationList) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationList) GetCacheableCursor() string
- func (x *NotificationList) GetNotifications() []*Notification
- func (*NotificationList) ProtoMessage()
- func (x *NotificationList) ProtoReflect() protoreflect.Message
- func (x *NotificationList) Reset()
- func (x *NotificationList) String() string
- type Operator
- type PromoteGroupUsersRequest
- func (*PromoteGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PromoteGroupUsersRequest) GetGroupId() string
- func (x *PromoteGroupUsersRequest) GetUserIds() []string
- func (*PromoteGroupUsersRequest) ProtoMessage()
- func (x *PromoteGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *PromoteGroupUsersRequest) Reset()
- func (x *PromoteGroupUsersRequest) String() string
- type PurchaseList
- func (*PurchaseList) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseList) GetCursor() string
- func (x *PurchaseList) GetPrevCursor() string
- func (x *PurchaseList) GetValidatedPurchases() []*ValidatedPurchase
- func (*PurchaseList) ProtoMessage()
- func (x *PurchaseList) ProtoReflect() protoreflect.Message
- func (x *PurchaseList) Reset()
- func (x *PurchaseList) String() string
- type ReadStorageObjectId
- func (*ReadStorageObjectId) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStorageObjectId) GetCollection() string
- func (x *ReadStorageObjectId) GetKey() string
- func (x *ReadStorageObjectId) GetUserId() string
- func (*ReadStorageObjectId) ProtoMessage()
- func (x *ReadStorageObjectId) ProtoReflect() protoreflect.Message
- func (x *ReadStorageObjectId) Reset()
- func (x *ReadStorageObjectId) String() string
- type ReadStorageObjectsRequest
- func (*ReadStorageObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId
- func (*ReadStorageObjectsRequest) ProtoMessage()
- func (x *ReadStorageObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadStorageObjectsRequest) Reset()
- func (x *ReadStorageObjectsRequest) String() string
- type Rpc
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreated() bool
- func (x *Session) GetRefreshToken() string
- func (x *Session) GetToken() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionLogoutRequest
- func (*SessionLogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SessionLogoutRequest) GetRefreshToken() string
- func (x *SessionLogoutRequest) GetToken() string
- func (*SessionLogoutRequest) ProtoMessage()
- func (x *SessionLogoutRequest) ProtoReflect() protoreflect.Message
- func (x *SessionLogoutRequest) Reset()
- func (x *SessionLogoutRequest) String() string
- type SessionRefreshRequest
- func (*SessionRefreshRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SessionRefreshRequest) GetToken() string
- func (x *SessionRefreshRequest) GetVars() map[string]string
- func (*SessionRefreshRequest) ProtoMessage()
- func (x *SessionRefreshRequest) ProtoReflect() protoreflect.Message
- func (x *SessionRefreshRequest) Reset()
- func (x *SessionRefreshRequest) String() string
- type StorageObject
- func (*StorageObject) Descriptor() ([]byte, []int)deprecated
- func (x *StorageObject) GetCollection() string
- func (x *StorageObject) GetCreateTime() *timestamppb.Timestamp
- func (x *StorageObject) GetKey() string
- func (x *StorageObject) GetPermissionRead() int32
- func (x *StorageObject) GetPermissionWrite() int32
- func (x *StorageObject) GetUpdateTime() *timestamppb.Timestamp
- func (x *StorageObject) GetUserId() string
- func (x *StorageObject) GetValue() string
- func (x *StorageObject) GetVersion() string
- func (*StorageObject) ProtoMessage()
- func (x *StorageObject) ProtoReflect() protoreflect.Message
- func (x *StorageObject) Reset()
- func (x *StorageObject) String() string
- type StorageObjectAck
- func (*StorageObjectAck) Descriptor() ([]byte, []int)deprecated
- func (x *StorageObjectAck) GetCollection() string
- func (x *StorageObjectAck) GetCreateTime() *timestamppb.Timestamp
- func (x *StorageObjectAck) GetKey() string
- func (x *StorageObjectAck) GetUpdateTime() *timestamppb.Timestamp
- func (x *StorageObjectAck) GetUserId() string
- func (x *StorageObjectAck) GetVersion() string
- func (*StorageObjectAck) ProtoMessage()
- func (x *StorageObjectAck) ProtoReflect() protoreflect.Message
- func (x *StorageObjectAck) Reset()
- func (x *StorageObjectAck) String() string
- type StorageObjectAcks
- func (*StorageObjectAcks) Descriptor() ([]byte, []int)deprecated
- func (x *StorageObjectAcks) GetAcks() []*StorageObjectAck
- func (*StorageObjectAcks) ProtoMessage()
- func (x *StorageObjectAcks) ProtoReflect() protoreflect.Message
- func (x *StorageObjectAcks) Reset()
- func (x *StorageObjectAcks) String() string
- type StorageObjectList
- func (*StorageObjectList) Descriptor() ([]byte, []int)deprecated
- func (x *StorageObjectList) GetCursor() string
- func (x *StorageObjectList) GetObjects() []*StorageObject
- func (*StorageObjectList) ProtoMessage()
- func (x *StorageObjectList) ProtoReflect() protoreflect.Message
- func (x *StorageObjectList) Reset()
- func (x *StorageObjectList) String() string
- type StorageObjects
- type StoreEnvironment
- func (StoreEnvironment) Descriptor() protoreflect.EnumDescriptor
- func (x StoreEnvironment) Enum() *StoreEnvironment
- func (StoreEnvironment) EnumDescriptor() ([]byte, []int)deprecated
- func (x StoreEnvironment) Number() protoreflect.EnumNumber
- func (x StoreEnvironment) String() string
- func (StoreEnvironment) Type() protoreflect.EnumType
- type StoreProvider
- func (StoreProvider) Descriptor() protoreflect.EnumDescriptor
- func (x StoreProvider) Enum() *StoreProvider
- func (StoreProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x StoreProvider) Number() protoreflect.EnumNumber
- func (x StoreProvider) String() string
- func (StoreProvider) Type() protoreflect.EnumType
- type SubscriptionList
- func (*SubscriptionList) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionList) GetCursor() string
- func (x *SubscriptionList) GetPrevCursor() string
- func (x *SubscriptionList) GetValidatedSubscriptions() []*ValidatedSubscription
- func (*SubscriptionList) ProtoMessage()
- func (x *SubscriptionList) ProtoReflect() protoreflect.Message
- func (x *SubscriptionList) Reset()
- func (x *SubscriptionList) String() string
- type Tournament
- func (*Tournament) Descriptor() ([]byte, []int)deprecated
- func (x *Tournament) GetAuthoritative() bool
- func (x *Tournament) GetCanEnter() bool
- func (x *Tournament) GetCategory() uint32
- func (x *Tournament) GetCreateTime() *timestamppb.Timestamp
- func (x *Tournament) GetDescription() string
- func (x *Tournament) GetDuration() uint32
- func (x *Tournament) GetEndActive() uint32
- func (x *Tournament) GetEndTime() *timestamppb.Timestamp
- func (x *Tournament) GetId() string
- func (x *Tournament) GetMaxNumScore() uint32
- func (x *Tournament) GetMaxSize() uint32
- func (x *Tournament) GetMetadata() string
- func (x *Tournament) GetNextReset() uint32
- func (x *Tournament) GetOperator() Operator
- func (x *Tournament) GetPrevReset() uint32
- func (x *Tournament) GetSize() uint32
- func (x *Tournament) GetSortOrder() uint32
- func (x *Tournament) GetStartActive() uint32
- func (x *Tournament) GetStartTime() *timestamppb.Timestamp
- func (x *Tournament) GetTitle() string
- func (*Tournament) ProtoMessage()
- func (x *Tournament) ProtoReflect() protoreflect.Message
- func (x *Tournament) Reset()
- func (x *Tournament) String() string
- type TournamentList
- func (*TournamentList) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentList) GetCursor() string
- func (x *TournamentList) GetTournaments() []*Tournament
- func (*TournamentList) ProtoMessage()
- func (x *TournamentList) ProtoReflect() protoreflect.Message
- func (x *TournamentList) Reset()
- func (x *TournamentList) String() string
- type TournamentRecordList
- func (*TournamentRecordList) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentRecordList) GetNextCursor() string
- func (x *TournamentRecordList) GetOwnerRecords() []*LeaderboardRecord
- func (x *TournamentRecordList) GetPrevCursor() string
- func (x *TournamentRecordList) GetRankCount() int64
- func (x *TournamentRecordList) GetRecords() []*LeaderboardRecord
- func (*TournamentRecordList) ProtoMessage()
- func (x *TournamentRecordList) ProtoReflect() protoreflect.Message
- func (x *TournamentRecordList) Reset()
- func (x *TournamentRecordList) String() string
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAvatarUrl() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetDisplayName() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetLangTag() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetLocation() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetTimezone() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetUsername() *wrapperspb.StringValue
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupRequest) GetAvatarUrl() *wrapperspb.StringValue
- func (x *UpdateGroupRequest) GetDescription() *wrapperspb.StringValue
- func (x *UpdateGroupRequest) GetGroupId() string
- func (x *UpdateGroupRequest) GetLangTag() *wrapperspb.StringValue
- func (x *UpdateGroupRequest) GetName() *wrapperspb.StringValue
- func (x *UpdateGroupRequest) GetOpen() *wrapperspb.BoolValue
- func (*UpdateGroupRequest) ProtoMessage()
- func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupRequest) Reset()
- func (x *UpdateGroupRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAppleId() string
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetEdgeCount() int32
- func (x *User) GetFacebookId() string
- func (x *User) GetFacebookInstantGameId() string
- func (x *User) GetGamecenterId() string
- func (x *User) GetGoogleId() string
- func (x *User) GetId() string
- func (x *User) GetLangTag() string
- func (x *User) GetLocation() string
- func (x *User) GetMetadata() string
- func (x *User) GetOnline() bool
- func (x *User) GetSteamId() string
- func (x *User) GetTimezone() string
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserGroupList
- func (*UserGroupList) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupList) GetCursor() string
- func (x *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup
- func (*UserGroupList) ProtoMessage()
- func (x *UserGroupList) ProtoReflect() protoreflect.Message
- func (x *UserGroupList) Reset()
- func (x *UserGroupList) String() string
- type UserGroupList_UserGroup
- func (*UserGroupList_UserGroup) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupList_UserGroup) GetGroup() *Group
- func (x *UserGroupList_UserGroup) GetState() *wrapperspb.Int32Value
- func (*UserGroupList_UserGroup) ProtoMessage()
- func (x *UserGroupList_UserGroup) ProtoReflect() protoreflect.Message
- func (x *UserGroupList_UserGroup) Reset()
- func (x *UserGroupList_UserGroup) String() string
- type UserGroupList_UserGroup_State
- func (UserGroupList_UserGroup_State) Descriptor() protoreflect.EnumDescriptor
- func (x UserGroupList_UserGroup_State) Enum() *UserGroupList_UserGroup_State
- func (UserGroupList_UserGroup_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserGroupList_UserGroup_State) Number() protoreflect.EnumNumber
- func (x UserGroupList_UserGroup_State) String() string
- func (UserGroupList_UserGroup_State) Type() protoreflect.EnumType
- type Users
- type ValidatePurchaseAppleRequest
- func (*ValidatePurchaseAppleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePurchaseAppleRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidatePurchaseAppleRequest) GetReceipt() string
- func (*ValidatePurchaseAppleRequest) ProtoMessage()
- func (x *ValidatePurchaseAppleRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePurchaseAppleRequest) Reset()
- func (x *ValidatePurchaseAppleRequest) String() string
- type ValidatePurchaseFacebookInstantRequest
- func (*ValidatePurchaseFacebookInstantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePurchaseFacebookInstantRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidatePurchaseFacebookInstantRequest) GetSignedRequest() string
- func (*ValidatePurchaseFacebookInstantRequest) ProtoMessage()
- func (x *ValidatePurchaseFacebookInstantRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePurchaseFacebookInstantRequest) Reset()
- func (x *ValidatePurchaseFacebookInstantRequest) String() string
- type ValidatePurchaseGoogleRequest
- func (*ValidatePurchaseGoogleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePurchaseGoogleRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidatePurchaseGoogleRequest) GetPurchase() string
- func (*ValidatePurchaseGoogleRequest) ProtoMessage()
- func (x *ValidatePurchaseGoogleRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePurchaseGoogleRequest) Reset()
- func (x *ValidatePurchaseGoogleRequest) String() string
- type ValidatePurchaseHuaweiRequest
- func (*ValidatePurchaseHuaweiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePurchaseHuaweiRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidatePurchaseHuaweiRequest) GetPurchase() string
- func (x *ValidatePurchaseHuaweiRequest) GetSignature() string
- func (*ValidatePurchaseHuaweiRequest) ProtoMessage()
- func (x *ValidatePurchaseHuaweiRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePurchaseHuaweiRequest) Reset()
- func (x *ValidatePurchaseHuaweiRequest) String() string
- type ValidatePurchaseResponse
- func (*ValidatePurchaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePurchaseResponse) GetValidatedPurchases() []*ValidatedPurchase
- func (*ValidatePurchaseResponse) ProtoMessage()
- func (x *ValidatePurchaseResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatePurchaseResponse) Reset()
- func (x *ValidatePurchaseResponse) String() string
- type ValidateSubscriptionAppleRequest
- func (*ValidateSubscriptionAppleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSubscriptionAppleRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidateSubscriptionAppleRequest) GetReceipt() string
- func (*ValidateSubscriptionAppleRequest) ProtoMessage()
- func (x *ValidateSubscriptionAppleRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateSubscriptionAppleRequest) Reset()
- func (x *ValidateSubscriptionAppleRequest) String() string
- type ValidateSubscriptionGoogleRequest
- func (*ValidateSubscriptionGoogleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSubscriptionGoogleRequest) GetPersist() *wrapperspb.BoolValue
- func (x *ValidateSubscriptionGoogleRequest) GetReceipt() string
- func (*ValidateSubscriptionGoogleRequest) ProtoMessage()
- func (x *ValidateSubscriptionGoogleRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateSubscriptionGoogleRequest) Reset()
- func (x *ValidateSubscriptionGoogleRequest) String() string
- type ValidateSubscriptionResponse
- func (*ValidateSubscriptionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSubscriptionResponse) GetValidatedSubscription() *ValidatedSubscription
- func (*ValidateSubscriptionResponse) ProtoMessage()
- func (x *ValidateSubscriptionResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateSubscriptionResponse) Reset()
- func (x *ValidateSubscriptionResponse) String() string
- type ValidatedPurchase
- func (*ValidatedPurchase) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatedPurchase) GetCreateTime() *timestamppb.Timestamp
- func (x *ValidatedPurchase) GetEnvironment() StoreEnvironment
- func (x *ValidatedPurchase) GetProductId() string
- func (x *ValidatedPurchase) GetProviderResponse() string
- func (x *ValidatedPurchase) GetPurchaseTime() *timestamppb.Timestamp
- func (x *ValidatedPurchase) GetRefundTime() *timestamppb.Timestamp
- func (x *ValidatedPurchase) GetSeenBefore() bool
- func (x *ValidatedPurchase) GetStore() StoreProvider
- func (x *ValidatedPurchase) GetTransactionId() string
- func (x *ValidatedPurchase) GetUpdateTime() *timestamppb.Timestamp
- func (x *ValidatedPurchase) GetUserId() string
- func (*ValidatedPurchase) ProtoMessage()
- func (x *ValidatedPurchase) ProtoReflect() protoreflect.Message
- func (x *ValidatedPurchase) Reset()
- func (x *ValidatedPurchase) String() string
- type ValidatedSubscription
- func (*ValidatedSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatedSubscription) GetActive() bool
- func (x *ValidatedSubscription) GetCreateTime() *timestamppb.Timestamp
- func (x *ValidatedSubscription) GetEnvironment() StoreEnvironment
- func (x *ValidatedSubscription) GetExpiryTime() *timestamppb.Timestamp
- func (x *ValidatedSubscription) GetOriginalTransactionId() string
- func (x *ValidatedSubscription) GetProductId() string
- func (x *ValidatedSubscription) GetProviderNotification() string
- func (x *ValidatedSubscription) GetProviderResponse() string
- func (x *ValidatedSubscription) GetPurchaseTime() *timestamppb.Timestamp
- func (x *ValidatedSubscription) GetRefundTime() *timestamppb.Timestamp
- func (x *ValidatedSubscription) GetStore() StoreProvider
- func (x *ValidatedSubscription) GetUpdateTime() *timestamppb.Timestamp
- func (x *ValidatedSubscription) GetUserId() string
- func (*ValidatedSubscription) ProtoMessage()
- func (x *ValidatedSubscription) ProtoReflect() protoreflect.Message
- func (x *ValidatedSubscription) Reset()
- func (x *ValidatedSubscription) String() string
- type WriteLeaderboardRecordRequest
- func (*WriteLeaderboardRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteLeaderboardRecordRequest) GetLeaderboardId() string
- func (x *WriteLeaderboardRecordRequest) GetRecord() *WriteLeaderboardRecordRequest_LeaderboardRecordWrite
- func (*WriteLeaderboardRecordRequest) ProtoMessage()
- func (x *WriteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
- func (x *WriteLeaderboardRecordRequest) Reset()
- func (x *WriteLeaderboardRecordRequest) String() string
- type WriteLeaderboardRecordRequest_LeaderboardRecordWrite
- func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor() ([]byte, []int)deprecated
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata() string
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetOperator() Operator
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore() int64
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore() int64
- func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage()
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoReflect() protoreflect.Message
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset()
- func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String() string
- type WriteStorageObject
- func (*WriteStorageObject) Descriptor() ([]byte, []int)deprecated
- func (x *WriteStorageObject) GetCollection() string
- func (x *WriteStorageObject) GetKey() string
- func (x *WriteStorageObject) GetPermissionRead() *wrapperspb.Int32Value
- func (x *WriteStorageObject) GetPermissionWrite() *wrapperspb.Int32Value
- func (x *WriteStorageObject) GetValue() string
- func (x *WriteStorageObject) GetVersion() string
- func (*WriteStorageObject) ProtoMessage()
- func (x *WriteStorageObject) ProtoReflect() protoreflect.Message
- func (x *WriteStorageObject) Reset()
- func (x *WriteStorageObject) String() string
- type WriteStorageObjectsRequest
- func (*WriteStorageObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteStorageObjectsRequest) GetObjects() []*WriteStorageObject
- func (*WriteStorageObjectsRequest) ProtoMessage()
- func (x *WriteStorageObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *WriteStorageObjectsRequest) Reset()
- func (x *WriteStorageObjectsRequest) String() string
- type WriteTournamentRecordRequest
- func (*WriteTournamentRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteTournamentRecordRequest) GetRecord() *WriteTournamentRecordRequest_TournamentRecordWrite
- func (x *WriteTournamentRecordRequest) GetTournamentId() string
- func (*WriteTournamentRecordRequest) ProtoMessage()
- func (x *WriteTournamentRecordRequest) ProtoReflect() protoreflect.Message
- func (x *WriteTournamentRecordRequest) Reset()
- func (x *WriteTournamentRecordRequest) String() string
- type WriteTournamentRecordRequest_TournamentRecordWrite
- func (*WriteTournamentRecordRequest_TournamentRecordWrite) Descriptor() ([]byte, []int)deprecated
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetMetadata() string
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetOperator() Operator
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetScore() int64
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetSubscore() int64
- func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoMessage()
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) ProtoReflect() protoreflect.Message
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) Reset()
- func (x *WriteTournamentRecordRequest_TournamentRecordWrite) String() string
Constants ¶
This section is empty.
Variables ¶
var ( StoreProvider_name = map[int32]string{ 0: "APPLE_APP_STORE", 1: "GOOGLE_PLAY_STORE", 2: "HUAWEI_APP_GALLERY", 3: "FACEBOOK_INSTANT_STORE", } StoreProvider_value = map[string]int32{ "APPLE_APP_STORE": 0, "GOOGLE_PLAY_STORE": 1, "HUAWEI_APP_GALLERY": 2, "FACEBOOK_INSTANT_STORE": 3, } )
Enum value maps for StoreProvider.
var ( StoreEnvironment_name = map[int32]string{ 0: "UNKNOWN", 1: "SANDBOX", 2: "PRODUCTION", } StoreEnvironment_value = map[string]int32{ "UNKNOWN": 0, "SANDBOX": 1, "PRODUCTION": 2, } )
Enum value maps for StoreEnvironment.
var ( Operator_name = map[int32]string{ 0: "NO_OVERRIDE", 1: "BEST", 2: "SET", 3: "INCREMENT", 4: "DECREMENT", } Operator_value = map[string]int32{ "NO_OVERRIDE": 0, "BEST": 1, "SET": 2, "INCREMENT": 3, "DECREMENT": 4, } )
Enum value maps for Operator.
var ( Friend_State_name = map[int32]string{ 0: "FRIEND", 1: "INVITE_SENT", 2: "INVITE_RECEIVED", 3: "BLOCKED", } Friend_State_value = map[string]int32{ "FRIEND": 0, "INVITE_SENT": 1, "INVITE_RECEIVED": 2, "BLOCKED": 3, } )
Enum value maps for Friend_State.
var ( GroupUserList_GroupUser_State_name = map[int32]string{ 0: "SUPERADMIN", 1: "ADMIN", 2: "MEMBER", 3: "JOIN_REQUEST", } GroupUserList_GroupUser_State_value = map[string]int32{ "SUPERADMIN": 0, "ADMIN": 1, "MEMBER": 2, "JOIN_REQUEST": 3, } )
Enum value maps for GroupUserList_GroupUser_State.
var ( UserGroupList_UserGroup_State_name = map[int32]string{ 0: "SUPERADMIN", 1: "ADMIN", 2: "MEMBER", 3: "JOIN_REQUEST", } UserGroupList_UserGroup_State_value = map[string]int32{ "SUPERADMIN": 0, "ADMIN": 1, "MEMBER": 2, "JOIN_REQUEST": 3, } )
Enum value maps for UserGroupList_UserGroup_State.
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // The user object. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The user's wallet data. Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"` // The email address of the user. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // The devices which belong to the user's account. Devices []*AccountDevice `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` // The custom id in the user's account. CustomId string `protobuf:"bytes,5,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified. VerifyTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned. DisableTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=disable_time,json=disableTime,proto3" json:"disable_time,omitempty"` // contains filtered or unexported fields }
A user with additional account details. Always the current user.
func (*Account) Descriptor
deprecated
func (*Account) GetCustomId ¶
func (*Account) GetDevices ¶
func (x *Account) GetDevices() []*AccountDevice
func (*Account) GetDisableTime ¶
func (x *Account) GetDisableTime() *timestamppb.Timestamp
func (*Account) GetVerifyTime ¶
func (x *Account) GetVerifyTime() *timestamppb.Timestamp
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountApple ¶
type AccountApple struct { // The ID token received from Apple to validate. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Apple Sign In token to the server. Used with authenticate/link/unlink.
func (*AccountApple) Descriptor
deprecated
func (*AccountApple) Descriptor() ([]byte, []int)
Deprecated: Use AccountApple.ProtoReflect.Descriptor instead.
func (*AccountApple) GetToken ¶
func (x *AccountApple) GetToken() string
func (*AccountApple) GetVars ¶
func (x *AccountApple) GetVars() map[string]string
func (*AccountApple) ProtoMessage ¶
func (*AccountApple) ProtoMessage()
func (*AccountApple) ProtoReflect ¶
func (x *AccountApple) ProtoReflect() protoreflect.Message
func (*AccountApple) Reset ¶
func (x *AccountApple) Reset()
func (*AccountApple) String ¶
func (x *AccountApple) String() string
type AccountCustom ¶
type AccountCustom struct { // A custom identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a custom ID to the server. Used with authenticate/link/unlink.
func (*AccountCustom) Descriptor
deprecated
func (*AccountCustom) Descriptor() ([]byte, []int)
Deprecated: Use AccountCustom.ProtoReflect.Descriptor instead.
func (*AccountCustom) GetId ¶
func (x *AccountCustom) GetId() string
func (*AccountCustom) GetVars ¶
func (x *AccountCustom) GetVars() map[string]string
func (*AccountCustom) ProtoMessage ¶
func (*AccountCustom) ProtoMessage()
func (*AccountCustom) ProtoReflect ¶
func (x *AccountCustom) ProtoReflect() protoreflect.Message
func (*AccountCustom) Reset ¶
func (x *AccountCustom) Reset()
func (*AccountCustom) String ¶
func (x *AccountCustom) String() string
type AccountDevice ¶
type AccountDevice struct { // A device identifier. Should be obtained by a platform-specific device API. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a device to the server. Used with authenticate/link/unlink and user.
func (*AccountDevice) Descriptor
deprecated
func (*AccountDevice) Descriptor() ([]byte, []int)
Deprecated: Use AccountDevice.ProtoReflect.Descriptor instead.
func (*AccountDevice) GetId ¶
func (x *AccountDevice) GetId() string
func (*AccountDevice) GetVars ¶
func (x *AccountDevice) GetVars() map[string]string
func (*AccountDevice) ProtoMessage ¶
func (*AccountDevice) ProtoMessage()
func (*AccountDevice) ProtoReflect ¶
func (x *AccountDevice) ProtoReflect() protoreflect.Message
func (*AccountDevice) Reset ¶
func (x *AccountDevice) Reset()
func (*AccountDevice) String ¶
func (x *AccountDevice) String() string
type AccountEmail ¶
type AccountEmail struct { // A valid RFC-5322 email address. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // A password for the user account. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Ignored with unlink operations. // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send an email with password to the server. Used with authenticate/link/unlink.
func (*AccountEmail) Descriptor
deprecated
func (*AccountEmail) Descriptor() ([]byte, []int)
Deprecated: Use AccountEmail.ProtoReflect.Descriptor instead.
func (*AccountEmail) GetEmail ¶
func (x *AccountEmail) GetEmail() string
func (*AccountEmail) GetPassword ¶
func (x *AccountEmail) GetPassword() string
func (*AccountEmail) GetVars ¶
func (x *AccountEmail) GetVars() map[string]string
func (*AccountEmail) ProtoMessage ¶
func (*AccountEmail) ProtoMessage()
func (*AccountEmail) ProtoReflect ¶
func (x *AccountEmail) ProtoReflect() protoreflect.Message
func (*AccountEmail) Reset ¶
func (x *AccountEmail) Reset()
func (*AccountEmail) String ¶
func (x *AccountEmail) String() string
type AccountFacebook ¶
type AccountFacebook struct { // The OAuth token received from Facebook to access their profile API. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Facebook token to the server. Used with authenticate/link/unlink.
func (*AccountFacebook) Descriptor
deprecated
func (*AccountFacebook) Descriptor() ([]byte, []int)
Deprecated: Use AccountFacebook.ProtoReflect.Descriptor instead.
func (*AccountFacebook) GetToken ¶
func (x *AccountFacebook) GetToken() string
func (*AccountFacebook) GetVars ¶
func (x *AccountFacebook) GetVars() map[string]string
func (*AccountFacebook) ProtoMessage ¶
func (*AccountFacebook) ProtoMessage()
func (*AccountFacebook) ProtoReflect ¶
func (x *AccountFacebook) ProtoReflect() protoreflect.Message
func (*AccountFacebook) Reset ¶
func (x *AccountFacebook) Reset()
func (*AccountFacebook) String ¶
func (x *AccountFacebook) String() string
type AccountFacebookInstantGame ¶
type AccountFacebookInstantGame struct { // The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration) SignedPlayerInfo string `protobuf:"bytes,1,opt,name=signed_player_info,json=signedPlayerInfo,proto3" json:"signed_player_info,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Facebook Instant Game token to the server. Used with authenticate/link/unlink.
func (*AccountFacebookInstantGame) Descriptor
deprecated
func (*AccountFacebookInstantGame) Descriptor() ([]byte, []int)
Deprecated: Use AccountFacebookInstantGame.ProtoReflect.Descriptor instead.
func (*AccountFacebookInstantGame) GetSignedPlayerInfo ¶
func (x *AccountFacebookInstantGame) GetSignedPlayerInfo() string
func (*AccountFacebookInstantGame) GetVars ¶
func (x *AccountFacebookInstantGame) GetVars() map[string]string
func (*AccountFacebookInstantGame) ProtoMessage ¶
func (*AccountFacebookInstantGame) ProtoMessage()
func (*AccountFacebookInstantGame) ProtoReflect ¶
func (x *AccountFacebookInstantGame) ProtoReflect() protoreflect.Message
func (*AccountFacebookInstantGame) Reset ¶
func (x *AccountFacebookInstantGame) Reset()
func (*AccountFacebookInstantGame) String ¶
func (x *AccountFacebookInstantGame) String() string
type AccountGameCenter ¶
type AccountGameCenter struct { // Player ID (generated by GameCenter). PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // Bundle ID (generated by GameCenter). BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` // Time since UNIX epoch when the signature was created. TimestampSeconds int64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"` // A random "NSString" used to compute the hash and keep it randomized. Salt string `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"` // The verification signature data generated. Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // The URL for the public encryption key. PublicKeyUrl string `protobuf:"bytes,6,opt,name=public_key_url,json=publicKeyUrl,proto3" json:"public_key_url,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.
func (*AccountGameCenter) Descriptor
deprecated
func (*AccountGameCenter) Descriptor() ([]byte, []int)
Deprecated: Use AccountGameCenter.ProtoReflect.Descriptor instead.
func (*AccountGameCenter) GetBundleId ¶
func (x *AccountGameCenter) GetBundleId() string
func (*AccountGameCenter) GetPlayerId ¶
func (x *AccountGameCenter) GetPlayerId() string
func (*AccountGameCenter) GetPublicKeyUrl ¶
func (x *AccountGameCenter) GetPublicKeyUrl() string
func (*AccountGameCenter) GetSalt ¶
func (x *AccountGameCenter) GetSalt() string
func (*AccountGameCenter) GetSignature ¶
func (x *AccountGameCenter) GetSignature() string
func (*AccountGameCenter) GetTimestampSeconds ¶
func (x *AccountGameCenter) GetTimestampSeconds() int64
func (*AccountGameCenter) GetVars ¶
func (x *AccountGameCenter) GetVars() map[string]string
func (*AccountGameCenter) ProtoMessage ¶
func (*AccountGameCenter) ProtoMessage()
func (*AccountGameCenter) ProtoReflect ¶
func (x *AccountGameCenter) ProtoReflect() protoreflect.Message
func (*AccountGameCenter) Reset ¶
func (x *AccountGameCenter) Reset()
func (*AccountGameCenter) String ¶
func (x *AccountGameCenter) String() string
type AccountGoogle ¶
type AccountGoogle struct { // The OAuth token received from Google to access their profile API. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Google token to the server. Used with authenticate/link/unlink.
func (*AccountGoogle) Descriptor
deprecated
func (*AccountGoogle) Descriptor() ([]byte, []int)
Deprecated: Use AccountGoogle.ProtoReflect.Descriptor instead.
func (*AccountGoogle) GetToken ¶
func (x *AccountGoogle) GetToken() string
func (*AccountGoogle) GetVars ¶
func (x *AccountGoogle) GetVars() map[string]string
func (*AccountGoogle) ProtoMessage ¶
func (*AccountGoogle) ProtoMessage()
func (*AccountGoogle) ProtoReflect ¶
func (x *AccountGoogle) ProtoReflect() protoreflect.Message
func (*AccountGoogle) Reset ¶
func (x *AccountGoogle) Reset()
func (*AccountGoogle) String ¶
func (x *AccountGoogle) String() string
type AccountRefresh ¶
type AccountRefresh struct { // Refresh token. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Obtain a new authentication token using a refresh token.
func (*AccountRefresh) Descriptor
deprecated
func (*AccountRefresh) Descriptor() ([]byte, []int)
Deprecated: Use AccountRefresh.ProtoReflect.Descriptor instead.
func (*AccountRefresh) GetToken ¶
func (x *AccountRefresh) GetToken() string
func (*AccountRefresh) GetVars ¶
func (x *AccountRefresh) GetVars() map[string]string
func (*AccountRefresh) ProtoMessage ¶
func (*AccountRefresh) ProtoMessage()
func (*AccountRefresh) ProtoReflect ¶
func (x *AccountRefresh) ProtoReflect() protoreflect.Message
func (*AccountRefresh) Reset ¶
func (x *AccountRefresh) Reset()
func (*AccountRefresh) String ¶
func (x *AccountRefresh) String() string
type AccountSteam ¶
type AccountSteam struct { // The account token received from Steam to access their profile API. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Send a Steam token to the server. Used with authenticate/link/unlink.
func (*AccountSteam) Descriptor
deprecated
func (*AccountSteam) Descriptor() ([]byte, []int)
Deprecated: Use AccountSteam.ProtoReflect.Descriptor instead.
func (*AccountSteam) GetToken ¶
func (x *AccountSteam) GetToken() string
func (*AccountSteam) GetVars ¶
func (x *AccountSteam) GetVars() map[string]string
func (*AccountSteam) ProtoMessage ¶
func (*AccountSteam) ProtoMessage()
func (*AccountSteam) ProtoReflect ¶
func (x *AccountSteam) ProtoReflect() protoreflect.Message
func (*AccountSteam) Reset ¶
func (x *AccountSteam) Reset()
func (*AccountSteam) String ¶
func (x *AccountSteam) String() string
type AddFriendsRequest ¶
type AddFriendsRequest struct { // The account id of a user. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // The account username of a user. Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"` // contains filtered or unexported fields }
Add one or more friends to the current user.
func (*AddFriendsRequest) Descriptor
deprecated
func (*AddFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFriendsRequest.ProtoReflect.Descriptor instead.
func (*AddFriendsRequest) GetIds ¶
func (x *AddFriendsRequest) GetIds() []string
func (*AddFriendsRequest) GetUsernames ¶
func (x *AddFriendsRequest) GetUsernames() []string
func (*AddFriendsRequest) ProtoMessage ¶
func (*AddFriendsRequest) ProtoMessage()
func (*AddFriendsRequest) ProtoReflect ¶
func (x *AddFriendsRequest) ProtoReflect() protoreflect.Message
func (*AddFriendsRequest) Reset ¶
func (x *AddFriendsRequest) Reset()
func (*AddFriendsRequest) String ¶
func (x *AddFriendsRequest) String() string
type AddGroupUsersRequest ¶
type AddGroupUsersRequest struct { // The group to add users to. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The users to add. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
Add users to a group.
func (*AddGroupUsersRequest) Descriptor
deprecated
func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*AddGroupUsersRequest) GetGroupId ¶
func (x *AddGroupUsersRequest) GetGroupId() string
func (*AddGroupUsersRequest) GetUserIds ¶
func (x *AddGroupUsersRequest) GetUserIds() []string
func (*AddGroupUsersRequest) ProtoMessage ¶
func (*AddGroupUsersRequest) ProtoMessage()
func (*AddGroupUsersRequest) ProtoReflect ¶
func (x *AddGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*AddGroupUsersRequest) Reset ¶
func (x *AddGroupUsersRequest) Reset()
func (*AddGroupUsersRequest) String ¶
func (x *AddGroupUsersRequest) String() string
type AuthenticateAppleRequest ¶
type AuthenticateAppleRequest struct { // The Apple account details. Account *AccountApple `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Apple Sign In.
func (*AuthenticateAppleRequest) Descriptor
deprecated
func (*AuthenticateAppleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateAppleRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateAppleRequest) GetAccount ¶
func (x *AuthenticateAppleRequest) GetAccount() *AccountApple
func (*AuthenticateAppleRequest) GetCreate ¶
func (x *AuthenticateAppleRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateAppleRequest) GetUsername ¶
func (x *AuthenticateAppleRequest) GetUsername() string
func (*AuthenticateAppleRequest) ProtoMessage ¶
func (*AuthenticateAppleRequest) ProtoMessage()
func (*AuthenticateAppleRequest) ProtoReflect ¶
func (x *AuthenticateAppleRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateAppleRequest) Reset ¶
func (x *AuthenticateAppleRequest) Reset()
func (*AuthenticateAppleRequest) String ¶
func (x *AuthenticateAppleRequest) String() string
type AuthenticateCustomRequest ¶
type AuthenticateCustomRequest struct { // The custom account details. Account *AccountCustom `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with a custom ID.
func (*AuthenticateCustomRequest) Descriptor
deprecated
func (*AuthenticateCustomRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateCustomRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateCustomRequest) GetAccount ¶
func (x *AuthenticateCustomRequest) GetAccount() *AccountCustom
func (*AuthenticateCustomRequest) GetCreate ¶
func (x *AuthenticateCustomRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateCustomRequest) GetUsername ¶
func (x *AuthenticateCustomRequest) GetUsername() string
func (*AuthenticateCustomRequest) ProtoMessage ¶
func (*AuthenticateCustomRequest) ProtoMessage()
func (*AuthenticateCustomRequest) ProtoReflect ¶
func (x *AuthenticateCustomRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateCustomRequest) Reset ¶
func (x *AuthenticateCustomRequest) Reset()
func (*AuthenticateCustomRequest) String ¶
func (x *AuthenticateCustomRequest) String() string
type AuthenticateDeviceRequest ¶
type AuthenticateDeviceRequest struct { // The device account details. Account *AccountDevice `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with a device ID.
func (*AuthenticateDeviceRequest) Descriptor
deprecated
func (*AuthenticateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateDeviceRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateDeviceRequest) GetAccount ¶
func (x *AuthenticateDeviceRequest) GetAccount() *AccountDevice
func (*AuthenticateDeviceRequest) GetCreate ¶
func (x *AuthenticateDeviceRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateDeviceRequest) GetUsername ¶
func (x *AuthenticateDeviceRequest) GetUsername() string
func (*AuthenticateDeviceRequest) ProtoMessage ¶
func (*AuthenticateDeviceRequest) ProtoMessage()
func (*AuthenticateDeviceRequest) ProtoReflect ¶
func (x *AuthenticateDeviceRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateDeviceRequest) Reset ¶
func (x *AuthenticateDeviceRequest) Reset()
func (*AuthenticateDeviceRequest) String ¶
func (x *AuthenticateDeviceRequest) String() string
type AuthenticateEmailRequest ¶
type AuthenticateEmailRequest struct { // The email account details. Account *AccountEmail `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with email+password.
func (*AuthenticateEmailRequest) Descriptor
deprecated
func (*AuthenticateEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateEmailRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateEmailRequest) GetAccount ¶
func (x *AuthenticateEmailRequest) GetAccount() *AccountEmail
func (*AuthenticateEmailRequest) GetCreate ¶
func (x *AuthenticateEmailRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateEmailRequest) GetUsername ¶
func (x *AuthenticateEmailRequest) GetUsername() string
func (*AuthenticateEmailRequest) ProtoMessage ¶
func (*AuthenticateEmailRequest) ProtoMessage()
func (*AuthenticateEmailRequest) ProtoReflect ¶
func (x *AuthenticateEmailRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateEmailRequest) Reset ¶
func (x *AuthenticateEmailRequest) Reset()
func (*AuthenticateEmailRequest) String ¶
func (x *AuthenticateEmailRequest) String() string
type AuthenticateFacebookInstantGameRequest ¶
type AuthenticateFacebookInstantGameRequest struct { // The Facebook Instant Game account details. Account *AccountFacebookInstantGame `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Facebook Instant Game token.
func (*AuthenticateFacebookInstantGameRequest) Descriptor
deprecated
func (*AuthenticateFacebookInstantGameRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateFacebookInstantGameRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateFacebookInstantGameRequest) GetAccount ¶
func (x *AuthenticateFacebookInstantGameRequest) GetAccount() *AccountFacebookInstantGame
func (*AuthenticateFacebookInstantGameRequest) GetCreate ¶
func (x *AuthenticateFacebookInstantGameRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateFacebookInstantGameRequest) GetUsername ¶
func (x *AuthenticateFacebookInstantGameRequest) GetUsername() string
func (*AuthenticateFacebookInstantGameRequest) ProtoMessage ¶
func (*AuthenticateFacebookInstantGameRequest) ProtoMessage()
func (*AuthenticateFacebookInstantGameRequest) ProtoReflect ¶
func (x *AuthenticateFacebookInstantGameRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateFacebookInstantGameRequest) Reset ¶
func (x *AuthenticateFacebookInstantGameRequest) Reset()
func (*AuthenticateFacebookInstantGameRequest) String ¶
func (x *AuthenticateFacebookInstantGameRequest) String() string
type AuthenticateFacebookRequest ¶
type AuthenticateFacebookRequest struct { // The Facebook account details. Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Import Facebook friends for the user. Sync *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Facebook.
func (*AuthenticateFacebookRequest) Descriptor
deprecated
func (*AuthenticateFacebookRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateFacebookRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateFacebookRequest) GetAccount ¶
func (x *AuthenticateFacebookRequest) GetAccount() *AccountFacebook
func (*AuthenticateFacebookRequest) GetCreate ¶
func (x *AuthenticateFacebookRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateFacebookRequest) GetSync ¶
func (x *AuthenticateFacebookRequest) GetSync() *wrapperspb.BoolValue
func (*AuthenticateFacebookRequest) GetUsername ¶
func (x *AuthenticateFacebookRequest) GetUsername() string
func (*AuthenticateFacebookRequest) ProtoMessage ¶
func (*AuthenticateFacebookRequest) ProtoMessage()
func (*AuthenticateFacebookRequest) ProtoReflect ¶
func (x *AuthenticateFacebookRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateFacebookRequest) Reset ¶
func (x *AuthenticateFacebookRequest) Reset()
func (*AuthenticateFacebookRequest) String ¶
func (x *AuthenticateFacebookRequest) String() string
type AuthenticateGameCenterRequest ¶
type AuthenticateGameCenterRequest struct { // The Game Center account details. Account *AccountGameCenter `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Apple's Game Center.
func (*AuthenticateGameCenterRequest) Descriptor
deprecated
func (*AuthenticateGameCenterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateGameCenterRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateGameCenterRequest) GetAccount ¶
func (x *AuthenticateGameCenterRequest) GetAccount() *AccountGameCenter
func (*AuthenticateGameCenterRequest) GetCreate ¶
func (x *AuthenticateGameCenterRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateGameCenterRequest) GetUsername ¶
func (x *AuthenticateGameCenterRequest) GetUsername() string
func (*AuthenticateGameCenterRequest) ProtoMessage ¶
func (*AuthenticateGameCenterRequest) ProtoMessage()
func (*AuthenticateGameCenterRequest) ProtoReflect ¶
func (x *AuthenticateGameCenterRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateGameCenterRequest) Reset ¶
func (x *AuthenticateGameCenterRequest) Reset()
func (*AuthenticateGameCenterRequest) String ¶
func (x *AuthenticateGameCenterRequest) String() string
type AuthenticateGoogleRequest ¶
type AuthenticateGoogleRequest struct { // The Google account details. Account *AccountGoogle `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Google.
func (*AuthenticateGoogleRequest) Descriptor
deprecated
func (*AuthenticateGoogleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateGoogleRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateGoogleRequest) GetAccount ¶
func (x *AuthenticateGoogleRequest) GetAccount() *AccountGoogle
func (*AuthenticateGoogleRequest) GetCreate ¶
func (x *AuthenticateGoogleRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateGoogleRequest) GetUsername ¶
func (x *AuthenticateGoogleRequest) GetUsername() string
func (*AuthenticateGoogleRequest) ProtoMessage ¶
func (*AuthenticateGoogleRequest) ProtoMessage()
func (*AuthenticateGoogleRequest) ProtoReflect ¶
func (x *AuthenticateGoogleRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateGoogleRequest) Reset ¶
func (x *AuthenticateGoogleRequest) Reset()
func (*AuthenticateGoogleRequest) String ¶
func (x *AuthenticateGoogleRequest) String() string
type AuthenticateSteamRequest ¶
type AuthenticateSteamRequest struct { // The Steam account details. Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Register the account if the user does not already exist. Create *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // Set the username on the account at register. Must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Import Steam friends for the user. Sync *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"` // contains filtered or unexported fields }
Authenticate against the server with Steam.
func (*AuthenticateSteamRequest) Descriptor
deprecated
func (*AuthenticateSteamRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateSteamRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateSteamRequest) GetAccount ¶
func (x *AuthenticateSteamRequest) GetAccount() *AccountSteam
func (*AuthenticateSteamRequest) GetCreate ¶
func (x *AuthenticateSteamRequest) GetCreate() *wrapperspb.BoolValue
func (*AuthenticateSteamRequest) GetSync ¶
func (x *AuthenticateSteamRequest) GetSync() *wrapperspb.BoolValue
func (*AuthenticateSteamRequest) GetUsername ¶
func (x *AuthenticateSteamRequest) GetUsername() string
func (*AuthenticateSteamRequest) ProtoMessage ¶
func (*AuthenticateSteamRequest) ProtoMessage()
func (*AuthenticateSteamRequest) ProtoReflect ¶
func (x *AuthenticateSteamRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateSteamRequest) Reset ¶
func (x *AuthenticateSteamRequest) Reset()
func (*AuthenticateSteamRequest) String ¶
func (x *AuthenticateSteamRequest) String() string
type BanGroupUsersRequest ¶
type BanGroupUsersRequest struct { // The group to ban users from. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The users to ban. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
Ban users from a group.
func (*BanGroupUsersRequest) Descriptor
deprecated
func (*BanGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use BanGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*BanGroupUsersRequest) GetGroupId ¶
func (x *BanGroupUsersRequest) GetGroupId() string
func (*BanGroupUsersRequest) GetUserIds ¶
func (x *BanGroupUsersRequest) GetUserIds() []string
func (*BanGroupUsersRequest) ProtoMessage ¶
func (*BanGroupUsersRequest) ProtoMessage()
func (*BanGroupUsersRequest) ProtoReflect ¶
func (x *BanGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*BanGroupUsersRequest) Reset ¶
func (x *BanGroupUsersRequest) Reset()
func (*BanGroupUsersRequest) String ¶
func (x *BanGroupUsersRequest) String() string
type BlockFriendsRequest ¶
type BlockFriendsRequest struct { // The account id of a user. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // The account username of a user. Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"` // contains filtered or unexported fields }
Block one or more friends for the current user.
func (*BlockFriendsRequest) Descriptor
deprecated
func (*BlockFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockFriendsRequest.ProtoReflect.Descriptor instead.
func (*BlockFriendsRequest) GetIds ¶
func (x *BlockFriendsRequest) GetIds() []string
func (*BlockFriendsRequest) GetUsernames ¶
func (x *BlockFriendsRequest) GetUsernames() []string
func (*BlockFriendsRequest) ProtoMessage ¶
func (*BlockFriendsRequest) ProtoMessage()
func (*BlockFriendsRequest) ProtoReflect ¶
func (x *BlockFriendsRequest) ProtoReflect() protoreflect.Message
func (*BlockFriendsRequest) Reset ¶
func (x *BlockFriendsRequest) Reset()
func (*BlockFriendsRequest) String ¶
func (x *BlockFriendsRequest) String() string
type ChannelMessage ¶
type ChannelMessage struct { // The channel this message belongs to. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // The unique ID of this message. MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // The code representing a message type or category. Code *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // Message sender, usually a user ID. SenderId string `protobuf:"bytes,4,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // The username of the message sender, if any. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` // The content payload. Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // True if the message was persisted to the channel's history, false otherwise. Persistent *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=persistent,proto3" json:"persistent,omitempty"` // The name of the chat room, or an empty string if this message was not sent through a chat room. RoomName string `protobuf:"bytes,10,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // The ID of the group, or an empty string if this message was not sent through a group channel. GroupId string `protobuf:"bytes,11,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The ID of the first DM user, or an empty string if this message was not sent through a DM chat. UserIdOne string `protobuf:"bytes,12,opt,name=user_id_one,json=userIdOne,proto3" json:"user_id_one,omitempty"` // The ID of the second DM user, or an empty string if this message was not sent through a DM chat. UserIdTwo string `protobuf:"bytes,13,opt,name=user_id_two,json=userIdTwo,proto3" json:"user_id_two,omitempty"` // contains filtered or unexported fields }
A message sent on a channel.
func (*ChannelMessage) Descriptor
deprecated
func (*ChannelMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChannelMessage.ProtoReflect.Descriptor instead.
func (*ChannelMessage) GetChannelId ¶
func (x *ChannelMessage) GetChannelId() string
func (*ChannelMessage) GetCode ¶
func (x *ChannelMessage) GetCode() *wrapperspb.Int32Value
func (*ChannelMessage) GetContent ¶
func (x *ChannelMessage) GetContent() string
func (*ChannelMessage) GetCreateTime ¶
func (x *ChannelMessage) GetCreateTime() *timestamppb.Timestamp
func (*ChannelMessage) GetGroupId ¶
func (x *ChannelMessage) GetGroupId() string
func (*ChannelMessage) GetMessageId ¶
func (x *ChannelMessage) GetMessageId() string
func (*ChannelMessage) GetPersistent ¶
func (x *ChannelMessage) GetPersistent() *wrapperspb.BoolValue
func (*ChannelMessage) GetRoomName ¶
func (x *ChannelMessage) GetRoomName() string
func (*ChannelMessage) GetSenderId ¶
func (x *ChannelMessage) GetSenderId() string
func (*ChannelMessage) GetUpdateTime ¶
func (x *ChannelMessage) GetUpdateTime() *timestamppb.Timestamp
func (*ChannelMessage) GetUserIdOne ¶
func (x *ChannelMessage) GetUserIdOne() string
func (*ChannelMessage) GetUserIdTwo ¶
func (x *ChannelMessage) GetUserIdTwo() string
func (*ChannelMessage) GetUsername ¶
func (x *ChannelMessage) GetUsername() string
func (*ChannelMessage) ProtoMessage ¶
func (*ChannelMessage) ProtoMessage()
func (*ChannelMessage) ProtoReflect ¶
func (x *ChannelMessage) ProtoReflect() protoreflect.Message
func (*ChannelMessage) Reset ¶
func (x *ChannelMessage) Reset()
func (*ChannelMessage) String ¶
func (x *ChannelMessage) String() string
type ChannelMessageList ¶
type ChannelMessageList struct { // A list of messages. Messages []*ChannelMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // The cursor to send when retrieving the next page, if any. NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // The cursor to send when retrieving the previous page, if any. PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors. CacheableCursor string `protobuf:"bytes,4,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"` // contains filtered or unexported fields }
A list of channel messages, usually a result of a list operation.
func (*ChannelMessageList) Descriptor
deprecated
func (*ChannelMessageList) Descriptor() ([]byte, []int)
Deprecated: Use ChannelMessageList.ProtoReflect.Descriptor instead.
func (*ChannelMessageList) GetCacheableCursor ¶
func (x *ChannelMessageList) GetCacheableCursor() string
func (*ChannelMessageList) GetMessages ¶
func (x *ChannelMessageList) GetMessages() []*ChannelMessage
func (*ChannelMessageList) GetNextCursor ¶
func (x *ChannelMessageList) GetNextCursor() string
func (*ChannelMessageList) GetPrevCursor ¶
func (x *ChannelMessageList) GetPrevCursor() string
func (*ChannelMessageList) ProtoMessage ¶
func (*ChannelMessageList) ProtoMessage()
func (*ChannelMessageList) ProtoReflect ¶
func (x *ChannelMessageList) ProtoReflect() protoreflect.Message
func (*ChannelMessageList) Reset ¶
func (x *ChannelMessageList) Reset()
func (*ChannelMessageList) String ¶
func (x *ChannelMessageList) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { // A unique name for the group. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A description for the group. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The language expected to be a tag which follows the BCP-47 spec. LangTag string `protobuf:"bytes,3,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // A URL for an avatar image. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // Mark a group as open or not where only admins can accept members. Open bool `protobuf:"varint,5,opt,name=open,proto3" json:"open,omitempty"` // Maximum number of group members. MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // contains filtered or unexported fields }
Create a group with the current user as owner.
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetAvatarUrl ¶
func (x *CreateGroupRequest) GetAvatarUrl() string
func (*CreateGroupRequest) GetDescription ¶
func (x *CreateGroupRequest) GetDescription() string
func (*CreateGroupRequest) GetLangTag ¶
func (x *CreateGroupRequest) GetLangTag() string
func (*CreateGroupRequest) GetMaxCount ¶
func (x *CreateGroupRequest) GetMaxCount() int32
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetOpen ¶
func (x *CreateGroupRequest) GetOpen() bool
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
type DeleteFriendsRequest ¶
type DeleteFriendsRequest struct { // The account id of a user. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // The account username of a user. Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"` // contains filtered or unexported fields }
Delete one or more friends for the current user.
func (*DeleteFriendsRequest) Descriptor
deprecated
func (*DeleteFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendsRequest.ProtoReflect.Descriptor instead.
func (*DeleteFriendsRequest) GetIds ¶
func (x *DeleteFriendsRequest) GetIds() []string
func (*DeleteFriendsRequest) GetUsernames ¶
func (x *DeleteFriendsRequest) GetUsernames() []string
func (*DeleteFriendsRequest) ProtoMessage ¶
func (*DeleteFriendsRequest) ProtoMessage()
func (*DeleteFriendsRequest) ProtoReflect ¶
func (x *DeleteFriendsRequest) ProtoReflect() protoreflect.Message
func (*DeleteFriendsRequest) Reset ¶
func (x *DeleteFriendsRequest) Reset()
func (*DeleteFriendsRequest) String ¶
func (x *DeleteFriendsRequest) String() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // The id of a group. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
Delete a group the user has access to.
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetGroupId ¶
func (x *DeleteGroupRequest) GetGroupId() string
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
type DeleteLeaderboardRecordRequest ¶
type DeleteLeaderboardRecordRequest struct { // The leaderboard ID to delete from. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // contains filtered or unexported fields }
Delete a leaderboard record.
func (*DeleteLeaderboardRecordRequest) Descriptor
deprecated
func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLeaderboardRecordRequest.ProtoReflect.Descriptor instead.
func (*DeleteLeaderboardRecordRequest) GetLeaderboardId ¶
func (x *DeleteLeaderboardRecordRequest) GetLeaderboardId() string
func (*DeleteLeaderboardRecordRequest) ProtoMessage ¶
func (*DeleteLeaderboardRecordRequest) ProtoMessage()
func (*DeleteLeaderboardRecordRequest) ProtoReflect ¶
func (x *DeleteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
func (*DeleteLeaderboardRecordRequest) Reset ¶
func (x *DeleteLeaderboardRecordRequest) Reset()
func (*DeleteLeaderboardRecordRequest) String ¶
func (x *DeleteLeaderboardRecordRequest) String() string
type DeleteNotificationsRequest ¶
type DeleteNotificationsRequest struct { // The id of notifications. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
Delete one or more notifications for the current user.
func (*DeleteNotificationsRequest) Descriptor
deprecated
func (*DeleteNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotificationsRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotificationsRequest) GetIds ¶
func (x *DeleteNotificationsRequest) GetIds() []string
func (*DeleteNotificationsRequest) ProtoMessage ¶
func (*DeleteNotificationsRequest) ProtoMessage()
func (*DeleteNotificationsRequest) ProtoReflect ¶
func (x *DeleteNotificationsRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotificationsRequest) Reset ¶
func (x *DeleteNotificationsRequest) Reset()
func (*DeleteNotificationsRequest) String ¶
func (x *DeleteNotificationsRequest) String() string
type DeleteStorageObjectId ¶
type DeleteStorageObjectId struct { // The collection which stores the object. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // The key of the object within the collection. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The version hash of the object. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Storage objects to delete.
func (*DeleteStorageObjectId) Descriptor
deprecated
func (*DeleteStorageObjectId) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStorageObjectId.ProtoReflect.Descriptor instead.
func (*DeleteStorageObjectId) GetCollection ¶
func (x *DeleteStorageObjectId) GetCollection() string
func (*DeleteStorageObjectId) GetKey ¶
func (x *DeleteStorageObjectId) GetKey() string
func (*DeleteStorageObjectId) GetVersion ¶
func (x *DeleteStorageObjectId) GetVersion() string
func (*DeleteStorageObjectId) ProtoMessage ¶
func (*DeleteStorageObjectId) ProtoMessage()
func (*DeleteStorageObjectId) ProtoReflect ¶
func (x *DeleteStorageObjectId) ProtoReflect() protoreflect.Message
func (*DeleteStorageObjectId) Reset ¶
func (x *DeleteStorageObjectId) Reset()
func (*DeleteStorageObjectId) String ¶
func (x *DeleteStorageObjectId) String() string
type DeleteStorageObjectsRequest ¶
type DeleteStorageObjectsRequest struct { // Batch of storage objects. ObjectIds []*DeleteStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"` // contains filtered or unexported fields }
Batch delete storage objects.
func (*DeleteStorageObjectsRequest) Descriptor
deprecated
func (*DeleteStorageObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStorageObjectsRequest.ProtoReflect.Descriptor instead.
func (*DeleteStorageObjectsRequest) GetObjectIds ¶
func (x *DeleteStorageObjectsRequest) GetObjectIds() []*DeleteStorageObjectId
func (*DeleteStorageObjectsRequest) ProtoMessage ¶
func (*DeleteStorageObjectsRequest) ProtoMessage()
func (*DeleteStorageObjectsRequest) ProtoReflect ¶
func (x *DeleteStorageObjectsRequest) ProtoReflect() protoreflect.Message
func (*DeleteStorageObjectsRequest) Reset ¶
func (x *DeleteStorageObjectsRequest) Reset()
func (*DeleteStorageObjectsRequest) String ¶
func (x *DeleteStorageObjectsRequest) String() string
type DeleteTournamentRecordRequest ¶
type DeleteTournamentRecordRequest struct { // The tournament ID to delete from. TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // contains filtered or unexported fields }
Delete a leaderboard record.
func (*DeleteTournamentRecordRequest) Descriptor
deprecated
func (*DeleteTournamentRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTournamentRecordRequest.ProtoReflect.Descriptor instead.
func (*DeleteTournamentRecordRequest) GetTournamentId ¶
func (x *DeleteTournamentRecordRequest) GetTournamentId() string
func (*DeleteTournamentRecordRequest) ProtoMessage ¶
func (*DeleteTournamentRecordRequest) ProtoMessage()
func (*DeleteTournamentRecordRequest) ProtoReflect ¶
func (x *DeleteTournamentRecordRequest) ProtoReflect() protoreflect.Message
func (*DeleteTournamentRecordRequest) Reset ¶
func (x *DeleteTournamentRecordRequest) Reset()
func (*DeleteTournamentRecordRequest) String ¶
func (x *DeleteTournamentRecordRequest) String() string
type DemoteGroupUsersRequest ¶
type DemoteGroupUsersRequest struct { // The group ID to demote in. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The users to demote. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
Demote a set of users in a group to the next role down.
func (*DemoteGroupUsersRequest) Descriptor
deprecated
func (*DemoteGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use DemoteGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*DemoteGroupUsersRequest) GetGroupId ¶
func (x *DemoteGroupUsersRequest) GetGroupId() string
func (*DemoteGroupUsersRequest) GetUserIds ¶
func (x *DemoteGroupUsersRequest) GetUserIds() []string
func (*DemoteGroupUsersRequest) ProtoMessage ¶
func (*DemoteGroupUsersRequest) ProtoMessage()
func (*DemoteGroupUsersRequest) ProtoReflect ¶
func (x *DemoteGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*DemoteGroupUsersRequest) Reset ¶
func (x *DemoteGroupUsersRequest) Reset()
func (*DemoteGroupUsersRequest) String ¶
func (x *DemoteGroupUsersRequest) String() string
type Event ¶
type Event struct { // An event name, type, category, or identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Arbitrary event property values. Properties map[string]string `` /* 161-byte string literal not displayed */ // The time when the event was triggered. Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // True if the event came directly from a client call, false otherwise. External bool `protobuf:"varint,4,opt,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
Represents an event to be passed through the server to registered event handlers.
func (*Event) Descriptor
deprecated
func (*Event) GetExternal ¶
func (*Event) GetProperties ¶
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Friend ¶
type Friend struct { // The user object. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The friend status. State *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // one of "Friend.State". // Time of the latest relationship update. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
A friend of a user.
func (*Friend) Descriptor
deprecated
func (*Friend) GetState ¶
func (x *Friend) GetState() *wrapperspb.Int32Value
func (*Friend) GetUpdateTime ¶
func (x *Friend) GetUpdateTime() *timestamppb.Timestamp
func (*Friend) ProtoMessage ¶
func (*Friend) ProtoMessage()
func (*Friend) ProtoReflect ¶
func (x *Friend) ProtoReflect() protoreflect.Message
type FriendList ¶
type FriendList struct { // The Friend objects. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"` // Cursor for the next page of results, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A collection of zero or more friends of the user.
func (*FriendList) Descriptor
deprecated
func (*FriendList) Descriptor() ([]byte, []int)
Deprecated: Use FriendList.ProtoReflect.Descriptor instead.
func (*FriendList) GetCursor ¶
func (x *FriendList) GetCursor() string
func (*FriendList) GetFriends ¶
func (x *FriendList) GetFriends() []*Friend
func (*FriendList) ProtoMessage ¶
func (*FriendList) ProtoMessage()
func (*FriendList) ProtoReflect ¶
func (x *FriendList) ProtoReflect() protoreflect.Message
func (*FriendList) Reset ¶
func (x *FriendList) Reset()
func (*FriendList) String ¶
func (x *FriendList) String() string
type Friend_State ¶
type Friend_State int32
The friendship status.
const ( // The user is a friend of the current user. Friend_FRIEND Friend_State = 0 // The current user has sent an invite to the user. Friend_INVITE_SENT Friend_State = 1 // The current user has received an invite from this user. Friend_INVITE_RECEIVED Friend_State = 2 // The current user has blocked this user. Friend_BLOCKED Friend_State = 3 )
func (Friend_State) Descriptor ¶
func (Friend_State) Descriptor() protoreflect.EnumDescriptor
func (Friend_State) Enum ¶
func (x Friend_State) Enum() *Friend_State
func (Friend_State) EnumDescriptor
deprecated
func (Friend_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Friend_State.Descriptor instead.
func (Friend_State) Number ¶
func (x Friend_State) Number() protoreflect.EnumNumber
func (Friend_State) String ¶
func (x Friend_State) String() string
func (Friend_State) Type ¶
func (Friend_State) Type() protoreflect.EnumType
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct { // Product id of the subscription ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // contains filtered or unexported fields }
Fetch a subscription by product id.
func (*GetSubscriptionRequest) Descriptor
deprecated
func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*GetSubscriptionRequest) GetProductId ¶
func (x *GetSubscriptionRequest) GetProductId() string
func (*GetSubscriptionRequest) ProtoMessage ¶
func (*GetSubscriptionRequest) ProtoMessage()
func (*GetSubscriptionRequest) ProtoReflect ¶
func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*GetSubscriptionRequest) Reset ¶
func (x *GetSubscriptionRequest) Reset()
func (*GetSubscriptionRequest) String ¶
func (x *GetSubscriptionRequest) String() string
type GetUsersRequest ¶
type GetUsersRequest struct { // The account id of a user. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // The account username of a user. Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"` // The Facebook ID of a user. FacebookIds []string `protobuf:"bytes,3,rep,name=facebook_ids,json=facebookIds,proto3" json:"facebook_ids,omitempty"` // contains filtered or unexported fields }
Fetch a batch of zero or more users from the server.
func (*GetUsersRequest) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetFacebookIds ¶
func (x *GetUsersRequest) GetFacebookIds() []string
func (*GetUsersRequest) GetIds ¶
func (x *GetUsersRequest) GetIds() []string
func (*GetUsersRequest) GetUsernames ¶
func (x *GetUsersRequest) GetUsernames() []string
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type Group ¶
type Group struct { // The id of a group. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the user who created the group. CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` // The unique name of the group. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // A description for the group. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The language expected to be a tag which follows the BCP-47 spec. LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // Additional information stored as a JSON object. Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // A URL for an avatar image. AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // Anyone can join open groups, otherwise only admins can accept members. Open *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=open,proto3" json:"open,omitempty"` // The current count of all members in the group. EdgeCount int32 `protobuf:"varint,9,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"` // The maximum number of members allowed. MaxCount int32 `protobuf:"varint,10,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
A group in the server.
func (*Group) Descriptor
deprecated
func (*Group) GetAvatarUrl ¶
func (*Group) GetCreateTime ¶
func (x *Group) GetCreateTime() *timestamppb.Timestamp
func (*Group) GetCreatorId ¶
func (*Group) GetDescription ¶
func (*Group) GetEdgeCount ¶
func (*Group) GetLangTag ¶
func (*Group) GetMaxCount ¶
func (*Group) GetMetadata ¶
func (*Group) GetOpen ¶
func (x *Group) GetOpen() *wrapperspb.BoolValue
func (*Group) GetUpdateTime ¶
func (x *Group) GetUpdateTime() *timestamppb.Timestamp
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupList ¶
type GroupList struct { // One or more groups. Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // A cursor used to get the next page. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
One or more groups returned from a listing operation.
func (*GroupList) Descriptor
deprecated
func (*GroupList) ProtoMessage ¶
func (*GroupList) ProtoMessage()
func (*GroupList) ProtoReflect ¶
func (x *GroupList) ProtoReflect() protoreflect.Message
type GroupUserList ¶
type GroupUserList struct { // User-role pairs for a group. GroupUsers []*GroupUserList_GroupUser `protobuf:"bytes,1,rep,name=group_users,json=groupUsers,proto3" json:"group_users,omitempty"` // Cursor for the next page of results, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A list of users belonging to a group, along with their role.
func (*GroupUserList) Descriptor
deprecated
func (*GroupUserList) Descriptor() ([]byte, []int)
Deprecated: Use GroupUserList.ProtoReflect.Descriptor instead.
func (*GroupUserList) GetCursor ¶
func (x *GroupUserList) GetCursor() string
func (*GroupUserList) GetGroupUsers ¶
func (x *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser
func (*GroupUserList) ProtoMessage ¶
func (*GroupUserList) ProtoMessage()
func (*GroupUserList) ProtoReflect ¶
func (x *GroupUserList) ProtoReflect() protoreflect.Message
func (*GroupUserList) Reset ¶
func (x *GroupUserList) Reset()
func (*GroupUserList) String ¶
func (x *GroupUserList) String() string
type GroupUserList_GroupUser ¶
type GroupUserList_GroupUser struct { // User. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Their relationship to the group. State *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
A single user-role pair.
func (*GroupUserList_GroupUser) Descriptor
deprecated
func (*GroupUserList_GroupUser) Descriptor() ([]byte, []int)
Deprecated: Use GroupUserList_GroupUser.ProtoReflect.Descriptor instead.
func (*GroupUserList_GroupUser) GetState ¶
func (x *GroupUserList_GroupUser) GetState() *wrapperspb.Int32Value
func (*GroupUserList_GroupUser) GetUser ¶
func (x *GroupUserList_GroupUser) GetUser() *User
func (*GroupUserList_GroupUser) ProtoMessage ¶
func (*GroupUserList_GroupUser) ProtoMessage()
func (*GroupUserList_GroupUser) ProtoReflect ¶
func (x *GroupUserList_GroupUser) ProtoReflect() protoreflect.Message
func (*GroupUserList_GroupUser) Reset ¶
func (x *GroupUserList_GroupUser) Reset()
func (*GroupUserList_GroupUser) String ¶
func (x *GroupUserList_GroupUser) String() string
type GroupUserList_GroupUser_State ¶
type GroupUserList_GroupUser_State int32
The group role status.
const ( // The user is a superadmin with full control of the group. GroupUserList_GroupUser_SUPERADMIN GroupUserList_GroupUser_State = 0 // The user is an admin with additional privileges. GroupUserList_GroupUser_ADMIN GroupUserList_GroupUser_State = 1 // The user is a regular member. GroupUserList_GroupUser_MEMBER GroupUserList_GroupUser_State = 2 // The user has requested to join the group GroupUserList_GroupUser_JOIN_REQUEST GroupUserList_GroupUser_State = 3 )
func (GroupUserList_GroupUser_State) Descriptor ¶
func (GroupUserList_GroupUser_State) Descriptor() protoreflect.EnumDescriptor
func (GroupUserList_GroupUser_State) Enum ¶
func (x GroupUserList_GroupUser_State) Enum() *GroupUserList_GroupUser_State
func (GroupUserList_GroupUser_State) EnumDescriptor
deprecated
func (GroupUserList_GroupUser_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use GroupUserList_GroupUser_State.Descriptor instead.
func (GroupUserList_GroupUser_State) Number ¶
func (x GroupUserList_GroupUser_State) Number() protoreflect.EnumNumber
func (GroupUserList_GroupUser_State) String ¶
func (x GroupUserList_GroupUser_State) String() string
func (GroupUserList_GroupUser_State) Type ¶
func (GroupUserList_GroupUser_State) Type() protoreflect.EnumType
type ImportFacebookFriendsRequest ¶
type ImportFacebookFriendsRequest struct { // The Facebook account details. Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Reset the current user's friends list. Reset_ *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"` // contains filtered or unexported fields }
Import Facebook friends into the current user's account.
func (*ImportFacebookFriendsRequest) Descriptor
deprecated
func (*ImportFacebookFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportFacebookFriendsRequest.ProtoReflect.Descriptor instead.
func (*ImportFacebookFriendsRequest) GetAccount ¶
func (x *ImportFacebookFriendsRequest) GetAccount() *AccountFacebook
func (*ImportFacebookFriendsRequest) GetReset_ ¶
func (x *ImportFacebookFriendsRequest) GetReset_() *wrapperspb.BoolValue
func (*ImportFacebookFriendsRequest) ProtoMessage ¶
func (*ImportFacebookFriendsRequest) ProtoMessage()
func (*ImportFacebookFriendsRequest) ProtoReflect ¶
func (x *ImportFacebookFriendsRequest) ProtoReflect() protoreflect.Message
func (*ImportFacebookFriendsRequest) Reset ¶
func (x *ImportFacebookFriendsRequest) Reset()
func (*ImportFacebookFriendsRequest) String ¶
func (x *ImportFacebookFriendsRequest) String() string
type ImportSteamFriendsRequest ¶
type ImportSteamFriendsRequest struct { // The Facebook account details. Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Reset the current user's friends list. Reset_ *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"` // contains filtered or unexported fields }
Import Facebook friends into the current user's account.
func (*ImportSteamFriendsRequest) Descriptor
deprecated
func (*ImportSteamFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportSteamFriendsRequest.ProtoReflect.Descriptor instead.
func (*ImportSteamFriendsRequest) GetAccount ¶
func (x *ImportSteamFriendsRequest) GetAccount() *AccountSteam
func (*ImportSteamFriendsRequest) GetReset_ ¶
func (x *ImportSteamFriendsRequest) GetReset_() *wrapperspb.BoolValue
func (*ImportSteamFriendsRequest) ProtoMessage ¶
func (*ImportSteamFriendsRequest) ProtoMessage()
func (*ImportSteamFriendsRequest) ProtoReflect ¶
func (x *ImportSteamFriendsRequest) ProtoReflect() protoreflect.Message
func (*ImportSteamFriendsRequest) Reset ¶
func (x *ImportSteamFriendsRequest) Reset()
func (*ImportSteamFriendsRequest) String ¶
func (x *ImportSteamFriendsRequest) String() string
type JoinGroupRequest ¶
type JoinGroupRequest struct { // The group ID to join. The group must already exist. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
Immediately join an open group, or request to join a closed one.
func (*JoinGroupRequest) Descriptor
deprecated
func (*JoinGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinGroupRequest.ProtoReflect.Descriptor instead.
func (*JoinGroupRequest) GetGroupId ¶
func (x *JoinGroupRequest) GetGroupId() string
func (*JoinGroupRequest) ProtoMessage ¶
func (*JoinGroupRequest) ProtoMessage()
func (*JoinGroupRequest) ProtoReflect ¶
func (x *JoinGroupRequest) ProtoReflect() protoreflect.Message
func (*JoinGroupRequest) Reset ¶
func (x *JoinGroupRequest) Reset()
func (*JoinGroupRequest) String ¶
func (x *JoinGroupRequest) String() string
type JoinTournamentRequest ¶
type JoinTournamentRequest struct { // The ID of the tournament to join. The tournament must already exist. TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // contains filtered or unexported fields }
The request to join a tournament.
func (*JoinTournamentRequest) Descriptor
deprecated
func (*JoinTournamentRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinTournamentRequest.ProtoReflect.Descriptor instead.
func (*JoinTournamentRequest) GetTournamentId ¶
func (x *JoinTournamentRequest) GetTournamentId() string
func (*JoinTournamentRequest) ProtoMessage ¶
func (*JoinTournamentRequest) ProtoMessage()
func (*JoinTournamentRequest) ProtoReflect ¶
func (x *JoinTournamentRequest) ProtoReflect() protoreflect.Message
func (*JoinTournamentRequest) Reset ¶
func (x *JoinTournamentRequest) Reset()
func (*JoinTournamentRequest) String ¶
func (x *JoinTournamentRequest) String() string
type KickGroupUsersRequest ¶
type KickGroupUsersRequest struct { // The group ID to kick from. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The users to kick. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
Kick a set of users from a group.
func (*KickGroupUsersRequest) Descriptor
deprecated
func (*KickGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use KickGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*KickGroupUsersRequest) GetGroupId ¶
func (x *KickGroupUsersRequest) GetGroupId() string
func (*KickGroupUsersRequest) GetUserIds ¶
func (x *KickGroupUsersRequest) GetUserIds() []string
func (*KickGroupUsersRequest) ProtoMessage ¶
func (*KickGroupUsersRequest) ProtoMessage()
func (*KickGroupUsersRequest) ProtoReflect ¶
func (x *KickGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*KickGroupUsersRequest) Reset ¶
func (x *KickGroupUsersRequest) Reset()
func (*KickGroupUsersRequest) String ¶
func (x *KickGroupUsersRequest) String() string
type Leaderboard ¶
type Leaderboard struct { // The ID of the leaderboard. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ASC(0) or DESC(1) sort mode of scores in the leaderboard. SortOrder uint32 `protobuf:"varint,2,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` // BEST, SET, INCREMENT or DECREMENT operator mode of the leaderboard. Operator Operator `protobuf:"varint,3,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"` // The UNIX time when the leaderboard was previously reset. A computed value. PrevReset uint32 `protobuf:"varint,4,opt,name=prev_reset,json=prevReset,proto3" json:"prev_reset,omitempty"` // The UNIX time when the leaderboard is next playable. A computed value. NextReset uint32 `protobuf:"varint,5,opt,name=next_reset,json=nextReset,proto3" json:"next_reset,omitempty"` // Additional information stored as a JSON object. Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Whether the leaderboard was created authoritatively or not. Authoritative bool `protobuf:"varint,8,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // contains filtered or unexported fields }
A leaderboard on the server.
func (*Leaderboard) Descriptor
deprecated
func (*Leaderboard) Descriptor() ([]byte, []int)
Deprecated: Use Leaderboard.ProtoReflect.Descriptor instead.
func (*Leaderboard) GetAuthoritative ¶
func (x *Leaderboard) GetAuthoritative() bool
func (*Leaderboard) GetCreateTime ¶
func (x *Leaderboard) GetCreateTime() *timestamppb.Timestamp
func (*Leaderboard) GetId ¶
func (x *Leaderboard) GetId() string
func (*Leaderboard) GetMetadata ¶
func (x *Leaderboard) GetMetadata() string
func (*Leaderboard) GetNextReset ¶
func (x *Leaderboard) GetNextReset() uint32
func (*Leaderboard) GetOperator ¶
func (x *Leaderboard) GetOperator() Operator
func (*Leaderboard) GetPrevReset ¶
func (x *Leaderboard) GetPrevReset() uint32
func (*Leaderboard) GetSortOrder ¶
func (x *Leaderboard) GetSortOrder() uint32
func (*Leaderboard) ProtoMessage ¶
func (*Leaderboard) ProtoMessage()
func (*Leaderboard) ProtoReflect ¶
func (x *Leaderboard) ProtoReflect() protoreflect.Message
func (*Leaderboard) Reset ¶
func (x *Leaderboard) Reset()
func (*Leaderboard) String ¶
func (x *Leaderboard) String() string
type LeaderboardList ¶
type LeaderboardList struct { // The list of leaderboards returned. Leaderboards []*Leaderboard `protobuf:"bytes,1,rep,name=leaderboards,proto3" json:"leaderboards,omitempty"` // A pagination cursor (optional). Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A list of leaderboards
func (*LeaderboardList) Descriptor
deprecated
func (*LeaderboardList) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardList.ProtoReflect.Descriptor instead.
func (*LeaderboardList) GetCursor ¶
func (x *LeaderboardList) GetCursor() string
func (*LeaderboardList) GetLeaderboards ¶
func (x *LeaderboardList) GetLeaderboards() []*Leaderboard
func (*LeaderboardList) ProtoMessage ¶
func (*LeaderboardList) ProtoMessage()
func (*LeaderboardList) ProtoReflect ¶
func (x *LeaderboardList) ProtoReflect() protoreflect.Message
func (*LeaderboardList) Reset ¶
func (x *LeaderboardList) Reset()
func (*LeaderboardList) String ¶
func (x *LeaderboardList) String() string
type LeaderboardRecord ¶
type LeaderboardRecord struct { // The ID of the leaderboard this score belongs to. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // The ID of the score owner, usually a user or group. OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The username of the score owner, if the owner is a user. Username *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // The score value. Score int64 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"` // An optional subscore value. Subscore int64 `protobuf:"varint,5,opt,name=subscore,proto3" json:"subscore,omitempty"` // The number of submissions to this score record. NumScore int32 `protobuf:"varint,6,opt,name=num_score,json=numScore,proto3" json:"num_score,omitempty"` // Metadata. Metadata string `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires. ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // The rank of this record. Rank int64 `protobuf:"varint,11,opt,name=rank,proto3" json:"rank,omitempty"` // The maximum number of score updates allowed by the owner. MaxNumScore uint32 `protobuf:"varint,12,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"` // contains filtered or unexported fields }
Represents a complete leaderboard record with all scores and associated metadata.
func (*LeaderboardRecord) Descriptor
deprecated
func (*LeaderboardRecord) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardRecord.ProtoReflect.Descriptor instead.
func (*LeaderboardRecord) GetCreateTime ¶
func (x *LeaderboardRecord) GetCreateTime() *timestamppb.Timestamp
func (*LeaderboardRecord) GetExpiryTime ¶
func (x *LeaderboardRecord) GetExpiryTime() *timestamppb.Timestamp
func (*LeaderboardRecord) GetLeaderboardId ¶
func (x *LeaderboardRecord) GetLeaderboardId() string
func (*LeaderboardRecord) GetMaxNumScore ¶
func (x *LeaderboardRecord) GetMaxNumScore() uint32
func (*LeaderboardRecord) GetMetadata ¶
func (x *LeaderboardRecord) GetMetadata() string
func (*LeaderboardRecord) GetNumScore ¶
func (x *LeaderboardRecord) GetNumScore() int32
func (*LeaderboardRecord) GetOwnerId ¶
func (x *LeaderboardRecord) GetOwnerId() string
func (*LeaderboardRecord) GetRank ¶
func (x *LeaderboardRecord) GetRank() int64
func (*LeaderboardRecord) GetScore ¶
func (x *LeaderboardRecord) GetScore() int64
func (*LeaderboardRecord) GetSubscore ¶
func (x *LeaderboardRecord) GetSubscore() int64
func (*LeaderboardRecord) GetUpdateTime ¶
func (x *LeaderboardRecord) GetUpdateTime() *timestamppb.Timestamp
func (*LeaderboardRecord) GetUsername ¶
func (x *LeaderboardRecord) GetUsername() *wrapperspb.StringValue
func (*LeaderboardRecord) ProtoMessage ¶
func (*LeaderboardRecord) ProtoMessage()
func (*LeaderboardRecord) ProtoReflect ¶
func (x *LeaderboardRecord) ProtoReflect() protoreflect.Message
func (*LeaderboardRecord) Reset ¶
func (x *LeaderboardRecord) Reset()
func (*LeaderboardRecord) String ¶
func (x *LeaderboardRecord) String() string
type LeaderboardRecordList ¶
type LeaderboardRecordList struct { // A list of leaderboard records. Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // A batched set of leaderboard records belonging to specified owners. OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"` // The cursor to send when retrieving the next page, if any. NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // The cursor to send when retrieving the previous page, if any. PrevCursor string `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // The total number of ranks available. RankCount int64 `protobuf:"varint,5,opt,name=rank_count,json=rankCount,proto3" json:"rank_count,omitempty"` // contains filtered or unexported fields }
A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.
func (*LeaderboardRecordList) Descriptor
deprecated
func (*LeaderboardRecordList) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardRecordList.ProtoReflect.Descriptor instead.
func (*LeaderboardRecordList) GetNextCursor ¶
func (x *LeaderboardRecordList) GetNextCursor() string
func (*LeaderboardRecordList) GetOwnerRecords ¶
func (x *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord
func (*LeaderboardRecordList) GetPrevCursor ¶
func (x *LeaderboardRecordList) GetPrevCursor() string
func (*LeaderboardRecordList) GetRankCount ¶
func (x *LeaderboardRecordList) GetRankCount() int64
func (*LeaderboardRecordList) GetRecords ¶
func (x *LeaderboardRecordList) GetRecords() []*LeaderboardRecord
func (*LeaderboardRecordList) ProtoMessage ¶
func (*LeaderboardRecordList) ProtoMessage()
func (*LeaderboardRecordList) ProtoReflect ¶
func (x *LeaderboardRecordList) ProtoReflect() protoreflect.Message
func (*LeaderboardRecordList) Reset ¶
func (x *LeaderboardRecordList) Reset()
func (*LeaderboardRecordList) String ¶
func (x *LeaderboardRecordList) String() string
type LeaveGroupRequest ¶
type LeaveGroupRequest struct { // The group ID to leave. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
Leave a group.
func (*LeaveGroupRequest) Descriptor
deprecated
func (*LeaveGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveGroupRequest.ProtoReflect.Descriptor instead.
func (*LeaveGroupRequest) GetGroupId ¶
func (x *LeaveGroupRequest) GetGroupId() string
func (*LeaveGroupRequest) ProtoMessage ¶
func (*LeaveGroupRequest) ProtoMessage()
func (*LeaveGroupRequest) ProtoReflect ¶
func (x *LeaveGroupRequest) ProtoReflect() protoreflect.Message
func (*LeaveGroupRequest) Reset ¶
func (x *LeaveGroupRequest) Reset()
func (*LeaveGroupRequest) String ¶
func (x *LeaveGroupRequest) String() string
type LinkFacebookRequest ¶
type LinkFacebookRequest struct { // The Facebook account details. Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Import Facebook friends for the user. Sync *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=sync,proto3" json:"sync,omitempty"` // contains filtered or unexported fields }
Link Facebook to the current user's account.
func (*LinkFacebookRequest) Descriptor
deprecated
func (*LinkFacebookRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkFacebookRequest.ProtoReflect.Descriptor instead.
func (*LinkFacebookRequest) GetAccount ¶
func (x *LinkFacebookRequest) GetAccount() *AccountFacebook
func (*LinkFacebookRequest) GetSync ¶
func (x *LinkFacebookRequest) GetSync() *wrapperspb.BoolValue
func (*LinkFacebookRequest) ProtoMessage ¶
func (*LinkFacebookRequest) ProtoMessage()
func (*LinkFacebookRequest) ProtoReflect ¶
func (x *LinkFacebookRequest) ProtoReflect() protoreflect.Message
func (*LinkFacebookRequest) Reset ¶
func (x *LinkFacebookRequest) Reset()
func (*LinkFacebookRequest) String ¶
func (x *LinkFacebookRequest) String() string
type LinkSteamRequest ¶
type LinkSteamRequest struct { // The Facebook account details. Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Import Steam friends for the user. Sync *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=sync,proto3" json:"sync,omitempty"` // contains filtered or unexported fields }
Link Steam to the current user's account.
func (*LinkSteamRequest) Descriptor
deprecated
func (*LinkSteamRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkSteamRequest.ProtoReflect.Descriptor instead.
func (*LinkSteamRequest) GetAccount ¶
func (x *LinkSteamRequest) GetAccount() *AccountSteam
func (*LinkSteamRequest) GetSync ¶
func (x *LinkSteamRequest) GetSync() *wrapperspb.BoolValue
func (*LinkSteamRequest) ProtoMessage ¶
func (*LinkSteamRequest) ProtoMessage()
func (*LinkSteamRequest) ProtoReflect ¶
func (x *LinkSteamRequest) ProtoReflect() protoreflect.Message
func (*LinkSteamRequest) Reset ¶
func (x *LinkSteamRequest) Reset()
func (*LinkSteamRequest) String ¶
func (x *LinkSteamRequest) String() string
type ListChannelMessagesRequest ¶
type ListChannelMessagesRequest struct { // The channel ID to list from. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // True if listing should be older messages to newer, false if reverse. Forward *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=forward,proto3" json:"forward,omitempty"` // A pagination cursor, if any. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List a channel's message history.
func (*ListChannelMessagesRequest) Descriptor
deprecated
func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListChannelMessagesRequest) GetChannelId ¶
func (x *ListChannelMessagesRequest) GetChannelId() string
func (*ListChannelMessagesRequest) GetCursor ¶
func (x *ListChannelMessagesRequest) GetCursor() string
func (*ListChannelMessagesRequest) GetForward ¶
func (x *ListChannelMessagesRequest) GetForward() *wrapperspb.BoolValue
func (*ListChannelMessagesRequest) GetLimit ¶
func (x *ListChannelMessagesRequest) GetLimit() *wrapperspb.Int32Value
func (*ListChannelMessagesRequest) ProtoMessage ¶
func (*ListChannelMessagesRequest) ProtoMessage()
func (*ListChannelMessagesRequest) ProtoReflect ¶
func (x *ListChannelMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListChannelMessagesRequest) Reset ¶
func (x *ListChannelMessagesRequest) Reset()
func (*ListChannelMessagesRequest) String ¶
func (x *ListChannelMessagesRequest) String() string
type ListFriendsRequest ¶
type ListFriendsRequest struct { // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // The friend state to list. State *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // An optional next page cursor. Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List friends for a user.
func (*ListFriendsRequest) Descriptor
deprecated
func (*ListFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFriendsRequest.ProtoReflect.Descriptor instead.
func (*ListFriendsRequest) GetCursor ¶
func (x *ListFriendsRequest) GetCursor() string
func (*ListFriendsRequest) GetLimit ¶
func (x *ListFriendsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListFriendsRequest) GetState ¶
func (x *ListFriendsRequest) GetState() *wrapperspb.Int32Value
func (*ListFriendsRequest) ProtoMessage ¶
func (*ListFriendsRequest) ProtoMessage()
func (*ListFriendsRequest) ProtoReflect ¶
func (x *ListFriendsRequest) ProtoReflect() protoreflect.Message
func (*ListFriendsRequest) Reset ¶
func (x *ListFriendsRequest) Reset()
func (*ListFriendsRequest) String ¶
func (x *ListFriendsRequest) String() string
type ListGroupUsersRequest ¶
type ListGroupUsersRequest struct { // The group ID to list from. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // The group user state to list. State *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // An optional next page cursor. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List all users that are part of a group.
func (*ListGroupUsersRequest) Descriptor
deprecated
func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*ListGroupUsersRequest) GetCursor ¶
func (x *ListGroupUsersRequest) GetCursor() string
func (*ListGroupUsersRequest) GetGroupId ¶
func (x *ListGroupUsersRequest) GetGroupId() string
func (*ListGroupUsersRequest) GetLimit ¶
func (x *ListGroupUsersRequest) GetLimit() *wrapperspb.Int32Value
func (*ListGroupUsersRequest) GetState ¶
func (x *ListGroupUsersRequest) GetState() *wrapperspb.Int32Value
func (*ListGroupUsersRequest) ProtoMessage ¶
func (*ListGroupUsersRequest) ProtoMessage()
func (*ListGroupUsersRequest) ProtoReflect ¶
func (x *ListGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*ListGroupUsersRequest) Reset ¶
func (x *ListGroupUsersRequest) Reset()
func (*ListGroupUsersRequest) String ¶
func (x *ListGroupUsersRequest) String() string
type ListGroupsRequest ¶
type ListGroupsRequest struct { // List groups that contain this value in their names. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional pagination cursor. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // Max number of groups to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` // Language tag filter LangTag string `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // Number of group members Members *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=members,proto3" json:"members,omitempty"` // Optional Open/Closed filter. Open *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"` // contains filtered or unexported fields }
List groups based on given filters.
func (*ListGroupsRequest) Descriptor
deprecated
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsRequest) GetCursor ¶
func (x *ListGroupsRequest) GetCursor() string
func (*ListGroupsRequest) GetLangTag ¶
func (x *ListGroupsRequest) GetLangTag() string
func (*ListGroupsRequest) GetLimit ¶
func (x *ListGroupsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListGroupsRequest) GetMembers ¶
func (x *ListGroupsRequest) GetMembers() *wrapperspb.Int32Value
func (*ListGroupsRequest) GetName ¶
func (x *ListGroupsRequest) GetName() string
func (*ListGroupsRequest) GetOpen ¶
func (x *ListGroupsRequest) GetOpen() *wrapperspb.BoolValue
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) ProtoReflect ¶
func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsRequest) Reset ¶
func (x *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (x *ListGroupsRequest) String() string
type ListLeaderboardRecordsAroundOwnerRequest ¶
type ListLeaderboardRecordsAroundOwnerRequest struct { // The ID of the tournament to list for. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // The owner to retrieve records around. OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Expiry in seconds (since epoch) to begin fetching records from. Expiry *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"` // A next or previous page cursor. Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List leaerboard records from a given leaderboard around the owner.
func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor
deprecated
func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLeaderboardRecordsAroundOwnerRequest.ProtoReflect.Descriptor instead.
func (*ListLeaderboardRecordsAroundOwnerRequest) GetCursor ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) GetCursor() string
func (*ListLeaderboardRecordsAroundOwnerRequest) GetExpiry ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) GetExpiry() *wrapperspb.Int64Value
func (*ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId() string
func (*ListLeaderboardRecordsAroundOwnerRequest) GetLimit ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) GetLimit() *wrapperspb.UInt32Value
func (*ListLeaderboardRecordsAroundOwnerRequest) GetOwnerId ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) GetOwnerId() string
func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoMessage ¶
func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoMessage()
func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoReflect ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) ProtoReflect() protoreflect.Message
func (*ListLeaderboardRecordsAroundOwnerRequest) Reset ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) Reset()
func (*ListLeaderboardRecordsAroundOwnerRequest) String ¶
func (x *ListLeaderboardRecordsAroundOwnerRequest) String() string
type ListLeaderboardRecordsRequest ¶
type ListLeaderboardRecordsRequest struct { // The ID of the leaderboard to list for. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // One or more owners to retrieve records for. OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` // A next or previous page cursor. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // Expiry in seconds (since epoch) to begin fetching records from. Optional. 0 means from current time. Expiry *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
List leaderboard records from a given leaderboard.
func (*ListLeaderboardRecordsRequest) Descriptor
deprecated
func (*ListLeaderboardRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLeaderboardRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListLeaderboardRecordsRequest) GetCursor ¶
func (x *ListLeaderboardRecordsRequest) GetCursor() string
func (*ListLeaderboardRecordsRequest) GetExpiry ¶
func (x *ListLeaderboardRecordsRequest) GetExpiry() *wrapperspb.Int64Value
func (*ListLeaderboardRecordsRequest) GetLeaderboardId ¶
func (x *ListLeaderboardRecordsRequest) GetLeaderboardId() string
func (*ListLeaderboardRecordsRequest) GetLimit ¶
func (x *ListLeaderboardRecordsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListLeaderboardRecordsRequest) GetOwnerIds ¶
func (x *ListLeaderboardRecordsRequest) GetOwnerIds() []string
func (*ListLeaderboardRecordsRequest) ProtoMessage ¶
func (*ListLeaderboardRecordsRequest) ProtoMessage()
func (*ListLeaderboardRecordsRequest) ProtoReflect ¶
func (x *ListLeaderboardRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListLeaderboardRecordsRequest) Reset ¶
func (x *ListLeaderboardRecordsRequest) Reset()
func (*ListLeaderboardRecordsRequest) String ¶
func (x *ListLeaderboardRecordsRequest) String() string
type ListMatchesRequest ¶
type ListMatchesRequest struct { // Limit the number of returned matches. Limit *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // Authoritative or relayed matches. Authoritative *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // Label filter. Label *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // Minimum user count. MinSize *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=min_size,json=minSize,proto3" json:"min_size,omitempty"` // Maximum user count. MaxSize *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // Arbitrary label query. Query *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
List realtime matches.
func (*ListMatchesRequest) Descriptor
deprecated
func (*ListMatchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMatchesRequest.ProtoReflect.Descriptor instead.
func (*ListMatchesRequest) GetAuthoritative ¶
func (x *ListMatchesRequest) GetAuthoritative() *wrapperspb.BoolValue
func (*ListMatchesRequest) GetLabel ¶
func (x *ListMatchesRequest) GetLabel() *wrapperspb.StringValue
func (*ListMatchesRequest) GetLimit ¶
func (x *ListMatchesRequest) GetLimit() *wrapperspb.Int32Value
func (*ListMatchesRequest) GetMaxSize ¶
func (x *ListMatchesRequest) GetMaxSize() *wrapperspb.Int32Value
func (*ListMatchesRequest) GetMinSize ¶
func (x *ListMatchesRequest) GetMinSize() *wrapperspb.Int32Value
func (*ListMatchesRequest) GetQuery ¶
func (x *ListMatchesRequest) GetQuery() *wrapperspb.StringValue
func (*ListMatchesRequest) ProtoMessage ¶
func (*ListMatchesRequest) ProtoMessage()
func (*ListMatchesRequest) ProtoReflect ¶
func (x *ListMatchesRequest) ProtoReflect() protoreflect.Message
func (*ListMatchesRequest) Reset ¶
func (x *ListMatchesRequest) Reset()
func (*ListMatchesRequest) String ¶
func (x *ListMatchesRequest) String() string
type ListNotificationsRequest ¶
type ListNotificationsRequest struct { // The number of notifications to get. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // A cursor to page through notifications. May be cached by clients to get from point in time forwards. CacheableCursor string `protobuf:"bytes,2,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"` // value from NotificationList.cacheable_cursor. // contains filtered or unexported fields }
Get a list of unexpired notifications.
func (*ListNotificationsRequest) Descriptor
deprecated
func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.
func (*ListNotificationsRequest) GetCacheableCursor ¶
func (x *ListNotificationsRequest) GetCacheableCursor() string
func (*ListNotificationsRequest) GetLimit ¶
func (x *ListNotificationsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListNotificationsRequest) ProtoMessage ¶
func (*ListNotificationsRequest) ProtoMessage()
func (*ListNotificationsRequest) ProtoReflect ¶
func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
func (*ListNotificationsRequest) Reset ¶
func (x *ListNotificationsRequest) Reset()
func (*ListNotificationsRequest) String ¶
func (x *ListNotificationsRequest) String() string
type ListStorageObjectsRequest ¶
type ListStorageObjectsRequest struct { // ID of the user. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The collection which stores the object. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` // The number of storage objects to list. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` // The cursor to page through results from. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // value from StorageObjectList.cursor. // contains filtered or unexported fields }
List publicly readable storage objects in a given collection.
func (*ListStorageObjectsRequest) Descriptor
deprecated
func (*ListStorageObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListStorageObjectsRequest) GetCollection ¶
func (x *ListStorageObjectsRequest) GetCollection() string
func (*ListStorageObjectsRequest) GetCursor ¶
func (x *ListStorageObjectsRequest) GetCursor() string
func (*ListStorageObjectsRequest) GetLimit ¶
func (x *ListStorageObjectsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListStorageObjectsRequest) GetUserId ¶
func (x *ListStorageObjectsRequest) GetUserId() string
func (*ListStorageObjectsRequest) ProtoMessage ¶
func (*ListStorageObjectsRequest) ProtoMessage()
func (*ListStorageObjectsRequest) ProtoReflect ¶
func (x *ListStorageObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListStorageObjectsRequest) Reset ¶
func (x *ListStorageObjectsRequest) Reset()
func (*ListStorageObjectsRequest) String ¶
func (x *ListStorageObjectsRequest) String() string
type ListSubscriptionsRequest ¶
type ListSubscriptionsRequest struct { // Max number of results per page Limit *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // Cursor to retrieve a page of records from Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List user subscriptions.
func (*ListSubscriptionsRequest) Descriptor
deprecated
func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (*ListSubscriptionsRequest) GetCursor ¶
func (x *ListSubscriptionsRequest) GetCursor() string
func (*ListSubscriptionsRequest) GetLimit ¶
func (x *ListSubscriptionsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListSubscriptionsRequest) ProtoMessage ¶
func (*ListSubscriptionsRequest) ProtoMessage()
func (*ListSubscriptionsRequest) ProtoReflect ¶
func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message
func (*ListSubscriptionsRequest) Reset ¶
func (x *ListSubscriptionsRequest) Reset()
func (*ListSubscriptionsRequest) String ¶
func (x *ListSubscriptionsRequest) String() string
type ListTournamentRecordsAroundOwnerRequest ¶
type ListTournamentRecordsAroundOwnerRequest struct { // The ID of the tournament to list for. TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // The owner to retrieve records around. OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Expiry in seconds (since epoch) to begin fetching records from. Expiry *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"` // A next or previous page cursor. Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List tournament records from a given tournament around the owner.
func (*ListTournamentRecordsAroundOwnerRequest) Descriptor
deprecated
func (*ListTournamentRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTournamentRecordsAroundOwnerRequest.ProtoReflect.Descriptor instead.
func (*ListTournamentRecordsAroundOwnerRequest) GetCursor ¶
func (x *ListTournamentRecordsAroundOwnerRequest) GetCursor() string
func (*ListTournamentRecordsAroundOwnerRequest) GetExpiry ¶
func (x *ListTournamentRecordsAroundOwnerRequest) GetExpiry() *wrapperspb.Int64Value
func (*ListTournamentRecordsAroundOwnerRequest) GetLimit ¶
func (x *ListTournamentRecordsAroundOwnerRequest) GetLimit() *wrapperspb.UInt32Value
func (*ListTournamentRecordsAroundOwnerRequest) GetOwnerId ¶
func (x *ListTournamentRecordsAroundOwnerRequest) GetOwnerId() string
func (*ListTournamentRecordsAroundOwnerRequest) GetTournamentId ¶
func (x *ListTournamentRecordsAroundOwnerRequest) GetTournamentId() string
func (*ListTournamentRecordsAroundOwnerRequest) ProtoMessage ¶
func (*ListTournamentRecordsAroundOwnerRequest) ProtoMessage()
func (*ListTournamentRecordsAroundOwnerRequest) ProtoReflect ¶
func (x *ListTournamentRecordsAroundOwnerRequest) ProtoReflect() protoreflect.Message
func (*ListTournamentRecordsAroundOwnerRequest) Reset ¶
func (x *ListTournamentRecordsAroundOwnerRequest) Reset()
func (*ListTournamentRecordsAroundOwnerRequest) String ¶
func (x *ListTournamentRecordsAroundOwnerRequest) String() string
type ListTournamentRecordsRequest ¶
type ListTournamentRecordsRequest struct { // The ID of the tournament to list for. TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // One or more owners to retrieve records for. OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` // A next or previous page cursor. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // Expiry in seconds (since epoch) to begin fetching records from. Expiry *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
List tournament records from a given tournament.
func (*ListTournamentRecordsRequest) Descriptor
deprecated
func (*ListTournamentRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTournamentRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListTournamentRecordsRequest) GetCursor ¶
func (x *ListTournamentRecordsRequest) GetCursor() string
func (*ListTournamentRecordsRequest) GetExpiry ¶
func (x *ListTournamentRecordsRequest) GetExpiry() *wrapperspb.Int64Value
func (*ListTournamentRecordsRequest) GetLimit ¶
func (x *ListTournamentRecordsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListTournamentRecordsRequest) GetOwnerIds ¶
func (x *ListTournamentRecordsRequest) GetOwnerIds() []string
func (*ListTournamentRecordsRequest) GetTournamentId ¶
func (x *ListTournamentRecordsRequest) GetTournamentId() string
func (*ListTournamentRecordsRequest) ProtoMessage ¶
func (*ListTournamentRecordsRequest) ProtoMessage()
func (*ListTournamentRecordsRequest) ProtoReflect ¶
func (x *ListTournamentRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListTournamentRecordsRequest) Reset ¶
func (x *ListTournamentRecordsRequest) Reset()
func (*ListTournamentRecordsRequest) String ¶
func (x *ListTournamentRecordsRequest) String() string
type ListTournamentsRequest ¶
type ListTournamentsRequest struct { // The start of the categories to include. Defaults to 0. CategoryStart *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=category_start,json=categoryStart,proto3" json:"category_start,omitempty"` // The end of the categories to include. Defaults to 128. CategoryEnd *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=category_end,json=categoryEnd,proto3" json:"category_end,omitempty"` // The start time for tournaments. Defaults to epoch. StartTime *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end time for tournaments. Defaults to +1 year from current Unix time. EndTime *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"` // A next page cursor for listings (optional). Cursor string `protobuf:"bytes,8,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List active/upcoming tournaments based on given filters.
func (*ListTournamentsRequest) Descriptor
deprecated
func (*ListTournamentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTournamentsRequest.ProtoReflect.Descriptor instead.
func (*ListTournamentsRequest) GetCategoryEnd ¶
func (x *ListTournamentsRequest) GetCategoryEnd() *wrapperspb.UInt32Value
func (*ListTournamentsRequest) GetCategoryStart ¶
func (x *ListTournamentsRequest) GetCategoryStart() *wrapperspb.UInt32Value
func (*ListTournamentsRequest) GetCursor ¶
func (x *ListTournamentsRequest) GetCursor() string
func (*ListTournamentsRequest) GetEndTime ¶
func (x *ListTournamentsRequest) GetEndTime() *wrapperspb.UInt32Value
func (*ListTournamentsRequest) GetLimit ¶
func (x *ListTournamentsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListTournamentsRequest) GetStartTime ¶
func (x *ListTournamentsRequest) GetStartTime() *wrapperspb.UInt32Value
func (*ListTournamentsRequest) ProtoMessage ¶
func (*ListTournamentsRequest) ProtoMessage()
func (*ListTournamentsRequest) ProtoReflect ¶
func (x *ListTournamentsRequest) ProtoReflect() protoreflect.Message
func (*ListTournamentsRequest) Reset ¶
func (x *ListTournamentsRequest) Reset()
func (*ListTournamentsRequest) String ¶
func (x *ListTournamentsRequest) String() string
type ListUserGroupsRequest ¶
type ListUserGroupsRequest struct { // ID of the user. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Max number of records to return. Between 1 and 100. Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // The user group state to list. State *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // An optional next page cursor. Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List the groups a user is part of, and their relationship to each.
func (*ListUserGroupsRequest) Descriptor
deprecated
func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListUserGroupsRequest) GetCursor ¶
func (x *ListUserGroupsRequest) GetCursor() string
func (*ListUserGroupsRequest) GetLimit ¶
func (x *ListUserGroupsRequest) GetLimit() *wrapperspb.Int32Value
func (*ListUserGroupsRequest) GetState ¶
func (x *ListUserGroupsRequest) GetState() *wrapperspb.Int32Value
func (*ListUserGroupsRequest) GetUserId ¶
func (x *ListUserGroupsRequest) GetUserId() string
func (*ListUserGroupsRequest) ProtoMessage ¶
func (*ListUserGroupsRequest) ProtoMessage()
func (*ListUserGroupsRequest) ProtoReflect ¶
func (x *ListUserGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListUserGroupsRequest) Reset ¶
func (x *ListUserGroupsRequest) Reset()
func (*ListUserGroupsRequest) String ¶
func (x *ListUserGroupsRequest) String() string
type Match ¶
type Match struct { // The ID of the match, can be used to join. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // True if it's an server-managed authoritative match, false otherwise. Authoritative bool `protobuf:"varint,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // Match label, if any. Label *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // Current number of users in the match. Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // Tick Rate TickRate int32 `protobuf:"varint,5,opt,name=tick_rate,json=tickRate,proto3" json:"tick_rate,omitempty"` // Handler name HandlerName string `protobuf:"bytes,6,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"` // contains filtered or unexported fields }
Represents a realtime match.
func (*Match) Descriptor
deprecated
func (*Match) GetAuthoritative ¶
func (*Match) GetHandlerName ¶
func (*Match) GetLabel ¶
func (x *Match) GetLabel() *wrapperspb.StringValue
func (*Match) GetMatchId ¶
func (*Match) GetTickRate ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type MatchList ¶
type MatchList struct { // A number of matches corresponding to a list operation. Matches []*Match `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` // contains filtered or unexported fields }
A list of realtime matches.
func (*MatchList) Descriptor
deprecated
func (*MatchList) GetMatches ¶
func (*MatchList) ProtoMessage ¶
func (*MatchList) ProtoMessage()
func (*MatchList) ProtoReflect ¶
func (x *MatchList) ProtoReflect() protoreflect.Message
type Notification ¶
type Notification struct { // ID of the Notification. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Subject of the notification. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // Content of the notification in JSON. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // Category code for this notification. Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"` // ID of the sender, if a user. Otherwise 'null'. SenderId string `protobuf:"bytes,5,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // True if this notification was persisted to the database. Persistent bool `protobuf:"varint,7,opt,name=persistent,proto3" json:"persistent,omitempty"` // contains filtered or unexported fields }
A notification in the server.
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCode ¶
func (x *Notification) GetCode() int32
func (*Notification) GetContent ¶
func (x *Notification) GetContent() string
func (*Notification) GetCreateTime ¶
func (x *Notification) GetCreateTime() *timestamppb.Timestamp
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetPersistent ¶
func (x *Notification) GetPersistent() bool
func (*Notification) GetSenderId ¶
func (x *Notification) GetSenderId() string
func (*Notification) GetSubject ¶
func (x *Notification) GetSubject() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationList ¶
type NotificationList struct { // Collection of notifications. Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // Use this cursor to paginate notifications. Cache this to catch up to new notifications. CacheableCursor string `protobuf:"bytes,2,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"` // contains filtered or unexported fields }
A collection of zero or more notifications.
func (*NotificationList) Descriptor
deprecated
func (*NotificationList) Descriptor() ([]byte, []int)
Deprecated: Use NotificationList.ProtoReflect.Descriptor instead.
func (*NotificationList) GetCacheableCursor ¶
func (x *NotificationList) GetCacheableCursor() string
func (*NotificationList) GetNotifications ¶
func (x *NotificationList) GetNotifications() []*Notification
func (*NotificationList) ProtoMessage ¶
func (*NotificationList) ProtoMessage()
func (*NotificationList) ProtoReflect ¶
func (x *NotificationList) ProtoReflect() protoreflect.Message
func (*NotificationList) Reset ¶
func (x *NotificationList) Reset()
func (*NotificationList) String ¶
func (x *NotificationList) String() string
type Operator ¶
type Operator int32
Operator that can be used to override the one set in the leaderboard.
const ( // Do not override the leaderboard operator. Operator_NO_OVERRIDE Operator = 0 // Override the leaderboard operator with BEST. Operator_BEST Operator = 1 // Override the leaderboard operator with SET. Operator_SET Operator = 2 // Override the leaderboard operator with INCREMENT. Operator_INCREMENT Operator = 3 // Override the leaderboard operator with DECREMENT. Operator_DECREMENT Operator = 4 )
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
type PromoteGroupUsersRequest ¶
type PromoteGroupUsersRequest struct { // The group ID to promote in. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The users to promote. UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
Promote a set of users in a group to the next role up.
func (*PromoteGroupUsersRequest) Descriptor
deprecated
func (*PromoteGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromoteGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*PromoteGroupUsersRequest) GetGroupId ¶
func (x *PromoteGroupUsersRequest) GetGroupId() string
func (*PromoteGroupUsersRequest) GetUserIds ¶
func (x *PromoteGroupUsersRequest) GetUserIds() []string
func (*PromoteGroupUsersRequest) ProtoMessage ¶
func (*PromoteGroupUsersRequest) ProtoMessage()
func (*PromoteGroupUsersRequest) ProtoReflect ¶
func (x *PromoteGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*PromoteGroupUsersRequest) Reset ¶
func (x *PromoteGroupUsersRequest) Reset()
func (*PromoteGroupUsersRequest) String ¶
func (x *PromoteGroupUsersRequest) String() string
type PurchaseList ¶
type PurchaseList struct { // Stored validated purchases. ValidatedPurchases []*ValidatedPurchase `protobuf:"bytes,1,rep,name=validated_purchases,json=validatedPurchases,proto3" json:"validated_purchases,omitempty"` // The cursor to send when retrieving the next page, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // The cursor to send when retrieving the previous page, if any. PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // contains filtered or unexported fields }
A list of validated purchases stored by Nakama.
func (*PurchaseList) Descriptor
deprecated
func (*PurchaseList) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseList.ProtoReflect.Descriptor instead.
func (*PurchaseList) GetCursor ¶
func (x *PurchaseList) GetCursor() string
func (*PurchaseList) GetPrevCursor ¶
func (x *PurchaseList) GetPrevCursor() string
func (*PurchaseList) GetValidatedPurchases ¶
func (x *PurchaseList) GetValidatedPurchases() []*ValidatedPurchase
func (*PurchaseList) ProtoMessage ¶
func (*PurchaseList) ProtoMessage()
func (*PurchaseList) ProtoReflect ¶
func (x *PurchaseList) ProtoReflect() protoreflect.Message
func (*PurchaseList) Reset ¶
func (x *PurchaseList) Reset()
func (*PurchaseList) String ¶
func (x *PurchaseList) String() string
type ReadStorageObjectId ¶
type ReadStorageObjectId struct { // The collection which stores the object. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // The key of the object within the collection. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The user owner of the object. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
Storage objects to get.
func (*ReadStorageObjectId) Descriptor
deprecated
func (*ReadStorageObjectId) Descriptor() ([]byte, []int)
Deprecated: Use ReadStorageObjectId.ProtoReflect.Descriptor instead.
func (*ReadStorageObjectId) GetCollection ¶
func (x *ReadStorageObjectId) GetCollection() string
func (*ReadStorageObjectId) GetKey ¶
func (x *ReadStorageObjectId) GetKey() string
func (*ReadStorageObjectId) GetUserId ¶
func (x *ReadStorageObjectId) GetUserId() string
func (*ReadStorageObjectId) ProtoMessage ¶
func (*ReadStorageObjectId) ProtoMessage()
func (*ReadStorageObjectId) ProtoReflect ¶
func (x *ReadStorageObjectId) ProtoReflect() protoreflect.Message
func (*ReadStorageObjectId) Reset ¶
func (x *ReadStorageObjectId) Reset()
func (*ReadStorageObjectId) String ¶
func (x *ReadStorageObjectId) String() string
type ReadStorageObjectsRequest ¶
type ReadStorageObjectsRequest struct { // Batch of storage objects. ObjectIds []*ReadStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"` // contains filtered or unexported fields }
Batch get storage objects.
func (*ReadStorageObjectsRequest) Descriptor
deprecated
func (*ReadStorageObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadStorageObjectsRequest.ProtoReflect.Descriptor instead.
func (*ReadStorageObjectsRequest) GetObjectIds ¶
func (x *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId
func (*ReadStorageObjectsRequest) ProtoMessage ¶
func (*ReadStorageObjectsRequest) ProtoMessage()
func (*ReadStorageObjectsRequest) ProtoReflect ¶
func (x *ReadStorageObjectsRequest) ProtoReflect() protoreflect.Message
func (*ReadStorageObjectsRequest) Reset ¶
func (x *ReadStorageObjectsRequest) Reset()
func (*ReadStorageObjectsRequest) String ¶
func (x *ReadStorageObjectsRequest) String() string
type Rpc ¶
type Rpc struct { // The identifier of the function. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The payload of the function which must be a JSON object. Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The authentication key used when executed as a non-client HTTP request. HttpKey string `protobuf:"bytes,3,opt,name=http_key,json=httpKey,proto3" json:"http_key,omitempty"` // contains filtered or unexported fields }
Execute an Lua function on the server.
func (*Rpc) Descriptor
deprecated
func (*Rpc) GetHttpKey ¶
func (*Rpc) GetPayload ¶
func (*Rpc) ProtoMessage ¶
func (*Rpc) ProtoMessage()
func (*Rpc) ProtoReflect ¶
func (x *Rpc) ProtoReflect() protoreflect.Message
type Session ¶
type Session struct { // True if the corresponding account was just created, false otherwise. Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` // Authentication credentials. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Refresh token that can be used for session token renewal. RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
A user's session used to authenticate messages.
func (*Session) Descriptor
deprecated
func (*Session) GetCreated ¶
func (*Session) GetRefreshToken ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionLogoutRequest ¶
type SessionLogoutRequest struct { // Session token to log out. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Refresh token to invalidate. RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.
func (*SessionLogoutRequest) Descriptor
deprecated
func (*SessionLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SessionLogoutRequest.ProtoReflect.Descriptor instead.
func (*SessionLogoutRequest) GetRefreshToken ¶
func (x *SessionLogoutRequest) GetRefreshToken() string
func (*SessionLogoutRequest) GetToken ¶
func (x *SessionLogoutRequest) GetToken() string
func (*SessionLogoutRequest) ProtoMessage ¶
func (*SessionLogoutRequest) ProtoMessage()
func (*SessionLogoutRequest) ProtoReflect ¶
func (x *SessionLogoutRequest) ProtoReflect() protoreflect.Message
func (*SessionLogoutRequest) Reset ¶
func (x *SessionLogoutRequest) Reset()
func (*SessionLogoutRequest) String ¶
func (x *SessionLogoutRequest) String() string
type SessionRefreshRequest ¶
type SessionRefreshRequest struct { // Refresh token. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Extra information that will be bundled in the session token. Vars map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Authenticate against the server with a refresh token.
func (*SessionRefreshRequest) Descriptor
deprecated
func (*SessionRefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use SessionRefreshRequest.ProtoReflect.Descriptor instead.
func (*SessionRefreshRequest) GetToken ¶
func (x *SessionRefreshRequest) GetToken() string
func (*SessionRefreshRequest) GetVars ¶
func (x *SessionRefreshRequest) GetVars() map[string]string
func (*SessionRefreshRequest) ProtoMessage ¶
func (*SessionRefreshRequest) ProtoMessage()
func (*SessionRefreshRequest) ProtoReflect ¶
func (x *SessionRefreshRequest) ProtoReflect() protoreflect.Message
func (*SessionRefreshRequest) Reset ¶
func (x *SessionRefreshRequest) Reset()
func (*SessionRefreshRequest) String ¶
func (x *SessionRefreshRequest) String() string
type StorageObject ¶
type StorageObject struct { // The collection which stores the object. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // The key of the object within the collection. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The user owner of the object. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The value of the object. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // The version hash of the object. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // The read access permissions for the object. PermissionRead int32 `protobuf:"varint,6,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"` // The write access permissions for the object. PermissionWrite int32 `protobuf:"varint,7,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
An object within the storage engine.
func (*StorageObject) Descriptor
deprecated
func (*StorageObject) Descriptor() ([]byte, []int)
Deprecated: Use StorageObject.ProtoReflect.Descriptor instead.
func (*StorageObject) GetCollection ¶
func (x *StorageObject) GetCollection() string
func (*StorageObject) GetCreateTime ¶
func (x *StorageObject) GetCreateTime() *timestamppb.Timestamp
func (*StorageObject) GetKey ¶
func (x *StorageObject) GetKey() string
func (*StorageObject) GetPermissionRead ¶
func (x *StorageObject) GetPermissionRead() int32
func (*StorageObject) GetPermissionWrite ¶
func (x *StorageObject) GetPermissionWrite() int32
func (*StorageObject) GetUpdateTime ¶
func (x *StorageObject) GetUpdateTime() *timestamppb.Timestamp
func (*StorageObject) GetUserId ¶
func (x *StorageObject) GetUserId() string
func (*StorageObject) GetValue ¶
func (x *StorageObject) GetValue() string
func (*StorageObject) GetVersion ¶
func (x *StorageObject) GetVersion() string
func (*StorageObject) ProtoMessage ¶
func (*StorageObject) ProtoMessage()
func (*StorageObject) ProtoReflect ¶
func (x *StorageObject) ProtoReflect() protoreflect.Message
func (*StorageObject) Reset ¶
func (x *StorageObject) Reset()
func (*StorageObject) String ¶
func (x *StorageObject) String() string
type StorageObjectAck ¶
type StorageObjectAck struct { // The collection which stores the object. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // The key of the object within the collection. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The version hash of the object. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // The owner of the object. UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
A storage acknowledgement.
func (*StorageObjectAck) Descriptor
deprecated
func (*StorageObjectAck) Descriptor() ([]byte, []int)
Deprecated: Use StorageObjectAck.ProtoReflect.Descriptor instead.
func (*StorageObjectAck) GetCollection ¶
func (x *StorageObjectAck) GetCollection() string
func (*StorageObjectAck) GetCreateTime ¶
func (x *StorageObjectAck) GetCreateTime() *timestamppb.Timestamp
func (*StorageObjectAck) GetKey ¶
func (x *StorageObjectAck) GetKey() string
func (*StorageObjectAck) GetUpdateTime ¶
func (x *StorageObjectAck) GetUpdateTime() *timestamppb.Timestamp
func (*StorageObjectAck) GetUserId ¶
func (x *StorageObjectAck) GetUserId() string
func (*StorageObjectAck) GetVersion ¶
func (x *StorageObjectAck) GetVersion() string
func (*StorageObjectAck) ProtoMessage ¶
func (*StorageObjectAck) ProtoMessage()
func (*StorageObjectAck) ProtoReflect ¶
func (x *StorageObjectAck) ProtoReflect() protoreflect.Message
func (*StorageObjectAck) Reset ¶
func (x *StorageObjectAck) Reset()
func (*StorageObjectAck) String ¶
func (x *StorageObjectAck) String() string
type StorageObjectAcks ¶
type StorageObjectAcks struct { // Batch of storage write acknowledgements. Acks []*StorageObjectAck `protobuf:"bytes,1,rep,name=acks,proto3" json:"acks,omitempty"` // contains filtered or unexported fields }
Batch of acknowledgements for the storage object write.
func (*StorageObjectAcks) Descriptor
deprecated
func (*StorageObjectAcks) Descriptor() ([]byte, []int)
Deprecated: Use StorageObjectAcks.ProtoReflect.Descriptor instead.
func (*StorageObjectAcks) GetAcks ¶
func (x *StorageObjectAcks) GetAcks() []*StorageObjectAck
func (*StorageObjectAcks) ProtoMessage ¶
func (*StorageObjectAcks) ProtoMessage()
func (*StorageObjectAcks) ProtoReflect ¶
func (x *StorageObjectAcks) ProtoReflect() protoreflect.Message
func (*StorageObjectAcks) Reset ¶
func (x *StorageObjectAcks) Reset()
func (*StorageObjectAcks) String ¶
func (x *StorageObjectAcks) String() string
type StorageObjectList ¶
type StorageObjectList struct { // The list of storage objects. Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // The cursor for the next page of results, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List of storage objects.
func (*StorageObjectList) Descriptor
deprecated
func (*StorageObjectList) Descriptor() ([]byte, []int)
Deprecated: Use StorageObjectList.ProtoReflect.Descriptor instead.
func (*StorageObjectList) GetCursor ¶
func (x *StorageObjectList) GetCursor() string
func (*StorageObjectList) GetObjects ¶
func (x *StorageObjectList) GetObjects() []*StorageObject
func (*StorageObjectList) ProtoMessage ¶
func (*StorageObjectList) ProtoMessage()
func (*StorageObjectList) ProtoReflect ¶
func (x *StorageObjectList) ProtoReflect() protoreflect.Message
func (*StorageObjectList) Reset ¶
func (x *StorageObjectList) Reset()
func (*StorageObjectList) String ¶
func (x *StorageObjectList) String() string
type StorageObjects ¶
type StorageObjects struct { // The batch of storage objects. Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
Batch of storage objects.
func (*StorageObjects) Descriptor
deprecated
func (*StorageObjects) Descriptor() ([]byte, []int)
Deprecated: Use StorageObjects.ProtoReflect.Descriptor instead.
func (*StorageObjects) GetObjects ¶
func (x *StorageObjects) GetObjects() []*StorageObject
func (*StorageObjects) ProtoMessage ¶
func (*StorageObjects) ProtoMessage()
func (*StorageObjects) ProtoReflect ¶
func (x *StorageObjects) ProtoReflect() protoreflect.Message
func (*StorageObjects) Reset ¶
func (x *StorageObjects) Reset()
func (*StorageObjects) String ¶
func (x *StorageObjects) String() string
type StoreEnvironment ¶
type StoreEnvironment int32
Environment where a purchase/subscription took place,
const ( // Unknown environment. StoreEnvironment_UNKNOWN StoreEnvironment = 0 // Sandbox/test environment. StoreEnvironment_SANDBOX StoreEnvironment = 1 // Production environment. StoreEnvironment_PRODUCTION StoreEnvironment = 2 )
func (StoreEnvironment) Descriptor ¶
func (StoreEnvironment) Descriptor() protoreflect.EnumDescriptor
func (StoreEnvironment) Enum ¶
func (x StoreEnvironment) Enum() *StoreEnvironment
func (StoreEnvironment) EnumDescriptor
deprecated
func (StoreEnvironment) EnumDescriptor() ([]byte, []int)
Deprecated: Use StoreEnvironment.Descriptor instead.
func (StoreEnvironment) Number ¶
func (x StoreEnvironment) Number() protoreflect.EnumNumber
func (StoreEnvironment) String ¶
func (x StoreEnvironment) String() string
func (StoreEnvironment) Type ¶
func (StoreEnvironment) Type() protoreflect.EnumType
type StoreProvider ¶
type StoreProvider int32
Validation Provider,
const ( // Apple App Store StoreProvider_APPLE_APP_STORE StoreProvider = 0 // Google Play Store StoreProvider_GOOGLE_PLAY_STORE StoreProvider = 1 // Huawei App Gallery StoreProvider_HUAWEI_APP_GALLERY StoreProvider = 2 // Facebook Instant Store StoreProvider_FACEBOOK_INSTANT_STORE StoreProvider = 3 )
func (StoreProvider) Descriptor ¶
func (StoreProvider) Descriptor() protoreflect.EnumDescriptor
func (StoreProvider) Enum ¶
func (x StoreProvider) Enum() *StoreProvider
func (StoreProvider) EnumDescriptor
deprecated
func (StoreProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use StoreProvider.Descriptor instead.
func (StoreProvider) Number ¶
func (x StoreProvider) Number() protoreflect.EnumNumber
func (StoreProvider) String ¶
func (x StoreProvider) String() string
func (StoreProvider) Type ¶
func (StoreProvider) Type() protoreflect.EnumType
type SubscriptionList ¶
type SubscriptionList struct { // Stored validated subscriptions. ValidatedSubscriptions []*ValidatedSubscription `` /* 127-byte string literal not displayed */ // The cursor to send when retrieving the next page, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // The cursor to send when retrieving the previous page, if any. PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // contains filtered or unexported fields }
A list of validated subscriptions stored by Nakama.
func (*SubscriptionList) Descriptor
deprecated
func (*SubscriptionList) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionList.ProtoReflect.Descriptor instead.
func (*SubscriptionList) GetCursor ¶
func (x *SubscriptionList) GetCursor() string
func (*SubscriptionList) GetPrevCursor ¶
func (x *SubscriptionList) GetPrevCursor() string
func (*SubscriptionList) GetValidatedSubscriptions ¶
func (x *SubscriptionList) GetValidatedSubscriptions() []*ValidatedSubscription
func (*SubscriptionList) ProtoMessage ¶
func (*SubscriptionList) ProtoMessage()
func (*SubscriptionList) ProtoReflect ¶
func (x *SubscriptionList) ProtoReflect() protoreflect.Message
func (*SubscriptionList) Reset ¶
func (x *SubscriptionList) Reset()
func (*SubscriptionList) String ¶
func (x *SubscriptionList) String() string
type Tournament ¶
type Tournament struct { // The ID of the tournament. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The title for the tournament. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The description of the tournament. May be blank. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The category of the tournament. e.g. "vip" could be category 1. Category uint32 `protobuf:"varint,4,opt,name=category,proto3" json:"category,omitempty"` // ASC (0) or DESC (1) sort mode of scores in the tournament. SortOrder uint32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` // The current number of players in the tournament. Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // The maximum number of players for the tournament. MaxSize uint32 `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // The maximum score updates allowed per player for the current tournament. MaxNumScore uint32 `protobuf:"varint,8,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"` // True if the tournament is active and can enter. A computed value. CanEnter bool `protobuf:"varint,9,opt,name=can_enter,json=canEnter,proto3" json:"can_enter,omitempty"` // The UNIX time when the tournament stops being active until next reset. A computed value. EndActive uint32 `protobuf:"varint,10,opt,name=end_active,json=endActive,proto3" json:"end_active,omitempty"` // The UNIX time when the tournament is next playable. A computed value. NextReset uint32 `protobuf:"varint,11,opt,name=next_reset,json=nextReset,proto3" json:"next_reset,omitempty"` // Additional information stored as a JSON object. Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start. StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped. EndTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Duration of the tournament in seconds. Duration uint32 `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"` // The UNIX time when the tournament start being active. A computed value. StartActive uint32 `protobuf:"varint,17,opt,name=start_active,json=startActive,proto3" json:"start_active,omitempty"` // The UNIX time when the tournament was last reset. A computed value. PrevReset uint32 `protobuf:"varint,18,opt,name=prev_reset,json=prevReset,proto3" json:"prev_reset,omitempty"` // Operator. Operator Operator `protobuf:"varint,19,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"` // Whether the leaderboard was created authoritatively or not. Authoritative bool `protobuf:"varint,20,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // contains filtered or unexported fields }
A tournament on the server.
func (*Tournament) Descriptor
deprecated
func (*Tournament) Descriptor() ([]byte, []int)
Deprecated: Use Tournament.ProtoReflect.Descriptor instead.
func (*Tournament) GetAuthoritative ¶
func (x *Tournament) GetAuthoritative() bool
func (*Tournament) GetCanEnter ¶
func (x *Tournament) GetCanEnter() bool
func (*Tournament) GetCategory ¶
func (x *Tournament) GetCategory() uint32
func (*Tournament) GetCreateTime ¶
func (x *Tournament) GetCreateTime() *timestamppb.Timestamp
func (*Tournament) GetDescription ¶
func (x *Tournament) GetDescription() string
func (*Tournament) GetDuration ¶
func (x *Tournament) GetDuration() uint32
func (*Tournament) GetEndActive ¶
func (x *Tournament) GetEndActive() uint32
func (*Tournament) GetEndTime ¶
func (x *Tournament) GetEndTime() *timestamppb.Timestamp
func (*Tournament) GetId ¶
func (x *Tournament) GetId() string
func (*Tournament) GetMaxNumScore ¶
func (x *Tournament) GetMaxNumScore() uint32
func (*Tournament) GetMaxSize ¶
func (x *Tournament) GetMaxSize() uint32
func (*Tournament) GetMetadata ¶
func (x *Tournament) GetMetadata() string
func (*Tournament) GetNextReset ¶
func (x *Tournament) GetNextReset() uint32
func (*Tournament) GetOperator ¶
func (x *Tournament) GetOperator() Operator
func (*Tournament) GetPrevReset ¶
func (x *Tournament) GetPrevReset() uint32
func (*Tournament) GetSize ¶
func (x *Tournament) GetSize() uint32
func (*Tournament) GetSortOrder ¶
func (x *Tournament) GetSortOrder() uint32
func (*Tournament) GetStartActive ¶
func (x *Tournament) GetStartActive() uint32
func (*Tournament) GetStartTime ¶
func (x *Tournament) GetStartTime() *timestamppb.Timestamp
func (*Tournament) GetTitle ¶
func (x *Tournament) GetTitle() string
func (*Tournament) ProtoMessage ¶
func (*Tournament) ProtoMessage()
func (*Tournament) ProtoReflect ¶
func (x *Tournament) ProtoReflect() protoreflect.Message
func (*Tournament) Reset ¶
func (x *Tournament) Reset()
func (*Tournament) String ¶
func (x *Tournament) String() string
type TournamentList ¶
type TournamentList struct { // The list of tournaments returned. Tournaments []*Tournament `protobuf:"bytes,1,rep,name=tournaments,proto3" json:"tournaments,omitempty"` // A pagination cursor (optional). Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A list of tournaments.
func (*TournamentList) Descriptor
deprecated
func (*TournamentList) Descriptor() ([]byte, []int)
Deprecated: Use TournamentList.ProtoReflect.Descriptor instead.
func (*TournamentList) GetCursor ¶
func (x *TournamentList) GetCursor() string
func (*TournamentList) GetTournaments ¶
func (x *TournamentList) GetTournaments() []*Tournament
func (*TournamentList) ProtoMessage ¶
func (*TournamentList) ProtoMessage()
func (*TournamentList) ProtoReflect ¶
func (x *TournamentList) ProtoReflect() protoreflect.Message
func (*TournamentList) Reset ¶
func (x *TournamentList) Reset()
func (*TournamentList) String ¶
func (x *TournamentList) String() string
type TournamentRecordList ¶
type TournamentRecordList struct { // A list of tournament records. Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // A batched set of tournament records belonging to specified owners. OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"` // The cursor to send when retireving the next page (optional). NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // The cursor to send when retrieving the previous page (optional). PrevCursor string `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // The total number of ranks available. RankCount int64 `protobuf:"varint,5,opt,name=rank_count,json=rankCount,proto3" json:"rank_count,omitempty"` // contains filtered or unexported fields }
A set of tournament records which may be part of a tournament records page or a batch of individual records.
func (*TournamentRecordList) Descriptor
deprecated
func (*TournamentRecordList) Descriptor() ([]byte, []int)
Deprecated: Use TournamentRecordList.ProtoReflect.Descriptor instead.
func (*TournamentRecordList) GetNextCursor ¶
func (x *TournamentRecordList) GetNextCursor() string
func (*TournamentRecordList) GetOwnerRecords ¶
func (x *TournamentRecordList) GetOwnerRecords() []*LeaderboardRecord
func (*TournamentRecordList) GetPrevCursor ¶
func (x *TournamentRecordList) GetPrevCursor() string
func (*TournamentRecordList) GetRankCount ¶
func (x *TournamentRecordList) GetRankCount() int64
func (*TournamentRecordList) GetRecords ¶
func (x *TournamentRecordList) GetRecords() []*LeaderboardRecord
func (*TournamentRecordList) ProtoMessage ¶
func (*TournamentRecordList) ProtoMessage()
func (*TournamentRecordList) ProtoReflect ¶
func (x *TournamentRecordList) ProtoReflect() protoreflect.Message
func (*TournamentRecordList) Reset ¶
func (x *TournamentRecordList) Reset()
func (*TournamentRecordList) String ¶
func (x *TournamentRecordList) String() string
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { // The username of the user's account. Username *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The display name of the user. DisplayName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A URL for an avatar image. AvatarUrl *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // The language expected to be a tag which follows the BCP-47 spec. LangTag *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // The location set by the user. Location *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // The timezone set by the user. Timezone *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"` // contains filtered or unexported fields }
Update a user's account details.
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAvatarUrl ¶
func (x *UpdateAccountRequest) GetAvatarUrl() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetDisplayName ¶
func (x *UpdateAccountRequest) GetDisplayName() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetLangTag ¶
func (x *UpdateAccountRequest) GetLangTag() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetLocation ¶
func (x *UpdateAccountRequest) GetLocation() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetTimezone ¶
func (x *UpdateAccountRequest) GetTimezone() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetUsername ¶
func (x *UpdateAccountRequest) GetUsername() *wrapperspb.StringValue
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { // The ID of the group to update. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Name. Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description string. Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Lang tag. LangTag *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // Avatar URL. AvatarUrl *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin. Open *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"` // contains filtered or unexported fields }
Update fields in a given group.
func (*UpdateGroupRequest) Descriptor
deprecated
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupRequest) GetAvatarUrl ¶
func (x *UpdateGroupRequest) GetAvatarUrl() *wrapperspb.StringValue
func (*UpdateGroupRequest) GetDescription ¶
func (x *UpdateGroupRequest) GetDescription() *wrapperspb.StringValue
func (*UpdateGroupRequest) GetGroupId ¶
func (x *UpdateGroupRequest) GetGroupId() string
func (*UpdateGroupRequest) GetLangTag ¶
func (x *UpdateGroupRequest) GetLangTag() *wrapperspb.StringValue
func (*UpdateGroupRequest) GetName ¶
func (x *UpdateGroupRequest) GetName() *wrapperspb.StringValue
func (*UpdateGroupRequest) GetOpen ¶
func (x *UpdateGroupRequest) GetOpen() *wrapperspb.BoolValue
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) ProtoReflect ¶
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateGroupRequest) Reset ¶
func (x *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (x *UpdateGroupRequest) String() string
type User ¶
type User struct { // The id of the user's account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The username of the user's account. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // The display name of the user. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A URL for an avatar image. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // The language expected to be a tag which follows the BCP-47 spec. LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // The location set by the user. Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // The timezone set by the user. Timezone string `protobuf:"bytes,7,opt,name=timezone,proto3" json:"timezone,omitempty"` // Additional information stored as a JSON object. Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // The Facebook id in the user's account. FacebookId string `protobuf:"bytes,9,opt,name=facebook_id,json=facebookId,proto3" json:"facebook_id,omitempty"` // The Google id in the user's account. GoogleId string `protobuf:"bytes,10,opt,name=google_id,json=googleId,proto3" json:"google_id,omitempty"` // The Apple Game Center in of the user's account. GamecenterId string `protobuf:"bytes,11,opt,name=gamecenter_id,json=gamecenterId,proto3" json:"gamecenter_id,omitempty"` // The Steam id in the user's account. SteamId string `protobuf:"bytes,12,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"` // Indicates whether the user is currently online. Online bool `protobuf:"varint,13,opt,name=online,proto3" json:"online,omitempty"` // Number of related edges to this user. EdgeCount int32 `protobuf:"varint,14,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The Facebook Instant Game ID in the user's account. FacebookInstantGameId string `` /* 129-byte string literal not displayed */ // The Apple Sign In ID in the user's account. AppleId string `protobuf:"bytes,18,opt,name=apple_id,json=appleId,proto3" json:"apple_id,omitempty"` // contains filtered or unexported fields }
A user in the server.
func (*User) Descriptor
deprecated
func (*User) GetAppleId ¶
func (*User) GetAvatarUrl ¶
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetDisplayName ¶
func (*User) GetEdgeCount ¶
func (*User) GetFacebookId ¶
func (*User) GetFacebookInstantGameId ¶
func (*User) GetGamecenterId ¶
func (*User) GetGoogleId ¶
func (*User) GetLangTag ¶
func (*User) GetLocation ¶
func (*User) GetMetadata ¶
func (*User) GetSteamId ¶
func (*User) GetTimezone ¶
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserGroupList ¶
type UserGroupList struct { // Group-role pairs for a user. UserGroups []*UserGroupList_UserGroup `protobuf:"bytes,1,rep,name=user_groups,json=userGroups,proto3" json:"user_groups,omitempty"` // Cursor for the next page of results, if any. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A list of groups belonging to a user, along with the user's role in each group.
func (*UserGroupList) Descriptor
deprecated
func (*UserGroupList) Descriptor() ([]byte, []int)
Deprecated: Use UserGroupList.ProtoReflect.Descriptor instead.
func (*UserGroupList) GetCursor ¶
func (x *UserGroupList) GetCursor() string
func (*UserGroupList) GetUserGroups ¶
func (x *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup
func (*UserGroupList) ProtoMessage ¶
func (*UserGroupList) ProtoMessage()
func (*UserGroupList) ProtoReflect ¶
func (x *UserGroupList) ProtoReflect() protoreflect.Message
func (*UserGroupList) Reset ¶
func (x *UserGroupList) Reset()
func (*UserGroupList) String ¶
func (x *UserGroupList) String() string
type UserGroupList_UserGroup ¶
type UserGroupList_UserGroup struct { // Group. Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // The user's relationship to the group. State *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
A single group-role pair.
func (*UserGroupList_UserGroup) Descriptor
deprecated
func (*UserGroupList_UserGroup) Descriptor() ([]byte, []int)
Deprecated: Use UserGroupList_UserGroup.ProtoReflect.Descriptor instead.
func (*UserGroupList_UserGroup) GetGroup ¶
func (x *UserGroupList_UserGroup) GetGroup() *Group
func (*UserGroupList_UserGroup) GetState ¶
func (x *UserGroupList_UserGroup) GetState() *wrapperspb.Int32Value
func (*UserGroupList_UserGroup) ProtoMessage ¶
func (*UserGroupList_UserGroup) ProtoMessage()
func (*UserGroupList_UserGroup) ProtoReflect ¶
func (x *UserGroupList_UserGroup) ProtoReflect() protoreflect.Message
func (*UserGroupList_UserGroup) Reset ¶
func (x *UserGroupList_UserGroup) Reset()
func (*UserGroupList_UserGroup) String ¶
func (x *UserGroupList_UserGroup) String() string
type UserGroupList_UserGroup_State ¶
type UserGroupList_UserGroup_State int32
The group role status.
const ( // The user is a superadmin with full control of the group. UserGroupList_UserGroup_SUPERADMIN UserGroupList_UserGroup_State = 0 // The user is an admin with additional privileges. UserGroupList_UserGroup_ADMIN UserGroupList_UserGroup_State = 1 // The user is a regular member. UserGroupList_UserGroup_MEMBER UserGroupList_UserGroup_State = 2 // The user has requested to join the group UserGroupList_UserGroup_JOIN_REQUEST UserGroupList_UserGroup_State = 3 )
func (UserGroupList_UserGroup_State) Descriptor ¶
func (UserGroupList_UserGroup_State) Descriptor() protoreflect.EnumDescriptor
func (UserGroupList_UserGroup_State) Enum ¶
func (x UserGroupList_UserGroup_State) Enum() *UserGroupList_UserGroup_State
func (UserGroupList_UserGroup_State) EnumDescriptor
deprecated
func (UserGroupList_UserGroup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserGroupList_UserGroup_State.Descriptor instead.
func (UserGroupList_UserGroup_State) Number ¶
func (x UserGroupList_UserGroup_State) Number() protoreflect.EnumNumber
func (UserGroupList_UserGroup_State) String ¶
func (x UserGroupList_UserGroup_State) String() string
func (UserGroupList_UserGroup_State) Type ¶
func (UserGroupList_UserGroup_State) Type() protoreflect.EnumType
type Users ¶
type Users struct { // The User objects. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
A collection of zero or more users.
func (*Users) Descriptor
deprecated
func (*Users) ProtoMessage ¶
func (*Users) ProtoMessage()
func (*Users) ProtoReflect ¶
func (x *Users) ProtoReflect() protoreflect.Message
type ValidatePurchaseAppleRequest ¶
type ValidatePurchaseAppleRequest struct { // Base64 encoded Apple receipt data payload. Receipt string `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // Persist the purchase Persist *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Apple IAP Purchases validation request
func (*ValidatePurchaseAppleRequest) Descriptor
deprecated
func (*ValidatePurchaseAppleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePurchaseAppleRequest.ProtoReflect.Descriptor instead.
func (*ValidatePurchaseAppleRequest) GetPersist ¶
func (x *ValidatePurchaseAppleRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidatePurchaseAppleRequest) GetReceipt ¶
func (x *ValidatePurchaseAppleRequest) GetReceipt() string
func (*ValidatePurchaseAppleRequest) ProtoMessage ¶
func (*ValidatePurchaseAppleRequest) ProtoMessage()
func (*ValidatePurchaseAppleRequest) ProtoReflect ¶
func (x *ValidatePurchaseAppleRequest) ProtoReflect() protoreflect.Message
func (*ValidatePurchaseAppleRequest) Reset ¶
func (x *ValidatePurchaseAppleRequest) Reset()
func (*ValidatePurchaseAppleRequest) String ¶
func (x *ValidatePurchaseAppleRequest) String() string
type ValidatePurchaseFacebookInstantRequest ¶
type ValidatePurchaseFacebookInstantRequest struct { // Base64 encoded Facebook Instant signedRequest receipt data payload. SignedRequest string `protobuf:"bytes,1,opt,name=signed_request,json=signedRequest,proto3" json:"signed_request,omitempty"` // Persist the purchase Persist *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Facebook Instant IAP Purchase validation request
func (*ValidatePurchaseFacebookInstantRequest) Descriptor
deprecated
func (*ValidatePurchaseFacebookInstantRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePurchaseFacebookInstantRequest.ProtoReflect.Descriptor instead.
func (*ValidatePurchaseFacebookInstantRequest) GetPersist ¶
func (x *ValidatePurchaseFacebookInstantRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidatePurchaseFacebookInstantRequest) GetSignedRequest ¶
func (x *ValidatePurchaseFacebookInstantRequest) GetSignedRequest() string
func (*ValidatePurchaseFacebookInstantRequest) ProtoMessage ¶
func (*ValidatePurchaseFacebookInstantRequest) ProtoMessage()
func (*ValidatePurchaseFacebookInstantRequest) ProtoReflect ¶
func (x *ValidatePurchaseFacebookInstantRequest) ProtoReflect() protoreflect.Message
func (*ValidatePurchaseFacebookInstantRequest) Reset ¶
func (x *ValidatePurchaseFacebookInstantRequest) Reset()
func (*ValidatePurchaseFacebookInstantRequest) String ¶
func (x *ValidatePurchaseFacebookInstantRequest) String() string
type ValidatePurchaseGoogleRequest ¶
type ValidatePurchaseGoogleRequest struct { // JSON encoded Google purchase payload. Purchase string `protobuf:"bytes,1,opt,name=purchase,proto3" json:"purchase,omitempty"` // Persist the purchase Persist *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Google IAP Purchase validation request
func (*ValidatePurchaseGoogleRequest) Descriptor
deprecated
func (*ValidatePurchaseGoogleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePurchaseGoogleRequest.ProtoReflect.Descriptor instead.
func (*ValidatePurchaseGoogleRequest) GetPersist ¶
func (x *ValidatePurchaseGoogleRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidatePurchaseGoogleRequest) GetPurchase ¶
func (x *ValidatePurchaseGoogleRequest) GetPurchase() string
func (*ValidatePurchaseGoogleRequest) ProtoMessage ¶
func (*ValidatePurchaseGoogleRequest) ProtoMessage()
func (*ValidatePurchaseGoogleRequest) ProtoReflect ¶
func (x *ValidatePurchaseGoogleRequest) ProtoReflect() protoreflect.Message
func (*ValidatePurchaseGoogleRequest) Reset ¶
func (x *ValidatePurchaseGoogleRequest) Reset()
func (*ValidatePurchaseGoogleRequest) String ¶
func (x *ValidatePurchaseGoogleRequest) String() string
type ValidatePurchaseHuaweiRequest ¶
type ValidatePurchaseHuaweiRequest struct { // JSON encoded Huawei InAppPurchaseData. Purchase string `protobuf:"bytes,1,opt,name=purchase,proto3" json:"purchase,omitempty"` // InAppPurchaseData signature. Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Persist the purchase Persist *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Huawei IAP Purchase validation request
func (*ValidatePurchaseHuaweiRequest) Descriptor
deprecated
func (*ValidatePurchaseHuaweiRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePurchaseHuaweiRequest.ProtoReflect.Descriptor instead.
func (*ValidatePurchaseHuaweiRequest) GetPersist ¶
func (x *ValidatePurchaseHuaweiRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidatePurchaseHuaweiRequest) GetPurchase ¶
func (x *ValidatePurchaseHuaweiRequest) GetPurchase() string
func (*ValidatePurchaseHuaweiRequest) GetSignature ¶
func (x *ValidatePurchaseHuaweiRequest) GetSignature() string
func (*ValidatePurchaseHuaweiRequest) ProtoMessage ¶
func (*ValidatePurchaseHuaweiRequest) ProtoMessage()
func (*ValidatePurchaseHuaweiRequest) ProtoReflect ¶
func (x *ValidatePurchaseHuaweiRequest) ProtoReflect() protoreflect.Message
func (*ValidatePurchaseHuaweiRequest) Reset ¶
func (x *ValidatePurchaseHuaweiRequest) Reset()
func (*ValidatePurchaseHuaweiRequest) String ¶
func (x *ValidatePurchaseHuaweiRequest) String() string
type ValidatePurchaseResponse ¶
type ValidatePurchaseResponse struct { // Newly seen validated purchases. ValidatedPurchases []*ValidatedPurchase `protobuf:"bytes,1,rep,name=validated_purchases,json=validatedPurchases,proto3" json:"validated_purchases,omitempty"` // contains filtered or unexported fields }
Validate IAP response.
func (*ValidatePurchaseResponse) Descriptor
deprecated
func (*ValidatePurchaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePurchaseResponse.ProtoReflect.Descriptor instead.
func (*ValidatePurchaseResponse) GetValidatedPurchases ¶
func (x *ValidatePurchaseResponse) GetValidatedPurchases() []*ValidatedPurchase
func (*ValidatePurchaseResponse) ProtoMessage ¶
func (*ValidatePurchaseResponse) ProtoMessage()
func (*ValidatePurchaseResponse) ProtoReflect ¶
func (x *ValidatePurchaseResponse) ProtoReflect() protoreflect.Message
func (*ValidatePurchaseResponse) Reset ¶
func (x *ValidatePurchaseResponse) Reset()
func (*ValidatePurchaseResponse) String ¶
func (x *ValidatePurchaseResponse) String() string
type ValidateSubscriptionAppleRequest ¶
type ValidateSubscriptionAppleRequest struct { // Base64 encoded Apple receipt data payload. Receipt string `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // Persist the subscription. Persist *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Apple Subscription validation request
func (*ValidateSubscriptionAppleRequest) Descriptor
deprecated
func (*ValidateSubscriptionAppleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSubscriptionAppleRequest.ProtoReflect.Descriptor instead.
func (*ValidateSubscriptionAppleRequest) GetPersist ¶
func (x *ValidateSubscriptionAppleRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidateSubscriptionAppleRequest) GetReceipt ¶
func (x *ValidateSubscriptionAppleRequest) GetReceipt() string
func (*ValidateSubscriptionAppleRequest) ProtoMessage ¶
func (*ValidateSubscriptionAppleRequest) ProtoMessage()
func (*ValidateSubscriptionAppleRequest) ProtoReflect ¶
func (x *ValidateSubscriptionAppleRequest) ProtoReflect() protoreflect.Message
func (*ValidateSubscriptionAppleRequest) Reset ¶
func (x *ValidateSubscriptionAppleRequest) Reset()
func (*ValidateSubscriptionAppleRequest) String ¶
func (x *ValidateSubscriptionAppleRequest) String() string
type ValidateSubscriptionGoogleRequest ¶
type ValidateSubscriptionGoogleRequest struct { // JSON encoded Google purchase payload. Receipt string `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // Persist the subscription. Persist *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"` // contains filtered or unexported fields }
Google Subscription validation request
func (*ValidateSubscriptionGoogleRequest) Descriptor
deprecated
func (*ValidateSubscriptionGoogleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSubscriptionGoogleRequest.ProtoReflect.Descriptor instead.
func (*ValidateSubscriptionGoogleRequest) GetPersist ¶
func (x *ValidateSubscriptionGoogleRequest) GetPersist() *wrapperspb.BoolValue
func (*ValidateSubscriptionGoogleRequest) GetReceipt ¶
func (x *ValidateSubscriptionGoogleRequest) GetReceipt() string
func (*ValidateSubscriptionGoogleRequest) ProtoMessage ¶
func (*ValidateSubscriptionGoogleRequest) ProtoMessage()
func (*ValidateSubscriptionGoogleRequest) ProtoReflect ¶
func (x *ValidateSubscriptionGoogleRequest) ProtoReflect() protoreflect.Message
func (*ValidateSubscriptionGoogleRequest) Reset ¶
func (x *ValidateSubscriptionGoogleRequest) Reset()
func (*ValidateSubscriptionGoogleRequest) String ¶
func (x *ValidateSubscriptionGoogleRequest) String() string
type ValidateSubscriptionResponse ¶
type ValidateSubscriptionResponse struct { ValidatedSubscription *ValidatedSubscription `protobuf:"bytes,1,opt,name=validated_subscription,json=validatedSubscription,proto3" json:"validated_subscription,omitempty"` // contains filtered or unexported fields }
Validate Subscription response.
func (*ValidateSubscriptionResponse) Descriptor
deprecated
func (*ValidateSubscriptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSubscriptionResponse.ProtoReflect.Descriptor instead.
func (*ValidateSubscriptionResponse) GetValidatedSubscription ¶
func (x *ValidateSubscriptionResponse) GetValidatedSubscription() *ValidatedSubscription
func (*ValidateSubscriptionResponse) ProtoMessage ¶
func (*ValidateSubscriptionResponse) ProtoMessage()
func (*ValidateSubscriptionResponse) ProtoReflect ¶
func (x *ValidateSubscriptionResponse) ProtoReflect() protoreflect.Message
func (*ValidateSubscriptionResponse) Reset ¶
func (x *ValidateSubscriptionResponse) Reset()
func (*ValidateSubscriptionResponse) String ¶
func (x *ValidateSubscriptionResponse) String() string
type ValidatedPurchase ¶
type ValidatedPurchase struct { // Purchase User ID. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Purchase Product ID. ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // Purchase Transaction ID. TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // Store identifier Store StoreProvider `protobuf:"varint,4,opt,name=store,proto3,enum=nakama.api.StoreProvider" json:"store,omitempty"` // Timestamp when the purchase was done. PurchaseTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=purchase_time,json=purchaseTime,proto3" json:"purchase_time,omitempty"` // Timestamp when the receipt validation was stored in DB. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Timestamp when the receipt validation was updated in DB. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Timestamp when the purchase was refunded. Set to UNIX RefundTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=refund_time,json=refundTime,proto3" json:"refund_time,omitempty"` // Raw provider validation response. ProviderResponse string `protobuf:"bytes,9,opt,name=provider_response,json=providerResponse,proto3" json:"provider_response,omitempty"` // Whether the purchase was done in production or sandbox environment. Environment StoreEnvironment `protobuf:"varint,10,opt,name=environment,proto3,enum=nakama.api.StoreEnvironment" json:"environment,omitempty"` // Whether the purchase had already been validated by Nakama before. SeenBefore bool `protobuf:"varint,11,opt,name=seen_before,json=seenBefore,proto3" json:"seen_before,omitempty"` // contains filtered or unexported fields }
Validated Purchase stored by Nakama.
func (*ValidatedPurchase) Descriptor
deprecated
func (*ValidatedPurchase) Descriptor() ([]byte, []int)
Deprecated: Use ValidatedPurchase.ProtoReflect.Descriptor instead.
func (*ValidatedPurchase) GetCreateTime ¶
func (x *ValidatedPurchase) GetCreateTime() *timestamppb.Timestamp
func (*ValidatedPurchase) GetEnvironment ¶
func (x *ValidatedPurchase) GetEnvironment() StoreEnvironment
func (*ValidatedPurchase) GetProductId ¶
func (x *ValidatedPurchase) GetProductId() string
func (*ValidatedPurchase) GetProviderResponse ¶
func (x *ValidatedPurchase) GetProviderResponse() string
func (*ValidatedPurchase) GetPurchaseTime ¶
func (x *ValidatedPurchase) GetPurchaseTime() *timestamppb.Timestamp
func (*ValidatedPurchase) GetRefundTime ¶
func (x *ValidatedPurchase) GetRefundTime() *timestamppb.Timestamp
func (*ValidatedPurchase) GetSeenBefore ¶
func (x *ValidatedPurchase) GetSeenBefore() bool
func (*ValidatedPurchase) GetStore ¶
func (x *ValidatedPurchase) GetStore() StoreProvider
func (*ValidatedPurchase) GetTransactionId ¶
func (x *ValidatedPurchase) GetTransactionId() string
func (*ValidatedPurchase) GetUpdateTime ¶
func (x *ValidatedPurchase) GetUpdateTime() *timestamppb.Timestamp
func (*ValidatedPurchase) GetUserId ¶
func (x *ValidatedPurchase) GetUserId() string
func (*ValidatedPurchase) ProtoMessage ¶
func (*ValidatedPurchase) ProtoMessage()
func (*ValidatedPurchase) ProtoReflect ¶
func (x *ValidatedPurchase) ProtoReflect() protoreflect.Message
func (*ValidatedPurchase) Reset ¶
func (x *ValidatedPurchase) Reset()
func (*ValidatedPurchase) String ¶
func (x *ValidatedPurchase) String() string
type ValidatedSubscription ¶
type ValidatedSubscription struct { // Subscription User ID. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Purchase Product ID. ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals). OriginalTransactionId string `` /* 126-byte string literal not displayed */ // Store identifier Store StoreProvider `protobuf:"varint,4,opt,name=store,proto3,enum=nakama.api.StoreProvider" json:"store,omitempty"` // UNIX Timestamp when the purchase was done. PurchaseTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=purchase_time,json=purchaseTime,proto3" json:"purchase_time,omitempty"` // UNIX Timestamp when the receipt validation was stored in DB. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // UNIX Timestamp when the receipt validation was updated in DB. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Whether the purchase was done in production or sandbox environment. Environment StoreEnvironment `protobuf:"varint,8,opt,name=environment,proto3,enum=nakama.api.StoreEnvironment" json:"environment,omitempty"` // Subscription expiration time. The subscription can still be auto-renewed to extend the expiration time further. ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // Subscription refund time. If this time is set, the subscription was refunded. RefundTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=refund_time,json=refundTime,proto3" json:"refund_time,omitempty"` // Raw provider validation response body. ProviderResponse string `protobuf:"bytes,11,opt,name=provider_response,json=providerResponse,proto3" json:"provider_response,omitempty"` // Raw provider notification body. ProviderNotification string `protobuf:"bytes,12,opt,name=provider_notification,json=providerNotification,proto3" json:"provider_notification,omitempty"` // Whether the subscription is currently active or not. Active bool `protobuf:"varint,13,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*ValidatedSubscription) Descriptor
deprecated
func (*ValidatedSubscription) Descriptor() ([]byte, []int)
Deprecated: Use ValidatedSubscription.ProtoReflect.Descriptor instead.
func (*ValidatedSubscription) GetActive ¶
func (x *ValidatedSubscription) GetActive() bool
func (*ValidatedSubscription) GetCreateTime ¶
func (x *ValidatedSubscription) GetCreateTime() *timestamppb.Timestamp
func (*ValidatedSubscription) GetEnvironment ¶
func (x *ValidatedSubscription) GetEnvironment() StoreEnvironment
func (*ValidatedSubscription) GetExpiryTime ¶
func (x *ValidatedSubscription) GetExpiryTime() *timestamppb.Timestamp
func (*ValidatedSubscription) GetOriginalTransactionId ¶
func (x *ValidatedSubscription) GetOriginalTransactionId() string
func (*ValidatedSubscription) GetProductId ¶
func (x *ValidatedSubscription) GetProductId() string
func (*ValidatedSubscription) GetProviderNotification ¶
func (x *ValidatedSubscription) GetProviderNotification() string
func (*ValidatedSubscription) GetProviderResponse ¶
func (x *ValidatedSubscription) GetProviderResponse() string
func (*ValidatedSubscription) GetPurchaseTime ¶
func (x *ValidatedSubscription) GetPurchaseTime() *timestamppb.Timestamp
func (*ValidatedSubscription) GetRefundTime ¶
func (x *ValidatedSubscription) GetRefundTime() *timestamppb.Timestamp
func (*ValidatedSubscription) GetStore ¶
func (x *ValidatedSubscription) GetStore() StoreProvider
func (*ValidatedSubscription) GetUpdateTime ¶
func (x *ValidatedSubscription) GetUpdateTime() *timestamppb.Timestamp
func (*ValidatedSubscription) GetUserId ¶
func (x *ValidatedSubscription) GetUserId() string
func (*ValidatedSubscription) ProtoMessage ¶
func (*ValidatedSubscription) ProtoMessage()
func (*ValidatedSubscription) ProtoReflect ¶
func (x *ValidatedSubscription) ProtoReflect() protoreflect.Message
func (*ValidatedSubscription) Reset ¶
func (x *ValidatedSubscription) Reset()
func (*ValidatedSubscription) String ¶
func (x *ValidatedSubscription) String() string
type WriteLeaderboardRecordRequest ¶
type WriteLeaderboardRecordRequest struct { // The ID of the leaderboard to write to. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // Record input. Record *WriteLeaderboardRecordRequest_LeaderboardRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
A request to submit a score to a leaderboard.
func (*WriteLeaderboardRecordRequest) Descriptor
deprecated
func (*WriteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteLeaderboardRecordRequest.ProtoReflect.Descriptor instead.
func (*WriteLeaderboardRecordRequest) GetLeaderboardId ¶
func (x *WriteLeaderboardRecordRequest) GetLeaderboardId() string
func (*WriteLeaderboardRecordRequest) GetRecord ¶
func (x *WriteLeaderboardRecordRequest) GetRecord() *WriteLeaderboardRecordRequest_LeaderboardRecordWrite
func (*WriteLeaderboardRecordRequest) ProtoMessage ¶
func (*WriteLeaderboardRecordRequest) ProtoMessage()
func (*WriteLeaderboardRecordRequest) ProtoReflect ¶
func (x *WriteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
func (*WriteLeaderboardRecordRequest) Reset ¶
func (x *WriteLeaderboardRecordRequest) Reset()
func (*WriteLeaderboardRecordRequest) String ¶
func (x *WriteLeaderboardRecordRequest) String() string
type WriteLeaderboardRecordRequest_LeaderboardRecordWrite ¶
type WriteLeaderboardRecordRequest_LeaderboardRecordWrite struct { // The score value to submit. Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` // An optional secondary value. Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"` // Optional record metadata. Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Operator override. Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"` // contains filtered or unexported fields }
Record values to write.
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor
deprecated
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor() ([]byte, []int)
Deprecated: Use WriteLeaderboardRecordRequest_LeaderboardRecordWrite.ProtoReflect.Descriptor instead.
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata() string
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetOperator ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetOperator() Operator
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore() int64
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore() int64
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage ¶
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage()
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoReflect ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoReflect() protoreflect.Message
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset()
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String ¶
func (x *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String() string
type WriteStorageObject ¶
type WriteStorageObject struct { // The collection to store the object. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // The key for the object within the collection. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The value of the object. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // The version hash of the object to check. Possible values are: ["", "*", "#hash#"]. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // if-match and if-none-match // The read access permissions for the object. PermissionRead *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"` // The write access permissions for the object. PermissionWrite *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"` // contains filtered or unexported fields }
The object to store.
func (*WriteStorageObject) Descriptor
deprecated
func (*WriteStorageObject) Descriptor() ([]byte, []int)
Deprecated: Use WriteStorageObject.ProtoReflect.Descriptor instead.
func (*WriteStorageObject) GetCollection ¶
func (x *WriteStorageObject) GetCollection() string
func (*WriteStorageObject) GetKey ¶
func (x *WriteStorageObject) GetKey() string
func (*WriteStorageObject) GetPermissionRead ¶
func (x *WriteStorageObject) GetPermissionRead() *wrapperspb.Int32Value
func (*WriteStorageObject) GetPermissionWrite ¶
func (x *WriteStorageObject) GetPermissionWrite() *wrapperspb.Int32Value
func (*WriteStorageObject) GetValue ¶
func (x *WriteStorageObject) GetValue() string
func (*WriteStorageObject) GetVersion ¶
func (x *WriteStorageObject) GetVersion() string
func (*WriteStorageObject) ProtoMessage ¶
func (*WriteStorageObject) ProtoMessage()
func (*WriteStorageObject) ProtoReflect ¶
func (x *WriteStorageObject) ProtoReflect() protoreflect.Message
func (*WriteStorageObject) Reset ¶
func (x *WriteStorageObject) Reset()
func (*WriteStorageObject) String ¶
func (x *WriteStorageObject) String() string
type WriteStorageObjectsRequest ¶
type WriteStorageObjectsRequest struct { // The objects to store on the server. Objects []*WriteStorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
Write objects to the storage engine.
func (*WriteStorageObjectsRequest) Descriptor
deprecated
func (*WriteStorageObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteStorageObjectsRequest.ProtoReflect.Descriptor instead.
func (*WriteStorageObjectsRequest) GetObjects ¶
func (x *WriteStorageObjectsRequest) GetObjects() []*WriteStorageObject
func (*WriteStorageObjectsRequest) ProtoMessage ¶
func (*WriteStorageObjectsRequest) ProtoMessage()
func (*WriteStorageObjectsRequest) ProtoReflect ¶
func (x *WriteStorageObjectsRequest) ProtoReflect() protoreflect.Message
func (*WriteStorageObjectsRequest) Reset ¶
func (x *WriteStorageObjectsRequest) Reset()
func (*WriteStorageObjectsRequest) String ¶
func (x *WriteStorageObjectsRequest) String() string
type WriteTournamentRecordRequest ¶
type WriteTournamentRecordRequest struct { // The tournament ID to write the record for. TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // Record input. Record *WriteTournamentRecordRequest_TournamentRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
A request to submit a score to a tournament.
func (*WriteTournamentRecordRequest) Descriptor
deprecated
func (*WriteTournamentRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteTournamentRecordRequest.ProtoReflect.Descriptor instead.
func (*WriteTournamentRecordRequest) GetRecord ¶
func (x *WriteTournamentRecordRequest) GetRecord() *WriteTournamentRecordRequest_TournamentRecordWrite
func (*WriteTournamentRecordRequest) GetTournamentId ¶
func (x *WriteTournamentRecordRequest) GetTournamentId() string
func (*WriteTournamentRecordRequest) ProtoMessage ¶
func (*WriteTournamentRecordRequest) ProtoMessage()
func (*WriteTournamentRecordRequest) ProtoReflect ¶
func (x *WriteTournamentRecordRequest) ProtoReflect() protoreflect.Message
func (*WriteTournamentRecordRequest) Reset ¶
func (x *WriteTournamentRecordRequest) Reset()
func (*WriteTournamentRecordRequest) String ¶
func (x *WriteTournamentRecordRequest) String() string
type WriteTournamentRecordRequest_TournamentRecordWrite ¶
type WriteTournamentRecordRequest_TournamentRecordWrite struct { // The score value to submit. Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` // An optional secondary value. Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"` // A JSON object of additional properties (optional). Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Operator override. Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"` // contains filtered or unexported fields }
Record values to write.
func (*WriteTournamentRecordRequest_TournamentRecordWrite) Descriptor
deprecated
func (*WriteTournamentRecordRequest_TournamentRecordWrite) Descriptor() ([]byte, []int)
Deprecated: Use WriteTournamentRecordRequest_TournamentRecordWrite.ProtoReflect.Descriptor instead.
func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetMetadata ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetMetadata() string
func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetOperator ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetOperator() Operator
func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetScore ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetScore() int64
func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetSubscore ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) GetSubscore() int64
func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoMessage ¶
func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoMessage()
func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoReflect ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) ProtoReflect() protoreflect.Message
func (*WriteTournamentRecordRequest_TournamentRecordWrite) Reset ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) Reset()
func (*WriteTournamentRecordRequest_TournamentRecordWrite) String ¶
func (x *WriteTournamentRecordRequest_TournamentRecordWrite) String() string