Documentation ¶
Overview ¶
Package api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterNakamaHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNakamaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NakamaClient) error
- func RegisterNakamaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNakamaServer(s *grpc.Server, srv NakamaServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetCustomId() string
- func (m *Account) GetDevices() []*AccountDevice
- func (m *Account) GetEmail() string
- func (m *Account) GetUser() *User
- func (m *Account) GetVerifyTime() *timestamp.Timestamp
- func (m *Account) GetWallet() string
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountCustom
- func (*AccountCustom) Descriptor() ([]byte, []int)
- func (m *AccountCustom) GetId() string
- func (*AccountCustom) ProtoMessage()
- func (m *AccountCustom) Reset()
- func (m *AccountCustom) String() string
- func (m *AccountCustom) XXX_DiscardUnknown()
- func (m *AccountCustom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountCustom) XXX_Merge(src proto.Message)
- func (m *AccountCustom) XXX_Size() int
- func (m *AccountCustom) XXX_Unmarshal(b []byte) error
- type AccountDevice
- func (*AccountDevice) Descriptor() ([]byte, []int)
- func (m *AccountDevice) GetId() string
- func (*AccountDevice) ProtoMessage()
- func (m *AccountDevice) Reset()
- func (m *AccountDevice) String() string
- func (m *AccountDevice) XXX_DiscardUnknown()
- func (m *AccountDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountDevice) XXX_Merge(src proto.Message)
- func (m *AccountDevice) XXX_Size() int
- func (m *AccountDevice) XXX_Unmarshal(b []byte) error
- type AccountEmail
- func (*AccountEmail) Descriptor() ([]byte, []int)
- func (m *AccountEmail) GetEmail() string
- func (m *AccountEmail) GetPassword() string
- func (*AccountEmail) ProtoMessage()
- func (m *AccountEmail) Reset()
- func (m *AccountEmail) String() string
- func (m *AccountEmail) XXX_DiscardUnknown()
- func (m *AccountEmail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountEmail) XXX_Merge(src proto.Message)
- func (m *AccountEmail) XXX_Size() int
- func (m *AccountEmail) XXX_Unmarshal(b []byte) error
- type AccountFacebook
- func (*AccountFacebook) Descriptor() ([]byte, []int)
- func (m *AccountFacebook) GetToken() string
- func (*AccountFacebook) ProtoMessage()
- func (m *AccountFacebook) Reset()
- func (m *AccountFacebook) String() string
- func (m *AccountFacebook) XXX_DiscardUnknown()
- func (m *AccountFacebook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountFacebook) XXX_Merge(src proto.Message)
- func (m *AccountFacebook) XXX_Size() int
- func (m *AccountFacebook) XXX_Unmarshal(b []byte) error
- type AccountGameCenter
- func (*AccountGameCenter) Descriptor() ([]byte, []int)
- func (m *AccountGameCenter) GetBundleId() string
- func (m *AccountGameCenter) GetPlayerId() string
- func (m *AccountGameCenter) GetPublicKeyUrl() string
- func (m *AccountGameCenter) GetSalt() string
- func (m *AccountGameCenter) GetSignature() string
- func (m *AccountGameCenter) GetTimestampSeconds() int64
- func (*AccountGameCenter) ProtoMessage()
- func (m *AccountGameCenter) Reset()
- func (m *AccountGameCenter) String() string
- func (m *AccountGameCenter) XXX_DiscardUnknown()
- func (m *AccountGameCenter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountGameCenter) XXX_Merge(src proto.Message)
- func (m *AccountGameCenter) XXX_Size() int
- func (m *AccountGameCenter) XXX_Unmarshal(b []byte) error
- type AccountGoogle
- func (*AccountGoogle) Descriptor() ([]byte, []int)
- func (m *AccountGoogle) GetToken() string
- func (*AccountGoogle) ProtoMessage()
- func (m *AccountGoogle) Reset()
- func (m *AccountGoogle) String() string
- func (m *AccountGoogle) XXX_DiscardUnknown()
- func (m *AccountGoogle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountGoogle) XXX_Merge(src proto.Message)
- func (m *AccountGoogle) XXX_Size() int
- func (m *AccountGoogle) XXX_Unmarshal(b []byte) error
- type AccountSteam
- func (*AccountSteam) Descriptor() ([]byte, []int)
- func (m *AccountSteam) GetToken() string
- func (*AccountSteam) ProtoMessage()
- func (m *AccountSteam) Reset()
- func (m *AccountSteam) String() string
- func (m *AccountSteam) XXX_DiscardUnknown()
- func (m *AccountSteam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountSteam) XXX_Merge(src proto.Message)
- func (m *AccountSteam) XXX_Size() int
- func (m *AccountSteam) XXX_Unmarshal(b []byte) error
- type AddFriendsRequest
- func (*AddFriendsRequest) Descriptor() ([]byte, []int)
- func (m *AddFriendsRequest) GetIds() []string
- func (m *AddFriendsRequest) GetUsernames() []string
- func (*AddFriendsRequest) ProtoMessage()
- func (m *AddFriendsRequest) Reset()
- func (m *AddFriendsRequest) String() string
- func (m *AddFriendsRequest) XXX_DiscardUnknown()
- func (m *AddFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddFriendsRequest) XXX_Merge(src proto.Message)
- func (m *AddFriendsRequest) XXX_Size() int
- func (m *AddFriendsRequest) XXX_Unmarshal(b []byte) error
- type AddGroupUsersRequest
- func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)
- func (m *AddGroupUsersRequest) GetGroupId() string
- func (m *AddGroupUsersRequest) GetUserIds() []string
- func (*AddGroupUsersRequest) ProtoMessage()
- func (m *AddGroupUsersRequest) Reset()
- func (m *AddGroupUsersRequest) String() string
- func (m *AddGroupUsersRequest) XXX_DiscardUnknown()
- func (m *AddGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddGroupUsersRequest) XXX_Merge(src proto.Message)
- func (m *AddGroupUsersRequest) XXX_Size() int
- func (m *AddGroupUsersRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateCustomRequest
- func (*AuthenticateCustomRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateCustomRequest) GetAccount() *AccountCustom
- func (m *AuthenticateCustomRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateCustomRequest) GetUsername() string
- func (*AuthenticateCustomRequest) ProtoMessage()
- func (m *AuthenticateCustomRequest) Reset()
- func (m *AuthenticateCustomRequest) String() string
- func (m *AuthenticateCustomRequest) XXX_DiscardUnknown()
- func (m *AuthenticateCustomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateCustomRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateCustomRequest) XXX_Size() int
- func (m *AuthenticateCustomRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateDeviceRequest
- func (*AuthenticateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateDeviceRequest) GetAccount() *AccountDevice
- func (m *AuthenticateDeviceRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateDeviceRequest) GetUsername() string
- func (*AuthenticateDeviceRequest) ProtoMessage()
- func (m *AuthenticateDeviceRequest) Reset()
- func (m *AuthenticateDeviceRequest) String() string
- func (m *AuthenticateDeviceRequest) XXX_DiscardUnknown()
- func (m *AuthenticateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateDeviceRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateDeviceRequest) XXX_Size() int
- func (m *AuthenticateDeviceRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateEmailRequest
- func (*AuthenticateEmailRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateEmailRequest) GetAccount() *AccountEmail
- func (m *AuthenticateEmailRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateEmailRequest) GetUsername() string
- func (*AuthenticateEmailRequest) ProtoMessage()
- func (m *AuthenticateEmailRequest) Reset()
- func (m *AuthenticateEmailRequest) String() string
- func (m *AuthenticateEmailRequest) XXX_DiscardUnknown()
- func (m *AuthenticateEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateEmailRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateEmailRequest) XXX_Size() int
- func (m *AuthenticateEmailRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateFacebookRequest
- func (*AuthenticateFacebookRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateFacebookRequest) GetAccount() *AccountFacebook
- func (m *AuthenticateFacebookRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateFacebookRequest) GetImport() *wrappers.BoolValue
- func (m *AuthenticateFacebookRequest) GetUsername() string
- func (*AuthenticateFacebookRequest) ProtoMessage()
- func (m *AuthenticateFacebookRequest) Reset()
- func (m *AuthenticateFacebookRequest) String() string
- func (m *AuthenticateFacebookRequest) XXX_DiscardUnknown()
- func (m *AuthenticateFacebookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateFacebookRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateFacebookRequest) XXX_Size() int
- func (m *AuthenticateFacebookRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateGameCenterRequest
- func (*AuthenticateGameCenterRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateGameCenterRequest) GetAccount() *AccountGameCenter
- func (m *AuthenticateGameCenterRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateGameCenterRequest) GetUsername() string
- func (*AuthenticateGameCenterRequest) ProtoMessage()
- func (m *AuthenticateGameCenterRequest) Reset()
- func (m *AuthenticateGameCenterRequest) String() string
- func (m *AuthenticateGameCenterRequest) XXX_DiscardUnknown()
- func (m *AuthenticateGameCenterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateGameCenterRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateGameCenterRequest) XXX_Size() int
- func (m *AuthenticateGameCenterRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateGoogleRequest
- func (*AuthenticateGoogleRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateGoogleRequest) GetAccount() *AccountGoogle
- func (m *AuthenticateGoogleRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateGoogleRequest) GetUsername() string
- func (*AuthenticateGoogleRequest) ProtoMessage()
- func (m *AuthenticateGoogleRequest) Reset()
- func (m *AuthenticateGoogleRequest) String() string
- func (m *AuthenticateGoogleRequest) XXX_DiscardUnknown()
- func (m *AuthenticateGoogleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateGoogleRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateGoogleRequest) XXX_Size() int
- func (m *AuthenticateGoogleRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateSteamRequest
- func (*AuthenticateSteamRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateSteamRequest) GetAccount() *AccountSteam
- func (m *AuthenticateSteamRequest) GetCreate() *wrappers.BoolValue
- func (m *AuthenticateSteamRequest) GetUsername() string
- func (*AuthenticateSteamRequest) ProtoMessage()
- func (m *AuthenticateSteamRequest) Reset()
- func (m *AuthenticateSteamRequest) String() string
- func (m *AuthenticateSteamRequest) XXX_DiscardUnknown()
- func (m *AuthenticateSteamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthenticateSteamRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateSteamRequest) XXX_Size() int
- func (m *AuthenticateSteamRequest) XXX_Unmarshal(b []byte) error
- type BlockFriendsRequest
- func (*BlockFriendsRequest) Descriptor() ([]byte, []int)
- func (m *BlockFriendsRequest) GetIds() []string
- func (m *BlockFriendsRequest) GetUsernames() []string
- func (*BlockFriendsRequest) ProtoMessage()
- func (m *BlockFriendsRequest) Reset()
- func (m *BlockFriendsRequest) String() string
- func (m *BlockFriendsRequest) XXX_DiscardUnknown()
- func (m *BlockFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockFriendsRequest) XXX_Merge(src proto.Message)
- func (m *BlockFriendsRequest) XXX_Size() int
- func (m *BlockFriendsRequest) XXX_Unmarshal(b []byte) error
- type ChannelMessage
- func (*ChannelMessage) Descriptor() ([]byte, []int)
- func (m *ChannelMessage) GetChannelId() string
- func (m *ChannelMessage) GetCode() *wrappers.Int32Value
- func (m *ChannelMessage) GetContent() string
- func (m *ChannelMessage) GetCreateTime() *timestamp.Timestamp
- func (m *ChannelMessage) GetMessageId() string
- func (m *ChannelMessage) GetPersistent() *wrappers.BoolValue
- func (m *ChannelMessage) GetSenderId() string
- func (m *ChannelMessage) GetUpdateTime() *timestamp.Timestamp
- func (m *ChannelMessage) GetUsername() string
- func (*ChannelMessage) ProtoMessage()
- func (m *ChannelMessage) Reset()
- func (m *ChannelMessage) String() string
- func (m *ChannelMessage) XXX_DiscardUnknown()
- func (m *ChannelMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChannelMessage) XXX_Merge(src proto.Message)
- func (m *ChannelMessage) XXX_Size() int
- func (m *ChannelMessage) XXX_Unmarshal(b []byte) error
- type ChannelMessageList
- func (*ChannelMessageList) Descriptor() ([]byte, []int)
- func (m *ChannelMessageList) GetMessages() []*ChannelMessage
- func (m *ChannelMessageList) GetNextCursor() string
- func (m *ChannelMessageList) GetPrevCursor() string
- func (*ChannelMessageList) ProtoMessage()
- func (m *ChannelMessageList) Reset()
- func (m *ChannelMessageList) String() string
- func (m *ChannelMessageList) XXX_DiscardUnknown()
- func (m *ChannelMessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChannelMessageList) XXX_Merge(src proto.Message)
- func (m *ChannelMessageList) XXX_Size() int
- func (m *ChannelMessageList) XXX_Unmarshal(b []byte) error
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)
- func (m *CreateGroupRequest) GetAvatarUrl() string
- func (m *CreateGroupRequest) GetDescription() string
- func (m *CreateGroupRequest) GetLangTag() string
- func (m *CreateGroupRequest) GetName() string
- func (m *CreateGroupRequest) GetOpen() bool
- func (*CreateGroupRequest) ProtoMessage()
- func (m *CreateGroupRequest) Reset()
- func (m *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) XXX_DiscardUnknown()
- func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateGroupRequest) XXX_Merge(src proto.Message)
- func (m *CreateGroupRequest) XXX_Size() int
- func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
- type DeleteFriendsRequest
- func (*DeleteFriendsRequest) Descriptor() ([]byte, []int)
- func (m *DeleteFriendsRequest) GetIds() []string
- func (m *DeleteFriendsRequest) GetUsernames() []string
- func (*DeleteFriendsRequest) ProtoMessage()
- func (m *DeleteFriendsRequest) Reset()
- func (m *DeleteFriendsRequest) String() string
- func (m *DeleteFriendsRequest) XXX_DiscardUnknown()
- func (m *DeleteFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteFriendsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteFriendsRequest) XXX_Size() int
- func (m *DeleteFriendsRequest) XXX_Unmarshal(b []byte) error
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
- func (m *DeleteGroupRequest) GetGroupId() string
- func (*DeleteGroupRequest) ProtoMessage()
- func (m *DeleteGroupRequest) Reset()
- func (m *DeleteGroupRequest) String() string
- func (m *DeleteGroupRequest) XXX_DiscardUnknown()
- func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteGroupRequest) XXX_Merge(src proto.Message)
- func (m *DeleteGroupRequest) XXX_Size() int
- func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error
- type DeleteLeaderboardRecordRequest
- func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
- func (m *DeleteLeaderboardRecordRequest) GetLeaderboardId() string
- func (*DeleteLeaderboardRecordRequest) ProtoMessage()
- func (m *DeleteLeaderboardRecordRequest) Reset()
- func (m *DeleteLeaderboardRecordRequest) String() string
- func (m *DeleteLeaderboardRecordRequest) XXX_DiscardUnknown()
- func (m *DeleteLeaderboardRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteLeaderboardRecordRequest) XXX_Merge(src proto.Message)
- func (m *DeleteLeaderboardRecordRequest) XXX_Size() int
- func (m *DeleteLeaderboardRecordRequest) XXX_Unmarshal(b []byte) error
- type DeleteNotificationsRequest
- func (*DeleteNotificationsRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNotificationsRequest) GetIds() []string
- func (*DeleteNotificationsRequest) ProtoMessage()
- func (m *DeleteNotificationsRequest) Reset()
- func (m *DeleteNotificationsRequest) String() string
- func (m *DeleteNotificationsRequest) XXX_DiscardUnknown()
- func (m *DeleteNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteNotificationsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteNotificationsRequest) XXX_Size() int
- func (m *DeleteNotificationsRequest) XXX_Unmarshal(b []byte) error
- type DeleteStorageObjectId
- func (*DeleteStorageObjectId) Descriptor() ([]byte, []int)
- func (m *DeleteStorageObjectId) GetCollection() string
- func (m *DeleteStorageObjectId) GetKey() string
- func (m *DeleteStorageObjectId) GetVersion() string
- func (*DeleteStorageObjectId) ProtoMessage()
- func (m *DeleteStorageObjectId) Reset()
- func (m *DeleteStorageObjectId) String() string
- func (m *DeleteStorageObjectId) XXX_DiscardUnknown()
- func (m *DeleteStorageObjectId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteStorageObjectId) XXX_Merge(src proto.Message)
- func (m *DeleteStorageObjectId) XXX_Size() int
- func (m *DeleteStorageObjectId) XXX_Unmarshal(b []byte) error
- type DeleteStorageObjectsRequest
- func (*DeleteStorageObjectsRequest) Descriptor() ([]byte, []int)
- func (m *DeleteStorageObjectsRequest) GetObjectIds() []*DeleteStorageObjectId
- func (*DeleteStorageObjectsRequest) ProtoMessage()
- func (m *DeleteStorageObjectsRequest) Reset()
- func (m *DeleteStorageObjectsRequest) String() string
- func (m *DeleteStorageObjectsRequest) XXX_DiscardUnknown()
- func (m *DeleteStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteStorageObjectsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteStorageObjectsRequest) XXX_Size() int
- func (m *DeleteStorageObjectsRequest) XXX_Unmarshal(b []byte) error
- type Friend
- func (*Friend) Descriptor() ([]byte, []int)
- func (m *Friend) GetState() int32
- func (m *Friend) GetUser() *User
- func (*Friend) ProtoMessage()
- func (m *Friend) Reset()
- func (m *Friend) String() string
- func (m *Friend) XXX_DiscardUnknown()
- func (m *Friend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Friend) XXX_Merge(src proto.Message)
- func (m *Friend) XXX_Size() int
- func (m *Friend) XXX_Unmarshal(b []byte) error
- type Friend_State
- type Friends
- func (*Friends) Descriptor() ([]byte, []int)
- func (m *Friends) GetFriends() []*Friend
- func (*Friends) ProtoMessage()
- func (m *Friends) Reset()
- func (m *Friends) String() string
- func (m *Friends) XXX_DiscardUnknown()
- func (m *Friends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Friends) XXX_Merge(src proto.Message)
- func (m *Friends) XXX_Size() int
- func (m *Friends) XXX_Unmarshal(b []byte) error
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)
- func (m *GetUsersRequest) GetFacebookIds() []string
- func (m *GetUsersRequest) GetIds() []string
- func (m *GetUsersRequest) GetUsernames() []string
- func (*GetUsersRequest) ProtoMessage()
- func (m *GetUsersRequest) Reset()
- func (m *GetUsersRequest) String() string
- func (m *GetUsersRequest) XXX_DiscardUnknown()
- func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUsersRequest) XXX_Merge(src proto.Message)
- func (m *GetUsersRequest) XXX_Size() int
- func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetAvatarUrl() string
- func (m *Group) GetCreateTime() *timestamp.Timestamp
- func (m *Group) GetCreatorId() string
- func (m *Group) GetDescription() string
- func (m *Group) GetEdgeCount() int32
- func (m *Group) GetId() string
- func (m *Group) GetLangTag() string
- func (m *Group) GetMaxCount() int32
- func (m *Group) GetMetadata() string
- func (m *Group) GetName() string
- func (m *Group) GetOpen() *wrappers.BoolValue
- func (m *Group) GetUpdateTime() *timestamp.Timestamp
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type GroupList
- func (*GroupList) Descriptor() ([]byte, []int)
- func (m *GroupList) GetCursor() string
- func (m *GroupList) GetGroups() []*Group
- func (*GroupList) ProtoMessage()
- func (m *GroupList) Reset()
- func (m *GroupList) String() string
- func (m *GroupList) XXX_DiscardUnknown()
- func (m *GroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GroupList) XXX_Merge(src proto.Message)
- func (m *GroupList) XXX_Size() int
- func (m *GroupList) XXX_Unmarshal(b []byte) error
- type GroupUserList
- func (*GroupUserList) Descriptor() ([]byte, []int)
- func (m *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser
- func (*GroupUserList) ProtoMessage()
- func (m *GroupUserList) Reset()
- func (m *GroupUserList) String() string
- func (m *GroupUserList) XXX_DiscardUnknown()
- func (m *GroupUserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GroupUserList) XXX_Merge(src proto.Message)
- func (m *GroupUserList) XXX_Size() int
- func (m *GroupUserList) XXX_Unmarshal(b []byte) error
- type GroupUserList_GroupUser
- func (*GroupUserList_GroupUser) Descriptor() ([]byte, []int)
- func (m *GroupUserList_GroupUser) GetState() int32
- func (m *GroupUserList_GroupUser) GetUser() *User
- func (*GroupUserList_GroupUser) ProtoMessage()
- func (m *GroupUserList_GroupUser) Reset()
- func (m *GroupUserList_GroupUser) String() string
- func (m *GroupUserList_GroupUser) XXX_DiscardUnknown()
- func (m *GroupUserList_GroupUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GroupUserList_GroupUser) XXX_Merge(src proto.Message)
- func (m *GroupUserList_GroupUser) XXX_Size() int
- func (m *GroupUserList_GroupUser) XXX_Unmarshal(b []byte) error
- type GroupUserList_GroupUser_State
- type ImportFacebookFriendsRequest
- func (*ImportFacebookFriendsRequest) Descriptor() ([]byte, []int)
- func (m *ImportFacebookFriendsRequest) GetAccount() *AccountFacebook
- func (m *ImportFacebookFriendsRequest) GetReset_() *wrappers.BoolValue
- func (*ImportFacebookFriendsRequest) ProtoMessage()
- func (m *ImportFacebookFriendsRequest) Reset()
- func (m *ImportFacebookFriendsRequest) String() string
- func (m *ImportFacebookFriendsRequest) XXX_DiscardUnknown()
- func (m *ImportFacebookFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportFacebookFriendsRequest) XXX_Merge(src proto.Message)
- func (m *ImportFacebookFriendsRequest) XXX_Size() int
- func (m *ImportFacebookFriendsRequest) XXX_Unmarshal(b []byte) error
- type JoinGroupRequest
- func (*JoinGroupRequest) Descriptor() ([]byte, []int)
- func (m *JoinGroupRequest) GetGroupId() string
- func (*JoinGroupRequest) ProtoMessage()
- func (m *JoinGroupRequest) Reset()
- func (m *JoinGroupRequest) String() string
- func (m *JoinGroupRequest) XXX_DiscardUnknown()
- func (m *JoinGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *JoinGroupRequest) XXX_Merge(src proto.Message)
- func (m *JoinGroupRequest) XXX_Size() int
- func (m *JoinGroupRequest) XXX_Unmarshal(b []byte) error
- type KickGroupUsersRequest
- func (*KickGroupUsersRequest) Descriptor() ([]byte, []int)
- func (m *KickGroupUsersRequest) GetGroupId() string
- func (m *KickGroupUsersRequest) GetUserIds() []string
- func (*KickGroupUsersRequest) ProtoMessage()
- func (m *KickGroupUsersRequest) Reset()
- func (m *KickGroupUsersRequest) String() string
- func (m *KickGroupUsersRequest) XXX_DiscardUnknown()
- func (m *KickGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KickGroupUsersRequest) XXX_Merge(src proto.Message)
- func (m *KickGroupUsersRequest) XXX_Size() int
- func (m *KickGroupUsersRequest) XXX_Unmarshal(b []byte) error
- type LeaderboardRecord
- func (*LeaderboardRecord) Descriptor() ([]byte, []int)
- func (m *LeaderboardRecord) GetCreateTime() *timestamp.Timestamp
- func (m *LeaderboardRecord) GetExpiryTime() *timestamp.Timestamp
- func (m *LeaderboardRecord) GetLeaderboardId() string
- func (m *LeaderboardRecord) GetMetadata() string
- func (m *LeaderboardRecord) GetNumScore() int32
- func (m *LeaderboardRecord) GetOwnerId() string
- func (m *LeaderboardRecord) GetRank() int64
- func (m *LeaderboardRecord) GetScore() int64
- func (m *LeaderboardRecord) GetSubscore() int64
- func (m *LeaderboardRecord) GetUpdateTime() *timestamp.Timestamp
- func (m *LeaderboardRecord) GetUsername() *wrappers.StringValue
- func (*LeaderboardRecord) ProtoMessage()
- func (m *LeaderboardRecord) Reset()
- func (m *LeaderboardRecord) String() string
- func (m *LeaderboardRecord) XXX_DiscardUnknown()
- func (m *LeaderboardRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LeaderboardRecord) XXX_Merge(src proto.Message)
- func (m *LeaderboardRecord) XXX_Size() int
- func (m *LeaderboardRecord) XXX_Unmarshal(b []byte) error
- type LeaderboardRecordList
- func (*LeaderboardRecordList) Descriptor() ([]byte, []int)
- func (m *LeaderboardRecordList) GetNextCursor() string
- func (m *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord
- func (m *LeaderboardRecordList) GetPrevCursor() string
- func (m *LeaderboardRecordList) GetRecords() []*LeaderboardRecord
- func (*LeaderboardRecordList) ProtoMessage()
- func (m *LeaderboardRecordList) Reset()
- func (m *LeaderboardRecordList) String() string
- func (m *LeaderboardRecordList) XXX_DiscardUnknown()
- func (m *LeaderboardRecordList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LeaderboardRecordList) XXX_Merge(src proto.Message)
- func (m *LeaderboardRecordList) XXX_Size() int
- func (m *LeaderboardRecordList) XXX_Unmarshal(b []byte) error
- type LeaveGroupRequest
- func (*LeaveGroupRequest) Descriptor() ([]byte, []int)
- func (m *LeaveGroupRequest) GetGroupId() string
- func (*LeaveGroupRequest) ProtoMessage()
- func (m *LeaveGroupRequest) Reset()
- func (m *LeaveGroupRequest) String() string
- func (m *LeaveGroupRequest) XXX_DiscardUnknown()
- func (m *LeaveGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LeaveGroupRequest) XXX_Merge(src proto.Message)
- func (m *LeaveGroupRequest) XXX_Size() int
- func (m *LeaveGroupRequest) XXX_Unmarshal(b []byte) error
- type LinkFacebookRequest
- func (*LinkFacebookRequest) Descriptor() ([]byte, []int)
- func (m *LinkFacebookRequest) GetAccount() *AccountFacebook
- func (m *LinkFacebookRequest) GetImport() *wrappers.BoolValue
- func (*LinkFacebookRequest) ProtoMessage()
- func (m *LinkFacebookRequest) Reset()
- func (m *LinkFacebookRequest) String() string
- func (m *LinkFacebookRequest) XXX_DiscardUnknown()
- func (m *LinkFacebookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LinkFacebookRequest) XXX_Merge(src proto.Message)
- func (m *LinkFacebookRequest) XXX_Size() int
- func (m *LinkFacebookRequest) XXX_Unmarshal(b []byte) error
- type ListChannelMessagesRequest
- func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)
- func (m *ListChannelMessagesRequest) GetChannelId() string
- func (m *ListChannelMessagesRequest) GetCursor() string
- func (m *ListChannelMessagesRequest) GetForward() *wrappers.BoolValue
- func (m *ListChannelMessagesRequest) GetLimit() *wrappers.Int32Value
- func (*ListChannelMessagesRequest) ProtoMessage()
- func (m *ListChannelMessagesRequest) Reset()
- func (m *ListChannelMessagesRequest) String() string
- func (m *ListChannelMessagesRequest) XXX_DiscardUnknown()
- func (m *ListChannelMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListChannelMessagesRequest) XXX_Merge(src proto.Message)
- func (m *ListChannelMessagesRequest) XXX_Size() int
- func (m *ListChannelMessagesRequest) XXX_Unmarshal(b []byte) error
- type ListGroupUsersRequest
- func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupUsersRequest) GetGroupId() string
- func (*ListGroupUsersRequest) ProtoMessage()
- func (m *ListGroupUsersRequest) Reset()
- func (m *ListGroupUsersRequest) String() string
- func (m *ListGroupUsersRequest) XXX_DiscardUnknown()
- func (m *ListGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupUsersRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupUsersRequest) XXX_Size() int
- func (m *ListGroupUsersRequest) XXX_Unmarshal(b []byte) error
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupsRequest) GetCursor() string
- func (m *ListGroupsRequest) GetLimit() *wrappers.Int32Value
- func (m *ListGroupsRequest) GetName() string
- func (*ListGroupsRequest) ProtoMessage()
- func (m *ListGroupsRequest) Reset()
- func (m *ListGroupsRequest) String() string
- func (m *ListGroupsRequest) XXX_DiscardUnknown()
- func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupsRequest) XXX_Size() int
- func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
- type ListLeaderboardRecordsRequest
- func (*ListLeaderboardRecordsRequest) Descriptor() ([]byte, []int)
- func (m *ListLeaderboardRecordsRequest) GetCursor() string
- func (m *ListLeaderboardRecordsRequest) GetLeaderboardId() string
- func (m *ListLeaderboardRecordsRequest) GetLimit() *wrappers.Int32Value
- func (m *ListLeaderboardRecordsRequest) GetOwnerIds() []string
- func (*ListLeaderboardRecordsRequest) ProtoMessage()
- func (m *ListLeaderboardRecordsRequest) Reset()
- func (m *ListLeaderboardRecordsRequest) String() string
- func (m *ListLeaderboardRecordsRequest) XXX_DiscardUnknown()
- func (m *ListLeaderboardRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListLeaderboardRecordsRequest) XXX_Merge(src proto.Message)
- func (m *ListLeaderboardRecordsRequest) XXX_Size() int
- func (m *ListLeaderboardRecordsRequest) XXX_Unmarshal(b []byte) error
- type ListMatchesRequest
- func (*ListMatchesRequest) Descriptor() ([]byte, []int)
- func (m *ListMatchesRequest) GetAuthoritative() *wrappers.BoolValue
- func (m *ListMatchesRequest) GetLabel() *wrappers.StringValue
- func (m *ListMatchesRequest) GetLimit() *wrappers.Int32Value
- func (m *ListMatchesRequest) GetMaxSize() *wrappers.Int32Value
- func (m *ListMatchesRequest) GetMinSize() *wrappers.Int32Value
- func (*ListMatchesRequest) ProtoMessage()
- func (m *ListMatchesRequest) Reset()
- func (m *ListMatchesRequest) String() string
- func (m *ListMatchesRequest) XXX_DiscardUnknown()
- func (m *ListMatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListMatchesRequest) XXX_Merge(src proto.Message)
- func (m *ListMatchesRequest) XXX_Size() int
- func (m *ListMatchesRequest) XXX_Unmarshal(b []byte) error
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
- func (m *ListNotificationsRequest) GetCacheableCursor() string
- func (m *ListNotificationsRequest) GetLimit() *wrappers.Int32Value
- func (*ListNotificationsRequest) ProtoMessage()
- func (m *ListNotificationsRequest) Reset()
- func (m *ListNotificationsRequest) String() string
- func (m *ListNotificationsRequest) XXX_DiscardUnknown()
- func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListNotificationsRequest) XXX_Merge(src proto.Message)
- func (m *ListNotificationsRequest) XXX_Size() int
- func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error
- type ListStorageObjectsRequest
- func (*ListStorageObjectsRequest) Descriptor() ([]byte, []int)
- func (m *ListStorageObjectsRequest) GetCollection() string
- func (m *ListStorageObjectsRequest) GetCursor() string
- func (m *ListStorageObjectsRequest) GetLimit() *wrappers.Int32Value
- func (m *ListStorageObjectsRequest) GetUserId() string
- func (*ListStorageObjectsRequest) ProtoMessage()
- func (m *ListStorageObjectsRequest) Reset()
- func (m *ListStorageObjectsRequest) String() string
- func (m *ListStorageObjectsRequest) XXX_DiscardUnknown()
- func (m *ListStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListStorageObjectsRequest) XXX_Merge(src proto.Message)
- func (m *ListStorageObjectsRequest) XXX_Size() int
- func (m *ListStorageObjectsRequest) XXX_Unmarshal(b []byte) error
- type ListUserGroupsRequest
- func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)
- func (m *ListUserGroupsRequest) GetUserId() string
- func (*ListUserGroupsRequest) ProtoMessage()
- func (m *ListUserGroupsRequest) Reset()
- func (m *ListUserGroupsRequest) String() string
- func (m *ListUserGroupsRequest) XXX_DiscardUnknown()
- func (m *ListUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListUserGroupsRequest) XXX_Size() int
- func (m *ListUserGroupsRequest) XXX_Unmarshal(b []byte) error
- type Match
- func (*Match) Descriptor() ([]byte, []int)
- func (m *Match) GetAuthoritative() bool
- func (m *Match) GetLabel() *wrappers.StringValue
- func (m *Match) GetMatchId() string
- func (m *Match) GetSize() int32
- func (*Match) ProtoMessage()
- func (m *Match) Reset()
- func (m *Match) String() string
- func (m *Match) XXX_DiscardUnknown()
- func (m *Match) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Match) XXX_Merge(src proto.Message)
- func (m *Match) XXX_Size() int
- func (m *Match) XXX_Unmarshal(b []byte) error
- type MatchList
- func (*MatchList) Descriptor() ([]byte, []int)
- func (m *MatchList) GetMatches() []*Match
- func (*MatchList) ProtoMessage()
- func (m *MatchList) Reset()
- func (m *MatchList) String() string
- func (m *MatchList) XXX_DiscardUnknown()
- func (m *MatchList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MatchList) XXX_Merge(src proto.Message)
- func (m *MatchList) XXX_Size() int
- func (m *MatchList) XXX_Unmarshal(b []byte) error
- type NakamaClient
- type NakamaServer
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)
- func (m *Notification) GetCode() int32
- func (m *Notification) GetContent() string
- func (m *Notification) GetCreateTime() *timestamp.Timestamp
- func (m *Notification) GetId() string
- func (m *Notification) GetPersistent() bool
- func (m *Notification) GetSenderId() string
- func (m *Notification) GetSubject() string
- func (*Notification) ProtoMessage()
- func (m *Notification) Reset()
- func (m *Notification) String() string
- func (m *Notification) XXX_DiscardUnknown()
- func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Notification) XXX_Merge(src proto.Message)
- func (m *Notification) XXX_Size() int
- func (m *Notification) XXX_Unmarshal(b []byte) error
- type NotificationList
- func (*NotificationList) Descriptor() ([]byte, []int)
- func (m *NotificationList) GetCacheableCursor() string
- func (m *NotificationList) GetNotifications() []*Notification
- func (*NotificationList) ProtoMessage()
- func (m *NotificationList) Reset()
- func (m *NotificationList) String() string
- func (m *NotificationList) XXX_DiscardUnknown()
- func (m *NotificationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NotificationList) XXX_Merge(src proto.Message)
- func (m *NotificationList) XXX_Size() int
- func (m *NotificationList) XXX_Unmarshal(b []byte) error
- type PromoteGroupUsersRequest
- func (*PromoteGroupUsersRequest) Descriptor() ([]byte, []int)
- func (m *PromoteGroupUsersRequest) GetGroupId() string
- func (m *PromoteGroupUsersRequest) GetUserIds() []string
- func (*PromoteGroupUsersRequest) ProtoMessage()
- func (m *PromoteGroupUsersRequest) Reset()
- func (m *PromoteGroupUsersRequest) String() string
- func (m *PromoteGroupUsersRequest) XXX_DiscardUnknown()
- func (m *PromoteGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PromoteGroupUsersRequest) XXX_Merge(src proto.Message)
- func (m *PromoteGroupUsersRequest) XXX_Size() int
- func (m *PromoteGroupUsersRequest) XXX_Unmarshal(b []byte) error
- type ReadStorageObjectId
- func (*ReadStorageObjectId) Descriptor() ([]byte, []int)
- func (m *ReadStorageObjectId) GetCollection() string
- func (m *ReadStorageObjectId) GetKey() string
- func (m *ReadStorageObjectId) GetUserId() string
- func (*ReadStorageObjectId) ProtoMessage()
- func (m *ReadStorageObjectId) Reset()
- func (m *ReadStorageObjectId) String() string
- func (m *ReadStorageObjectId) XXX_DiscardUnknown()
- func (m *ReadStorageObjectId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReadStorageObjectId) XXX_Merge(src proto.Message)
- func (m *ReadStorageObjectId) XXX_Size() int
- func (m *ReadStorageObjectId) XXX_Unmarshal(b []byte) error
- type ReadStorageObjectsRequest
- func (*ReadStorageObjectsRequest) Descriptor() ([]byte, []int)
- func (m *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId
- func (*ReadStorageObjectsRequest) ProtoMessage()
- func (m *ReadStorageObjectsRequest) Reset()
- func (m *ReadStorageObjectsRequest) String() string
- func (m *ReadStorageObjectsRequest) XXX_DiscardUnknown()
- func (m *ReadStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReadStorageObjectsRequest) XXX_Merge(src proto.Message)
- func (m *ReadStorageObjectsRequest) XXX_Size() int
- func (m *ReadStorageObjectsRequest) XXX_Unmarshal(b []byte) error
- type Rpc
- func (*Rpc) Descriptor() ([]byte, []int)
- func (m *Rpc) GetHttpKey() string
- func (m *Rpc) GetId() string
- func (m *Rpc) GetPayload() string
- func (*Rpc) ProtoMessage()
- func (m *Rpc) Reset()
- func (m *Rpc) String() string
- func (m *Rpc) XXX_DiscardUnknown()
- func (m *Rpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Rpc) XXX_Merge(src proto.Message)
- func (m *Rpc) XXX_Size() int
- func (m *Rpc) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetCreated() bool
- func (m *Session) GetToken() string
- func (m *Session) GetUdpToken() string
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) String() string
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type StorageObject
- func (*StorageObject) Descriptor() ([]byte, []int)
- func (m *StorageObject) GetCollection() string
- func (m *StorageObject) GetCreateTime() *timestamp.Timestamp
- func (m *StorageObject) GetKey() string
- func (m *StorageObject) GetPermissionRead() int32
- func (m *StorageObject) GetPermissionWrite() int32
- func (m *StorageObject) GetUpdateTime() *timestamp.Timestamp
- func (m *StorageObject) GetUserId() string
- func (m *StorageObject) GetValue() string
- func (m *StorageObject) GetVersion() string
- func (*StorageObject) ProtoMessage()
- func (m *StorageObject) Reset()
- func (m *StorageObject) String() string
- func (m *StorageObject) XXX_DiscardUnknown()
- func (m *StorageObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageObject) XXX_Merge(src proto.Message)
- func (m *StorageObject) XXX_Size() int
- func (m *StorageObject) XXX_Unmarshal(b []byte) error
- type StorageObjectAck
- func (*StorageObjectAck) Descriptor() ([]byte, []int)
- func (m *StorageObjectAck) GetCollection() string
- func (m *StorageObjectAck) GetKey() string
- func (m *StorageObjectAck) GetUserId() string
- func (m *StorageObjectAck) GetVersion() string
- func (*StorageObjectAck) ProtoMessage()
- func (m *StorageObjectAck) Reset()
- func (m *StorageObjectAck) String() string
- func (m *StorageObjectAck) XXX_DiscardUnknown()
- func (m *StorageObjectAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageObjectAck) XXX_Merge(src proto.Message)
- func (m *StorageObjectAck) XXX_Size() int
- func (m *StorageObjectAck) XXX_Unmarshal(b []byte) error
- type StorageObjectAcks
- func (*StorageObjectAcks) Descriptor() ([]byte, []int)
- func (m *StorageObjectAcks) GetAcks() []*StorageObjectAck
- func (*StorageObjectAcks) ProtoMessage()
- func (m *StorageObjectAcks) Reset()
- func (m *StorageObjectAcks) String() string
- func (m *StorageObjectAcks) XXX_DiscardUnknown()
- func (m *StorageObjectAcks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageObjectAcks) XXX_Merge(src proto.Message)
- func (m *StorageObjectAcks) XXX_Size() int
- func (m *StorageObjectAcks) XXX_Unmarshal(b []byte) error
- type StorageObjectList
- func (*StorageObjectList) Descriptor() ([]byte, []int)
- func (m *StorageObjectList) GetCursor() string
- func (m *StorageObjectList) GetObjects() []*StorageObject
- func (*StorageObjectList) ProtoMessage()
- func (m *StorageObjectList) Reset()
- func (m *StorageObjectList) String() string
- func (m *StorageObjectList) XXX_DiscardUnknown()
- func (m *StorageObjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageObjectList) XXX_Merge(src proto.Message)
- func (m *StorageObjectList) XXX_Size() int
- func (m *StorageObjectList) XXX_Unmarshal(b []byte) error
- type StorageObjects
- func (*StorageObjects) Descriptor() ([]byte, []int)
- func (m *StorageObjects) GetObjects() []*StorageObject
- func (*StorageObjects) ProtoMessage()
- func (m *StorageObjects) Reset()
- func (m *StorageObjects) String() string
- func (m *StorageObjects) XXX_DiscardUnknown()
- func (m *StorageObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StorageObjects) XXX_Merge(src proto.Message)
- func (m *StorageObjects) XXX_Size() int
- func (m *StorageObjects) XXX_Unmarshal(b []byte) error
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAccountRequest) GetAvatarUrl() *wrappers.StringValue
- func (m *UpdateAccountRequest) GetDisplayName() *wrappers.StringValue
- func (m *UpdateAccountRequest) GetLangTag() *wrappers.StringValue
- func (m *UpdateAccountRequest) GetLocation() *wrappers.StringValue
- func (m *UpdateAccountRequest) GetTimezone() *wrappers.StringValue
- func (m *UpdateAccountRequest) GetUsername() *wrappers.StringValue
- func (*UpdateAccountRequest) ProtoMessage()
- func (m *UpdateAccountRequest) Reset()
- func (m *UpdateAccountRequest) String() string
- func (m *UpdateAccountRequest) XXX_DiscardUnknown()
- func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateAccountRequest) XXX_Merge(src proto.Message)
- func (m *UpdateAccountRequest) XXX_Size() int
- func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
- func (m *UpdateGroupRequest) GetAvatarUrl() *wrappers.StringValue
- func (m *UpdateGroupRequest) GetDescription() *wrappers.StringValue
- func (m *UpdateGroupRequest) GetGroupId() string
- func (m *UpdateGroupRequest) GetLangTag() *wrappers.StringValue
- func (m *UpdateGroupRequest) GetName() *wrappers.StringValue
- func (m *UpdateGroupRequest) GetOpen() *wrappers.BoolValue
- func (*UpdateGroupRequest) ProtoMessage()
- func (m *UpdateGroupRequest) Reset()
- func (m *UpdateGroupRequest) String() string
- func (m *UpdateGroupRequest) XXX_DiscardUnknown()
- func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateGroupRequest) XXX_Merge(src proto.Message)
- func (m *UpdateGroupRequest) XXX_Size() int
- func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAvatarUrl() string
- func (m *User) GetCreateTime() *timestamp.Timestamp
- func (m *User) GetDisplayName() string
- func (m *User) GetEdgeCount() int32
- func (m *User) GetFacebookId() string
- func (m *User) GetGamecenterId() string
- func (m *User) GetGoogleId() string
- func (m *User) GetId() string
- func (m *User) GetLangTag() string
- func (m *User) GetLocation() string
- func (m *User) GetMetadata() string
- func (m *User) GetOnline() bool
- func (m *User) GetSteamId() string
- func (m *User) GetTimezone() string
- func (m *User) GetUpdateTime() *timestamp.Timestamp
- func (m *User) GetUsername() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserGroupList
- func (*UserGroupList) Descriptor() ([]byte, []int)
- func (m *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup
- func (*UserGroupList) ProtoMessage()
- func (m *UserGroupList) Reset()
- func (m *UserGroupList) String() string
- func (m *UserGroupList) XXX_DiscardUnknown()
- func (m *UserGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserGroupList) XXX_Merge(src proto.Message)
- func (m *UserGroupList) XXX_Size() int
- func (m *UserGroupList) XXX_Unmarshal(b []byte) error
- type UserGroupList_UserGroup
- func (*UserGroupList_UserGroup) Descriptor() ([]byte, []int)
- func (m *UserGroupList_UserGroup) GetGroup() *Group
- func (m *UserGroupList_UserGroup) GetState() int32
- func (*UserGroupList_UserGroup) ProtoMessage()
- func (m *UserGroupList_UserGroup) Reset()
- func (m *UserGroupList_UserGroup) String() string
- func (m *UserGroupList_UserGroup) XXX_DiscardUnknown()
- func (m *UserGroupList_UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserGroupList_UserGroup) XXX_Merge(src proto.Message)
- func (m *UserGroupList_UserGroup) XXX_Size() int
- func (m *UserGroupList_UserGroup) XXX_Unmarshal(b []byte) error
- type UserGroupList_UserGroup_State
- type Users
- func (*Users) Descriptor() ([]byte, []int)
- func (m *Users) GetUsers() []*User
- func (*Users) ProtoMessage()
- func (m *Users) Reset()
- func (m *Users) String() string
- func (m *Users) XXX_DiscardUnknown()
- func (m *Users) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Users) XXX_Merge(src proto.Message)
- func (m *Users) XXX_Size() int
- func (m *Users) XXX_Unmarshal(b []byte) error
- type WriteLeaderboardRecordRequest
- func (*WriteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
- func (m *WriteLeaderboardRecordRequest) GetLeaderboardId() string
- func (m *WriteLeaderboardRecordRequest) GetRecord() *WriteLeaderboardRecordRequest_LeaderboardRecordWrite
- func (*WriteLeaderboardRecordRequest) ProtoMessage()
- func (m *WriteLeaderboardRecordRequest) Reset()
- func (m *WriteLeaderboardRecordRequest) String() string
- func (m *WriteLeaderboardRecordRequest) XXX_DiscardUnknown()
- func (m *WriteLeaderboardRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteLeaderboardRecordRequest) XXX_Merge(src proto.Message)
- func (m *WriteLeaderboardRecordRequest) XXX_Size() int
- func (m *WriteLeaderboardRecordRequest) XXX_Unmarshal(b []byte) error
- type WriteLeaderboardRecordRequest_LeaderboardRecordWrite
- func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor() ([]byte, []int)
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata() string
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore() int64
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore() int64
- func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage()
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset()
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String() string
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_DiscardUnknown()
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Merge(src proto.Message)
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Size() int
- func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Unmarshal(b []byte) error
- type WriteStorageObject
- func (*WriteStorageObject) Descriptor() ([]byte, []int)
- func (m *WriteStorageObject) GetCollection() string
- func (m *WriteStorageObject) GetKey() string
- func (m *WriteStorageObject) GetPermissionRead() *wrappers.Int32Value
- func (m *WriteStorageObject) GetPermissionWrite() *wrappers.Int32Value
- func (m *WriteStorageObject) GetValue() string
- func (m *WriteStorageObject) GetVersion() string
- func (*WriteStorageObject) ProtoMessage()
- func (m *WriteStorageObject) Reset()
- func (m *WriteStorageObject) String() string
- func (m *WriteStorageObject) XXX_DiscardUnknown()
- func (m *WriteStorageObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteStorageObject) XXX_Merge(src proto.Message)
- func (m *WriteStorageObject) XXX_Size() int
- func (m *WriteStorageObject) XXX_Unmarshal(b []byte) error
- type WriteStorageObjectsRequest
- func (*WriteStorageObjectsRequest) Descriptor() ([]byte, []int)
- func (m *WriteStorageObjectsRequest) GetObjects() []*WriteStorageObject
- func (*WriteStorageObjectsRequest) ProtoMessage()
- func (m *WriteStorageObjectsRequest) Reset()
- func (m *WriteStorageObjectsRequest) String() string
- func (m *WriteStorageObjectsRequest) XXX_DiscardUnknown()
- func (m *WriteStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteStorageObjectsRequest) XXX_Merge(src proto.Message)
- func (m *WriteStorageObjectsRequest) XXX_Size() int
- func (m *WriteStorageObjectsRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Friend_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "FRIEND",
2: "INVITE_SENT",
3: "INVITE_RECEIVED",
4: "BLOCKED",
}
var Friend_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"FRIEND": 1,
"INVITE_SENT": 2,
"INVITE_RECEIVED": 3,
"BLOCKED": 4,
}
var GroupUserList_GroupUser_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SUPERADMIN",
2: "ADMIN",
3: "MEMBER",
4: "JOIN_REQUEST",
}
var GroupUserList_GroupUser_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SUPERADMIN": 1,
"ADMIN": 2,
"MEMBER": 3,
"JOIN_REQUEST": 4,
}
var UserGroupList_UserGroup_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SUPERADMIN",
2: "ADMIN",
3: "MEMBER",
4: "JOIN_REQUEST",
}
var UserGroupList_UserGroup_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SUPERADMIN": 1,
"ADMIN": 2,
"MEMBER": 3,
"JOIN_REQUEST": 4,
}
Functions ¶
func RegisterNakamaHandler ¶
RegisterNakamaHandler registers the http handlers for service Nakama to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNakamaHandlerClient ¶
func RegisterNakamaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NakamaClient) error
RegisterNakamaHandlerClient registers the http handlers for service Nakama to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NakamaClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NakamaClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NakamaClient" to call the correct interceptors.
func RegisterNakamaHandlerFromEndpoint ¶
func RegisterNakamaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNakamaHandlerFromEndpoint is same as RegisterNakamaHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNakamaServer ¶
func RegisterNakamaServer(s *grpc.Server, srv NakamaServer)
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 when the user's email was verified. VerifyTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A user with additional account details. Always the current user.
func (*Account) Descriptor ¶
func (*Account) GetCustomId ¶
func (*Account) GetDevices ¶
func (m *Account) GetDevices() []*AccountDevice
func (*Account) GetVerifyTime ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountCustom ¶
type AccountCustom struct { // A custom identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a custom ID to the server. Used with authenticate/link/unlink.
func (*AccountCustom) Descriptor ¶
func (*AccountCustom) Descriptor() ([]byte, []int)
func (*AccountCustom) GetId ¶
func (m *AccountCustom) GetId() string
func (*AccountCustom) ProtoMessage ¶
func (*AccountCustom) ProtoMessage()
func (*AccountCustom) Reset ¶
func (m *AccountCustom) Reset()
func (*AccountCustom) String ¶
func (m *AccountCustom) String() string
func (*AccountCustom) XXX_DiscardUnknown ¶
func (m *AccountCustom) XXX_DiscardUnknown()
func (*AccountCustom) XXX_Marshal ¶
func (m *AccountCustom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCustom) XXX_Merge ¶
func (dst *AccountCustom) XXX_Merge(src proto.Message)
func (*AccountCustom) XXX_Size ¶
func (m *AccountCustom) XXX_Size() int
func (*AccountCustom) XXX_Unmarshal ¶
func (m *AccountCustom) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a device to the server. Used with authenticate/link/unlink and user.
func (*AccountDevice) Descriptor ¶
func (*AccountDevice) Descriptor() ([]byte, []int)
func (*AccountDevice) GetId ¶
func (m *AccountDevice) GetId() string
func (*AccountDevice) ProtoMessage ¶
func (*AccountDevice) ProtoMessage()
func (*AccountDevice) Reset ¶
func (m *AccountDevice) Reset()
func (*AccountDevice) String ¶
func (m *AccountDevice) String() string
func (*AccountDevice) XXX_DiscardUnknown ¶
func (m *AccountDevice) XXX_DiscardUnknown()
func (*AccountDevice) XXX_Marshal ¶
func (m *AccountDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountDevice) XXX_Merge ¶
func (dst *AccountDevice) XXX_Merge(src proto.Message)
func (*AccountDevice) XXX_Size ¶
func (m *AccountDevice) XXX_Size() int
func (*AccountDevice) XXX_Unmarshal ¶
func (m *AccountDevice) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send an email with password to the server. Used with authenticate/link/unlink.
func (*AccountEmail) Descriptor ¶
func (*AccountEmail) Descriptor() ([]byte, []int)
func (*AccountEmail) GetEmail ¶
func (m *AccountEmail) GetEmail() string
func (*AccountEmail) GetPassword ¶
func (m *AccountEmail) GetPassword() string
func (*AccountEmail) ProtoMessage ¶
func (*AccountEmail) ProtoMessage()
func (*AccountEmail) Reset ¶
func (m *AccountEmail) Reset()
func (*AccountEmail) String ¶
func (m *AccountEmail) String() string
func (*AccountEmail) XXX_DiscardUnknown ¶
func (m *AccountEmail) XXX_DiscardUnknown()
func (*AccountEmail) XXX_Marshal ¶
func (m *AccountEmail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountEmail) XXX_Merge ¶
func (dst *AccountEmail) XXX_Merge(src proto.Message)
func (*AccountEmail) XXX_Size ¶
func (m *AccountEmail) XXX_Size() int
func (*AccountEmail) XXX_Unmarshal ¶
func (m *AccountEmail) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a Facebook token to the server. Used with authenticate/link/unlink.
func (*AccountFacebook) Descriptor ¶
func (*AccountFacebook) Descriptor() ([]byte, []int)
func (*AccountFacebook) GetToken ¶
func (m *AccountFacebook) GetToken() string
func (*AccountFacebook) ProtoMessage ¶
func (*AccountFacebook) ProtoMessage()
func (*AccountFacebook) Reset ¶
func (m *AccountFacebook) Reset()
func (*AccountFacebook) String ¶
func (m *AccountFacebook) String() string
func (*AccountFacebook) XXX_DiscardUnknown ¶
func (m *AccountFacebook) XXX_DiscardUnknown()
func (*AccountFacebook) XXX_Marshal ¶
func (m *AccountFacebook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountFacebook) XXX_Merge ¶
func (dst *AccountFacebook) XXX_Merge(src proto.Message)
func (*AccountFacebook) XXX_Size ¶
func (m *AccountFacebook) XXX_Size() int
func (*AccountFacebook) XXX_Unmarshal ¶
func (m *AccountFacebook) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.
func (*AccountGameCenter) Descriptor ¶
func (*AccountGameCenter) Descriptor() ([]byte, []int)
func (*AccountGameCenter) GetBundleId ¶
func (m *AccountGameCenter) GetBundleId() string
func (*AccountGameCenter) GetPlayerId ¶
func (m *AccountGameCenter) GetPlayerId() string
func (*AccountGameCenter) GetPublicKeyUrl ¶
func (m *AccountGameCenter) GetPublicKeyUrl() string
func (*AccountGameCenter) GetSalt ¶
func (m *AccountGameCenter) GetSalt() string
func (*AccountGameCenter) GetSignature ¶
func (m *AccountGameCenter) GetSignature() string
func (*AccountGameCenter) GetTimestampSeconds ¶
func (m *AccountGameCenter) GetTimestampSeconds() int64
func (*AccountGameCenter) ProtoMessage ¶
func (*AccountGameCenter) ProtoMessage()
func (*AccountGameCenter) Reset ¶
func (m *AccountGameCenter) Reset()
func (*AccountGameCenter) String ¶
func (m *AccountGameCenter) String() string
func (*AccountGameCenter) XXX_DiscardUnknown ¶
func (m *AccountGameCenter) XXX_DiscardUnknown()
func (*AccountGameCenter) XXX_Marshal ¶
func (m *AccountGameCenter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountGameCenter) XXX_Merge ¶
func (dst *AccountGameCenter) XXX_Merge(src proto.Message)
func (*AccountGameCenter) XXX_Size ¶
func (m *AccountGameCenter) XXX_Size() int
func (*AccountGameCenter) XXX_Unmarshal ¶
func (m *AccountGameCenter) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a Google token to the server. Used with authenticate/link/unlink.
func (*AccountGoogle) Descriptor ¶
func (*AccountGoogle) Descriptor() ([]byte, []int)
func (*AccountGoogle) GetToken ¶
func (m *AccountGoogle) GetToken() string
func (*AccountGoogle) ProtoMessage ¶
func (*AccountGoogle) ProtoMessage()
func (*AccountGoogle) Reset ¶
func (m *AccountGoogle) Reset()
func (*AccountGoogle) String ¶
func (m *AccountGoogle) String() string
func (*AccountGoogle) XXX_DiscardUnknown ¶
func (m *AccountGoogle) XXX_DiscardUnknown()
func (*AccountGoogle) XXX_Marshal ¶
func (m *AccountGoogle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountGoogle) XXX_Merge ¶
func (dst *AccountGoogle) XXX_Merge(src proto.Message)
func (*AccountGoogle) XXX_Size ¶
func (m *AccountGoogle) XXX_Size() int
func (*AccountGoogle) XXX_Unmarshal ¶
func (m *AccountGoogle) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a Steam token to the server. Used with authenticate/link/unlink.
func (*AccountSteam) Descriptor ¶
func (*AccountSteam) Descriptor() ([]byte, []int)
func (*AccountSteam) GetToken ¶
func (m *AccountSteam) GetToken() string
func (*AccountSteam) ProtoMessage ¶
func (*AccountSteam) ProtoMessage()
func (*AccountSteam) Reset ¶
func (m *AccountSteam) Reset()
func (*AccountSteam) String ¶
func (m *AccountSteam) String() string
func (*AccountSteam) XXX_DiscardUnknown ¶
func (m *AccountSteam) XXX_DiscardUnknown()
func (*AccountSteam) XXX_Marshal ¶
func (m *AccountSteam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountSteam) XXX_Merge ¶
func (dst *AccountSteam) XXX_Merge(src proto.Message)
func (*AccountSteam) XXX_Size ¶
func (m *AccountSteam) XXX_Size() int
func (*AccountSteam) XXX_Unmarshal ¶
func (m *AccountSteam) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Add one or more friends to the current user.
func (*AddFriendsRequest) Descriptor ¶
func (*AddFriendsRequest) Descriptor() ([]byte, []int)
func (*AddFriendsRequest) GetIds ¶
func (m *AddFriendsRequest) GetIds() []string
func (*AddFriendsRequest) GetUsernames ¶
func (m *AddFriendsRequest) GetUsernames() []string
func (*AddFriendsRequest) ProtoMessage ¶
func (*AddFriendsRequest) ProtoMessage()
func (*AddFriendsRequest) Reset ¶
func (m *AddFriendsRequest) Reset()
func (*AddFriendsRequest) String ¶
func (m *AddFriendsRequest) String() string
func (*AddFriendsRequest) XXX_DiscardUnknown ¶
func (m *AddFriendsRequest) XXX_DiscardUnknown()
func (*AddFriendsRequest) XXX_Marshal ¶
func (m *AddFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddFriendsRequest) XXX_Merge ¶
func (dst *AddFriendsRequest) XXX_Merge(src proto.Message)
func (*AddFriendsRequest) XXX_Size ¶
func (m *AddFriendsRequest) XXX_Size() int
func (*AddFriendsRequest) XXX_Unmarshal ¶
func (m *AddFriendsRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Add users to a group.
func (*AddGroupUsersRequest) Descriptor ¶
func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)
func (*AddGroupUsersRequest) GetGroupId ¶
func (m *AddGroupUsersRequest) GetGroupId() string
func (*AddGroupUsersRequest) GetUserIds ¶
func (m *AddGroupUsersRequest) GetUserIds() []string
func (*AddGroupUsersRequest) ProtoMessage ¶
func (*AddGroupUsersRequest) ProtoMessage()
func (*AddGroupUsersRequest) Reset ¶
func (m *AddGroupUsersRequest) Reset()
func (*AddGroupUsersRequest) String ¶
func (m *AddGroupUsersRequest) String() string
func (*AddGroupUsersRequest) XXX_DiscardUnknown ¶
func (m *AddGroupUsersRequest) XXX_DiscardUnknown()
func (*AddGroupUsersRequest) XXX_Marshal ¶
func (m *AddGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddGroupUsersRequest) XXX_Merge ¶
func (dst *AddGroupUsersRequest) XXX_Merge(src proto.Message)
func (*AddGroupUsersRequest) XXX_Size ¶
func (m *AddGroupUsersRequest) XXX_Size() int
func (*AddGroupUsersRequest) XXX_Unmarshal ¶
func (m *AddGroupUsersRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with a custom ID.
func (*AuthenticateCustomRequest) Descriptor ¶
func (*AuthenticateCustomRequest) Descriptor() ([]byte, []int)
func (*AuthenticateCustomRequest) GetAccount ¶
func (m *AuthenticateCustomRequest) GetAccount() *AccountCustom
func (*AuthenticateCustomRequest) GetCreate ¶
func (m *AuthenticateCustomRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateCustomRequest) GetUsername ¶
func (m *AuthenticateCustomRequest) GetUsername() string
func (*AuthenticateCustomRequest) ProtoMessage ¶
func (*AuthenticateCustomRequest) ProtoMessage()
func (*AuthenticateCustomRequest) Reset ¶
func (m *AuthenticateCustomRequest) Reset()
func (*AuthenticateCustomRequest) String ¶
func (m *AuthenticateCustomRequest) String() string
func (*AuthenticateCustomRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateCustomRequest) XXX_DiscardUnknown()
func (*AuthenticateCustomRequest) XXX_Marshal ¶
func (m *AuthenticateCustomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateCustomRequest) XXX_Merge ¶
func (dst *AuthenticateCustomRequest) XXX_Merge(src proto.Message)
func (*AuthenticateCustomRequest) XXX_Size ¶
func (m *AuthenticateCustomRequest) XXX_Size() int
func (*AuthenticateCustomRequest) XXX_Unmarshal ¶
func (m *AuthenticateCustomRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with a device ID.
func (*AuthenticateDeviceRequest) Descriptor ¶
func (*AuthenticateDeviceRequest) Descriptor() ([]byte, []int)
func (*AuthenticateDeviceRequest) GetAccount ¶
func (m *AuthenticateDeviceRequest) GetAccount() *AccountDevice
func (*AuthenticateDeviceRequest) GetCreate ¶
func (m *AuthenticateDeviceRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateDeviceRequest) GetUsername ¶
func (m *AuthenticateDeviceRequest) GetUsername() string
func (*AuthenticateDeviceRequest) ProtoMessage ¶
func (*AuthenticateDeviceRequest) ProtoMessage()
func (*AuthenticateDeviceRequest) Reset ¶
func (m *AuthenticateDeviceRequest) Reset()
func (*AuthenticateDeviceRequest) String ¶
func (m *AuthenticateDeviceRequest) String() string
func (*AuthenticateDeviceRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateDeviceRequest) XXX_DiscardUnknown()
func (*AuthenticateDeviceRequest) XXX_Marshal ¶
func (m *AuthenticateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateDeviceRequest) XXX_Merge ¶
func (dst *AuthenticateDeviceRequest) XXX_Merge(src proto.Message)
func (*AuthenticateDeviceRequest) XXX_Size ¶
func (m *AuthenticateDeviceRequest) XXX_Size() int
func (*AuthenticateDeviceRequest) XXX_Unmarshal ¶
func (m *AuthenticateDeviceRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with email+password.
func (*AuthenticateEmailRequest) Descriptor ¶
func (*AuthenticateEmailRequest) Descriptor() ([]byte, []int)
func (*AuthenticateEmailRequest) GetAccount ¶
func (m *AuthenticateEmailRequest) GetAccount() *AccountEmail
func (*AuthenticateEmailRequest) GetCreate ¶
func (m *AuthenticateEmailRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateEmailRequest) GetUsername ¶
func (m *AuthenticateEmailRequest) GetUsername() string
func (*AuthenticateEmailRequest) ProtoMessage ¶
func (*AuthenticateEmailRequest) ProtoMessage()
func (*AuthenticateEmailRequest) Reset ¶
func (m *AuthenticateEmailRequest) Reset()
func (*AuthenticateEmailRequest) String ¶
func (m *AuthenticateEmailRequest) String() string
func (*AuthenticateEmailRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateEmailRequest) XXX_DiscardUnknown()
func (*AuthenticateEmailRequest) XXX_Marshal ¶
func (m *AuthenticateEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateEmailRequest) XXX_Merge ¶
func (dst *AuthenticateEmailRequest) XXX_Merge(src proto.Message)
func (*AuthenticateEmailRequest) XXX_Size ¶
func (m *AuthenticateEmailRequest) XXX_Size() int
func (*AuthenticateEmailRequest) XXX_Unmarshal ¶
func (m *AuthenticateEmailRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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. Import *wrappers.BoolValue `protobuf:"bytes,4,opt,name=import,proto3" json:"import,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with Facebook.
func (*AuthenticateFacebookRequest) Descriptor ¶
func (*AuthenticateFacebookRequest) Descriptor() ([]byte, []int)
func (*AuthenticateFacebookRequest) GetAccount ¶
func (m *AuthenticateFacebookRequest) GetAccount() *AccountFacebook
func (*AuthenticateFacebookRequest) GetCreate ¶
func (m *AuthenticateFacebookRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateFacebookRequest) GetImport ¶
func (m *AuthenticateFacebookRequest) GetImport() *wrappers.BoolValue
func (*AuthenticateFacebookRequest) GetUsername ¶
func (m *AuthenticateFacebookRequest) GetUsername() string
func (*AuthenticateFacebookRequest) ProtoMessage ¶
func (*AuthenticateFacebookRequest) ProtoMessage()
func (*AuthenticateFacebookRequest) Reset ¶
func (m *AuthenticateFacebookRequest) Reset()
func (*AuthenticateFacebookRequest) String ¶
func (m *AuthenticateFacebookRequest) String() string
func (*AuthenticateFacebookRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateFacebookRequest) XXX_DiscardUnknown()
func (*AuthenticateFacebookRequest) XXX_Marshal ¶
func (m *AuthenticateFacebookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateFacebookRequest) XXX_Merge ¶
func (dst *AuthenticateFacebookRequest) XXX_Merge(src proto.Message)
func (*AuthenticateFacebookRequest) XXX_Size ¶
func (m *AuthenticateFacebookRequest) XXX_Size() int
func (*AuthenticateFacebookRequest) XXX_Unmarshal ¶
func (m *AuthenticateFacebookRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with Apple's Game Center.
func (*AuthenticateGameCenterRequest) Descriptor ¶
func (*AuthenticateGameCenterRequest) Descriptor() ([]byte, []int)
func (*AuthenticateGameCenterRequest) GetAccount ¶
func (m *AuthenticateGameCenterRequest) GetAccount() *AccountGameCenter
func (*AuthenticateGameCenterRequest) GetCreate ¶
func (m *AuthenticateGameCenterRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateGameCenterRequest) GetUsername ¶
func (m *AuthenticateGameCenterRequest) GetUsername() string
func (*AuthenticateGameCenterRequest) ProtoMessage ¶
func (*AuthenticateGameCenterRequest) ProtoMessage()
func (*AuthenticateGameCenterRequest) Reset ¶
func (m *AuthenticateGameCenterRequest) Reset()
func (*AuthenticateGameCenterRequest) String ¶
func (m *AuthenticateGameCenterRequest) String() string
func (*AuthenticateGameCenterRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateGameCenterRequest) XXX_DiscardUnknown()
func (*AuthenticateGameCenterRequest) XXX_Marshal ¶
func (m *AuthenticateGameCenterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateGameCenterRequest) XXX_Merge ¶
func (dst *AuthenticateGameCenterRequest) XXX_Merge(src proto.Message)
func (*AuthenticateGameCenterRequest) XXX_Size ¶
func (m *AuthenticateGameCenterRequest) XXX_Size() int
func (*AuthenticateGameCenterRequest) XXX_Unmarshal ¶
func (m *AuthenticateGameCenterRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with Google.
func (*AuthenticateGoogleRequest) Descriptor ¶
func (*AuthenticateGoogleRequest) Descriptor() ([]byte, []int)
func (*AuthenticateGoogleRequest) GetAccount ¶
func (m *AuthenticateGoogleRequest) GetAccount() *AccountGoogle
func (*AuthenticateGoogleRequest) GetCreate ¶
func (m *AuthenticateGoogleRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateGoogleRequest) GetUsername ¶
func (m *AuthenticateGoogleRequest) GetUsername() string
func (*AuthenticateGoogleRequest) ProtoMessage ¶
func (*AuthenticateGoogleRequest) ProtoMessage()
func (*AuthenticateGoogleRequest) Reset ¶
func (m *AuthenticateGoogleRequest) Reset()
func (*AuthenticateGoogleRequest) String ¶
func (m *AuthenticateGoogleRequest) String() string
func (*AuthenticateGoogleRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateGoogleRequest) XXX_DiscardUnknown()
func (*AuthenticateGoogleRequest) XXX_Marshal ¶
func (m *AuthenticateGoogleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateGoogleRequest) XXX_Merge ¶
func (dst *AuthenticateGoogleRequest) XXX_Merge(src proto.Message)
func (*AuthenticateGoogleRequest) XXX_Size ¶
func (m *AuthenticateGoogleRequest) XXX_Size() int
func (*AuthenticateGoogleRequest) XXX_Unmarshal ¶
func (m *AuthenticateGoogleRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Authenticate against the server with Steam.
func (*AuthenticateSteamRequest) Descriptor ¶
func (*AuthenticateSteamRequest) Descriptor() ([]byte, []int)
func (*AuthenticateSteamRequest) GetAccount ¶
func (m *AuthenticateSteamRequest) GetAccount() *AccountSteam
func (*AuthenticateSteamRequest) GetCreate ¶
func (m *AuthenticateSteamRequest) GetCreate() *wrappers.BoolValue
func (*AuthenticateSteamRequest) GetUsername ¶
func (m *AuthenticateSteamRequest) GetUsername() string
func (*AuthenticateSteamRequest) ProtoMessage ¶
func (*AuthenticateSteamRequest) ProtoMessage()
func (*AuthenticateSteamRequest) Reset ¶
func (m *AuthenticateSteamRequest) Reset()
func (*AuthenticateSteamRequest) String ¶
func (m *AuthenticateSteamRequest) String() string
func (*AuthenticateSteamRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateSteamRequest) XXX_DiscardUnknown()
func (*AuthenticateSteamRequest) XXX_Marshal ¶
func (m *AuthenticateSteamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateSteamRequest) XXX_Merge ¶
func (dst *AuthenticateSteamRequest) XXX_Merge(src proto.Message)
func (*AuthenticateSteamRequest) XXX_Size ¶
func (m *AuthenticateSteamRequest) XXX_Size() int
func (*AuthenticateSteamRequest) XXX_Unmarshal ¶
func (m *AuthenticateSteamRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Block one or more friends for the current user.
func (*BlockFriendsRequest) Descriptor ¶
func (*BlockFriendsRequest) Descriptor() ([]byte, []int)
func (*BlockFriendsRequest) GetIds ¶
func (m *BlockFriendsRequest) GetIds() []string
func (*BlockFriendsRequest) GetUsernames ¶
func (m *BlockFriendsRequest) GetUsernames() []string
func (*BlockFriendsRequest) ProtoMessage ¶
func (*BlockFriendsRequest) ProtoMessage()
func (*BlockFriendsRequest) Reset ¶
func (m *BlockFriendsRequest) Reset()
func (*BlockFriendsRequest) String ¶
func (m *BlockFriendsRequest) String() string
func (*BlockFriendsRequest) XXX_DiscardUnknown ¶
func (m *BlockFriendsRequest) XXX_DiscardUnknown()
func (*BlockFriendsRequest) XXX_Marshal ¶
func (m *BlockFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockFriendsRequest) XXX_Merge ¶
func (dst *BlockFriendsRequest) XXX_Merge(src proto.Message)
func (*BlockFriendsRequest) XXX_Size ¶
func (m *BlockFriendsRequest) XXX_Size() int
func (*BlockFriendsRequest) XXX_Unmarshal ¶
func (m *BlockFriendsRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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 when the message was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the message was last updated. UpdateTime *timestamp.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 *wrappers.BoolValue `protobuf:"bytes,9,opt,name=persistent,proto3" json:"persistent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A message sent on a channel.
func (*ChannelMessage) Descriptor ¶
func (*ChannelMessage) Descriptor() ([]byte, []int)
func (*ChannelMessage) GetChannelId ¶
func (m *ChannelMessage) GetChannelId() string
func (*ChannelMessage) GetCode ¶
func (m *ChannelMessage) GetCode() *wrappers.Int32Value
func (*ChannelMessage) GetContent ¶
func (m *ChannelMessage) GetContent() string
func (*ChannelMessage) GetCreateTime ¶
func (m *ChannelMessage) GetCreateTime() *timestamp.Timestamp
func (*ChannelMessage) GetMessageId ¶
func (m *ChannelMessage) GetMessageId() string
func (*ChannelMessage) GetPersistent ¶
func (m *ChannelMessage) GetPersistent() *wrappers.BoolValue
func (*ChannelMessage) GetSenderId ¶
func (m *ChannelMessage) GetSenderId() string
func (*ChannelMessage) GetUpdateTime ¶
func (m *ChannelMessage) GetUpdateTime() *timestamp.Timestamp
func (*ChannelMessage) GetUsername ¶
func (m *ChannelMessage) GetUsername() string
func (*ChannelMessage) ProtoMessage ¶
func (*ChannelMessage) ProtoMessage()
func (*ChannelMessage) Reset ¶
func (m *ChannelMessage) Reset()
func (*ChannelMessage) String ¶
func (m *ChannelMessage) String() string
func (*ChannelMessage) XXX_DiscardUnknown ¶
func (m *ChannelMessage) XXX_DiscardUnknown()
func (*ChannelMessage) XXX_Marshal ¶
func (m *ChannelMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessage) XXX_Merge ¶
func (dst *ChannelMessage) XXX_Merge(src proto.Message)
func (*ChannelMessage) XXX_Size ¶
func (m *ChannelMessage) XXX_Size() int
func (*ChannelMessage) XXX_Unmarshal ¶
func (m *ChannelMessage) XXX_Unmarshal(b []byte) error
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 retireving 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of channel messages, usually a result of a list operation.
func (*ChannelMessageList) Descriptor ¶
func (*ChannelMessageList) Descriptor() ([]byte, []int)
func (*ChannelMessageList) GetMessages ¶
func (m *ChannelMessageList) GetMessages() []*ChannelMessage
func (*ChannelMessageList) GetNextCursor ¶
func (m *ChannelMessageList) GetNextCursor() string
func (*ChannelMessageList) GetPrevCursor ¶
func (m *ChannelMessageList) GetPrevCursor() string
func (*ChannelMessageList) ProtoMessage ¶
func (*ChannelMessageList) ProtoMessage()
func (*ChannelMessageList) Reset ¶
func (m *ChannelMessageList) Reset()
func (*ChannelMessageList) String ¶
func (m *ChannelMessageList) String() string
func (*ChannelMessageList) XXX_DiscardUnknown ¶
func (m *ChannelMessageList) XXX_DiscardUnknown()
func (*ChannelMessageList) XXX_Marshal ¶
func (m *ChannelMessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessageList) XXX_Merge ¶
func (dst *ChannelMessageList) XXX_Merge(src proto.Message)
func (*ChannelMessageList) XXX_Size ¶
func (m *ChannelMessageList) XXX_Size() int
func (*ChannelMessageList) XXX_Unmarshal ¶
func (m *ChannelMessageList) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create a group with the current user as owner.
func (*CreateGroupRequest) Descriptor ¶
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
func (*CreateGroupRequest) GetAvatarUrl ¶
func (m *CreateGroupRequest) GetAvatarUrl() string
func (*CreateGroupRequest) GetDescription ¶
func (m *CreateGroupRequest) GetDescription() string
func (*CreateGroupRequest) GetLangTag ¶
func (m *CreateGroupRequest) GetLangTag() string
func (*CreateGroupRequest) GetName ¶
func (m *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetOpen ¶
func (m *CreateGroupRequest) GetOpen() bool
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) Reset ¶
func (m *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (m *CreateGroupRequest) String() string
func (*CreateGroupRequest) XXX_DiscardUnknown ¶
func (m *CreateGroupRequest) XXX_DiscardUnknown()
func (*CreateGroupRequest) XXX_Marshal ¶
func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateGroupRequest) XXX_Merge ¶
func (dst *CreateGroupRequest) XXX_Merge(src proto.Message)
func (*CreateGroupRequest) XXX_Size ¶
func (m *CreateGroupRequest) XXX_Size() int
func (*CreateGroupRequest) XXX_Unmarshal ¶
func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete one or more friends for the current user.
func (*DeleteFriendsRequest) Descriptor ¶
func (*DeleteFriendsRequest) Descriptor() ([]byte, []int)
func (*DeleteFriendsRequest) GetIds ¶
func (m *DeleteFriendsRequest) GetIds() []string
func (*DeleteFriendsRequest) GetUsernames ¶
func (m *DeleteFriendsRequest) GetUsernames() []string
func (*DeleteFriendsRequest) ProtoMessage ¶
func (*DeleteFriendsRequest) ProtoMessage()
func (*DeleteFriendsRequest) Reset ¶
func (m *DeleteFriendsRequest) Reset()
func (*DeleteFriendsRequest) String ¶
func (m *DeleteFriendsRequest) String() string
func (*DeleteFriendsRequest) XXX_DiscardUnknown ¶
func (m *DeleteFriendsRequest) XXX_DiscardUnknown()
func (*DeleteFriendsRequest) XXX_Marshal ¶
func (m *DeleteFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteFriendsRequest) XXX_Merge ¶
func (dst *DeleteFriendsRequest) XXX_Merge(src proto.Message)
func (*DeleteFriendsRequest) XXX_Size ¶
func (m *DeleteFriendsRequest) XXX_Size() int
func (*DeleteFriendsRequest) XXX_Unmarshal ¶
func (m *DeleteFriendsRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete a group the user has access to.
func (*DeleteGroupRequest) Descriptor ¶
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
func (*DeleteGroupRequest) GetGroupId ¶
func (m *DeleteGroupRequest) GetGroupId() string
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) Reset ¶
func (m *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (m *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) XXX_DiscardUnknown ¶
func (m *DeleteGroupRequest) XXX_DiscardUnknown()
func (*DeleteGroupRequest) XXX_Marshal ¶
func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGroupRequest) XXX_Merge ¶
func (dst *DeleteGroupRequest) XXX_Merge(src proto.Message)
func (*DeleteGroupRequest) XXX_Size ¶
func (m *DeleteGroupRequest) XXX_Size() int
func (*DeleteGroupRequest) XXX_Unmarshal ¶
func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete a leaderboard record.
func (*DeleteLeaderboardRecordRequest) Descriptor ¶
func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
func (*DeleteLeaderboardRecordRequest) GetLeaderboardId ¶
func (m *DeleteLeaderboardRecordRequest) GetLeaderboardId() string
func (*DeleteLeaderboardRecordRequest) ProtoMessage ¶
func (*DeleteLeaderboardRecordRequest) ProtoMessage()
func (*DeleteLeaderboardRecordRequest) Reset ¶
func (m *DeleteLeaderboardRecordRequest) Reset()
func (*DeleteLeaderboardRecordRequest) String ¶
func (m *DeleteLeaderboardRecordRequest) String() string
func (*DeleteLeaderboardRecordRequest) XXX_DiscardUnknown ¶
func (m *DeleteLeaderboardRecordRequest) XXX_DiscardUnknown()
func (*DeleteLeaderboardRecordRequest) XXX_Marshal ¶
func (m *DeleteLeaderboardRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteLeaderboardRecordRequest) XXX_Merge ¶
func (dst *DeleteLeaderboardRecordRequest) XXX_Merge(src proto.Message)
func (*DeleteLeaderboardRecordRequest) XXX_Size ¶
func (m *DeleteLeaderboardRecordRequest) XXX_Size() int
func (*DeleteLeaderboardRecordRequest) XXX_Unmarshal ¶
func (m *DeleteLeaderboardRecordRequest) XXX_Unmarshal(b []byte) error
type DeleteNotificationsRequest ¶
type DeleteNotificationsRequest struct { // The id of notifications. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete one or more notifications for the current user.
func (*DeleteNotificationsRequest) Descriptor ¶
func (*DeleteNotificationsRequest) Descriptor() ([]byte, []int)
func (*DeleteNotificationsRequest) GetIds ¶
func (m *DeleteNotificationsRequest) GetIds() []string
func (*DeleteNotificationsRequest) ProtoMessage ¶
func (*DeleteNotificationsRequest) ProtoMessage()
func (*DeleteNotificationsRequest) Reset ¶
func (m *DeleteNotificationsRequest) Reset()
func (*DeleteNotificationsRequest) String ¶
func (m *DeleteNotificationsRequest) String() string
func (*DeleteNotificationsRequest) XXX_DiscardUnknown ¶
func (m *DeleteNotificationsRequest) XXX_DiscardUnknown()
func (*DeleteNotificationsRequest) XXX_Marshal ¶
func (m *DeleteNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNotificationsRequest) XXX_Merge ¶
func (dst *DeleteNotificationsRequest) XXX_Merge(src proto.Message)
func (*DeleteNotificationsRequest) XXX_Size ¶
func (m *DeleteNotificationsRequest) XXX_Size() int
func (*DeleteNotificationsRequest) XXX_Unmarshal ¶
func (m *DeleteNotificationsRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Storage objects to delete.
func (*DeleteStorageObjectId) Descriptor ¶
func (*DeleteStorageObjectId) Descriptor() ([]byte, []int)
func (*DeleteStorageObjectId) GetCollection ¶
func (m *DeleteStorageObjectId) GetCollection() string
func (*DeleteStorageObjectId) GetKey ¶
func (m *DeleteStorageObjectId) GetKey() string
func (*DeleteStorageObjectId) GetVersion ¶
func (m *DeleteStorageObjectId) GetVersion() string
func (*DeleteStorageObjectId) ProtoMessage ¶
func (*DeleteStorageObjectId) ProtoMessage()
func (*DeleteStorageObjectId) Reset ¶
func (m *DeleteStorageObjectId) Reset()
func (*DeleteStorageObjectId) String ¶
func (m *DeleteStorageObjectId) String() string
func (*DeleteStorageObjectId) XXX_DiscardUnknown ¶
func (m *DeleteStorageObjectId) XXX_DiscardUnknown()
func (*DeleteStorageObjectId) XXX_Marshal ¶
func (m *DeleteStorageObjectId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteStorageObjectId) XXX_Merge ¶
func (dst *DeleteStorageObjectId) XXX_Merge(src proto.Message)
func (*DeleteStorageObjectId) XXX_Size ¶
func (m *DeleteStorageObjectId) XXX_Size() int
func (*DeleteStorageObjectId) XXX_Unmarshal ¶
func (m *DeleteStorageObjectId) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Batch delete storage objects.
func (*DeleteStorageObjectsRequest) Descriptor ¶
func (*DeleteStorageObjectsRequest) Descriptor() ([]byte, []int)
func (*DeleteStorageObjectsRequest) GetObjectIds ¶
func (m *DeleteStorageObjectsRequest) GetObjectIds() []*DeleteStorageObjectId
func (*DeleteStorageObjectsRequest) ProtoMessage ¶
func (*DeleteStorageObjectsRequest) ProtoMessage()
func (*DeleteStorageObjectsRequest) Reset ¶
func (m *DeleteStorageObjectsRequest) Reset()
func (*DeleteStorageObjectsRequest) String ¶
func (m *DeleteStorageObjectsRequest) String() string
func (*DeleteStorageObjectsRequest) XXX_DiscardUnknown ¶
func (m *DeleteStorageObjectsRequest) XXX_DiscardUnknown()
func (*DeleteStorageObjectsRequest) XXX_Marshal ¶
func (m *DeleteStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteStorageObjectsRequest) XXX_Merge ¶
func (dst *DeleteStorageObjectsRequest) XXX_Merge(src proto.Message)
func (*DeleteStorageObjectsRequest) XXX_Size ¶
func (m *DeleteStorageObjectsRequest) XXX_Size() int
func (*DeleteStorageObjectsRequest) XXX_Unmarshal ¶
func (m *DeleteStorageObjectsRequest) XXX_Unmarshal(b []byte) error
type Friend ¶
type Friend struct { // The user object. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The friend status. State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A friend of a user.
func (*Friend) Descriptor ¶
func (*Friend) ProtoMessage ¶
func (*Friend) ProtoMessage()
func (*Friend) XXX_DiscardUnknown ¶
func (m *Friend) XXX_DiscardUnknown()
func (*Friend) XXX_Marshal ¶
func (*Friend) XXX_Unmarshal ¶
type Friend_State ¶
type Friend_State int32
The friendship status.
const ( // Default case. Assumed as FRIEND state. Friend_STATE_UNSPECIFIED Friend_State = 0 // The user is a friend of the current user. Friend_FRIEND Friend_State = 1 // The user has sent an invite to the current user. Friend_INVITE_SENT Friend_State = 2 // The current user has sent an invite to this user. Friend_INVITE_RECEIVED Friend_State = 3 // The current user has blocked this user. Friend_BLOCKED Friend_State = 4 )
func (Friend_State) EnumDescriptor ¶
func (Friend_State) EnumDescriptor() ([]byte, []int)
func (Friend_State) String ¶
func (x Friend_State) String() string
type Friends ¶
type Friends struct { // The Friend objects. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A collection of zero or more friends of the user.
func (*Friends) Descriptor ¶
func (*Friends) GetFriends ¶
func (*Friends) ProtoMessage ¶
func (*Friends) ProtoMessage()
func (*Friends) XXX_DiscardUnknown ¶
func (m *Friends) XXX_DiscardUnknown()
func (*Friends) XXX_Marshal ¶
func (*Friends) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Fetch a batch of zero or more users from the server.
func (*GetUsersRequest) Descriptor ¶
func (*GetUsersRequest) Descriptor() ([]byte, []int)
func (*GetUsersRequest) GetFacebookIds ¶
func (m *GetUsersRequest) GetFacebookIds() []string
func (*GetUsersRequest) GetIds ¶
func (m *GetUsersRequest) GetIds() []string
func (*GetUsersRequest) GetUsernames ¶
func (m *GetUsersRequest) GetUsernames() []string
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) Reset ¶
func (m *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (m *GetUsersRequest) String() string
func (*GetUsersRequest) XXX_DiscardUnknown ¶
func (m *GetUsersRequest) XXX_DiscardUnknown()
func (*GetUsersRequest) XXX_Marshal ¶
func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUsersRequest) XXX_Merge ¶
func (dst *GetUsersRequest) XXX_Merge(src proto.Message)
func (*GetUsersRequest) XXX_Size ¶
func (m *GetUsersRequest) XXX_Size() int
func (*GetUsersRequest) XXX_Unmarshal ¶
func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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 when the group was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the group was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A group in the server.
func (*Group) Descriptor ¶
func (*Group) GetAvatarUrl ¶
func (*Group) GetCreateTime ¶
func (*Group) GetCreatorId ¶
func (*Group) GetDescription ¶
func (*Group) GetEdgeCount ¶
func (*Group) GetLangTag ¶
func (*Group) GetMaxCount ¶
func (*Group) GetMetadata ¶
func (*Group) GetUpdateTime ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
One or more groups returned from a listing operation.
func (*GroupList) Descriptor ¶
func (*GroupList) ProtoMessage ¶
func (*GroupList) ProtoMessage()
func (*GroupList) XXX_DiscardUnknown ¶
func (m *GroupList) XXX_DiscardUnknown()
func (*GroupList) XXX_Marshal ¶
func (*GroupList) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of users belonging to a group, along with their role.
func (*GroupUserList) Descriptor ¶
func (*GroupUserList) Descriptor() ([]byte, []int)
func (*GroupUserList) GetGroupUsers ¶
func (m *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser
func (*GroupUserList) ProtoMessage ¶
func (*GroupUserList) ProtoMessage()
func (*GroupUserList) Reset ¶
func (m *GroupUserList) Reset()
func (*GroupUserList) String ¶
func (m *GroupUserList) String() string
func (*GroupUserList) XXX_DiscardUnknown ¶
func (m *GroupUserList) XXX_DiscardUnknown()
func (*GroupUserList) XXX_Marshal ¶
func (m *GroupUserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupUserList) XXX_Merge ¶
func (dst *GroupUserList) XXX_Merge(src proto.Message)
func (*GroupUserList) XXX_Size ¶
func (m *GroupUserList) XXX_Size() int
func (*GroupUserList) XXX_Unmarshal ¶
func (m *GroupUserList) XXX_Unmarshal(b []byte) error
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 int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A single user-role pair.
func (*GroupUserList_GroupUser) Descriptor ¶
func (*GroupUserList_GroupUser) Descriptor() ([]byte, []int)
func (*GroupUserList_GroupUser) GetState ¶
func (m *GroupUserList_GroupUser) GetState() int32
func (*GroupUserList_GroupUser) GetUser ¶
func (m *GroupUserList_GroupUser) GetUser() *User
func (*GroupUserList_GroupUser) ProtoMessage ¶
func (*GroupUserList_GroupUser) ProtoMessage()
func (*GroupUserList_GroupUser) Reset ¶
func (m *GroupUserList_GroupUser) Reset()
func (*GroupUserList_GroupUser) String ¶
func (m *GroupUserList_GroupUser) String() string
func (*GroupUserList_GroupUser) XXX_DiscardUnknown ¶
func (m *GroupUserList_GroupUser) XXX_DiscardUnknown()
func (*GroupUserList_GroupUser) XXX_Marshal ¶
func (m *GroupUserList_GroupUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupUserList_GroupUser) XXX_Merge ¶
func (dst *GroupUserList_GroupUser) XXX_Merge(src proto.Message)
func (*GroupUserList_GroupUser) XXX_Size ¶
func (m *GroupUserList_GroupUser) XXX_Size() int
func (*GroupUserList_GroupUser) XXX_Unmarshal ¶
func (m *GroupUserList_GroupUser) XXX_Unmarshal(b []byte) error
type GroupUserList_GroupUser_State ¶
type GroupUserList_GroupUser_State int32
The group role status.
const ( // Default case. Assumed as SUPERADMIN state. GroupUserList_GroupUser_STATE_UNSPECIFIED GroupUserList_GroupUser_State = 0 // The user is a superadmin with full control of the group. GroupUserList_GroupUser_SUPERADMIN GroupUserList_GroupUser_State = 1 // The user is an admin with additional privileges. GroupUserList_GroupUser_ADMIN GroupUserList_GroupUser_State = 2 // The user is a regular member. GroupUserList_GroupUser_MEMBER GroupUserList_GroupUser_State = 3 // The user has requested to join the group GroupUserList_GroupUser_JOIN_REQUEST GroupUserList_GroupUser_State = 4 )
func (GroupUserList_GroupUser_State) EnumDescriptor ¶
func (GroupUserList_GroupUser_State) EnumDescriptor() ([]byte, []int)
func (GroupUserList_GroupUser_State) String ¶
func (x GroupUserList_GroupUser_State) String() string
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_ *wrappers.BoolValue `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Import Facebook friends into the current user's account.
func (*ImportFacebookFriendsRequest) Descriptor ¶
func (*ImportFacebookFriendsRequest) Descriptor() ([]byte, []int)
func (*ImportFacebookFriendsRequest) GetAccount ¶
func (m *ImportFacebookFriendsRequest) GetAccount() *AccountFacebook
func (*ImportFacebookFriendsRequest) GetReset_ ¶
func (m *ImportFacebookFriendsRequest) GetReset_() *wrappers.BoolValue
func (*ImportFacebookFriendsRequest) ProtoMessage ¶
func (*ImportFacebookFriendsRequest) ProtoMessage()
func (*ImportFacebookFriendsRequest) Reset ¶
func (m *ImportFacebookFriendsRequest) Reset()
func (*ImportFacebookFriendsRequest) String ¶
func (m *ImportFacebookFriendsRequest) String() string
func (*ImportFacebookFriendsRequest) XXX_DiscardUnknown ¶
func (m *ImportFacebookFriendsRequest) XXX_DiscardUnknown()
func (*ImportFacebookFriendsRequest) XXX_Marshal ¶
func (m *ImportFacebookFriendsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportFacebookFriendsRequest) XXX_Merge ¶
func (dst *ImportFacebookFriendsRequest) XXX_Merge(src proto.Message)
func (*ImportFacebookFriendsRequest) XXX_Size ¶
func (m *ImportFacebookFriendsRequest) XXX_Size() int
func (*ImportFacebookFriendsRequest) XXX_Unmarshal ¶
func (m *ImportFacebookFriendsRequest) XXX_Unmarshal(b []byte) error
type JoinGroupRequest ¶
type JoinGroupRequest struct { // The group ID to join. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Immediately join an open group, or request to join a closed one.
func (*JoinGroupRequest) Descriptor ¶
func (*JoinGroupRequest) Descriptor() ([]byte, []int)
func (*JoinGroupRequest) GetGroupId ¶
func (m *JoinGroupRequest) GetGroupId() string
func (*JoinGroupRequest) ProtoMessage ¶
func (*JoinGroupRequest) ProtoMessage()
func (*JoinGroupRequest) Reset ¶
func (m *JoinGroupRequest) Reset()
func (*JoinGroupRequest) String ¶
func (m *JoinGroupRequest) String() string
func (*JoinGroupRequest) XXX_DiscardUnknown ¶
func (m *JoinGroupRequest) XXX_DiscardUnknown()
func (*JoinGroupRequest) XXX_Marshal ¶
func (m *JoinGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinGroupRequest) XXX_Merge ¶
func (dst *JoinGroupRequest) XXX_Merge(src proto.Message)
func (*JoinGroupRequest) XXX_Size ¶
func (m *JoinGroupRequest) XXX_Size() int
func (*JoinGroupRequest) XXX_Unmarshal ¶
func (m *JoinGroupRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Kick a set of users from a group.
func (*KickGroupUsersRequest) Descriptor ¶
func (*KickGroupUsersRequest) Descriptor() ([]byte, []int)
func (*KickGroupUsersRequest) GetGroupId ¶
func (m *KickGroupUsersRequest) GetGroupId() string
func (*KickGroupUsersRequest) GetUserIds ¶
func (m *KickGroupUsersRequest) GetUserIds() []string
func (*KickGroupUsersRequest) ProtoMessage ¶
func (*KickGroupUsersRequest) ProtoMessage()
func (*KickGroupUsersRequest) Reset ¶
func (m *KickGroupUsersRequest) Reset()
func (*KickGroupUsersRequest) String ¶
func (m *KickGroupUsersRequest) String() string
func (*KickGroupUsersRequest) XXX_DiscardUnknown ¶
func (m *KickGroupUsersRequest) XXX_DiscardUnknown()
func (*KickGroupUsersRequest) XXX_Marshal ¶
func (m *KickGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KickGroupUsersRequest) XXX_Merge ¶
func (dst *KickGroupUsersRequest) XXX_Merge(src proto.Message)
func (*KickGroupUsersRequest) XXX_Size ¶
func (m *KickGroupUsersRequest) XXX_Size() int
func (*KickGroupUsersRequest) XXX_Unmarshal ¶
func (m *KickGroupUsersRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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 when the leaderboard record was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the leaderboard record was updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The UNIX time when the leaderboard record expires. ExpiryTime *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a complete leaderboard record with all scores and associated metadata.
func (*LeaderboardRecord) Descriptor ¶
func (*LeaderboardRecord) Descriptor() ([]byte, []int)
func (*LeaderboardRecord) GetCreateTime ¶
func (m *LeaderboardRecord) GetCreateTime() *timestamp.Timestamp
func (*LeaderboardRecord) GetExpiryTime ¶
func (m *LeaderboardRecord) GetExpiryTime() *timestamp.Timestamp
func (*LeaderboardRecord) GetLeaderboardId ¶
func (m *LeaderboardRecord) GetLeaderboardId() string
func (*LeaderboardRecord) GetMetadata ¶
func (m *LeaderboardRecord) GetMetadata() string
func (*LeaderboardRecord) GetNumScore ¶
func (m *LeaderboardRecord) GetNumScore() int32
func (*LeaderboardRecord) GetOwnerId ¶
func (m *LeaderboardRecord) GetOwnerId() string
func (*LeaderboardRecord) GetRank ¶
func (m *LeaderboardRecord) GetRank() int64
func (*LeaderboardRecord) GetScore ¶
func (m *LeaderboardRecord) GetScore() int64
func (*LeaderboardRecord) GetSubscore ¶
func (m *LeaderboardRecord) GetSubscore() int64
func (*LeaderboardRecord) GetUpdateTime ¶
func (m *LeaderboardRecord) GetUpdateTime() *timestamp.Timestamp
func (*LeaderboardRecord) GetUsername ¶
func (m *LeaderboardRecord) GetUsername() *wrappers.StringValue
func (*LeaderboardRecord) ProtoMessage ¶
func (*LeaderboardRecord) ProtoMessage()
func (*LeaderboardRecord) Reset ¶
func (m *LeaderboardRecord) Reset()
func (*LeaderboardRecord) String ¶
func (m *LeaderboardRecord) String() string
func (*LeaderboardRecord) XXX_DiscardUnknown ¶
func (m *LeaderboardRecord) XXX_DiscardUnknown()
func (*LeaderboardRecord) XXX_Marshal ¶
func (m *LeaderboardRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaderboardRecord) XXX_Merge ¶
func (dst *LeaderboardRecord) XXX_Merge(src proto.Message)
func (*LeaderboardRecord) XXX_Size ¶
func (m *LeaderboardRecord) XXX_Size() int
func (*LeaderboardRecord) XXX_Unmarshal ¶
func (m *LeaderboardRecord) XXX_Unmarshal(b []byte) error
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 leaderobard 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, 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.
func (*LeaderboardRecordList) Descriptor ¶
func (*LeaderboardRecordList) Descriptor() ([]byte, []int)
func (*LeaderboardRecordList) GetNextCursor ¶
func (m *LeaderboardRecordList) GetNextCursor() string
func (*LeaderboardRecordList) GetOwnerRecords ¶
func (m *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord
func (*LeaderboardRecordList) GetPrevCursor ¶
func (m *LeaderboardRecordList) GetPrevCursor() string
func (*LeaderboardRecordList) GetRecords ¶
func (m *LeaderboardRecordList) GetRecords() []*LeaderboardRecord
func (*LeaderboardRecordList) ProtoMessage ¶
func (*LeaderboardRecordList) ProtoMessage()
func (*LeaderboardRecordList) Reset ¶
func (m *LeaderboardRecordList) Reset()
func (*LeaderboardRecordList) String ¶
func (m *LeaderboardRecordList) String() string
func (*LeaderboardRecordList) XXX_DiscardUnknown ¶
func (m *LeaderboardRecordList) XXX_DiscardUnknown()
func (*LeaderboardRecordList) XXX_Marshal ¶
func (m *LeaderboardRecordList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaderboardRecordList) XXX_Merge ¶
func (dst *LeaderboardRecordList) XXX_Merge(src proto.Message)
func (*LeaderboardRecordList) XXX_Size ¶
func (m *LeaderboardRecordList) XXX_Size() int
func (*LeaderboardRecordList) XXX_Unmarshal ¶
func (m *LeaderboardRecordList) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Leave a group.
func (*LeaveGroupRequest) Descriptor ¶
func (*LeaveGroupRequest) Descriptor() ([]byte, []int)
func (*LeaveGroupRequest) GetGroupId ¶
func (m *LeaveGroupRequest) GetGroupId() string
func (*LeaveGroupRequest) ProtoMessage ¶
func (*LeaveGroupRequest) ProtoMessage()
func (*LeaveGroupRequest) Reset ¶
func (m *LeaveGroupRequest) Reset()
func (*LeaveGroupRequest) String ¶
func (m *LeaveGroupRequest) String() string
func (*LeaveGroupRequest) XXX_DiscardUnknown ¶
func (m *LeaveGroupRequest) XXX_DiscardUnknown()
func (*LeaveGroupRequest) XXX_Marshal ¶
func (m *LeaveGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaveGroupRequest) XXX_Merge ¶
func (dst *LeaveGroupRequest) XXX_Merge(src proto.Message)
func (*LeaveGroupRequest) XXX_Size ¶
func (m *LeaveGroupRequest) XXX_Size() int
func (*LeaveGroupRequest) XXX_Unmarshal ¶
func (m *LeaveGroupRequest) XXX_Unmarshal(b []byte) error
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. Import *wrappers.BoolValue `protobuf:"bytes,4,opt,name=import,proto3" json:"import,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Link Facebook to the current user's account.
func (*LinkFacebookRequest) Descriptor ¶
func (*LinkFacebookRequest) Descriptor() ([]byte, []int)
func (*LinkFacebookRequest) GetAccount ¶
func (m *LinkFacebookRequest) GetAccount() *AccountFacebook
func (*LinkFacebookRequest) GetImport ¶
func (m *LinkFacebookRequest) GetImport() *wrappers.BoolValue
func (*LinkFacebookRequest) ProtoMessage ¶
func (*LinkFacebookRequest) ProtoMessage()
func (*LinkFacebookRequest) Reset ¶
func (m *LinkFacebookRequest) Reset()
func (*LinkFacebookRequest) String ¶
func (m *LinkFacebookRequest) String() string
func (*LinkFacebookRequest) XXX_DiscardUnknown ¶
func (m *LinkFacebookRequest) XXX_DiscardUnknown()
func (*LinkFacebookRequest) XXX_Marshal ¶
func (m *LinkFacebookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinkFacebookRequest) XXX_Merge ¶
func (dst *LinkFacebookRequest) XXX_Merge(src proto.Message)
func (*LinkFacebookRequest) XXX_Size ¶
func (m *LinkFacebookRequest) XXX_Size() int
func (*LinkFacebookRequest) XXX_Unmarshal ¶
func (m *LinkFacebookRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` // True if listing should be older messages to newer, false if reverse. Forward *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List a channel's message history.
func (*ListChannelMessagesRequest) Descriptor ¶
func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)
func (*ListChannelMessagesRequest) GetChannelId ¶
func (m *ListChannelMessagesRequest) GetChannelId() string
func (*ListChannelMessagesRequest) GetCursor ¶
func (m *ListChannelMessagesRequest) GetCursor() string
func (*ListChannelMessagesRequest) GetForward ¶
func (m *ListChannelMessagesRequest) GetForward() *wrappers.BoolValue
func (*ListChannelMessagesRequest) GetLimit ¶
func (m *ListChannelMessagesRequest) GetLimit() *wrappers.Int32Value
func (*ListChannelMessagesRequest) ProtoMessage ¶
func (*ListChannelMessagesRequest) ProtoMessage()
func (*ListChannelMessagesRequest) Reset ¶
func (m *ListChannelMessagesRequest) Reset()
func (*ListChannelMessagesRequest) String ¶
func (m *ListChannelMessagesRequest) String() string
func (*ListChannelMessagesRequest) XXX_DiscardUnknown ¶
func (m *ListChannelMessagesRequest) XXX_DiscardUnknown()
func (*ListChannelMessagesRequest) XXX_Marshal ¶
func (m *ListChannelMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListChannelMessagesRequest) XXX_Merge ¶
func (dst *ListChannelMessagesRequest) XXX_Merge(src proto.Message)
func (*ListChannelMessagesRequest) XXX_Size ¶
func (m *ListChannelMessagesRequest) XXX_Size() int
func (*ListChannelMessagesRequest) XXX_Unmarshal ¶
func (m *ListChannelMessagesRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List all users that are part of a group.
func (*ListGroupUsersRequest) Descriptor ¶
func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)
func (*ListGroupUsersRequest) GetGroupId ¶
func (m *ListGroupUsersRequest) GetGroupId() string
func (*ListGroupUsersRequest) ProtoMessage ¶
func (*ListGroupUsersRequest) ProtoMessage()
func (*ListGroupUsersRequest) Reset ¶
func (m *ListGroupUsersRequest) Reset()
func (*ListGroupUsersRequest) String ¶
func (m *ListGroupUsersRequest) String() string
func (*ListGroupUsersRequest) XXX_DiscardUnknown ¶
func (m *ListGroupUsersRequest) XXX_DiscardUnknown()
func (*ListGroupUsersRequest) XXX_Marshal ¶
func (m *ListGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupUsersRequest) XXX_Merge ¶
func (dst *ListGroupUsersRequest) XXX_Merge(src proto.Message)
func (*ListGroupUsersRequest) XXX_Size ¶
func (m *ListGroupUsersRequest) XXX_Size() int
func (*ListGroupUsersRequest) XXX_Unmarshal ¶
func (m *ListGroupUsersRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List groups based on given filters.
func (*ListGroupsRequest) Descriptor ¶
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
func (*ListGroupsRequest) GetCursor ¶
func (m *ListGroupsRequest) GetCursor() string
func (*ListGroupsRequest) GetLimit ¶
func (m *ListGroupsRequest) GetLimit() *wrappers.Int32Value
func (*ListGroupsRequest) GetName ¶
func (m *ListGroupsRequest) GetName() string
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) Reset ¶
func (m *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (m *ListGroupsRequest) String() string
func (*ListGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupsRequest) XXX_DiscardUnknown()
func (*ListGroupsRequest) XXX_Marshal ¶
func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsRequest) XXX_Merge ¶
func (dst *ListGroupsRequest) XXX_Merge(src proto.Message)
func (*ListGroupsRequest) XXX_Size ¶
func (m *ListGroupsRequest) XXX_Size() int
func (*ListGroupsRequest) XXX_Unmarshal ¶
func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List leaderboard records from a given leaderboard.
func (*ListLeaderboardRecordsRequest) Descriptor ¶
func (*ListLeaderboardRecordsRequest) Descriptor() ([]byte, []int)
func (*ListLeaderboardRecordsRequest) GetCursor ¶
func (m *ListLeaderboardRecordsRequest) GetCursor() string
func (*ListLeaderboardRecordsRequest) GetLeaderboardId ¶
func (m *ListLeaderboardRecordsRequest) GetLeaderboardId() string
func (*ListLeaderboardRecordsRequest) GetLimit ¶
func (m *ListLeaderboardRecordsRequest) GetLimit() *wrappers.Int32Value
func (*ListLeaderboardRecordsRequest) GetOwnerIds ¶
func (m *ListLeaderboardRecordsRequest) GetOwnerIds() []string
func (*ListLeaderboardRecordsRequest) ProtoMessage ¶
func (*ListLeaderboardRecordsRequest) ProtoMessage()
func (*ListLeaderboardRecordsRequest) Reset ¶
func (m *ListLeaderboardRecordsRequest) Reset()
func (*ListLeaderboardRecordsRequest) String ¶
func (m *ListLeaderboardRecordsRequest) String() string
func (*ListLeaderboardRecordsRequest) XXX_DiscardUnknown ¶
func (m *ListLeaderboardRecordsRequest) XXX_DiscardUnknown()
func (*ListLeaderboardRecordsRequest) XXX_Marshal ¶
func (m *ListLeaderboardRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLeaderboardRecordsRequest) XXX_Merge ¶
func (dst *ListLeaderboardRecordsRequest) XXX_Merge(src proto.Message)
func (*ListLeaderboardRecordsRequest) XXX_Size ¶
func (m *ListLeaderboardRecordsRequest) XXX_Size() int
func (*ListLeaderboardRecordsRequest) XXX_Unmarshal ¶
func (m *ListLeaderboardRecordsRequest) XXX_Unmarshal(b []byte) error
type ListMatchesRequest ¶
type ListMatchesRequest struct { // Limit the number of returned matches. Limit *wrappers.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // Authoritative or relayed matches. Authoritative *wrappers.BoolValue `protobuf:"bytes,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // Label filter. Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // Minimum user count. MinSize *wrappers.Int32Value `protobuf:"bytes,4,opt,name=min_size,json=minSize,proto3" json:"min_size,omitempty"` // Maximum user count. MaxSize *wrappers.Int32Value `protobuf:"bytes,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List realtime matches.
func (*ListMatchesRequest) Descriptor ¶
func (*ListMatchesRequest) Descriptor() ([]byte, []int)
func (*ListMatchesRequest) GetAuthoritative ¶
func (m *ListMatchesRequest) GetAuthoritative() *wrappers.BoolValue
func (*ListMatchesRequest) GetLabel ¶
func (m *ListMatchesRequest) GetLabel() *wrappers.StringValue
func (*ListMatchesRequest) GetLimit ¶
func (m *ListMatchesRequest) GetLimit() *wrappers.Int32Value
func (*ListMatchesRequest) GetMaxSize ¶
func (m *ListMatchesRequest) GetMaxSize() *wrappers.Int32Value
func (*ListMatchesRequest) GetMinSize ¶
func (m *ListMatchesRequest) GetMinSize() *wrappers.Int32Value
func (*ListMatchesRequest) ProtoMessage ¶
func (*ListMatchesRequest) ProtoMessage()
func (*ListMatchesRequest) Reset ¶
func (m *ListMatchesRequest) Reset()
func (*ListMatchesRequest) String ¶
func (m *ListMatchesRequest) String() string
func (*ListMatchesRequest) XXX_DiscardUnknown ¶
func (m *ListMatchesRequest) XXX_DiscardUnknown()
func (*ListMatchesRequest) XXX_Marshal ¶
func (m *ListMatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMatchesRequest) XXX_Merge ¶
func (dst *ListMatchesRequest) XXX_Merge(src proto.Message)
func (*ListMatchesRequest) XXX_Size ¶
func (m *ListMatchesRequest) XXX_Size() int
func (*ListMatchesRequest) XXX_Unmarshal ¶
func (m *ListMatchesRequest) XXX_Unmarshal(b []byte) error
type ListNotificationsRequest ¶
type ListNotificationsRequest struct { // The number of notifications to get. Between 1 and 100. Limit *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get a list of unexpired notifications.
func (*ListNotificationsRequest) Descriptor ¶
func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
func (*ListNotificationsRequest) GetCacheableCursor ¶
func (m *ListNotificationsRequest) GetCacheableCursor() string
func (*ListNotificationsRequest) GetLimit ¶
func (m *ListNotificationsRequest) GetLimit() *wrappers.Int32Value
func (*ListNotificationsRequest) ProtoMessage ¶
func (*ListNotificationsRequest) ProtoMessage()
func (*ListNotificationsRequest) Reset ¶
func (m *ListNotificationsRequest) Reset()
func (*ListNotificationsRequest) String ¶
func (m *ListNotificationsRequest) String() string
func (*ListNotificationsRequest) XXX_DiscardUnknown ¶
func (m *ListNotificationsRequest) XXX_DiscardUnknown()
func (*ListNotificationsRequest) XXX_Marshal ¶
func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNotificationsRequest) XXX_Merge ¶
func (dst *ListNotificationsRequest) XXX_Merge(src proto.Message)
func (*ListNotificationsRequest) XXX_Size ¶
func (m *ListNotificationsRequest) XXX_Size() int
func (*ListNotificationsRequest) XXX_Unmarshal ¶
func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List publicly readable storage objects in a given collection.
func (*ListStorageObjectsRequest) Descriptor ¶
func (*ListStorageObjectsRequest) Descriptor() ([]byte, []int)
func (*ListStorageObjectsRequest) GetCollection ¶
func (m *ListStorageObjectsRequest) GetCollection() string
func (*ListStorageObjectsRequest) GetCursor ¶
func (m *ListStorageObjectsRequest) GetCursor() string
func (*ListStorageObjectsRequest) GetLimit ¶
func (m *ListStorageObjectsRequest) GetLimit() *wrappers.Int32Value
func (*ListStorageObjectsRequest) GetUserId ¶
func (m *ListStorageObjectsRequest) GetUserId() string
func (*ListStorageObjectsRequest) ProtoMessage ¶
func (*ListStorageObjectsRequest) ProtoMessage()
func (*ListStorageObjectsRequest) Reset ¶
func (m *ListStorageObjectsRequest) Reset()
func (*ListStorageObjectsRequest) String ¶
func (m *ListStorageObjectsRequest) String() string
func (*ListStorageObjectsRequest) XXX_DiscardUnknown ¶
func (m *ListStorageObjectsRequest) XXX_DiscardUnknown()
func (*ListStorageObjectsRequest) XXX_Marshal ¶
func (m *ListStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStorageObjectsRequest) XXX_Merge ¶
func (dst *ListStorageObjectsRequest) XXX_Merge(src proto.Message)
func (*ListStorageObjectsRequest) XXX_Size ¶
func (m *ListStorageObjectsRequest) XXX_Size() int
func (*ListStorageObjectsRequest) XXX_Unmarshal ¶
func (m *ListStorageObjectsRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List the groups a user is part of, and their relationship to each.
func (*ListUserGroupsRequest) Descriptor ¶
func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)
func (*ListUserGroupsRequest) GetUserId ¶
func (m *ListUserGroupsRequest) GetUserId() string
func (*ListUserGroupsRequest) ProtoMessage ¶
func (*ListUserGroupsRequest) ProtoMessage()
func (*ListUserGroupsRequest) Reset ¶
func (m *ListUserGroupsRequest) Reset()
func (*ListUserGroupsRequest) String ¶
func (m *ListUserGroupsRequest) String() string
func (*ListUserGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListUserGroupsRequest) XXX_DiscardUnknown()
func (*ListUserGroupsRequest) XXX_Marshal ¶
func (m *ListUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserGroupsRequest) XXX_Merge ¶
func (dst *ListUserGroupsRequest) XXX_Merge(src proto.Message)
func (*ListUserGroupsRequest) XXX_Size ¶
func (m *ListUserGroupsRequest) XXX_Size() int
func (*ListUserGroupsRequest) XXX_Unmarshal ¶
func (m *ListUserGroupsRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a realtime match.
func (*Match) Descriptor ¶
func (*Match) GetAuthoritative ¶
func (*Match) GetLabel ¶
func (m *Match) GetLabel() *wrappers.StringValue
func (*Match) GetMatchId ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) XXX_DiscardUnknown ¶
func (m *Match) XXX_DiscardUnknown()
func (*Match) XXX_Marshal ¶
func (*Match) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of realtime matches.
func (*MatchList) Descriptor ¶
func (*MatchList) GetMatches ¶
func (*MatchList) ProtoMessage ¶
func (*MatchList) ProtoMessage()
func (*MatchList) XXX_DiscardUnknown ¶
func (m *MatchList) XXX_DiscardUnknown()
func (*MatchList) XXX_Marshal ¶
func (*MatchList) XXX_Unmarshal ¶
type NakamaClient ¶
type NakamaClient interface { // Add friends by ID or username to a user's account. AddFriends(ctx context.Context, in *AddFriendsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Add users to a group. AddGroupUsers(ctx context.Context, in *AddGroupUsersRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Authenticate a user with a custom id against the server. AuthenticateCustom(ctx context.Context, in *AuthenticateCustomRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with a device id against the server. AuthenticateDevice(ctx context.Context, in *AuthenticateDeviceRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with an email+password against the server. AuthenticateEmail(ctx context.Context, in *AuthenticateEmailRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with a Facebook OAuth token against the server. AuthenticateFacebook(ctx context.Context, in *AuthenticateFacebookRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with Apple's GameCenter against the server. AuthenticateGameCenter(ctx context.Context, in *AuthenticateGameCenterRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with Google against the server. AuthenticateGoogle(ctx context.Context, in *AuthenticateGoogleRequest, opts ...grpc.CallOption) (*Session, error) // Authenticate a user with Steam against the server. AuthenticateSteam(ctx context.Context, in *AuthenticateSteamRequest, opts ...grpc.CallOption) (*Session, error) // Block one or more users by ID or username. BlockFriends(ctx context.Context, in *BlockFriendsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Create a new group with the current user as the owner. CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) // Delete one or more users by ID or username. DeleteFriends(ctx context.Context, in *DeleteFriendsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Delete a group by ID. DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Delete a leaderboard record. DeleteLeaderboardRecord(ctx context.Context, in *DeleteLeaderboardRecordRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Delete one or more notifications for the current user. DeleteNotifications(ctx context.Context, in *DeleteNotificationsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Delete one or more objects by ID or username. DeleteStorageObjects(ctx context.Context, in *DeleteStorageObjectsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Fetch the current user's account. GetAccount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Account, error) // Fetch zero or more users by ID and/or username. GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*Users, error) // A healthcheck which load balancers can use to check the service. Healthcheck(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Import Facebook friends and add them to a user's account. ImportFacebookFriends(ctx context.Context, in *ImportFacebookFriendsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Immediately join an open group, or request to join a closed one. JoinGroup(ctx context.Context, in *JoinGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Kick a set of users from a group. KickGroupUsers(ctx context.Context, in *KickGroupUsersRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Leave a group the user is a member of. LeaveGroup(ctx context.Context, in *LeaveGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Add a custom ID to the social profiles on the current user's account. LinkCustom(ctx context.Context, in *AccountCustom, opts ...grpc.CallOption) (*empty.Empty, error) // Add a device ID to the social profiles on the current user's account. LinkDevice(ctx context.Context, in *AccountDevice, opts ...grpc.CallOption) (*empty.Empty, error) // Add an email+password to the social profiles on the current user's account. LinkEmail(ctx context.Context, in *AccountEmail, opts ...grpc.CallOption) (*empty.Empty, error) // Add Facebook to the social profiles on the current user's account. LinkFacebook(ctx context.Context, in *LinkFacebookRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Add Apple's GameCenter to the social profiles on the current user's account. LinkGameCenter(ctx context.Context, in *AccountGameCenter, opts ...grpc.CallOption) (*empty.Empty, error) // Add Google to the social profiles on the current user's account. LinkGoogle(ctx context.Context, in *AccountGoogle, opts ...grpc.CallOption) (*empty.Empty, error) // Add Steam to the social profiles on the current user's account. LinkSteam(ctx context.Context, in *AccountSteam, opts ...grpc.CallOption) (*empty.Empty, error) // List a channel's message history. ListChannelMessages(ctx context.Context, in *ListChannelMessagesRequest, opts ...grpc.CallOption) (*ChannelMessageList, error) // List all friends for the current user. ListFriends(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Friends, error) // List groups based on given filters. ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*GroupList, error) // List all users that are part of a group. ListGroupUsers(ctx context.Context, in *ListGroupUsersRequest, opts ...grpc.CallOption) (*GroupUserList, error) // List leaderboard records ListLeaderboardRecords(ctx context.Context, in *ListLeaderboardRecordsRequest, opts ...grpc.CallOption) (*LeaderboardRecordList, error) // Fetch list of running matches. ListMatches(ctx context.Context, in *ListMatchesRequest, opts ...grpc.CallOption) (*MatchList, error) // Fetch list of notifications. ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*NotificationList, error) // List publicly readable storage objects in a given collection. ListStorageObjects(ctx context.Context, in *ListStorageObjectsRequest, opts ...grpc.CallOption) (*StorageObjectList, error) // List groups the current user belongs to. ListUserGroups(ctx context.Context, in *ListUserGroupsRequest, opts ...grpc.CallOption) (*UserGroupList, error) // Promote a set of users in a group to the next role up. PromoteGroupUsers(ctx context.Context, in *PromoteGroupUsersRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Get storage objects. ReadStorageObjects(ctx context.Context, in *ReadStorageObjectsRequest, opts ...grpc.CallOption) (*StorageObjects, error) // Execute a Lua function on the server. RpcFunc(ctx context.Context, in *Rpc, opts ...grpc.CallOption) (*Rpc, error) // Remove the custom ID from the social profiles on the current user's account. UnlinkCustom(ctx context.Context, in *AccountCustom, opts ...grpc.CallOption) (*empty.Empty, error) // Remove the device ID from the social profiles on the current user's account. UnlinkDevice(ctx context.Context, in *AccountDevice, opts ...grpc.CallOption) (*empty.Empty, error) // Remove the email+password from the social profiles on the current user's account. UnlinkEmail(ctx context.Context, in *AccountEmail, opts ...grpc.CallOption) (*empty.Empty, error) // Remove Facebook from the social profiles on the current user's account. UnlinkFacebook(ctx context.Context, in *AccountFacebook, opts ...grpc.CallOption) (*empty.Empty, error) // Remove Apple's GameCenter from the social profiles on the current user's account. UnlinkGameCenter(ctx context.Context, in *AccountGameCenter, opts ...grpc.CallOption) (*empty.Empty, error) // Remove Google from the social profiles on the current user's account. UnlinkGoogle(ctx context.Context, in *AccountGoogle, opts ...grpc.CallOption) (*empty.Empty, error) // Remove Steam from the social profiles on the current user's account. UnlinkSteam(ctx context.Context, in *AccountSteam, opts ...grpc.CallOption) (*empty.Empty, error) // Update fields in the current user's account. UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Update fields in a given group. UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Write a record to a leaderboard. WriteLeaderboardRecord(ctx context.Context, in *WriteLeaderboardRecordRequest, opts ...grpc.CallOption) (*LeaderboardRecord, error) // Write objects into the storage engine. WriteStorageObjects(ctx context.Context, in *WriteStorageObjectsRequest, opts ...grpc.CallOption) (*StorageObjectAcks, error) }
NakamaClient is the client API for Nakama service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNakamaClient ¶
func NewNakamaClient(cc *grpc.ClientConn) NakamaClient
type NakamaServer ¶
type NakamaServer interface { // Add friends by ID or username to a user's account. AddFriends(context.Context, *AddFriendsRequest) (*empty.Empty, error) // Add users to a group. AddGroupUsers(context.Context, *AddGroupUsersRequest) (*empty.Empty, error) // Authenticate a user with a custom id against the server. AuthenticateCustom(context.Context, *AuthenticateCustomRequest) (*Session, error) // Authenticate a user with a device id against the server. AuthenticateDevice(context.Context, *AuthenticateDeviceRequest) (*Session, error) // Authenticate a user with an email+password against the server. AuthenticateEmail(context.Context, *AuthenticateEmailRequest) (*Session, error) // Authenticate a user with a Facebook OAuth token against the server. AuthenticateFacebook(context.Context, *AuthenticateFacebookRequest) (*Session, error) // Authenticate a user with Apple's GameCenter against the server. AuthenticateGameCenter(context.Context, *AuthenticateGameCenterRequest) (*Session, error) // Authenticate a user with Google against the server. AuthenticateGoogle(context.Context, *AuthenticateGoogleRequest) (*Session, error) // Authenticate a user with Steam against the server. AuthenticateSteam(context.Context, *AuthenticateSteamRequest) (*Session, error) // Block one or more users by ID or username. BlockFriends(context.Context, *BlockFriendsRequest) (*empty.Empty, error) // Create a new group with the current user as the owner. CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) // Delete one or more users by ID or username. DeleteFriends(context.Context, *DeleteFriendsRequest) (*empty.Empty, error) // Delete a group by ID. DeleteGroup(context.Context, *DeleteGroupRequest) (*empty.Empty, error) // Delete a leaderboard record. DeleteLeaderboardRecord(context.Context, *DeleteLeaderboardRecordRequest) (*empty.Empty, error) // Delete one or more notifications for the current user. DeleteNotifications(context.Context, *DeleteNotificationsRequest) (*empty.Empty, error) // Delete one or more objects by ID or username. DeleteStorageObjects(context.Context, *DeleteStorageObjectsRequest) (*empty.Empty, error) // Fetch the current user's account. GetAccount(context.Context, *empty.Empty) (*Account, error) // Fetch zero or more users by ID and/or username. GetUsers(context.Context, *GetUsersRequest) (*Users, error) // A healthcheck which load balancers can use to check the service. Healthcheck(context.Context, *empty.Empty) (*empty.Empty, error) // Import Facebook friends and add them to a user's account. ImportFacebookFriends(context.Context, *ImportFacebookFriendsRequest) (*empty.Empty, error) // Immediately join an open group, or request to join a closed one. JoinGroup(context.Context, *JoinGroupRequest) (*empty.Empty, error) // Kick a set of users from a group. KickGroupUsers(context.Context, *KickGroupUsersRequest) (*empty.Empty, error) // Leave a group the user is a member of. LeaveGroup(context.Context, *LeaveGroupRequest) (*empty.Empty, error) // Add a custom ID to the social profiles on the current user's account. LinkCustom(context.Context, *AccountCustom) (*empty.Empty, error) // Add a device ID to the social profiles on the current user's account. LinkDevice(context.Context, *AccountDevice) (*empty.Empty, error) // Add an email+password to the social profiles on the current user's account. LinkEmail(context.Context, *AccountEmail) (*empty.Empty, error) // Add Facebook to the social profiles on the current user's account. LinkFacebook(context.Context, *LinkFacebookRequest) (*empty.Empty, error) // Add Apple's GameCenter to the social profiles on the current user's account. LinkGameCenter(context.Context, *AccountGameCenter) (*empty.Empty, error) // Add Google to the social profiles on the current user's account. LinkGoogle(context.Context, *AccountGoogle) (*empty.Empty, error) // Add Steam to the social profiles on the current user's account. LinkSteam(context.Context, *AccountSteam) (*empty.Empty, error) // List a channel's message history. ListChannelMessages(context.Context, *ListChannelMessagesRequest) (*ChannelMessageList, error) // List all friends for the current user. ListFriends(context.Context, *empty.Empty) (*Friends, error) // List groups based on given filters. ListGroups(context.Context, *ListGroupsRequest) (*GroupList, error) // List all users that are part of a group. ListGroupUsers(context.Context, *ListGroupUsersRequest) (*GroupUserList, error) // List leaderboard records ListLeaderboardRecords(context.Context, *ListLeaderboardRecordsRequest) (*LeaderboardRecordList, error) // Fetch list of running matches. ListMatches(context.Context, *ListMatchesRequest) (*MatchList, error) // Fetch list of notifications. ListNotifications(context.Context, *ListNotificationsRequest) (*NotificationList, error) // List publicly readable storage objects in a given collection. ListStorageObjects(context.Context, *ListStorageObjectsRequest) (*StorageObjectList, error) // List groups the current user belongs to. ListUserGroups(context.Context, *ListUserGroupsRequest) (*UserGroupList, error) // Promote a set of users in a group to the next role up. PromoteGroupUsers(context.Context, *PromoteGroupUsersRequest) (*empty.Empty, error) // Get storage objects. ReadStorageObjects(context.Context, *ReadStorageObjectsRequest) (*StorageObjects, error) // Execute a Lua function on the server. RpcFunc(context.Context, *Rpc) (*Rpc, error) // Remove the custom ID from the social profiles on the current user's account. UnlinkCustom(context.Context, *AccountCustom) (*empty.Empty, error) // Remove the device ID from the social profiles on the current user's account. UnlinkDevice(context.Context, *AccountDevice) (*empty.Empty, error) // Remove the email+password from the social profiles on the current user's account. UnlinkEmail(context.Context, *AccountEmail) (*empty.Empty, error) // Remove Facebook from the social profiles on the current user's account. UnlinkFacebook(context.Context, *AccountFacebook) (*empty.Empty, error) // Remove Apple's GameCenter from the social profiles on the current user's account. UnlinkGameCenter(context.Context, *AccountGameCenter) (*empty.Empty, error) // Remove Google from the social profiles on the current user's account. UnlinkGoogle(context.Context, *AccountGoogle) (*empty.Empty, error) // Remove Steam from the social profiles on the current user's account. UnlinkSteam(context.Context, *AccountSteam) (*empty.Empty, error) // Update fields in the current user's account. UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error) // Update fields in a given group. UpdateGroup(context.Context, *UpdateGroupRequest) (*empty.Empty, error) // Write a record to a leaderboard. WriteLeaderboardRecord(context.Context, *WriteLeaderboardRecordRequest) (*LeaderboardRecord, error) // Write objects into the storage engine. WriteStorageObjects(context.Context, *WriteStorageObjectsRequest) (*StorageObjectAcks, error) }
NakamaServer is the server API for Nakama service.
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 when the notification was created. CreateTime *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A notification in the server.
func (*Notification) Descriptor ¶
func (*Notification) Descriptor() ([]byte, []int)
func (*Notification) GetCode ¶
func (m *Notification) GetCode() int32
func (*Notification) GetContent ¶
func (m *Notification) GetContent() string
func (*Notification) GetCreateTime ¶
func (m *Notification) GetCreateTime() *timestamp.Timestamp
func (*Notification) GetId ¶
func (m *Notification) GetId() string
func (*Notification) GetPersistent ¶
func (m *Notification) GetPersistent() bool
func (*Notification) GetSenderId ¶
func (m *Notification) GetSenderId() string
func (*Notification) GetSubject ¶
func (m *Notification) GetSubject() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) Reset ¶
func (m *Notification) Reset()
func (*Notification) String ¶
func (m *Notification) String() string
func (*Notification) XXX_DiscardUnknown ¶
func (m *Notification) XXX_DiscardUnknown()
func (*Notification) XXX_Marshal ¶
func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Notification) XXX_Merge ¶
func (dst *Notification) XXX_Merge(src proto.Message)
func (*Notification) XXX_Size ¶
func (m *Notification) XXX_Size() int
func (*Notification) XXX_Unmarshal ¶
func (m *Notification) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A collection of zero or more notifications.
func (*NotificationList) Descriptor ¶
func (*NotificationList) Descriptor() ([]byte, []int)
func (*NotificationList) GetCacheableCursor ¶
func (m *NotificationList) GetCacheableCursor() string
func (*NotificationList) GetNotifications ¶
func (m *NotificationList) GetNotifications() []*Notification
func (*NotificationList) ProtoMessage ¶
func (*NotificationList) ProtoMessage()
func (*NotificationList) Reset ¶
func (m *NotificationList) Reset()
func (*NotificationList) String ¶
func (m *NotificationList) String() string
func (*NotificationList) XXX_DiscardUnknown ¶
func (m *NotificationList) XXX_DiscardUnknown()
func (*NotificationList) XXX_Marshal ¶
func (m *NotificationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotificationList) XXX_Merge ¶
func (dst *NotificationList) XXX_Merge(src proto.Message)
func (*NotificationList) XXX_Size ¶
func (m *NotificationList) XXX_Size() int
func (*NotificationList) XXX_Unmarshal ¶
func (m *NotificationList) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Promote a set of users in a group to the next role up.
func (*PromoteGroupUsersRequest) Descriptor ¶
func (*PromoteGroupUsersRequest) Descriptor() ([]byte, []int)
func (*PromoteGroupUsersRequest) GetGroupId ¶
func (m *PromoteGroupUsersRequest) GetGroupId() string
func (*PromoteGroupUsersRequest) GetUserIds ¶
func (m *PromoteGroupUsersRequest) GetUserIds() []string
func (*PromoteGroupUsersRequest) ProtoMessage ¶
func (*PromoteGroupUsersRequest) ProtoMessage()
func (*PromoteGroupUsersRequest) Reset ¶
func (m *PromoteGroupUsersRequest) Reset()
func (*PromoteGroupUsersRequest) String ¶
func (m *PromoteGroupUsersRequest) String() string
func (*PromoteGroupUsersRequest) XXX_DiscardUnknown ¶
func (m *PromoteGroupUsersRequest) XXX_DiscardUnknown()
func (*PromoteGroupUsersRequest) XXX_Marshal ¶
func (m *PromoteGroupUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PromoteGroupUsersRequest) XXX_Merge ¶
func (dst *PromoteGroupUsersRequest) XXX_Merge(src proto.Message)
func (*PromoteGroupUsersRequest) XXX_Size ¶
func (m *PromoteGroupUsersRequest) XXX_Size() int
func (*PromoteGroupUsersRequest) XXX_Unmarshal ¶
func (m *PromoteGroupUsersRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Storage objects to get.
func (*ReadStorageObjectId) Descriptor ¶
func (*ReadStorageObjectId) Descriptor() ([]byte, []int)
func (*ReadStorageObjectId) GetCollection ¶
func (m *ReadStorageObjectId) GetCollection() string
func (*ReadStorageObjectId) GetKey ¶
func (m *ReadStorageObjectId) GetKey() string
func (*ReadStorageObjectId) GetUserId ¶
func (m *ReadStorageObjectId) GetUserId() string
func (*ReadStorageObjectId) ProtoMessage ¶
func (*ReadStorageObjectId) ProtoMessage()
func (*ReadStorageObjectId) Reset ¶
func (m *ReadStorageObjectId) Reset()
func (*ReadStorageObjectId) String ¶
func (m *ReadStorageObjectId) String() string
func (*ReadStorageObjectId) XXX_DiscardUnknown ¶
func (m *ReadStorageObjectId) XXX_DiscardUnknown()
func (*ReadStorageObjectId) XXX_Marshal ¶
func (m *ReadStorageObjectId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStorageObjectId) XXX_Merge ¶
func (dst *ReadStorageObjectId) XXX_Merge(src proto.Message)
func (*ReadStorageObjectId) XXX_Size ¶
func (m *ReadStorageObjectId) XXX_Size() int
func (*ReadStorageObjectId) XXX_Unmarshal ¶
func (m *ReadStorageObjectId) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Batch get storage objects.
func (*ReadStorageObjectsRequest) Descriptor ¶
func (*ReadStorageObjectsRequest) Descriptor() ([]byte, []int)
func (*ReadStorageObjectsRequest) GetObjectIds ¶
func (m *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId
func (*ReadStorageObjectsRequest) ProtoMessage ¶
func (*ReadStorageObjectsRequest) ProtoMessage()
func (*ReadStorageObjectsRequest) Reset ¶
func (m *ReadStorageObjectsRequest) Reset()
func (*ReadStorageObjectsRequest) String ¶
func (m *ReadStorageObjectsRequest) String() string
func (*ReadStorageObjectsRequest) XXX_DiscardUnknown ¶
func (m *ReadStorageObjectsRequest) XXX_DiscardUnknown()
func (*ReadStorageObjectsRequest) XXX_Marshal ¶
func (m *ReadStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStorageObjectsRequest) XXX_Merge ¶
func (dst *ReadStorageObjectsRequest) XXX_Merge(src proto.Message)
func (*ReadStorageObjectsRequest) XXX_Size ¶
func (m *ReadStorageObjectsRequest) XXX_Size() int
func (*ReadStorageObjectsRequest) XXX_Unmarshal ¶
func (m *ReadStorageObjectsRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Execute an Lua function on the server.
func (*Rpc) Descriptor ¶
func (*Rpc) GetHttpKey ¶
func (*Rpc) GetPayload ¶
func (*Rpc) ProtoMessage ¶
func (*Rpc) ProtoMessage()
func (*Rpc) XXX_DiscardUnknown ¶
func (m *Rpc) XXX_DiscardUnknown()
func (*Rpc) XXX_Unmarshal ¶
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"` // rUDP specific authentication credentials. UdpToken string `protobuf:"bytes,3,opt,name=udp_token,json=udpToken,proto3" json:"udp_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A user's session used to authenticate messages.
func (*Session) Descriptor ¶
func (*Session) GetCreated ¶
func (*Session) GetUdpToken ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
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 when the object was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the object was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An object within the storage engine.
func (*StorageObject) Descriptor ¶
func (*StorageObject) Descriptor() ([]byte, []int)
func (*StorageObject) GetCollection ¶
func (m *StorageObject) GetCollection() string
func (*StorageObject) GetCreateTime ¶
func (m *StorageObject) GetCreateTime() *timestamp.Timestamp
func (*StorageObject) GetKey ¶
func (m *StorageObject) GetKey() string
func (*StorageObject) GetPermissionRead ¶
func (m *StorageObject) GetPermissionRead() int32
func (*StorageObject) GetPermissionWrite ¶
func (m *StorageObject) GetPermissionWrite() int32
func (*StorageObject) GetUpdateTime ¶
func (m *StorageObject) GetUpdateTime() *timestamp.Timestamp
func (*StorageObject) GetUserId ¶
func (m *StorageObject) GetUserId() string
func (*StorageObject) GetValue ¶
func (m *StorageObject) GetValue() string
func (*StorageObject) GetVersion ¶
func (m *StorageObject) GetVersion() string
func (*StorageObject) ProtoMessage ¶
func (*StorageObject) ProtoMessage()
func (*StorageObject) Reset ¶
func (m *StorageObject) Reset()
func (*StorageObject) String ¶
func (m *StorageObject) String() string
func (*StorageObject) XXX_DiscardUnknown ¶
func (m *StorageObject) XXX_DiscardUnknown()
func (*StorageObject) XXX_Marshal ¶
func (m *StorageObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageObject) XXX_Merge ¶
func (dst *StorageObject) XXX_Merge(src proto.Message)
func (*StorageObject) XXX_Size ¶
func (m *StorageObject) XXX_Size() int
func (*StorageObject) XXX_Unmarshal ¶
func (m *StorageObject) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A storage acknowledgement.
func (*StorageObjectAck) Descriptor ¶
func (*StorageObjectAck) Descriptor() ([]byte, []int)
func (*StorageObjectAck) GetCollection ¶
func (m *StorageObjectAck) GetCollection() string
func (*StorageObjectAck) GetKey ¶
func (m *StorageObjectAck) GetKey() string
func (*StorageObjectAck) GetUserId ¶
func (m *StorageObjectAck) GetUserId() string
func (*StorageObjectAck) GetVersion ¶
func (m *StorageObjectAck) GetVersion() string
func (*StorageObjectAck) ProtoMessage ¶
func (*StorageObjectAck) ProtoMessage()
func (*StorageObjectAck) Reset ¶
func (m *StorageObjectAck) Reset()
func (*StorageObjectAck) String ¶
func (m *StorageObjectAck) String() string
func (*StorageObjectAck) XXX_DiscardUnknown ¶
func (m *StorageObjectAck) XXX_DiscardUnknown()
func (*StorageObjectAck) XXX_Marshal ¶
func (m *StorageObjectAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageObjectAck) XXX_Merge ¶
func (dst *StorageObjectAck) XXX_Merge(src proto.Message)
func (*StorageObjectAck) XXX_Size ¶
func (m *StorageObjectAck) XXX_Size() int
func (*StorageObjectAck) XXX_Unmarshal ¶
func (m *StorageObjectAck) XXX_Unmarshal(b []byte) error
type StorageObjectAcks ¶
type StorageObjectAcks struct { // Batch of storage write acknowledgements. Acks []*StorageObjectAck `protobuf:"bytes,1,rep,name=acks,proto3" json:"acks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Batch of acknowledgements for the storage object write.
func (*StorageObjectAcks) Descriptor ¶
func (*StorageObjectAcks) Descriptor() ([]byte, []int)
func (*StorageObjectAcks) GetAcks ¶
func (m *StorageObjectAcks) GetAcks() []*StorageObjectAck
func (*StorageObjectAcks) ProtoMessage ¶
func (*StorageObjectAcks) ProtoMessage()
func (*StorageObjectAcks) Reset ¶
func (m *StorageObjectAcks) Reset()
func (*StorageObjectAcks) String ¶
func (m *StorageObjectAcks) String() string
func (*StorageObjectAcks) XXX_DiscardUnknown ¶
func (m *StorageObjectAcks) XXX_DiscardUnknown()
func (*StorageObjectAcks) XXX_Marshal ¶
func (m *StorageObjectAcks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageObjectAcks) XXX_Merge ¶
func (dst *StorageObjectAcks) XXX_Merge(src proto.Message)
func (*StorageObjectAcks) XXX_Size ¶
func (m *StorageObjectAcks) XXX_Size() int
func (*StorageObjectAcks) XXX_Unmarshal ¶
func (m *StorageObjectAcks) XXX_Unmarshal(b []byte) error
type StorageObjectList ¶
type StorageObjectList struct { // The list of storage objects. Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // The cursor associated with the query a page of results. Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List of storage objects.
func (*StorageObjectList) Descriptor ¶
func (*StorageObjectList) Descriptor() ([]byte, []int)
func (*StorageObjectList) GetCursor ¶
func (m *StorageObjectList) GetCursor() string
func (*StorageObjectList) GetObjects ¶
func (m *StorageObjectList) GetObjects() []*StorageObject
func (*StorageObjectList) ProtoMessage ¶
func (*StorageObjectList) ProtoMessage()
func (*StorageObjectList) Reset ¶
func (m *StorageObjectList) Reset()
func (*StorageObjectList) String ¶
func (m *StorageObjectList) String() string
func (*StorageObjectList) XXX_DiscardUnknown ¶
func (m *StorageObjectList) XXX_DiscardUnknown()
func (*StorageObjectList) XXX_Marshal ¶
func (m *StorageObjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageObjectList) XXX_Merge ¶
func (dst *StorageObjectList) XXX_Merge(src proto.Message)
func (*StorageObjectList) XXX_Size ¶
func (m *StorageObjectList) XXX_Size() int
func (*StorageObjectList) XXX_Unmarshal ¶
func (m *StorageObjectList) XXX_Unmarshal(b []byte) error
type StorageObjects ¶
type StorageObjects struct { // The batch of storage objects. Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Batch of storage objects.
func (*StorageObjects) Descriptor ¶
func (*StorageObjects) Descriptor() ([]byte, []int)
func (*StorageObjects) GetObjects ¶
func (m *StorageObjects) GetObjects() []*StorageObject
func (*StorageObjects) ProtoMessage ¶
func (*StorageObjects) ProtoMessage()
func (*StorageObjects) Reset ¶
func (m *StorageObjects) Reset()
func (*StorageObjects) String ¶
func (m *StorageObjects) String() string
func (*StorageObjects) XXX_DiscardUnknown ¶
func (m *StorageObjects) XXX_DiscardUnknown()
func (*StorageObjects) XXX_Marshal ¶
func (m *StorageObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageObjects) XXX_Merge ¶
func (dst *StorageObjects) XXX_Merge(src proto.Message)
func (*StorageObjects) XXX_Size ¶
func (m *StorageObjects) XXX_Size() int
func (*StorageObjects) XXX_Unmarshal ¶
func (m *StorageObjects) XXX_Unmarshal(b []byte) error
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { // The username of the user's account. Username *wrappers.StringValue `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The display name of the user. DisplayName *wrappers.StringValue `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A URL for an avatar image. AvatarUrl *wrappers.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 *wrappers.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // The location set by the user. Location *wrappers.StringValue `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // The timezone set by the user. Timezone *wrappers.StringValue `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update a user's account details.
func (*UpdateAccountRequest) Descriptor ¶
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
func (*UpdateAccountRequest) GetAvatarUrl ¶
func (m *UpdateAccountRequest) GetAvatarUrl() *wrappers.StringValue
func (*UpdateAccountRequest) GetDisplayName ¶
func (m *UpdateAccountRequest) GetDisplayName() *wrappers.StringValue
func (*UpdateAccountRequest) GetLangTag ¶
func (m *UpdateAccountRequest) GetLangTag() *wrappers.StringValue
func (*UpdateAccountRequest) GetLocation ¶
func (m *UpdateAccountRequest) GetLocation() *wrappers.StringValue
func (*UpdateAccountRequest) GetTimezone ¶
func (m *UpdateAccountRequest) GetTimezone() *wrappers.StringValue
func (*UpdateAccountRequest) GetUsername ¶
func (m *UpdateAccountRequest) GetUsername() *wrappers.StringValue
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) Reset ¶
func (m *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (m *UpdateAccountRequest) String() string
func (*UpdateAccountRequest) XXX_DiscardUnknown ¶
func (m *UpdateAccountRequest) XXX_DiscardUnknown()
func (*UpdateAccountRequest) XXX_Marshal ¶
func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAccountRequest) XXX_Merge ¶
func (dst *UpdateAccountRequest) XXX_Merge(src proto.Message)
func (*UpdateAccountRequest) XXX_Size ¶
func (m *UpdateAccountRequest) XXX_Size() int
func (*UpdateAccountRequest) XXX_Unmarshal ¶
func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error
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 *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description string. Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Lang tag. LangTag *wrappers.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // Avatar URL. AvatarUrl *wrappers.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 *wrappers.BoolValue `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update fields in a given group.
func (*UpdateGroupRequest) Descriptor ¶
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
func (*UpdateGroupRequest) GetAvatarUrl ¶
func (m *UpdateGroupRequest) GetAvatarUrl() *wrappers.StringValue
func (*UpdateGroupRequest) GetDescription ¶
func (m *UpdateGroupRequest) GetDescription() *wrappers.StringValue
func (*UpdateGroupRequest) GetGroupId ¶
func (m *UpdateGroupRequest) GetGroupId() string
func (*UpdateGroupRequest) GetLangTag ¶
func (m *UpdateGroupRequest) GetLangTag() *wrappers.StringValue
func (*UpdateGroupRequest) GetName ¶
func (m *UpdateGroupRequest) GetName() *wrappers.StringValue
func (*UpdateGroupRequest) GetOpen ¶
func (m *UpdateGroupRequest) GetOpen() *wrappers.BoolValue
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) Reset ¶
func (m *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (m *UpdateGroupRequest) String() string
func (*UpdateGroupRequest) XXX_DiscardUnknown ¶
func (m *UpdateGroupRequest) XXX_DiscardUnknown()
func (*UpdateGroupRequest) XXX_Marshal ¶
func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateGroupRequest) XXX_Merge ¶
func (dst *UpdateGroupRequest) XXX_Merge(src proto.Message)
func (*UpdateGroupRequest) XXX_Size ¶
func (m *UpdateGroupRequest) XXX_Size() int
func (*UpdateGroupRequest) XXX_Unmarshal ¶
func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error
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 when the user was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the user was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A user in the server.
func (*User) Descriptor ¶
func (*User) GetAvatarUrl ¶
func (*User) GetCreateTime ¶
func (*User) GetDisplayName ¶
func (*User) GetEdgeCount ¶
func (*User) GetFacebookId ¶
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 (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of groups belonging to a user, along with the user's role in each group.
func (*UserGroupList) Descriptor ¶
func (*UserGroupList) Descriptor() ([]byte, []int)
func (*UserGroupList) GetUserGroups ¶
func (m *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup
func (*UserGroupList) ProtoMessage ¶
func (*UserGroupList) ProtoMessage()
func (*UserGroupList) Reset ¶
func (m *UserGroupList) Reset()
func (*UserGroupList) String ¶
func (m *UserGroupList) String() string
func (*UserGroupList) XXX_DiscardUnknown ¶
func (m *UserGroupList) XXX_DiscardUnknown()
func (*UserGroupList) XXX_Marshal ¶
func (m *UserGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGroupList) XXX_Merge ¶
func (dst *UserGroupList) XXX_Merge(src proto.Message)
func (*UserGroupList) XXX_Size ¶
func (m *UserGroupList) XXX_Size() int
func (*UserGroupList) XXX_Unmarshal ¶
func (m *UserGroupList) XXX_Unmarshal(b []byte) error
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 int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A single group-role pair.
func (*UserGroupList_UserGroup) Descriptor ¶
func (*UserGroupList_UserGroup) Descriptor() ([]byte, []int)
func (*UserGroupList_UserGroup) GetGroup ¶
func (m *UserGroupList_UserGroup) GetGroup() *Group
func (*UserGroupList_UserGroup) GetState ¶
func (m *UserGroupList_UserGroup) GetState() int32
func (*UserGroupList_UserGroup) ProtoMessage ¶
func (*UserGroupList_UserGroup) ProtoMessage()
func (*UserGroupList_UserGroup) Reset ¶
func (m *UserGroupList_UserGroup) Reset()
func (*UserGroupList_UserGroup) String ¶
func (m *UserGroupList_UserGroup) String() string
func (*UserGroupList_UserGroup) XXX_DiscardUnknown ¶
func (m *UserGroupList_UserGroup) XXX_DiscardUnknown()
func (*UserGroupList_UserGroup) XXX_Marshal ¶
func (m *UserGroupList_UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGroupList_UserGroup) XXX_Merge ¶
func (dst *UserGroupList_UserGroup) XXX_Merge(src proto.Message)
func (*UserGroupList_UserGroup) XXX_Size ¶
func (m *UserGroupList_UserGroup) XXX_Size() int
func (*UserGroupList_UserGroup) XXX_Unmarshal ¶
func (m *UserGroupList_UserGroup) XXX_Unmarshal(b []byte) error
type UserGroupList_UserGroup_State ¶
type UserGroupList_UserGroup_State int32
The group role status.
const ( // Default case. Assumed as SUPERADMIN state. UserGroupList_UserGroup_STATE_UNSPECIFIED UserGroupList_UserGroup_State = 0 // The user is a superadmin with full control of the group. UserGroupList_UserGroup_SUPERADMIN UserGroupList_UserGroup_State = 1 // The user is an admin with additional privileges. UserGroupList_UserGroup_ADMIN UserGroupList_UserGroup_State = 2 // The user is a regular member. UserGroupList_UserGroup_MEMBER UserGroupList_UserGroup_State = 3 // The user has requested to join the group UserGroupList_UserGroup_JOIN_REQUEST UserGroupList_UserGroup_State = 4 )
func (UserGroupList_UserGroup_State) EnumDescriptor ¶
func (UserGroupList_UserGroup_State) EnumDescriptor() ([]byte, []int)
func (UserGroupList_UserGroup_State) String ¶
func (x UserGroupList_UserGroup_State) String() string
type Users ¶
type Users struct { // The User objects. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A collection of zero or more users.
func (*Users) Descriptor ¶
func (*Users) ProtoMessage ¶
func (*Users) ProtoMessage()
func (*Users) XXX_DiscardUnknown ¶
func (m *Users) XXX_DiscardUnknown()
func (*Users) XXX_Marshal ¶
func (*Users) XXX_Unmarshal ¶
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 data. Record *WriteLeaderboardRecordRequest_LeaderboardRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to submit a score to a leaderboard.
func (*WriteLeaderboardRecordRequest) Descriptor ¶
func (*WriteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
func (*WriteLeaderboardRecordRequest) GetLeaderboardId ¶
func (m *WriteLeaderboardRecordRequest) GetLeaderboardId() string
func (*WriteLeaderboardRecordRequest) GetRecord ¶
func (m *WriteLeaderboardRecordRequest) GetRecord() *WriteLeaderboardRecordRequest_LeaderboardRecordWrite
func (*WriteLeaderboardRecordRequest) ProtoMessage ¶
func (*WriteLeaderboardRecordRequest) ProtoMessage()
func (*WriteLeaderboardRecordRequest) Reset ¶
func (m *WriteLeaderboardRecordRequest) Reset()
func (*WriteLeaderboardRecordRequest) String ¶
func (m *WriteLeaderboardRecordRequest) String() string
func (*WriteLeaderboardRecordRequest) XXX_DiscardUnknown ¶
func (m *WriteLeaderboardRecordRequest) XXX_DiscardUnknown()
func (*WriteLeaderboardRecordRequest) XXX_Marshal ¶
func (m *WriteLeaderboardRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteLeaderboardRecordRequest) XXX_Merge ¶
func (dst *WriteLeaderboardRecordRequest) XXX_Merge(src proto.Message)
func (*WriteLeaderboardRecordRequest) XXX_Size ¶
func (m *WriteLeaderboardRecordRequest) XXX_Size() int
func (*WriteLeaderboardRecordRequest) XXX_Unmarshal ¶
func (m *WriteLeaderboardRecordRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Record values to write.
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor ¶
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor() ([]byte, []int)
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata() string
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore() int64
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore() int64
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage ¶
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage()
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset()
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String() string
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_DiscardUnknown ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_DiscardUnknown()
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Marshal ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Merge ¶
func (dst *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Merge(src proto.Message)
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Size ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Size() int
func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Unmarshal ¶
func (m *WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Unmarshal(b []byte) error
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"` // The read access permissions for the object. PermissionRead *wrappers.Int32Value `protobuf:"bytes,5,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"` // The write access permissions for the object. PermissionWrite *wrappers.Int32Value `protobuf:"bytes,6,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The object to store.
func (*WriteStorageObject) Descriptor ¶
func (*WriteStorageObject) Descriptor() ([]byte, []int)
func (*WriteStorageObject) GetCollection ¶
func (m *WriteStorageObject) GetCollection() string
func (*WriteStorageObject) GetKey ¶
func (m *WriteStorageObject) GetKey() string
func (*WriteStorageObject) GetPermissionRead ¶
func (m *WriteStorageObject) GetPermissionRead() *wrappers.Int32Value
func (*WriteStorageObject) GetPermissionWrite ¶
func (m *WriteStorageObject) GetPermissionWrite() *wrappers.Int32Value
func (*WriteStorageObject) GetValue ¶
func (m *WriteStorageObject) GetValue() string
func (*WriteStorageObject) GetVersion ¶
func (m *WriteStorageObject) GetVersion() string
func (*WriteStorageObject) ProtoMessage ¶
func (*WriteStorageObject) ProtoMessage()
func (*WriteStorageObject) Reset ¶
func (m *WriteStorageObject) Reset()
func (*WriteStorageObject) String ¶
func (m *WriteStorageObject) String() string
func (*WriteStorageObject) XXX_DiscardUnknown ¶
func (m *WriteStorageObject) XXX_DiscardUnknown()
func (*WriteStorageObject) XXX_Marshal ¶
func (m *WriteStorageObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteStorageObject) XXX_Merge ¶
func (dst *WriteStorageObject) XXX_Merge(src proto.Message)
func (*WriteStorageObject) XXX_Size ¶
func (m *WriteStorageObject) XXX_Size() int
func (*WriteStorageObject) XXX_Unmarshal ¶
func (m *WriteStorageObject) XXX_Unmarshal(b []byte) error
type WriteStorageObjectsRequest ¶
type WriteStorageObjectsRequest struct { // The objects to store on the server. Objects []*WriteStorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Write objects to the storage engine.
func (*WriteStorageObjectsRequest) Descriptor ¶
func (*WriteStorageObjectsRequest) Descriptor() ([]byte, []int)
func (*WriteStorageObjectsRequest) GetObjects ¶
func (m *WriteStorageObjectsRequest) GetObjects() []*WriteStorageObject
func (*WriteStorageObjectsRequest) ProtoMessage ¶
func (*WriteStorageObjectsRequest) ProtoMessage()
func (*WriteStorageObjectsRequest) Reset ¶
func (m *WriteStorageObjectsRequest) Reset()
func (*WriteStorageObjectsRequest) String ¶
func (m *WriteStorageObjectsRequest) String() string
func (*WriteStorageObjectsRequest) XXX_DiscardUnknown ¶
func (m *WriteStorageObjectsRequest) XXX_DiscardUnknown()
func (*WriteStorageObjectsRequest) XXX_Marshal ¶
func (m *WriteStorageObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteStorageObjectsRequest) XXX_Merge ¶
func (dst *WriteStorageObjectsRequest) XXX_Merge(src proto.Message)
func (*WriteStorageObjectsRequest) XXX_Size ¶
func (m *WriteStorageObjectsRequest) XXX_Size() int
func (*WriteStorageObjectsRequest) XXX_Unmarshal ¶
func (m *WriteStorageObjectsRequest) XXX_Unmarshal(b []byte) error