api

package
v1.27.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Operator_name = map[int32]string{
		0: "NO_OVERRIDE",
		1: "BEST",
		2: "SET",
		3: "INCREMENT",
		4: "DECREMENT",
	}
	Operator_value = map[string]int32{
		"NO_OVERRIDE": 0,
		"BEST":        1,
		"SET":         2,
		"INCREMENT":   3,
		"DECREMENT":   4,
	}
)

Enum value maps for Operator.

View Source
var (
	Friend_State_name = map[int32]string{
		0: "FRIEND",
		1: "INVITE_SENT",
		2: "INVITE_RECEIVED",
		3: "BLOCKED",
	}
	Friend_State_value = map[string]int32{
		"FRIEND":          0,
		"INVITE_SENT":     1,
		"INVITE_RECEIVED": 2,
		"BLOCKED":         3,
	}
)

Enum value maps for Friend_State.

View Source
var (
	GroupUserList_GroupUser_State_name = map[int32]string{
		0: "SUPERADMIN",
		1: "ADMIN",
		2: "MEMBER",
		3: "JOIN_REQUEST",
	}
	GroupUserList_GroupUser_State_value = map[string]int32{
		"SUPERADMIN":   0,
		"ADMIN":        1,
		"MEMBER":       2,
		"JOIN_REQUEST": 3,
	}
)

Enum value maps for GroupUserList_GroupUser_State.

View Source
var (
	UserGroupList_UserGroup_State_name = map[int32]string{
		0: "SUPERADMIN",
		1: "ADMIN",
		2: "MEMBER",
		3: "JOIN_REQUEST",
	}
	UserGroupList_UserGroup_State_value = map[string]int32{
		"SUPERADMIN":   0,
		"ADMIN":        1,
		"MEMBER":       2,
		"JOIN_REQUEST": 3,
	}
)

Enum value maps for UserGroupList_UserGroup_State.

View Source
var (
	ValidatedPurchase_Store_name = map[int32]string{
		0: "APPLE_APP_STORE",
		1: "GOOGLE_PLAY_STORE",
		2: "HUAWEI_APP_GALLERY",
	}
	ValidatedPurchase_Store_value = map[string]int32{
		"APPLE_APP_STORE":    0,
		"GOOGLE_PLAY_STORE":  1,
		"HUAWEI_APP_GALLERY": 2,
	}
)

Enum value maps for ValidatedPurchase_Store.

View Source
var (
	ValidatedPurchase_Environment_name = map[int32]string{
		0: "UNKNOWN",
		1: "SANDBOX",
		2: "PRODUCTION",
	}
	ValidatedPurchase_Environment_value = map[string]int32{
		"UNKNOWN":    0,
		"SANDBOX":    1,
		"PRODUCTION": 2,
	}
)

Enum value maps for ValidatedPurchase_Environment.

Functions

This section is empty.

Types

type Account

type Account struct {

	// The user object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The user's wallet data.
	Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// The email address of the user.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// The devices which belong to the user's account.
	Devices []*AccountDevice `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
	// The custom id in the user's account.
	CustomId string `protobuf:"bytes,5,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	// The UNIX time when the user's email was verified.
	VerifyTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
	// The UNIX time when the user's account was disabled/banned.
	DisableTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=disable_time,json=disableTime,proto3" json:"disable_time,omitempty"`
	// contains filtered or unexported fields
}

A user with additional account details. Always the current user.

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetCustomId

func (x *Account) GetCustomId() string

func (*Account) GetDevices

func (x *Account) GetDevices() []*AccountDevice

func (*Account) GetDisableTime

func (x *Account) GetDisableTime() *timestamp.Timestamp

func (*Account) GetEmail

func (x *Account) GetEmail() string

func (*Account) GetUser

func (x *Account) GetUser() *User

func (*Account) GetVerifyTime

func (x *Account) GetVerifyTime() *timestamp.Timestamp

func (*Account) GetWallet

func (x *Account) GetWallet() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountApple

type AccountApple struct {

	// The ID token received from Apple to validate.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a Apple Sign In token to the server. Used with authenticate/link/unlink.

func (*AccountApple) Descriptor deprecated

func (*AccountApple) Descriptor() ([]byte, []int)

Deprecated: Use AccountApple.ProtoReflect.Descriptor instead.

func (*AccountApple) GetToken

func (x *AccountApple) GetToken() string

func (*AccountApple) GetVars

func (x *AccountApple) GetVars() map[string]string

func (*AccountApple) ProtoMessage

func (*AccountApple) ProtoMessage()

func (*AccountApple) ProtoReflect

func (x *AccountApple) ProtoReflect() protoreflect.Message

func (*AccountApple) Reset

func (x *AccountApple) Reset()

func (*AccountApple) String

func (x *AccountApple) String() string

type AccountCustom

type AccountCustom struct {

	// A custom identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a custom ID to the server. Used with authenticate/link/unlink.

func (*AccountCustom) Descriptor deprecated

func (*AccountCustom) Descriptor() ([]byte, []int)

Deprecated: Use AccountCustom.ProtoReflect.Descriptor instead.

func (*AccountCustom) GetId

func (x *AccountCustom) GetId() string

func (*AccountCustom) GetVars

func (x *AccountCustom) GetVars() map[string]string

func (*AccountCustom) ProtoMessage

func (*AccountCustom) ProtoMessage()

func (*AccountCustom) ProtoReflect

func (x *AccountCustom) ProtoReflect() protoreflect.Message

func (*AccountCustom) Reset

func (x *AccountCustom) Reset()

func (*AccountCustom) String

func (x *AccountCustom) String() string

type AccountDevice

type AccountDevice struct {

	// A device identifier. Should be obtained by a platform-specific device API.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a device to the server. Used with authenticate/link/unlink and user.

func (*AccountDevice) Descriptor deprecated

func (*AccountDevice) Descriptor() ([]byte, []int)

Deprecated: Use AccountDevice.ProtoReflect.Descriptor instead.

func (*AccountDevice) GetId

func (x *AccountDevice) GetId() string

func (*AccountDevice) GetVars

func (x *AccountDevice) GetVars() map[string]string

func (*AccountDevice) ProtoMessage

func (*AccountDevice) ProtoMessage()

func (*AccountDevice) ProtoReflect

func (x *AccountDevice) ProtoReflect() protoreflect.Message

func (*AccountDevice) Reset

func (x *AccountDevice) Reset()

func (*AccountDevice) String

func (x *AccountDevice) String() string

type AccountEmail

type AccountEmail struct {

	// A valid RFC-5322 email address.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// A password for the user account.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Ignored with unlink operations.
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send an email with password to the server. Used with authenticate/link/unlink.

func (*AccountEmail) Descriptor deprecated

func (*AccountEmail) Descriptor() ([]byte, []int)

Deprecated: Use AccountEmail.ProtoReflect.Descriptor instead.

func (*AccountEmail) GetEmail

func (x *AccountEmail) GetEmail() string

func (*AccountEmail) GetPassword

func (x *AccountEmail) GetPassword() string

func (*AccountEmail) GetVars

func (x *AccountEmail) GetVars() map[string]string

func (*AccountEmail) ProtoMessage

func (*AccountEmail) ProtoMessage()

func (*AccountEmail) ProtoReflect

func (x *AccountEmail) ProtoReflect() protoreflect.Message

func (*AccountEmail) Reset

func (x *AccountEmail) Reset()

func (*AccountEmail) String

func (x *AccountEmail) String() string

type AccountFacebook

type AccountFacebook struct {

	// The OAuth token received from Facebook to access their profile API.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a Facebook token to the server. Used with authenticate/link/unlink.

func (*AccountFacebook) Descriptor deprecated

func (*AccountFacebook) Descriptor() ([]byte, []int)

Deprecated: Use AccountFacebook.ProtoReflect.Descriptor instead.

func (*AccountFacebook) GetToken

func (x *AccountFacebook) GetToken() string

func (*AccountFacebook) GetVars

func (x *AccountFacebook) GetVars() map[string]string

func (*AccountFacebook) ProtoMessage

func (*AccountFacebook) ProtoMessage()

func (*AccountFacebook) ProtoReflect

func (x *AccountFacebook) ProtoReflect() protoreflect.Message

func (*AccountFacebook) Reset

func (x *AccountFacebook) Reset()

func (*AccountFacebook) String

func (x *AccountFacebook) String() string

type AccountFacebookInstantGame

type AccountFacebookInstantGame struct {

	// The OAuth token received from a Facebook Instant Game that may be decoded with the Application Secret (must be available with the nakama configuration)
	SignedPlayerInfo string `protobuf:"bytes,1,opt,name=signed_player_info,json=signedPlayerInfo,proto3" json:"signed_player_info,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a Facebook Instant Game token to the server. Used with authenticate/link/unlink.

func (*AccountFacebookInstantGame) Descriptor deprecated

func (*AccountFacebookInstantGame) Descriptor() ([]byte, []int)

Deprecated: Use AccountFacebookInstantGame.ProtoReflect.Descriptor instead.

func (*AccountFacebookInstantGame) GetSignedPlayerInfo

func (x *AccountFacebookInstantGame) GetSignedPlayerInfo() string

func (*AccountFacebookInstantGame) GetVars

func (x *AccountFacebookInstantGame) GetVars() map[string]string

func (*AccountFacebookInstantGame) ProtoMessage

func (*AccountFacebookInstantGame) ProtoMessage()

func (*AccountFacebookInstantGame) ProtoReflect

func (*AccountFacebookInstantGame) Reset

func (x *AccountFacebookInstantGame) Reset()

func (*AccountFacebookInstantGame) String

func (x *AccountFacebookInstantGame) String() string

type AccountGameCenter

type AccountGameCenter struct {

	// Player ID (generated by GameCenter).
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// Bundle ID (generated by GameCenter).
	BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	// Time since UNIX epoch when the signature was created.
	TimestampSeconds int64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"`
	// A random "NSString" used to compute the hash and keep it randomized.
	Salt string `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"`
	// The verification signature data generated.
	Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// The URL for the public encryption key.
	PublicKeyUrl string `protobuf:"bytes,6,opt,name=public_key_url,json=publicKeyUrl,proto3" json:"public_key_url,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.

func (*AccountGameCenter) Descriptor deprecated

func (*AccountGameCenter) Descriptor() ([]byte, []int)

Deprecated: Use AccountGameCenter.ProtoReflect.Descriptor instead.

func (*AccountGameCenter) GetBundleId

func (x *AccountGameCenter) GetBundleId() string

func (*AccountGameCenter) GetPlayerId

func (x *AccountGameCenter) GetPlayerId() string

func (*AccountGameCenter) GetPublicKeyUrl

func (x *AccountGameCenter) GetPublicKeyUrl() string

func (*AccountGameCenter) GetSalt

func (x *AccountGameCenter) GetSalt() string

func (*AccountGameCenter) GetSignature

func (x *AccountGameCenter) GetSignature() string

func (*AccountGameCenter) GetTimestampSeconds

func (x *AccountGameCenter) GetTimestampSeconds() int64

func (*AccountGameCenter) GetVars

func (x *AccountGameCenter) GetVars() map[string]string

func (*AccountGameCenter) ProtoMessage

func (*AccountGameCenter) ProtoMessage()

func (*AccountGameCenter) ProtoReflect

func (x *AccountGameCenter) ProtoReflect() protoreflect.Message

func (*AccountGameCenter) Reset

func (x *AccountGameCenter) Reset()

func (*AccountGameCenter) String

func (x *AccountGameCenter) String() string

type AccountGoogle

type AccountGoogle struct {

	// The OAuth token received from Google to access their profile API.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a Google token to the server. Used with authenticate/link/unlink.

func (*AccountGoogle) Descriptor deprecated

func (*AccountGoogle) Descriptor() ([]byte, []int)

Deprecated: Use AccountGoogle.ProtoReflect.Descriptor instead.

func (*AccountGoogle) GetToken

func (x *AccountGoogle) GetToken() string

func (*AccountGoogle) GetVars

func (x *AccountGoogle) GetVars() map[string]string

func (*AccountGoogle) ProtoMessage

func (*AccountGoogle) ProtoMessage()

func (*AccountGoogle) ProtoReflect

func (x *AccountGoogle) ProtoReflect() protoreflect.Message

func (*AccountGoogle) Reset

func (x *AccountGoogle) Reset()

func (*AccountGoogle) String

func (x *AccountGoogle) String() string

type AccountRefresh

type AccountRefresh struct {

	// Refresh token.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Obtain a new authentication token using a refresh token.

func (*AccountRefresh) Descriptor deprecated

func (*AccountRefresh) Descriptor() ([]byte, []int)

Deprecated: Use AccountRefresh.ProtoReflect.Descriptor instead.

func (*AccountRefresh) GetToken

func (x *AccountRefresh) GetToken() string

func (*AccountRefresh) GetVars

func (x *AccountRefresh) GetVars() map[string]string

func (*AccountRefresh) ProtoMessage

func (*AccountRefresh) ProtoMessage()

func (*AccountRefresh) ProtoReflect

func (x *AccountRefresh) ProtoReflect() protoreflect.Message

func (*AccountRefresh) Reset

func (x *AccountRefresh) Reset()

func (*AccountRefresh) String

func (x *AccountRefresh) String() string

type AccountSteam

type AccountSteam struct {

	// The account token received from Steam to access their profile API.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Send a Steam token to the server. Used with authenticate/link/unlink.

func (*AccountSteam) Descriptor deprecated

func (*AccountSteam) Descriptor() ([]byte, []int)

Deprecated: Use AccountSteam.ProtoReflect.Descriptor instead.

func (*AccountSteam) GetToken

func (x *AccountSteam) GetToken() string

func (*AccountSteam) GetVars

func (x *AccountSteam) GetVars() map[string]string

func (*AccountSteam) ProtoMessage

func (*AccountSteam) ProtoMessage()

func (*AccountSteam) ProtoReflect

func (x *AccountSteam) ProtoReflect() protoreflect.Message

func (*AccountSteam) Reset

func (x *AccountSteam) Reset()

func (*AccountSteam) String

func (x *AccountSteam) String() string

type AddFriendsRequest

type AddFriendsRequest struct {

	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// contains filtered or unexported fields
}

Add one or more friends to the current user.

func (*AddFriendsRequest) Descriptor deprecated

func (*AddFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddFriendsRequest.ProtoReflect.Descriptor instead.

func (*AddFriendsRequest) GetIds

func (x *AddFriendsRequest) GetIds() []string

func (*AddFriendsRequest) GetUsernames

func (x *AddFriendsRequest) GetUsernames() []string

func (*AddFriendsRequest) ProtoMessage

func (*AddFriendsRequest) ProtoMessage()

func (*AddFriendsRequest) ProtoReflect

func (x *AddFriendsRequest) ProtoReflect() protoreflect.Message

func (*AddFriendsRequest) Reset

func (x *AddFriendsRequest) Reset()

func (*AddFriendsRequest) String

func (x *AddFriendsRequest) String() string

type AddGroupUsersRequest

type AddGroupUsersRequest struct {

	// The group to add users to.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to add.
	UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Add users to a group.

func (*AddGroupUsersRequest) Descriptor deprecated

func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*AddGroupUsersRequest) GetGroupId

func (x *AddGroupUsersRequest) GetGroupId() string

func (*AddGroupUsersRequest) GetUserIds

func (x *AddGroupUsersRequest) GetUserIds() []string

func (*AddGroupUsersRequest) ProtoMessage

func (*AddGroupUsersRequest) ProtoMessage()

func (*AddGroupUsersRequest) ProtoReflect

func (x *AddGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*AddGroupUsersRequest) Reset

func (x *AddGroupUsersRequest) Reset()

func (*AddGroupUsersRequest) String

func (x *AddGroupUsersRequest) String() string

type AuthenticateAppleRequest

type AuthenticateAppleRequest struct {

	// The Apple account details.
	Account *AccountApple `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with Apple Sign In.

func (*AuthenticateAppleRequest) Descriptor deprecated

func (*AuthenticateAppleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateAppleRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateAppleRequest) GetAccount

func (x *AuthenticateAppleRequest) GetAccount() *AccountApple

func (*AuthenticateAppleRequest) GetCreate

func (*AuthenticateAppleRequest) GetUsername

func (x *AuthenticateAppleRequest) GetUsername() string

func (*AuthenticateAppleRequest) ProtoMessage

func (*AuthenticateAppleRequest) ProtoMessage()

func (*AuthenticateAppleRequest) ProtoReflect

func (x *AuthenticateAppleRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateAppleRequest) Reset

func (x *AuthenticateAppleRequest) Reset()

func (*AuthenticateAppleRequest) String

func (x *AuthenticateAppleRequest) String() string

type AuthenticateCustomRequest

type AuthenticateCustomRequest struct {

	// The custom account details.
	Account *AccountCustom `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with a custom ID.

func (*AuthenticateCustomRequest) Descriptor deprecated

func (*AuthenticateCustomRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateCustomRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateCustomRequest) GetAccount

func (x *AuthenticateCustomRequest) GetAccount() *AccountCustom

func (*AuthenticateCustomRequest) GetCreate

func (*AuthenticateCustomRequest) GetUsername

func (x *AuthenticateCustomRequest) GetUsername() string

func (*AuthenticateCustomRequest) ProtoMessage

func (*AuthenticateCustomRequest) ProtoMessage()

func (*AuthenticateCustomRequest) ProtoReflect

func (*AuthenticateCustomRequest) Reset

func (x *AuthenticateCustomRequest) Reset()

func (*AuthenticateCustomRequest) String

func (x *AuthenticateCustomRequest) String() string

type AuthenticateDeviceRequest

type AuthenticateDeviceRequest struct {

	// The device account details.
	Account *AccountDevice `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with a device ID.

func (*AuthenticateDeviceRequest) Descriptor deprecated

func (*AuthenticateDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateDeviceRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateDeviceRequest) GetAccount

func (x *AuthenticateDeviceRequest) GetAccount() *AccountDevice

func (*AuthenticateDeviceRequest) GetCreate

func (*AuthenticateDeviceRequest) GetUsername

func (x *AuthenticateDeviceRequest) GetUsername() string

func (*AuthenticateDeviceRequest) ProtoMessage

func (*AuthenticateDeviceRequest) ProtoMessage()

func (*AuthenticateDeviceRequest) ProtoReflect

func (*AuthenticateDeviceRequest) Reset

func (x *AuthenticateDeviceRequest) Reset()

func (*AuthenticateDeviceRequest) String

func (x *AuthenticateDeviceRequest) String() string

type AuthenticateEmailRequest

type AuthenticateEmailRequest struct {

	// The email account details.
	Account *AccountEmail `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with email+password.

func (*AuthenticateEmailRequest) Descriptor deprecated

func (*AuthenticateEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateEmailRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateEmailRequest) GetAccount

func (x *AuthenticateEmailRequest) GetAccount() *AccountEmail

func (*AuthenticateEmailRequest) GetCreate

func (*AuthenticateEmailRequest) GetUsername

func (x *AuthenticateEmailRequest) GetUsername() string

func (*AuthenticateEmailRequest) ProtoMessage

func (*AuthenticateEmailRequest) ProtoMessage()

func (*AuthenticateEmailRequest) ProtoReflect

func (x *AuthenticateEmailRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateEmailRequest) Reset

func (x *AuthenticateEmailRequest) Reset()

func (*AuthenticateEmailRequest) String

func (x *AuthenticateEmailRequest) String() string

type AuthenticateFacebookInstantGameRequest

type AuthenticateFacebookInstantGameRequest struct {

	// The Facebook Instant Game account details.
	Account *AccountFacebookInstantGame `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with Facebook Instant Game token.

func (*AuthenticateFacebookInstantGameRequest) Descriptor deprecated

func (*AuthenticateFacebookInstantGameRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateFacebookInstantGameRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateFacebookInstantGameRequest) GetAccount

func (*AuthenticateFacebookInstantGameRequest) GetCreate

func (*AuthenticateFacebookInstantGameRequest) GetUsername

func (*AuthenticateFacebookInstantGameRequest) ProtoMessage

func (*AuthenticateFacebookInstantGameRequest) ProtoReflect

func (*AuthenticateFacebookInstantGameRequest) Reset

func (*AuthenticateFacebookInstantGameRequest) String

type AuthenticateFacebookRequest

type AuthenticateFacebookRequest struct {

	// The Facebook account details.
	Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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.
	Sync *wrappers.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"`
	// contains filtered or unexported fields
}

Authenticate against the server with Facebook.

func (*AuthenticateFacebookRequest) Descriptor deprecated

func (*AuthenticateFacebookRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateFacebookRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateFacebookRequest) GetAccount

func (*AuthenticateFacebookRequest) GetCreate

func (*AuthenticateFacebookRequest) GetSync

func (*AuthenticateFacebookRequest) GetUsername

func (x *AuthenticateFacebookRequest) GetUsername() string

func (*AuthenticateFacebookRequest) ProtoMessage

func (*AuthenticateFacebookRequest) ProtoMessage()

func (*AuthenticateFacebookRequest) ProtoReflect

func (*AuthenticateFacebookRequest) Reset

func (x *AuthenticateFacebookRequest) Reset()

func (*AuthenticateFacebookRequest) String

func (x *AuthenticateFacebookRequest) String() string

type AuthenticateGameCenterRequest

type AuthenticateGameCenterRequest struct {

	// The Game Center account details.
	Account *AccountGameCenter `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with Apple's Game Center.

func (*AuthenticateGameCenterRequest) Descriptor deprecated

func (*AuthenticateGameCenterRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateGameCenterRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateGameCenterRequest) GetAccount

func (*AuthenticateGameCenterRequest) GetCreate

func (*AuthenticateGameCenterRequest) GetUsername

func (x *AuthenticateGameCenterRequest) GetUsername() string

func (*AuthenticateGameCenterRequest) ProtoMessage

func (*AuthenticateGameCenterRequest) ProtoMessage()

func (*AuthenticateGameCenterRequest) ProtoReflect

func (*AuthenticateGameCenterRequest) Reset

func (x *AuthenticateGameCenterRequest) Reset()

func (*AuthenticateGameCenterRequest) String

type AuthenticateGoogleRequest

type AuthenticateGoogleRequest struct {

	// The Google account details.
	Account *AccountGoogle `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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"`
	// contains filtered or unexported fields
}

Authenticate against the server with Google.

func (*AuthenticateGoogleRequest) Descriptor deprecated

func (*AuthenticateGoogleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateGoogleRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateGoogleRequest) GetAccount

func (x *AuthenticateGoogleRequest) GetAccount() *AccountGoogle

func (*AuthenticateGoogleRequest) GetCreate

func (*AuthenticateGoogleRequest) GetUsername

func (x *AuthenticateGoogleRequest) GetUsername() string

func (*AuthenticateGoogleRequest) ProtoMessage

func (*AuthenticateGoogleRequest) ProtoMessage()

func (*AuthenticateGoogleRequest) ProtoReflect

func (*AuthenticateGoogleRequest) Reset

func (x *AuthenticateGoogleRequest) Reset()

func (*AuthenticateGoogleRequest) String

func (x *AuthenticateGoogleRequest) String() string

type AuthenticateSteamRequest

type AuthenticateSteamRequest struct {

	// The Steam account details.
	Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *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 Steam friends for the user.
	Sync *wrappers.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"`
	// contains filtered or unexported fields
}

Authenticate against the server with Steam.

func (*AuthenticateSteamRequest) Descriptor deprecated

func (*AuthenticateSteamRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateSteamRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateSteamRequest) GetAccount

func (x *AuthenticateSteamRequest) GetAccount() *AccountSteam

func (*AuthenticateSteamRequest) GetCreate

func (*AuthenticateSteamRequest) GetSync

func (*AuthenticateSteamRequest) GetUsername

func (x *AuthenticateSteamRequest) GetUsername() string

func (*AuthenticateSteamRequest) ProtoMessage

func (*AuthenticateSteamRequest) ProtoMessage()

func (*AuthenticateSteamRequest) ProtoReflect

func (x *AuthenticateSteamRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateSteamRequest) Reset

func (x *AuthenticateSteamRequest) Reset()

func (*AuthenticateSteamRequest) String

func (x *AuthenticateSteamRequest) String() string

type BanGroupUsersRequest

type BanGroupUsersRequest struct {

	// The group to ban users from.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to ban.
	UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Ban users from a group.

func (*BanGroupUsersRequest) Descriptor deprecated

func (*BanGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use BanGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*BanGroupUsersRequest) GetGroupId

func (x *BanGroupUsersRequest) GetGroupId() string

func (*BanGroupUsersRequest) GetUserIds

func (x *BanGroupUsersRequest) GetUserIds() []string

func (*BanGroupUsersRequest) ProtoMessage

func (*BanGroupUsersRequest) ProtoMessage()

func (*BanGroupUsersRequest) ProtoReflect

func (x *BanGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*BanGroupUsersRequest) Reset

func (x *BanGroupUsersRequest) Reset()

func (*BanGroupUsersRequest) String

func (x *BanGroupUsersRequest) String() string

type BlockFriendsRequest

type BlockFriendsRequest struct {

	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// contains filtered or unexported fields
}

Block one or more friends for the current user.

func (*BlockFriendsRequest) Descriptor deprecated

func (*BlockFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockFriendsRequest.ProtoReflect.Descriptor instead.

func (*BlockFriendsRequest) GetIds

func (x *BlockFriendsRequest) GetIds() []string

func (*BlockFriendsRequest) GetUsernames

func (x *BlockFriendsRequest) GetUsernames() []string

func (*BlockFriendsRequest) ProtoMessage

func (*BlockFriendsRequest) ProtoMessage()

func (*BlockFriendsRequest) ProtoReflect

func (x *BlockFriendsRequest) ProtoReflect() protoreflect.Message

func (*BlockFriendsRequest) Reset

func (x *BlockFriendsRequest) Reset()

func (*BlockFriendsRequest) String

func (x *BlockFriendsRequest) String() string

type ChannelMessage

type ChannelMessage struct {

	// The channel this message belongs to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The unique ID of this message.
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The code representing a message type or category.
	Code *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"`
	// The name of the chat room, or an empty string if this message was not sent through a chat room.
	RoomName string `protobuf:"bytes,10,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// The ID of the group, or an empty string if this message was not sent through a group channel.
	GroupId string `protobuf:"bytes,11,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
	UserIdOne string `protobuf:"bytes,12,opt,name=user_id_one,json=userIdOne,proto3" json:"user_id_one,omitempty"`
	// The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
	UserIdTwo string `protobuf:"bytes,13,opt,name=user_id_two,json=userIdTwo,proto3" json:"user_id_two,omitempty"`
	// contains filtered or unexported fields
}

A message sent on a channel.

func (*ChannelMessage) Descriptor deprecated

func (*ChannelMessage) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessage.ProtoReflect.Descriptor instead.

func (*ChannelMessage) GetChannelId

func (x *ChannelMessage) GetChannelId() string

func (*ChannelMessage) GetCode

func (x *ChannelMessage) GetCode() *wrappers.Int32Value

func (*ChannelMessage) GetContent

func (x *ChannelMessage) GetContent() string

func (*ChannelMessage) GetCreateTime

func (x *ChannelMessage) GetCreateTime() *timestamp.Timestamp

func (*ChannelMessage) GetGroupId

func (x *ChannelMessage) GetGroupId() string

func (*ChannelMessage) GetMessageId

func (x *ChannelMessage) GetMessageId() string

func (*ChannelMessage) GetPersistent

func (x *ChannelMessage) GetPersistent() *wrappers.BoolValue

func (*ChannelMessage) GetRoomName

func (x *ChannelMessage) GetRoomName() string

func (*ChannelMessage) GetSenderId

func (x *ChannelMessage) GetSenderId() string

func (*ChannelMessage) GetUpdateTime

func (x *ChannelMessage) GetUpdateTime() *timestamp.Timestamp

func (*ChannelMessage) GetUserIdOne

func (x *ChannelMessage) GetUserIdOne() string

func (*ChannelMessage) GetUserIdTwo

func (x *ChannelMessage) GetUserIdTwo() string

func (*ChannelMessage) GetUsername

func (x *ChannelMessage) GetUsername() string

func (*ChannelMessage) ProtoMessage

func (*ChannelMessage) ProtoMessage()

func (*ChannelMessage) ProtoReflect

func (x *ChannelMessage) ProtoReflect() protoreflect.Message

func (*ChannelMessage) Reset

func (x *ChannelMessage) Reset()

func (*ChannelMessage) String

func (x *ChannelMessage) String() string

type ChannelMessageList

type ChannelMessageList struct {

	// A list of messages.
	Messages []*ChannelMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// The cursor to send when retrieving the next page, if any.
	NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page, if any.
	PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	// Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
	CacheableCursor string `protobuf:"bytes,4,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of channel messages, usually a result of a list operation.

func (*ChannelMessageList) Descriptor deprecated

func (*ChannelMessageList) Descriptor() ([]byte, []int)

Deprecated: Use ChannelMessageList.ProtoReflect.Descriptor instead.

func (*ChannelMessageList) GetCacheableCursor

func (x *ChannelMessageList) GetCacheableCursor() string

func (*ChannelMessageList) GetMessages

func (x *ChannelMessageList) GetMessages() []*ChannelMessage

func (*ChannelMessageList) GetNextCursor

func (x *ChannelMessageList) GetNextCursor() string

func (*ChannelMessageList) GetPrevCursor

func (x *ChannelMessageList) GetPrevCursor() string

func (*ChannelMessageList) ProtoMessage

func (*ChannelMessageList) ProtoMessage()

func (*ChannelMessageList) ProtoReflect

func (x *ChannelMessageList) ProtoReflect() protoreflect.Message

func (*ChannelMessageList) Reset

func (x *ChannelMessageList) Reset()

func (*ChannelMessageList) String

func (x *ChannelMessageList) String() string

type Clouth

type Clouth struct {
	Id        int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Hair      int32 `protobuf:"varint,2,opt,name=hair,proto3" json:"hair,omitempty"`
	Chest     int32 `protobuf:"varint,3,opt,name=chest,proto3" json:"chest,omitempty"`
	Legs      int32 `protobuf:"varint,4,opt,name=legs,proto3" json:"legs,omitempty"`
	Feet      int32 `protobuf:"varint,5,opt,name=feet,proto3" json:"feet,omitempty"`
	HasJacket bool  `protobuf:"varint,6,opt,name=hasJacket,proto3" json:"hasJacket,omitempty"`
	Jacket    int32 `protobuf:"varint,7,opt,name=jacket,proto3" json:"jacket,omitempty"`
	HasGlass  bool  `protobuf:"varint,8,opt,name=hasGlass,proto3" json:"hasGlass,omitempty"`
	Glass     int32 `protobuf:"varint,9,opt,name=glass,proto3" json:"glass,omitempty"`
	// contains filtered or unexported fields
}

Meta Charater clouth

func (*Clouth) Descriptor deprecated

func (*Clouth) Descriptor() ([]byte, []int)

Deprecated: Use Clouth.ProtoReflect.Descriptor instead.

func (*Clouth) GetChest

func (x *Clouth) GetChest() int32

func (*Clouth) GetFeet

func (x *Clouth) GetFeet() int32

func (*Clouth) GetGlass

func (x *Clouth) GetGlass() int32

func (*Clouth) GetHair

func (x *Clouth) GetHair() int32

func (*Clouth) GetHasGlass

func (x *Clouth) GetHasGlass() bool

func (*Clouth) GetHasJacket

func (x *Clouth) GetHasJacket() bool

func (*Clouth) GetId

func (x *Clouth) GetId() int32

func (*Clouth) GetJacket

func (x *Clouth) GetJacket() int32

func (*Clouth) GetLegs

func (x *Clouth) GetLegs() int32

func (*Clouth) ProtoMessage

func (*Clouth) ProtoMessage()

func (*Clouth) ProtoReflect

func (x *Clouth) ProtoReflect() protoreflect.Message

func (*Clouth) Reset

func (x *Clouth) Reset()

func (*Clouth) String

func (x *Clouth) String() string

type CreateGroupRequest

type CreateGroupRequest struct {

	// A unique name for the group.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description for the group.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,3,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Mark a group as open or not where only admins can accept members.
	Open bool `protobuf:"varint,5,opt,name=open,proto3" json:"open,omitempty"`
	// Maximum number of group members.
	MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	// contains filtered or unexported fields
}

Create a group with the current user as owner.

func (*CreateGroupRequest) Descriptor deprecated

func (*CreateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetAvatarUrl

func (x *CreateGroupRequest) GetAvatarUrl() string

func (*CreateGroupRequest) GetDescription

func (x *CreateGroupRequest) GetDescription() string

func (*CreateGroupRequest) GetLangTag

func (x *CreateGroupRequest) GetLangTag() string

func (*CreateGroupRequest) GetMaxCount

func (x *CreateGroupRequest) GetMaxCount() int32

func (*CreateGroupRequest) GetName

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetOpen

func (x *CreateGroupRequest) GetOpen() bool

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

type DeleteFriendsRequest

type DeleteFriendsRequest struct {

	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// contains filtered or unexported fields
}

Delete one or more friends for the current user.

func (*DeleteFriendsRequest) Descriptor deprecated

func (*DeleteFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFriendsRequest.ProtoReflect.Descriptor instead.

func (*DeleteFriendsRequest) GetIds

func (x *DeleteFriendsRequest) GetIds() []string

func (*DeleteFriendsRequest) GetUsernames

func (x *DeleteFriendsRequest) GetUsernames() []string

func (*DeleteFriendsRequest) ProtoMessage

func (*DeleteFriendsRequest) ProtoMessage()

func (*DeleteFriendsRequest) ProtoReflect

func (x *DeleteFriendsRequest) ProtoReflect() protoreflect.Message

func (*DeleteFriendsRequest) Reset

func (x *DeleteFriendsRequest) Reset()

func (*DeleteFriendsRequest) String

func (x *DeleteFriendsRequest) String() string

type DeleteGroupRequest

type DeleteGroupRequest struct {

	// The id of a group.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

Delete a group the user has access to.

func (*DeleteGroupRequest) Descriptor deprecated

func (*DeleteGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetGroupId

func (x *DeleteGroupRequest) GetGroupId() string

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

type DeleteLeaderboardRecordRequest

type DeleteLeaderboardRecordRequest struct {

	// The leaderboard ID to delete from.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// contains filtered or unexported fields
}

Delete a leaderboard record.

func (*DeleteLeaderboardRecordRequest) Descriptor deprecated

func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteLeaderboardRecordRequest.ProtoReflect.Descriptor instead.

func (*DeleteLeaderboardRecordRequest) GetLeaderboardId

func (x *DeleteLeaderboardRecordRequest) GetLeaderboardId() string

func (*DeleteLeaderboardRecordRequest) ProtoMessage

func (*DeleteLeaderboardRecordRequest) ProtoMessage()

func (*DeleteLeaderboardRecordRequest) ProtoReflect

func (*DeleteLeaderboardRecordRequest) Reset

func (x *DeleteLeaderboardRecordRequest) Reset()

func (*DeleteLeaderboardRecordRequest) String

type DeleteNotificationsRequest

type DeleteNotificationsRequest struct {

	// The id of notifications.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

Delete one or more notifications for the current user.

func (*DeleteNotificationsRequest) Descriptor deprecated

func (*DeleteNotificationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotificationsRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationsRequest) GetIds

func (x *DeleteNotificationsRequest) GetIds() []string

func (*DeleteNotificationsRequest) ProtoMessage

func (*DeleteNotificationsRequest) ProtoMessage()

func (*DeleteNotificationsRequest) ProtoReflect

func (*DeleteNotificationsRequest) Reset

func (x *DeleteNotificationsRequest) Reset()

func (*DeleteNotificationsRequest) String

func (x *DeleteNotificationsRequest) String() string

type DeleteStorageObjectId

type DeleteStorageObjectId struct {

	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The version hash of the object.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Storage objects to delete.

func (*DeleteStorageObjectId) Descriptor deprecated

func (*DeleteStorageObjectId) Descriptor() ([]byte, []int)

Deprecated: Use DeleteStorageObjectId.ProtoReflect.Descriptor instead.

func (*DeleteStorageObjectId) GetCollection

func (x *DeleteStorageObjectId) GetCollection() string

func (*DeleteStorageObjectId) GetKey

func (x *DeleteStorageObjectId) GetKey() string

func (*DeleteStorageObjectId) GetVersion

func (x *DeleteStorageObjectId) GetVersion() string

func (*DeleteStorageObjectId) ProtoMessage

func (*DeleteStorageObjectId) ProtoMessage()

func (*DeleteStorageObjectId) ProtoReflect

func (x *DeleteStorageObjectId) ProtoReflect() protoreflect.Message

func (*DeleteStorageObjectId) Reset

func (x *DeleteStorageObjectId) Reset()

func (*DeleteStorageObjectId) String

func (x *DeleteStorageObjectId) String() string

type DeleteStorageObjectsRequest

type DeleteStorageObjectsRequest struct {

	// Batch of storage objects.
	ObjectIds []*DeleteStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"`
	// contains filtered or unexported fields
}

Batch delete storage objects.

func (*DeleteStorageObjectsRequest) Descriptor deprecated

func (*DeleteStorageObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteStorageObjectsRequest.ProtoReflect.Descriptor instead.

func (*DeleteStorageObjectsRequest) GetObjectIds

func (*DeleteStorageObjectsRequest) ProtoMessage

func (*DeleteStorageObjectsRequest) ProtoMessage()

func (*DeleteStorageObjectsRequest) ProtoReflect

func (*DeleteStorageObjectsRequest) Reset

func (x *DeleteStorageObjectsRequest) Reset()

func (*DeleteStorageObjectsRequest) String

func (x *DeleteStorageObjectsRequest) String() string

type DemoteGroupUsersRequest

type DemoteGroupUsersRequest struct {

	// The group ID to demote in.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to demote.
	UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Demote a set of users in a group to the next role down.

func (*DemoteGroupUsersRequest) Descriptor deprecated

func (*DemoteGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use DemoteGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*DemoteGroupUsersRequest) GetGroupId

func (x *DemoteGroupUsersRequest) GetGroupId() string

func (*DemoteGroupUsersRequest) GetUserIds

func (x *DemoteGroupUsersRequest) GetUserIds() []string

func (*DemoteGroupUsersRequest) ProtoMessage

func (*DemoteGroupUsersRequest) ProtoMessage()

func (*DemoteGroupUsersRequest) ProtoReflect

func (x *DemoteGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*DemoteGroupUsersRequest) Reset

func (x *DemoteGroupUsersRequest) Reset()

func (*DemoteGroupUsersRequest) String

func (x *DemoteGroupUsersRequest) String() string

type Event

type Event struct {

	// An event name, type, category, or identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Arbitrary event property values.
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// The time when the event was triggered.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// True if the event came directly from a client call, false otherwise.
	External bool `protobuf:"varint,4,opt,name=external,proto3" json:"external,omitempty"`
	// contains filtered or unexported fields
}

Represents an event to be passed through the server to registered event handlers.

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetExternal

func (x *Event) GetExternal() bool

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetProperties

func (x *Event) GetProperties() map[string]string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamp.Timestamp

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Friend

type Friend struct {

	// The user object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The friend status.
	State *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // one of "Friend.State".
	// Time of the latest relationship update.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A friend of a user.

func (*Friend) Descriptor deprecated

func (*Friend) Descriptor() ([]byte, []int)

Deprecated: Use Friend.ProtoReflect.Descriptor instead.

func (*Friend) GetState

func (x *Friend) GetState() *wrappers.Int32Value

func (*Friend) GetUpdateTime

func (x *Friend) GetUpdateTime() *timestamp.Timestamp

func (*Friend) GetUser

func (x *Friend) GetUser() *User

func (*Friend) ProtoMessage

func (*Friend) ProtoMessage()

func (*Friend) ProtoReflect

func (x *Friend) ProtoReflect() protoreflect.Message

func (*Friend) Reset

func (x *Friend) Reset()

func (*Friend) String

func (x *Friend) String() string

type FriendList

type FriendList struct {

	// The Friend objects.
	Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
	// Cursor for the next page of results, if any.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

A collection of zero or more friends of the user.

func (*FriendList) Descriptor deprecated

func (*FriendList) Descriptor() ([]byte, []int)

Deprecated: Use FriendList.ProtoReflect.Descriptor instead.

func (*FriendList) GetCursor

func (x *FriendList) GetCursor() string

func (*FriendList) GetFriends

func (x *FriendList) GetFriends() []*Friend

func (*FriendList) ProtoMessage

func (*FriendList) ProtoMessage()

func (*FriendList) ProtoReflect

func (x *FriendList) ProtoReflect() protoreflect.Message

func (*FriendList) Reset

func (x *FriendList) Reset()

func (*FriendList) String

func (x *FriendList) String() string

type Friend_State

type Friend_State int32

The friendship status.

const (
	// The user is a friend of the current user.
	Friend_FRIEND Friend_State = 0
	// The current user has sent an invite to the user.
	Friend_INVITE_SENT Friend_State = 1
	// The current user has received an invite from this user.
	Friend_INVITE_RECEIVED Friend_State = 2
	// The current user has blocked this user.
	Friend_BLOCKED Friend_State = 3
)

func (Friend_State) Descriptor

func (Friend_State) Enum

func (x Friend_State) Enum() *Friend_State

func (Friend_State) EnumDescriptor deprecated

func (Friend_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Friend_State.Descriptor instead.

func (Friend_State) Number

func (Friend_State) String

func (x Friend_State) String() string

func (Friend_State) Type

type GetUsersRequest

type GetUsersRequest struct {

	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// The Facebook ID of a user.
	FacebookIds []string `protobuf:"bytes,3,rep,name=facebook_ids,json=facebookIds,proto3" json:"facebook_ids,omitempty"`
	// contains filtered or unexported fields
}

Fetch a batch of zero or more users from the server.

func (*GetUsersRequest) Descriptor deprecated

func (*GetUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.

func (*GetUsersRequest) GetFacebookIds

func (x *GetUsersRequest) GetFacebookIds() []string

func (*GetUsersRequest) GetIds

func (x *GetUsersRequest) GetIds() []string

func (*GetUsersRequest) GetUsernames

func (x *GetUsersRequest) GetUsernames() []string

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) ProtoReflect

func (x *GetUsersRequest) ProtoReflect() protoreflect.Message

func (*GetUsersRequest) Reset

func (x *GetUsersRequest) Reset()

func (*GetUsersRequest) String

func (x *GetUsersRequest) String() string

type Group

type Group struct {

	// The id of a group.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The id of the user who created the group.
	CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// The unique name of the group.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// A description for the group.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Anyone can join open groups, otherwise only admins can accept members.
	Open *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"`
	// contains filtered or unexported fields
}

A group in the server.

func (*Group) Descriptor deprecated

func (*Group) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAvatarUrl

func (x *Group) GetAvatarUrl() string

func (*Group) GetCreateTime

func (x *Group) GetCreateTime() *timestamp.Timestamp

func (*Group) GetCreatorId

func (x *Group) GetCreatorId() string

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetEdgeCount

func (x *Group) GetEdgeCount() int32

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetLangTag

func (x *Group) GetLangTag() string

func (*Group) GetMaxCount

func (x *Group) GetMaxCount() int32

func (*Group) GetMetadata

func (x *Group) GetMetadata() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetOpen

func (x *Group) GetOpen() *wrappers.BoolValue

func (*Group) GetUpdateTime

func (x *Group) GetUpdateTime() *timestamp.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type GroupList

type GroupList struct {

	// One or more groups.
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// A cursor used to get the next page.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

One or more groups returned from a listing operation.

func (*GroupList) Descriptor deprecated

func (*GroupList) Descriptor() ([]byte, []int)

Deprecated: Use GroupList.ProtoReflect.Descriptor instead.

func (*GroupList) GetCursor

func (x *GroupList) GetCursor() string

func (*GroupList) GetGroups

func (x *GroupList) GetGroups() []*Group

func (*GroupList) ProtoMessage

func (*GroupList) ProtoMessage()

func (*GroupList) ProtoReflect

func (x *GroupList) ProtoReflect() protoreflect.Message

func (*GroupList) Reset

func (x *GroupList) Reset()

func (*GroupList) String

func (x *GroupList) String() string

type GroupUserList

type GroupUserList struct {

	// User-role pairs for a group.
	GroupUsers []*GroupUserList_GroupUser `protobuf:"bytes,1,rep,name=group_users,json=groupUsers,proto3" json:"group_users,omitempty"`
	// Cursor for the next page of results, if any.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of users belonging to a group, along with their role.

func (*GroupUserList) Descriptor deprecated

func (*GroupUserList) Descriptor() ([]byte, []int)

Deprecated: Use GroupUserList.ProtoReflect.Descriptor instead.

func (*GroupUserList) GetCursor

func (x *GroupUserList) GetCursor() string

func (*GroupUserList) GetGroupUsers

func (x *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser

func (*GroupUserList) ProtoMessage

func (*GroupUserList) ProtoMessage()

func (*GroupUserList) ProtoReflect

func (x *GroupUserList) ProtoReflect() protoreflect.Message

func (*GroupUserList) Reset

func (x *GroupUserList) Reset()

func (*GroupUserList) String

func (x *GroupUserList) String() string

type GroupUserList_GroupUser

type GroupUserList_GroupUser struct {

	// User.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Their relationship to the group.
	State *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A single user-role pair.

func (*GroupUserList_GroupUser) Descriptor deprecated

func (*GroupUserList_GroupUser) Descriptor() ([]byte, []int)

Deprecated: Use GroupUserList_GroupUser.ProtoReflect.Descriptor instead.

func (*GroupUserList_GroupUser) GetState

func (*GroupUserList_GroupUser) GetUser

func (x *GroupUserList_GroupUser) GetUser() *User

func (*GroupUserList_GroupUser) ProtoMessage

func (*GroupUserList_GroupUser) ProtoMessage()

func (*GroupUserList_GroupUser) ProtoReflect

func (x *GroupUserList_GroupUser) ProtoReflect() protoreflect.Message

func (*GroupUserList_GroupUser) Reset

func (x *GroupUserList_GroupUser) Reset()

func (*GroupUserList_GroupUser) String

func (x *GroupUserList_GroupUser) String() string

type GroupUserList_GroupUser_State

type GroupUserList_GroupUser_State int32

The group role status.

const (
	// The user is a superadmin with full control of the group.
	GroupUserList_GroupUser_SUPERADMIN GroupUserList_GroupUser_State = 0
	// The user is an admin with additional privileges.
	GroupUserList_GroupUser_ADMIN GroupUserList_GroupUser_State = 1
	// The user is a regular member.
	GroupUserList_GroupUser_MEMBER GroupUserList_GroupUser_State = 2
	// The user has requested to join the group
	GroupUserList_GroupUser_JOIN_REQUEST GroupUserList_GroupUser_State = 3
)

func (GroupUserList_GroupUser_State) Descriptor

func (GroupUserList_GroupUser_State) Enum

func (GroupUserList_GroupUser_State) EnumDescriptor deprecated

func (GroupUserList_GroupUser_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use GroupUserList_GroupUser_State.Descriptor instead.

func (GroupUserList_GroupUser_State) Number

func (GroupUserList_GroupUser_State) String

func (GroupUserList_GroupUser_State) Type

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"`
	// contains filtered or unexported fields
}

Import Facebook friends into the current user's account.

func (*ImportFacebookFriendsRequest) Descriptor deprecated

func (*ImportFacebookFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportFacebookFriendsRequest.ProtoReflect.Descriptor instead.

func (*ImportFacebookFriendsRequest) GetAccount

func (*ImportFacebookFriendsRequest) GetReset_

func (*ImportFacebookFriendsRequest) ProtoMessage

func (*ImportFacebookFriendsRequest) ProtoMessage()

func (*ImportFacebookFriendsRequest) ProtoReflect

func (*ImportFacebookFriendsRequest) Reset

func (x *ImportFacebookFriendsRequest) Reset()

func (*ImportFacebookFriendsRequest) String

type ImportSteamFriendsRequest

type ImportSteamFriendsRequest struct {

	// The Facebook account details.
	Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Reset the current user's friends list.
	Reset_ *wrappers.BoolValue `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"`
	// contains filtered or unexported fields
}

Import Facebook friends into the current user's account.

func (*ImportSteamFriendsRequest) Descriptor deprecated

func (*ImportSteamFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportSteamFriendsRequest.ProtoReflect.Descriptor instead.

func (*ImportSteamFriendsRequest) GetAccount

func (x *ImportSteamFriendsRequest) GetAccount() *AccountSteam

func (*ImportSteamFriendsRequest) GetReset_

func (*ImportSteamFriendsRequest) ProtoMessage

func (*ImportSteamFriendsRequest) ProtoMessage()

func (*ImportSteamFriendsRequest) ProtoReflect

func (*ImportSteamFriendsRequest) Reset

func (x *ImportSteamFriendsRequest) Reset()

func (*ImportSteamFriendsRequest) String

func (x *ImportSteamFriendsRequest) String() string

type JoinGroupRequest

type JoinGroupRequest struct {

	// The group ID to join. The group must already exist.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

Immediately join an open group, or request to join a closed one.

func (*JoinGroupRequest) Descriptor deprecated

func (*JoinGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinGroupRequest.ProtoReflect.Descriptor instead.

func (*JoinGroupRequest) GetGroupId

func (x *JoinGroupRequest) GetGroupId() string

func (*JoinGroupRequest) ProtoMessage

func (*JoinGroupRequest) ProtoMessage()

func (*JoinGroupRequest) ProtoReflect

func (x *JoinGroupRequest) ProtoReflect() protoreflect.Message

func (*JoinGroupRequest) Reset

func (x *JoinGroupRequest) Reset()

func (*JoinGroupRequest) String

func (x *JoinGroupRequest) String() string

type JoinTournamentRequest

type JoinTournamentRequest struct {

	// The ID of the tournament to join. The tournament must already exist.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// contains filtered or unexported fields
}

The request to join a tournament.

func (*JoinTournamentRequest) Descriptor deprecated

func (*JoinTournamentRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinTournamentRequest.ProtoReflect.Descriptor instead.

func (*JoinTournamentRequest) GetTournamentId

func (x *JoinTournamentRequest) GetTournamentId() string

func (*JoinTournamentRequest) ProtoMessage

func (*JoinTournamentRequest) ProtoMessage()

func (*JoinTournamentRequest) ProtoReflect

func (x *JoinTournamentRequest) ProtoReflect() protoreflect.Message

func (*JoinTournamentRequest) Reset

func (x *JoinTournamentRequest) Reset()

func (*JoinTournamentRequest) String

func (x *JoinTournamentRequest) String() string

type KickGroupUsersRequest

type KickGroupUsersRequest struct {

	// The group ID to kick from.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to kick.
	UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Kick a set of users from a group.

func (*KickGroupUsersRequest) Descriptor deprecated

func (*KickGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use KickGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*KickGroupUsersRequest) GetGroupId

func (x *KickGroupUsersRequest) GetGroupId() string

func (*KickGroupUsersRequest) GetUserIds

func (x *KickGroupUsersRequest) GetUserIds() []string

func (*KickGroupUsersRequest) ProtoMessage

func (*KickGroupUsersRequest) ProtoMessage()

func (*KickGroupUsersRequest) ProtoReflect

func (x *KickGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*KickGroupUsersRequest) Reset

func (x *KickGroupUsersRequest) Reset()

func (*KickGroupUsersRequest) String

func (x *KickGroupUsersRequest) String() string

type Leaderboard

type Leaderboard struct {

	// The ID of the leaderboard.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ASC(0) or DESC(1) sort mode of scores in the leaderboard.
	SortOrder uint32 `protobuf:"varint,2,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
	// BEST, SET, INCREMENT or DECREMENT operator mode of the leaderboard.
	Operator Operator `protobuf:"varint,3,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"`
	// The UNIX time when the leaderboard was previously reset. A computed value.
	PrevReset uint32 `protobuf:"varint,4,opt,name=prev_reset,json=prevReset,proto3" json:"prev_reset,omitempty"`
	// The UNIX time when the leaderboard is next playable. A computed value.
	NextReset uint32 `protobuf:"varint,5,opt,name=next_reset,json=nextReset,proto3" json:"next_reset,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The UNIX time when the leaderboard was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Wether the leaderboard was created authoritatively or not.
	Authoritative bool `protobuf:"varint,8,opt,name=authoritative,proto3" json:"authoritative,omitempty"`
	// contains filtered or unexported fields
}

A leaderboard on the server.

func (*Leaderboard) Descriptor deprecated

func (*Leaderboard) Descriptor() ([]byte, []int)

Deprecated: Use Leaderboard.ProtoReflect.Descriptor instead.

func (*Leaderboard) GetAuthoritative

func (x *Leaderboard) GetAuthoritative() bool

func (*Leaderboard) GetCreateTime

func (x *Leaderboard) GetCreateTime() *timestamp.Timestamp

func (*Leaderboard) GetId

func (x *Leaderboard) GetId() string

func (*Leaderboard) GetMetadata

func (x *Leaderboard) GetMetadata() string

func (*Leaderboard) GetNextReset

func (x *Leaderboard) GetNextReset() uint32

func (*Leaderboard) GetOperator

func (x *Leaderboard) GetOperator() Operator

func (*Leaderboard) GetPrevReset

func (x *Leaderboard) GetPrevReset() uint32

func (*Leaderboard) GetSortOrder

func (x *Leaderboard) GetSortOrder() uint32

func (*Leaderboard) ProtoMessage

func (*Leaderboard) ProtoMessage()

func (*Leaderboard) ProtoReflect

func (x *Leaderboard) ProtoReflect() protoreflect.Message

func (*Leaderboard) Reset

func (x *Leaderboard) Reset()

func (*Leaderboard) String

func (x *Leaderboard) String() string

type LeaderboardList

type LeaderboardList struct {

	// The list of leaderboards returned.
	Leaderboards []*Leaderboard `protobuf:"bytes,1,rep,name=leaderboards,proto3" json:"leaderboards,omitempty"`
	// A pagination cursor (optional).
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of leaderboards

func (*LeaderboardList) Descriptor deprecated

func (*LeaderboardList) Descriptor() ([]byte, []int)

Deprecated: Use LeaderboardList.ProtoReflect.Descriptor instead.

func (*LeaderboardList) GetCursor

func (x *LeaderboardList) GetCursor() string

func (*LeaderboardList) GetLeaderboards

func (x *LeaderboardList) GetLeaderboards() []*Leaderboard

func (*LeaderboardList) ProtoMessage

func (*LeaderboardList) ProtoMessage()

func (*LeaderboardList) ProtoReflect

func (x *LeaderboardList) ProtoReflect() protoreflect.Message

func (*LeaderboardList) Reset

func (x *LeaderboardList) Reset()

func (*LeaderboardList) String

func (x *LeaderboardList) String() string

type LeaderboardRecord

type LeaderboardRecord struct {

	// The ID of the leaderboard this score belongs to.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// The ID of the score owner, usually a user or group.
	OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The username of the score owner, if the owner is a user.
	Username *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"`
	// The maximum number of score updates allowed by the owner.
	MaxNumScore uint32 `protobuf:"varint,12,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"`
	// contains filtered or unexported fields
}

Represents a complete leaderboard record with all scores and associated metadata.

func (*LeaderboardRecord) Descriptor deprecated

func (*LeaderboardRecord) Descriptor() ([]byte, []int)

Deprecated: Use LeaderboardRecord.ProtoReflect.Descriptor instead.

func (*LeaderboardRecord) GetCreateTime

func (x *LeaderboardRecord) GetCreateTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetExpiryTime

func (x *LeaderboardRecord) GetExpiryTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetLeaderboardId

func (x *LeaderboardRecord) GetLeaderboardId() string

func (*LeaderboardRecord) GetMaxNumScore

func (x *LeaderboardRecord) GetMaxNumScore() uint32

func (*LeaderboardRecord) GetMetadata

func (x *LeaderboardRecord) GetMetadata() string

func (*LeaderboardRecord) GetNumScore

func (x *LeaderboardRecord) GetNumScore() int32

func (*LeaderboardRecord) GetOwnerId

func (x *LeaderboardRecord) GetOwnerId() string

func (*LeaderboardRecord) GetRank

func (x *LeaderboardRecord) GetRank() int64

func (*LeaderboardRecord) GetScore

func (x *LeaderboardRecord) GetScore() int64

func (*LeaderboardRecord) GetSubscore

func (x *LeaderboardRecord) GetSubscore() int64

func (*LeaderboardRecord) GetUpdateTime

func (x *LeaderboardRecord) GetUpdateTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetUsername

func (x *LeaderboardRecord) GetUsername() *wrappers.StringValue

func (*LeaderboardRecord) ProtoMessage

func (*LeaderboardRecord) ProtoMessage()

func (*LeaderboardRecord) ProtoReflect

func (x *LeaderboardRecord) ProtoReflect() protoreflect.Message

func (*LeaderboardRecord) Reset

func (x *LeaderboardRecord) Reset()

func (*LeaderboardRecord) String

func (x *LeaderboardRecord) String() string

type LeaderboardRecordList

type LeaderboardRecordList struct {

	// A list of leaderboard records.
	Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// A batched set of leaderboard records belonging to specified owners.
	OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"`
	// The cursor to send when retrieving the next page, if any.
	NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page, if any.
	PrevCursor string `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	// contains filtered or unexported fields
}

A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.

func (*LeaderboardRecordList) Descriptor deprecated

func (*LeaderboardRecordList) Descriptor() ([]byte, []int)

Deprecated: Use LeaderboardRecordList.ProtoReflect.Descriptor instead.

func (*LeaderboardRecordList) GetNextCursor

func (x *LeaderboardRecordList) GetNextCursor() string

func (*LeaderboardRecordList) GetOwnerRecords

func (x *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord

func (*LeaderboardRecordList) GetPrevCursor

func (x *LeaderboardRecordList) GetPrevCursor() string

func (*LeaderboardRecordList) GetRecords

func (x *LeaderboardRecordList) GetRecords() []*LeaderboardRecord

func (*LeaderboardRecordList) ProtoMessage

func (*LeaderboardRecordList) ProtoMessage()

func (*LeaderboardRecordList) ProtoReflect

func (x *LeaderboardRecordList) ProtoReflect() protoreflect.Message

func (*LeaderboardRecordList) Reset

func (x *LeaderboardRecordList) Reset()

func (*LeaderboardRecordList) String

func (x *LeaderboardRecordList) String() string

type LeaveGroupRequest

type LeaveGroupRequest struct {

	// The group ID to leave.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

Leave a group.

func (*LeaveGroupRequest) Descriptor deprecated

func (*LeaveGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use LeaveGroupRequest.ProtoReflect.Descriptor instead.

func (*LeaveGroupRequest) GetGroupId

func (x *LeaveGroupRequest) GetGroupId() string

func (*LeaveGroupRequest) ProtoMessage

func (*LeaveGroupRequest) ProtoMessage()

func (*LeaveGroupRequest) ProtoReflect

func (x *LeaveGroupRequest) ProtoReflect() protoreflect.Message

func (*LeaveGroupRequest) Reset

func (x *LeaveGroupRequest) Reset()

func (*LeaveGroupRequest) String

func (x *LeaveGroupRequest) String() string

type LinkFacebookRequest

type LinkFacebookRequest struct {

	// The Facebook account details.
	Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Import Facebook friends for the user.
	Sync *wrappers.BoolValue `protobuf:"bytes,2,opt,name=sync,proto3" json:"sync,omitempty"`
	// contains filtered or unexported fields
}

Link Facebook to the current user's account.

func (*LinkFacebookRequest) Descriptor deprecated

func (*LinkFacebookRequest) Descriptor() ([]byte, []int)

Deprecated: Use LinkFacebookRequest.ProtoReflect.Descriptor instead.

func (*LinkFacebookRequest) GetAccount

func (x *LinkFacebookRequest) GetAccount() *AccountFacebook

func (*LinkFacebookRequest) GetSync

func (x *LinkFacebookRequest) GetSync() *wrappers.BoolValue

func (*LinkFacebookRequest) ProtoMessage

func (*LinkFacebookRequest) ProtoMessage()

func (*LinkFacebookRequest) ProtoReflect

func (x *LinkFacebookRequest) ProtoReflect() protoreflect.Message

func (*LinkFacebookRequest) Reset

func (x *LinkFacebookRequest) Reset()

func (*LinkFacebookRequest) String

func (x *LinkFacebookRequest) String() string

type LinkSteamRequest

type LinkSteamRequest struct {

	// The Facebook account details.
	Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Import Steam friends for the user.
	Sync *wrappers.BoolValue `protobuf:"bytes,2,opt,name=sync,proto3" json:"sync,omitempty"`
	// contains filtered or unexported fields
}

Link Steam to the current user's account.

func (*LinkSteamRequest) Descriptor deprecated

func (*LinkSteamRequest) Descriptor() ([]byte, []int)

Deprecated: Use LinkSteamRequest.ProtoReflect.Descriptor instead.

func (*LinkSteamRequest) GetAccount

func (x *LinkSteamRequest) GetAccount() *AccountSteam

func (*LinkSteamRequest) GetSync

func (x *LinkSteamRequest) GetSync() *wrappers.BoolValue

func (*LinkSteamRequest) ProtoMessage

func (*LinkSteamRequest) ProtoMessage()

func (*LinkSteamRequest) ProtoReflect

func (x *LinkSteamRequest) ProtoReflect() protoreflect.Message

func (*LinkSteamRequest) Reset

func (x *LinkSteamRequest) Reset()

func (*LinkSteamRequest) String

func (x *LinkSteamRequest) String() string

type ListChannelMessagesRequest

type ListChannelMessagesRequest struct {

	// The channel ID to list from.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *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"`
	// contains filtered or unexported fields
}

List a channel's message history.

func (*ListChannelMessagesRequest) Descriptor deprecated

func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListChannelMessagesRequest.ProtoReflect.Descriptor instead.

func (*ListChannelMessagesRequest) GetChannelId

func (x *ListChannelMessagesRequest) GetChannelId() string

func (*ListChannelMessagesRequest) GetCursor

func (x *ListChannelMessagesRequest) GetCursor() string

func (*ListChannelMessagesRequest) GetForward

func (*ListChannelMessagesRequest) GetLimit

func (*ListChannelMessagesRequest) ProtoMessage

func (*ListChannelMessagesRequest) ProtoMessage()

func (*ListChannelMessagesRequest) ProtoReflect

func (*ListChannelMessagesRequest) Reset

func (x *ListChannelMessagesRequest) Reset()

func (*ListChannelMessagesRequest) String

func (x *ListChannelMessagesRequest) String() string

type ListFriendsRequest

type ListFriendsRequest struct {

	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// The friend state to list.
	State *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// An optional next page cursor.
	Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

List friends for a user.

func (*ListFriendsRequest) Descriptor deprecated

func (*ListFriendsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFriendsRequest.ProtoReflect.Descriptor instead.

func (*ListFriendsRequest) GetCursor

func (x *ListFriendsRequest) GetCursor() string

func (*ListFriendsRequest) GetLimit

func (x *ListFriendsRequest) GetLimit() *wrappers.Int32Value

func (*ListFriendsRequest) GetState

func (x *ListFriendsRequest) GetState() *wrappers.Int32Value

func (*ListFriendsRequest) ProtoMessage

func (*ListFriendsRequest) ProtoMessage()

func (*ListFriendsRequest) ProtoReflect

func (x *ListFriendsRequest) ProtoReflect() protoreflect.Message

func (*ListFriendsRequest) Reset

func (x *ListFriendsRequest) Reset()

func (*ListFriendsRequest) String

func (x *ListFriendsRequest) String() string

type ListGroupUsersRequest

type ListGroupUsersRequest struct {

	// The group ID to list from.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The group user state to list.
	State *wrappers.Int32Value `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// An optional next page cursor.
	Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

List all users that are part of a group.

func (*ListGroupUsersRequest) Descriptor deprecated

func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*ListGroupUsersRequest) GetCursor

func (x *ListGroupUsersRequest) GetCursor() string

func (*ListGroupUsersRequest) GetGroupId

func (x *ListGroupUsersRequest) GetGroupId() string

func (*ListGroupUsersRequest) GetLimit

func (x *ListGroupUsersRequest) GetLimit() *wrappers.Int32Value

func (*ListGroupUsersRequest) GetState

func (x *ListGroupUsersRequest) GetState() *wrappers.Int32Value

func (*ListGroupUsersRequest) ProtoMessage

func (*ListGroupUsersRequest) ProtoMessage()

func (*ListGroupUsersRequest) ProtoReflect

func (x *ListGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*ListGroupUsersRequest) Reset

func (x *ListGroupUsersRequest) Reset()

func (*ListGroupUsersRequest) String

func (x *ListGroupUsersRequest) String() string

type ListGroupsRequest

type ListGroupsRequest struct {

	// List groups that contain this value in their names.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional pagination cursor.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// Max number of groups to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// Language tag filter
	LangTag string `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// Number of group members
	Members *wrappers.Int32Value `protobuf:"bytes,5,opt,name=members,proto3" json:"members,omitempty"`
	// Optional Open/Closed filter.
	Open *wrappers.BoolValue `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"`
	// contains filtered or unexported fields
}

List groups based on given filters.

func (*ListGroupsRequest) Descriptor deprecated

func (*ListGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetCursor

func (x *ListGroupsRequest) GetCursor() string

func (*ListGroupsRequest) GetLangTag

func (x *ListGroupsRequest) GetLangTag() string

func (*ListGroupsRequest) GetLimit

func (x *ListGroupsRequest) GetLimit() *wrappers.Int32Value

func (*ListGroupsRequest) GetMembers

func (x *ListGroupsRequest) GetMembers() *wrappers.Int32Value

func (*ListGroupsRequest) GetName

func (x *ListGroupsRequest) GetName() string

func (*ListGroupsRequest) GetOpen

func (x *ListGroupsRequest) GetOpen() *wrappers.BoolValue

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListLeaderboardRecordsAroundOwnerRequest

type ListLeaderboardRecordsAroundOwnerRequest struct {

	// The ID of the tournament to list for.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The owner to retrieve records around.
	OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// Expiry in seconds (since epoch) to begin fetching records from.
	Expiry *wrappers.Int64Value `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

List leaerboard records from a given leaderboard around the owner.

func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor deprecated

func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLeaderboardRecordsAroundOwnerRequest.ProtoReflect.Descriptor instead.

func (*ListLeaderboardRecordsAroundOwnerRequest) GetExpiry

func (*ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId

func (x *ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId() string

func (*ListLeaderboardRecordsAroundOwnerRequest) GetLimit

func (*ListLeaderboardRecordsAroundOwnerRequest) GetOwnerId

func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoMessage

func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoReflect

func (*ListLeaderboardRecordsAroundOwnerRequest) Reset

func (*ListLeaderboardRecordsAroundOwnerRequest) String

type ListLeaderboardRecordsRequest

type ListLeaderboardRecordsRequest struct {

	// The ID of the leaderboard to list for.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// One or more owners to retrieve records for.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *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"`
	// Expiry in seconds (since epoch) to begin fetching records from. Optional. 0 means from current time.
	Expiry *wrappers.Int64Value `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

List leaderboard records from a given leaderboard.

func (*ListLeaderboardRecordsRequest) Descriptor deprecated

func (*ListLeaderboardRecordsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLeaderboardRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListLeaderboardRecordsRequest) GetCursor

func (x *ListLeaderboardRecordsRequest) GetCursor() string

func (*ListLeaderboardRecordsRequest) GetExpiry

func (*ListLeaderboardRecordsRequest) GetLeaderboardId

func (x *ListLeaderboardRecordsRequest) GetLeaderboardId() string

func (*ListLeaderboardRecordsRequest) GetLimit

func (*ListLeaderboardRecordsRequest) GetOwnerIds

func (x *ListLeaderboardRecordsRequest) GetOwnerIds() []string

func (*ListLeaderboardRecordsRequest) ProtoMessage

func (*ListLeaderboardRecordsRequest) ProtoMessage()

func (*ListLeaderboardRecordsRequest) ProtoReflect

func (*ListLeaderboardRecordsRequest) Reset

func (x *ListLeaderboardRecordsRequest) Reset()

func (*ListLeaderboardRecordsRequest) String

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"`
	// Arbitrary label query.
	Query *wrappers.StringValue `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

List realtime matches.

func (*ListMatchesRequest) Descriptor deprecated

func (*ListMatchesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMatchesRequest.ProtoReflect.Descriptor instead.

func (*ListMatchesRequest) GetAuthoritative

func (x *ListMatchesRequest) GetAuthoritative() *wrappers.BoolValue

func (*ListMatchesRequest) GetLabel

func (x *ListMatchesRequest) GetLabel() *wrappers.StringValue

func (*ListMatchesRequest) GetLimit

func (x *ListMatchesRequest) GetLimit() *wrappers.Int32Value

func (*ListMatchesRequest) GetMaxSize

func (x *ListMatchesRequest) GetMaxSize() *wrappers.Int32Value

func (*ListMatchesRequest) GetMinSize

func (x *ListMatchesRequest) GetMinSize() *wrappers.Int32Value

func (*ListMatchesRequest) GetQuery

func (x *ListMatchesRequest) GetQuery() *wrappers.StringValue

func (*ListMatchesRequest) ProtoMessage

func (*ListMatchesRequest) ProtoMessage()

func (*ListMatchesRequest) ProtoReflect

func (x *ListMatchesRequest) ProtoReflect() protoreflect.Message

func (*ListMatchesRequest) Reset

func (x *ListMatchesRequest) Reset()

func (*ListMatchesRequest) String

func (x *ListMatchesRequest) String() string

type ListNotificationsRequest

type ListNotificationsRequest struct {

	// The number of notifications to get. Between 1 and 100.
	Limit *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"` // value from NotificationList.cacheable_cursor.
	// contains filtered or unexported fields
}

Get a list of unexpired notifications.

func (*ListNotificationsRequest) Descriptor deprecated

func (*ListNotificationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) GetCacheableCursor

func (x *ListNotificationsRequest) GetCacheableCursor() string

func (*ListNotificationsRequest) GetLimit

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect

func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message

func (*ListNotificationsRequest) Reset

func (x *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String

func (x *ListNotificationsRequest) String() string

type ListStorageObjectsRequest

type ListStorageObjectsRequest struct {

	// ID of the user.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The collection which stores the object.
	Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	// The number of storage objects to list. Between 1 and 100.
	Limit *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"` // value from StorageObjectList.cursor.
	// contains filtered or unexported fields
}

List publicly readable storage objects in a given collection.

func (*ListStorageObjectsRequest) Descriptor deprecated

func (*ListStorageObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListStorageObjectsRequest.ProtoReflect.Descriptor instead.

func (*ListStorageObjectsRequest) GetCollection

func (x *ListStorageObjectsRequest) GetCollection() string

func (*ListStorageObjectsRequest) GetCursor

func (x *ListStorageObjectsRequest) GetCursor() string

func (*ListStorageObjectsRequest) GetLimit

func (*ListStorageObjectsRequest) GetUserId

func (x *ListStorageObjectsRequest) GetUserId() string

func (*ListStorageObjectsRequest) ProtoMessage

func (*ListStorageObjectsRequest) ProtoMessage()

func (*ListStorageObjectsRequest) ProtoReflect

func (*ListStorageObjectsRequest) Reset

func (x *ListStorageObjectsRequest) Reset()

func (*ListStorageObjectsRequest) String

func (x *ListStorageObjectsRequest) String() string

type ListTournamentRecordsAroundOwnerRequest

type ListTournamentRecordsAroundOwnerRequest struct {

	// The ID of the tournament to list for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The owner to retrieve records around.
	OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// Expiry in seconds (since epoch) to begin fetching records from.
	Expiry *wrappers.Int64Value `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

List tournament records from a given tournament around the owner.

func (*ListTournamentRecordsAroundOwnerRequest) Descriptor deprecated

func (*ListTournamentRecordsAroundOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTournamentRecordsAroundOwnerRequest.ProtoReflect.Descriptor instead.

func (*ListTournamentRecordsAroundOwnerRequest) GetExpiry

func (*ListTournamentRecordsAroundOwnerRequest) GetLimit

func (*ListTournamentRecordsAroundOwnerRequest) GetOwnerId

func (*ListTournamentRecordsAroundOwnerRequest) GetTournamentId

func (x *ListTournamentRecordsAroundOwnerRequest) GetTournamentId() string

func (*ListTournamentRecordsAroundOwnerRequest) ProtoMessage

func (*ListTournamentRecordsAroundOwnerRequest) ProtoReflect

func (*ListTournamentRecordsAroundOwnerRequest) Reset

func (*ListTournamentRecordsAroundOwnerRequest) String

type ListTournamentRecordsRequest

type ListTournamentRecordsRequest struct {

	// The ID of the tournament to list for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// One or more owners to retrieve records for.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *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"`
	// Expiry in seconds (since epoch) to begin fetching records from.
	Expiry *wrappers.Int64Value `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

List tournament records from a given tournament.

func (*ListTournamentRecordsRequest) Descriptor deprecated

func (*ListTournamentRecordsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTournamentRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListTournamentRecordsRequest) GetCursor

func (x *ListTournamentRecordsRequest) GetCursor() string

func (*ListTournamentRecordsRequest) GetExpiry

func (*ListTournamentRecordsRequest) GetLimit

func (*ListTournamentRecordsRequest) GetOwnerIds

func (x *ListTournamentRecordsRequest) GetOwnerIds() []string

func (*ListTournamentRecordsRequest) GetTournamentId

func (x *ListTournamentRecordsRequest) GetTournamentId() string

func (*ListTournamentRecordsRequest) ProtoMessage

func (*ListTournamentRecordsRequest) ProtoMessage()

func (*ListTournamentRecordsRequest) ProtoReflect

func (*ListTournamentRecordsRequest) Reset

func (x *ListTournamentRecordsRequest) Reset()

func (*ListTournamentRecordsRequest) String

type ListTournamentsRequest

type ListTournamentsRequest struct {

	// The start of the categories to include. Defaults to 0.
	CategoryStart *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=category_start,json=categoryStart,proto3" json:"category_start,omitempty"`
	// The end of the categories to include. Defaults to 128.
	CategoryEnd *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=category_end,json=categoryEnd,proto3" json:"category_end,omitempty"`
	// The start time for tournaments. Defaults to epoch.
	StartTime *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end time for tournaments. Defaults to +1 year from current Unix time.
	EndTime *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// A next page cursor for listings (optional).
	Cursor string `protobuf:"bytes,8,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

List active/upcoming tournaments based on given filters.

func (*ListTournamentsRequest) Descriptor deprecated

func (*ListTournamentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTournamentsRequest.ProtoReflect.Descriptor instead.

func (*ListTournamentsRequest) GetCategoryEnd

func (x *ListTournamentsRequest) GetCategoryEnd() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetCategoryStart

func (x *ListTournamentsRequest) GetCategoryStart() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetCursor

func (x *ListTournamentsRequest) GetCursor() string

func (*ListTournamentsRequest) GetEndTime

func (x *ListTournamentsRequest) GetEndTime() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetLimit

func (*ListTournamentsRequest) GetStartTime

func (x *ListTournamentsRequest) GetStartTime() *wrappers.UInt32Value

func (*ListTournamentsRequest) ProtoMessage

func (*ListTournamentsRequest) ProtoMessage()

func (*ListTournamentsRequest) ProtoReflect

func (x *ListTournamentsRequest) ProtoReflect() protoreflect.Message

func (*ListTournamentsRequest) Reset

func (x *ListTournamentsRequest) Reset()

func (*ListTournamentsRequest) String

func (x *ListTournamentsRequest) String() string

type ListUserGroupsRequest

type ListUserGroupsRequest struct {

	// ID of the user.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The user group state to list.
	State *wrappers.Int32Value `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// An optional next page cursor.
	Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

List the groups a user is part of, and their relationship to each.

func (*ListUserGroupsRequest) Descriptor deprecated

func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListUserGroupsRequest) GetCursor

func (x *ListUserGroupsRequest) GetCursor() string

func (*ListUserGroupsRequest) GetLimit

func (x *ListUserGroupsRequest) GetLimit() *wrappers.Int32Value

func (*ListUserGroupsRequest) GetState

func (x *ListUserGroupsRequest) GetState() *wrappers.Int32Value

func (*ListUserGroupsRequest) GetUserId

func (x *ListUserGroupsRequest) GetUserId() string

func (*ListUserGroupsRequest) ProtoMessage

func (*ListUserGroupsRequest) ProtoMessage()

func (*ListUserGroupsRequest) ProtoReflect

func (x *ListUserGroupsRequest) ProtoReflect() protoreflect.Message

func (*ListUserGroupsRequest) Reset

func (x *ListUserGroupsRequest) Reset()

func (*ListUserGroupsRequest) String

func (x *ListUserGroupsRequest) String() string

type Match

type Match struct {

	// The ID of the match, can be used to join.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// True if it's an server-managed authoritative match, false otherwise.
	Authoritative bool `protobuf:"varint,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"`
	// Match label, if any.
	Label *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"`
	// Tick Rate
	TickRate int32 `protobuf:"varint,5,opt,name=tick_rate,json=tickRate,proto3" json:"tick_rate,omitempty"`
	// Handler name
	HandlerName string `protobuf:"bytes,6,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	// contains filtered or unexported fields
}

Represents a realtime match.

func (*Match) Descriptor deprecated

func (*Match) Descriptor() ([]byte, []int)

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetAuthoritative

func (x *Match) GetAuthoritative() bool

func (*Match) GetHandlerName

func (x *Match) GetHandlerName() string

func (*Match) GetLabel

func (x *Match) GetLabel() *wrappers.StringValue

func (*Match) GetMatchId

func (x *Match) GetMatchId() string

func (*Match) GetSize

func (x *Match) GetSize() int32

func (*Match) GetTickRate

func (x *Match) GetTickRate() int32

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

func (x *Match) ProtoReflect() protoreflect.Message

func (*Match) Reset

func (x *Match) Reset()

func (*Match) String

func (x *Match) String() string

type MatchList

type MatchList struct {

	// A number of matches corresponding to a list operation.
	Matches []*Match `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// contains filtered or unexported fields
}

A list of realtime matches.

func (*MatchList) Descriptor deprecated

func (*MatchList) Descriptor() ([]byte, []int)

Deprecated: Use MatchList.ProtoReflect.Descriptor instead.

func (*MatchList) GetMatches

func (x *MatchList) GetMatches() []*Match

func (*MatchList) ProtoMessage

func (*MatchList) ProtoMessage()

func (*MatchList) ProtoReflect

func (x *MatchList) ProtoReflect() protoreflect.Message

func (*MatchList) Reset

func (x *MatchList) Reset()

func (*MatchList) String

func (x *MatchList) String() string

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"`
	// contains filtered or unexported fields
}

A notification in the server.

func (*Notification) Descriptor deprecated

func (*Notification) Descriptor() ([]byte, []int)

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCode

func (x *Notification) GetCode() int32

func (*Notification) GetContent

func (x *Notification) GetContent() string

func (*Notification) GetCreateTime

func (x *Notification) GetCreateTime() *timestamp.Timestamp

func (*Notification) GetId

func (x *Notification) GetId() string

func (*Notification) GetPersistent

func (x *Notification) GetPersistent() bool

func (*Notification) GetSenderId

func (x *Notification) GetSenderId() string

func (*Notification) GetSubject

func (x *Notification) GetSubject() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

func (x *Notification) ProtoReflect() protoreflect.Message

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type NotificationList

type NotificationList struct {

	// Collection of notifications.
	Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// Use this cursor to paginate notifications. Cache this to catch up to new notifications.
	CacheableCursor string `protobuf:"bytes,2,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"`
	// contains filtered or unexported fields
}

A collection of zero or more notifications.

func (*NotificationList) Descriptor deprecated

func (*NotificationList) Descriptor() ([]byte, []int)

Deprecated: Use NotificationList.ProtoReflect.Descriptor instead.

func (*NotificationList) GetCacheableCursor

func (x *NotificationList) GetCacheableCursor() string

func (*NotificationList) GetNotifications

func (x *NotificationList) GetNotifications() []*Notification

func (*NotificationList) ProtoMessage

func (*NotificationList) ProtoMessage()

func (*NotificationList) ProtoReflect

func (x *NotificationList) ProtoReflect() protoreflect.Message

func (*NotificationList) Reset

func (x *NotificationList) Reset()

func (*NotificationList) String

func (x *NotificationList) String() string

type Operator

type Operator int32

Operator that can be used to override the one set in the leaderboard.

const (
	// Do not override the leaderboard operator.
	Operator_NO_OVERRIDE Operator = 0
	// Override the leaderboard operator with BEST.
	Operator_BEST Operator = 1
	// Override the leaderboard operator with SET.
	Operator_SET Operator = 2
	// Override the leaderboard operator with INCREMENT.
	Operator_INCREMENT Operator = 3
	// Override the leaderboard operator with DECREMENT.
	Operator_DECREMENT Operator = 4
)

func (Operator) Descriptor

func (Operator) Descriptor() protoreflect.EnumDescriptor

func (Operator) Enum

func (x Operator) Enum() *Operator

func (Operator) EnumDescriptor deprecated

func (Operator) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operator.Descriptor instead.

func (Operator) Number

func (x Operator) Number() protoreflect.EnumNumber

func (Operator) String

func (x Operator) String() string

func (Operator) Type

type PromoteGroupUsersRequest

type PromoteGroupUsersRequest struct {

	// The group ID to promote in.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to promote.
	UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

Promote a set of users in a group to the next role up.

func (*PromoteGroupUsersRequest) Descriptor deprecated

func (*PromoteGroupUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use PromoteGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*PromoteGroupUsersRequest) GetGroupId

func (x *PromoteGroupUsersRequest) GetGroupId() string

func (*PromoteGroupUsersRequest) GetUserIds

func (x *PromoteGroupUsersRequest) GetUserIds() []string

func (*PromoteGroupUsersRequest) ProtoMessage

func (*PromoteGroupUsersRequest) ProtoMessage()

func (*PromoteGroupUsersRequest) ProtoReflect

func (x *PromoteGroupUsersRequest) ProtoReflect() protoreflect.Message

func (*PromoteGroupUsersRequest) Reset

func (x *PromoteGroupUsersRequest) Reset()

func (*PromoteGroupUsersRequest) String

func (x *PromoteGroupUsersRequest) String() string

type PurchaseList

type PurchaseList struct {

	// Stored validated purchases.
	ValidatedPurchases []*ValidatedPurchase `protobuf:"bytes,1,rep,name=validated_purchases,json=validatedPurchases,proto3" json:"validated_purchases,omitempty"`
	// The cursor to send when retrieving the next page, if any.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// The cursor to send when retrieving the next page, if any.
	PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of validated purchases stored by Nakama.

func (*PurchaseList) Descriptor deprecated

func (*PurchaseList) Descriptor() ([]byte, []int)

Deprecated: Use PurchaseList.ProtoReflect.Descriptor instead.

func (*PurchaseList) GetCursor

func (x *PurchaseList) GetCursor() string

func (*PurchaseList) GetPrevCursor

func (x *PurchaseList) GetPrevCursor() string

func (*PurchaseList) GetValidatedPurchases

func (x *PurchaseList) GetValidatedPurchases() []*ValidatedPurchase

func (*PurchaseList) ProtoMessage

func (*PurchaseList) ProtoMessage()

func (*PurchaseList) ProtoReflect

func (x *PurchaseList) ProtoReflect() protoreflect.Message

func (*PurchaseList) Reset

func (x *PurchaseList) Reset()

func (*PurchaseList) String

func (x *PurchaseList) String() string

type ReadStorageObjectId

type ReadStorageObjectId struct {

	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The user owner of the object.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Storage objects to get.

func (*ReadStorageObjectId) Descriptor deprecated

func (*ReadStorageObjectId) Descriptor() ([]byte, []int)

Deprecated: Use ReadStorageObjectId.ProtoReflect.Descriptor instead.

func (*ReadStorageObjectId) GetCollection

func (x *ReadStorageObjectId) GetCollection() string

func (*ReadStorageObjectId) GetKey

func (x *ReadStorageObjectId) GetKey() string

func (*ReadStorageObjectId) GetUserId

func (x *ReadStorageObjectId) GetUserId() string

func (*ReadStorageObjectId) ProtoMessage

func (*ReadStorageObjectId) ProtoMessage()

func (*ReadStorageObjectId) ProtoReflect

func (x *ReadStorageObjectId) ProtoReflect() protoreflect.Message

func (*ReadStorageObjectId) Reset

func (x *ReadStorageObjectId) Reset()

func (*ReadStorageObjectId) String

func (x *ReadStorageObjectId) String() string

type ReadStorageObjectsRequest

type ReadStorageObjectsRequest struct {

	// Batch of storage objects.
	ObjectIds []*ReadStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"`
	// contains filtered or unexported fields
}

Batch get storage objects.

func (*ReadStorageObjectsRequest) Descriptor deprecated

func (*ReadStorageObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadStorageObjectsRequest.ProtoReflect.Descriptor instead.

func (*ReadStorageObjectsRequest) GetObjectIds

func (x *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId

func (*ReadStorageObjectsRequest) ProtoMessage

func (*ReadStorageObjectsRequest) ProtoMessage()

func (*ReadStorageObjectsRequest) ProtoReflect

func (*ReadStorageObjectsRequest) Reset

func (x *ReadStorageObjectsRequest) Reset()

func (*ReadStorageObjectsRequest) String

func (x *ReadStorageObjectsRequest) String() string

type Rpc

type Rpc struct {

	// The identifier of the function.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The payload of the function which must be a JSON object.
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// The authentication key used when executed as a non-client HTTP request.
	HttpKey string `protobuf:"bytes,3,opt,name=http_key,json=httpKey,proto3" json:"http_key,omitempty"`
	// contains filtered or unexported fields
}

Execute an Lua function on the server.

func (*Rpc) Descriptor deprecated

func (*Rpc) Descriptor() ([]byte, []int)

Deprecated: Use Rpc.ProtoReflect.Descriptor instead.

func (*Rpc) GetHttpKey

func (x *Rpc) GetHttpKey() string

func (*Rpc) GetId

func (x *Rpc) GetId() string

func (*Rpc) GetPayload

func (x *Rpc) GetPayload() string

func (*Rpc) ProtoMessage

func (*Rpc) ProtoMessage()

func (*Rpc) ProtoReflect

func (x *Rpc) ProtoReflect() protoreflect.Message

func (*Rpc) Reset

func (x *Rpc) Reset()

func (*Rpc) String

func (x *Rpc) String() string

type Session

type Session struct {

	// True if the corresponding account was just created, false otherwise.
	Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	// Authentication credentials.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// Refresh token that can be used for session token renewal.
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

A user's session used to authenticate messages.

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetCreated

func (x *Session) GetCreated() bool

func (*Session) GetRefreshToken

func (x *Session) GetRefreshToken() string

func (*Session) GetToken

func (x *Session) GetToken() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionLogoutRequest

type SessionLogoutRequest struct {

	// Session token to log out.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Refresh token to invalidate.
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.

func (*SessionLogoutRequest) Descriptor deprecated

func (*SessionLogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionLogoutRequest.ProtoReflect.Descriptor instead.

func (*SessionLogoutRequest) GetRefreshToken

func (x *SessionLogoutRequest) GetRefreshToken() string

func (*SessionLogoutRequest) GetToken

func (x *SessionLogoutRequest) GetToken() string

func (*SessionLogoutRequest) ProtoMessage

func (*SessionLogoutRequest) ProtoMessage()

func (*SessionLogoutRequest) ProtoReflect

func (x *SessionLogoutRequest) ProtoReflect() protoreflect.Message

func (*SessionLogoutRequest) Reset

func (x *SessionLogoutRequest) Reset()

func (*SessionLogoutRequest) String

func (x *SessionLogoutRequest) String() string

type SessionRefreshRequest

type SessionRefreshRequest struct {

	// Refresh token.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Extra information that will be bundled in the session token.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Authenticate against the server with a refresh token.

func (*SessionRefreshRequest) Descriptor deprecated

func (*SessionRefreshRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionRefreshRequest.ProtoReflect.Descriptor instead.

func (*SessionRefreshRequest) GetToken

func (x *SessionRefreshRequest) GetToken() string

func (*SessionRefreshRequest) GetVars

func (x *SessionRefreshRequest) GetVars() map[string]string

func (*SessionRefreshRequest) ProtoMessage

func (*SessionRefreshRequest) ProtoMessage()

func (*SessionRefreshRequest) ProtoReflect

func (x *SessionRefreshRequest) ProtoReflect() protoreflect.Message

func (*SessionRefreshRequest) Reset

func (x *SessionRefreshRequest) Reset()

func (*SessionRefreshRequest) String

func (x *SessionRefreshRequest) String() string

type StorageObject

type StorageObject struct {

	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The user owner of the object.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The value of the object.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// The version hash of the object.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// The read access permissions for the object.
	PermissionRead int32 `protobuf:"varint,6,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"`
	// The write access permissions for the object.
	PermissionWrite int32 `protobuf:"varint,7,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"`
	// The UNIX time 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"`
	// contains filtered or unexported fields
}

An object within the storage engine.

func (*StorageObject) Descriptor deprecated

func (*StorageObject) Descriptor() ([]byte, []int)

Deprecated: Use StorageObject.ProtoReflect.Descriptor instead.

func (*StorageObject) GetCollection

func (x *StorageObject) GetCollection() string

func (*StorageObject) GetCreateTime

func (x *StorageObject) GetCreateTime() *timestamp.Timestamp

func (*StorageObject) GetKey

func (x *StorageObject) GetKey() string

func (*StorageObject) GetPermissionRead

func (x *StorageObject) GetPermissionRead() int32

func (*StorageObject) GetPermissionWrite

func (x *StorageObject) GetPermissionWrite() int32

func (*StorageObject) GetUpdateTime

func (x *StorageObject) GetUpdateTime() *timestamp.Timestamp

func (*StorageObject) GetUserId

func (x *StorageObject) GetUserId() string

func (*StorageObject) GetValue

func (x *StorageObject) GetValue() string

func (*StorageObject) GetVersion

func (x *StorageObject) GetVersion() string

func (*StorageObject) ProtoMessage

func (*StorageObject) ProtoMessage()

func (*StorageObject) ProtoReflect

func (x *StorageObject) ProtoReflect() protoreflect.Message

func (*StorageObject) Reset

func (x *StorageObject) Reset()

func (*StorageObject) String

func (x *StorageObject) String() string

type StorageObjectAck

type StorageObjectAck struct {

	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The version hash of the object.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// The owner of the object.
	UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

A storage acknowledgement.

func (*StorageObjectAck) Descriptor deprecated

func (*StorageObjectAck) Descriptor() ([]byte, []int)

Deprecated: Use StorageObjectAck.ProtoReflect.Descriptor instead.

func (*StorageObjectAck) GetCollection

func (x *StorageObjectAck) GetCollection() string

func (*StorageObjectAck) GetKey

func (x *StorageObjectAck) GetKey() string

func (*StorageObjectAck) GetUserId

func (x *StorageObjectAck) GetUserId() string

func (*StorageObjectAck) GetVersion

func (x *StorageObjectAck) GetVersion() string

func (*StorageObjectAck) ProtoMessage

func (*StorageObjectAck) ProtoMessage()

func (*StorageObjectAck) ProtoReflect

func (x *StorageObjectAck) ProtoReflect() protoreflect.Message

func (*StorageObjectAck) Reset

func (x *StorageObjectAck) Reset()

func (*StorageObjectAck) String

func (x *StorageObjectAck) String() string

type StorageObjectAcks

type StorageObjectAcks struct {

	// Batch of storage write acknowledgements.
	Acks []*StorageObjectAck `protobuf:"bytes,1,rep,name=acks,proto3" json:"acks,omitempty"`
	// contains filtered or unexported fields
}

Batch of acknowledgements for the storage object write.

func (*StorageObjectAcks) Descriptor deprecated

func (*StorageObjectAcks) Descriptor() ([]byte, []int)

Deprecated: Use StorageObjectAcks.ProtoReflect.Descriptor instead.

func (*StorageObjectAcks) GetAcks

func (x *StorageObjectAcks) GetAcks() []*StorageObjectAck

func (*StorageObjectAcks) ProtoMessage

func (*StorageObjectAcks) ProtoMessage()

func (*StorageObjectAcks) ProtoReflect

func (x *StorageObjectAcks) ProtoReflect() protoreflect.Message

func (*StorageObjectAcks) Reset

func (x *StorageObjectAcks) Reset()

func (*StorageObjectAcks) String

func (x *StorageObjectAcks) String() string

type StorageObjectList

type StorageObjectList struct {

	// The list of storage objects.
	Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// The cursor for the next page of results, if any.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

List of storage objects.

func (*StorageObjectList) Descriptor deprecated

func (*StorageObjectList) Descriptor() ([]byte, []int)

Deprecated: Use StorageObjectList.ProtoReflect.Descriptor instead.

func (*StorageObjectList) GetCursor

func (x *StorageObjectList) GetCursor() string

func (*StorageObjectList) GetObjects

func (x *StorageObjectList) GetObjects() []*StorageObject

func (*StorageObjectList) ProtoMessage

func (*StorageObjectList) ProtoMessage()

func (*StorageObjectList) ProtoReflect

func (x *StorageObjectList) ProtoReflect() protoreflect.Message

func (*StorageObjectList) Reset

func (x *StorageObjectList) Reset()

func (*StorageObjectList) String

func (x *StorageObjectList) String() string

type StorageObjects

type StorageObjects struct {

	// The batch of storage objects.
	Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

Batch of storage objects.

func (*StorageObjects) Descriptor deprecated

func (*StorageObjects) Descriptor() ([]byte, []int)

Deprecated: Use StorageObjects.ProtoReflect.Descriptor instead.

func (*StorageObjects) GetObjects

func (x *StorageObjects) GetObjects() []*StorageObject

func (*StorageObjects) ProtoMessage

func (*StorageObjects) ProtoMessage()

func (*StorageObjects) ProtoReflect

func (x *StorageObjects) ProtoReflect() protoreflect.Message

func (*StorageObjects) Reset

func (x *StorageObjects) Reset()

func (*StorageObjects) String

func (x *StorageObjects) String() string

type Tournament

type Tournament struct {

	// The ID of the tournament.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The title for the tournament.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The description of the tournament. May be blank.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The category of the tournament. e.g. "vip" could be category 1.
	Category uint32 `protobuf:"varint,4,opt,name=category,proto3" json:"category,omitempty"`
	// ASC (0) or DESC (1) sort mode of scores in the tournament.
	SortOrder uint32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
	// The current number of players in the tournament.
	Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// The maximum number of players for the tournament.
	MaxSize uint32 `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// The maximum score updates allowed per player for the current tournament.
	MaxNumScore uint32 `protobuf:"varint,8,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"`
	// True if the tournament is active and can enter. A computed value.
	CanEnter bool `protobuf:"varint,9,opt,name=can_enter,json=canEnter,proto3" json:"can_enter,omitempty"`
	// The UNIX time when the tournament stops being active until next reset. A computed value.
	EndActive uint32 `protobuf:"varint,10,opt,name=end_active,json=endActive,proto3" json:"end_active,omitempty"`
	// The UNIX time when the tournament is next playable. A computed value.
	NextReset uint32 `protobuf:"varint,11,opt,name=next_reset,json=nextReset,proto3" json:"next_reset,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The UNIX time when the tournament was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the tournament will start.
	StartTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The UNIX time when the tournament will be stopped.
	EndTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Duration of the tournament in seconds.
	Duration uint32 `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"`
	// The UNIX time when the tournament start being active. A computed value.
	StartActive uint32 `protobuf:"varint,17,opt,name=start_active,json=startActive,proto3" json:"start_active,omitempty"`
	// The UNIX time when the tournament was last reset. A computed value.
	PrevReset uint32 `protobuf:"varint,18,opt,name=prev_reset,json=prevReset,proto3" json:"prev_reset,omitempty"`
	// Operator.
	Operator Operator `protobuf:"varint,19,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

A tournament on the server.

func (*Tournament) Descriptor deprecated

func (*Tournament) Descriptor() ([]byte, []int)

Deprecated: Use Tournament.ProtoReflect.Descriptor instead.

func (*Tournament) GetCanEnter

func (x *Tournament) GetCanEnter() bool

func (*Tournament) GetCategory

func (x *Tournament) GetCategory() uint32

func (*Tournament) GetCreateTime

func (x *Tournament) GetCreateTime() *timestamp.Timestamp

func (*Tournament) GetDescription

func (x *Tournament) GetDescription() string

func (*Tournament) GetDuration

func (x *Tournament) GetDuration() uint32

func (*Tournament) GetEndActive

func (x *Tournament) GetEndActive() uint32

func (*Tournament) GetEndTime

func (x *Tournament) GetEndTime() *timestamp.Timestamp

func (*Tournament) GetId

func (x *Tournament) GetId() string

func (*Tournament) GetMaxNumScore

func (x *Tournament) GetMaxNumScore() uint32

func (*Tournament) GetMaxSize

func (x *Tournament) GetMaxSize() uint32

func (*Tournament) GetMetadata

func (x *Tournament) GetMetadata() string

func (*Tournament) GetNextReset

func (x *Tournament) GetNextReset() uint32

func (*Tournament) GetOperator

func (x *Tournament) GetOperator() Operator

func (*Tournament) GetPrevReset

func (x *Tournament) GetPrevReset() uint32

func (*Tournament) GetSize

func (x *Tournament) GetSize() uint32

func (*Tournament) GetSortOrder

func (x *Tournament) GetSortOrder() uint32

func (*Tournament) GetStartActive

func (x *Tournament) GetStartActive() uint32

func (*Tournament) GetStartTime

func (x *Tournament) GetStartTime() *timestamp.Timestamp

func (*Tournament) GetTitle

func (x *Tournament) GetTitle() string

func (*Tournament) ProtoMessage

func (*Tournament) ProtoMessage()

func (*Tournament) ProtoReflect

func (x *Tournament) ProtoReflect() protoreflect.Message

func (*Tournament) Reset

func (x *Tournament) Reset()

func (*Tournament) String

func (x *Tournament) String() string

type TournamentList

type TournamentList struct {

	// The list of tournaments returned.
	Tournaments []*Tournament `protobuf:"bytes,1,rep,name=tournaments,proto3" json:"tournaments,omitempty"`
	// A pagination cursor (optional).
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of tournaments.

func (*TournamentList) Descriptor deprecated

func (*TournamentList) Descriptor() ([]byte, []int)

Deprecated: Use TournamentList.ProtoReflect.Descriptor instead.

func (*TournamentList) GetCursor

func (x *TournamentList) GetCursor() string

func (*TournamentList) GetTournaments

func (x *TournamentList) GetTournaments() []*Tournament

func (*TournamentList) ProtoMessage

func (*TournamentList) ProtoMessage()

func (*TournamentList) ProtoReflect

func (x *TournamentList) ProtoReflect() protoreflect.Message

func (*TournamentList) Reset

func (x *TournamentList) Reset()

func (*TournamentList) String

func (x *TournamentList) String() string

type TournamentRecordList

type TournamentRecordList struct {

	// A list of tournament records.
	Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// A batched set of tournament records belonging to specified owners.
	OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"`
	// The cursor to send when retireving the next page (optional).
	NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page (optional).
	PrevCursor string `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	// contains filtered or unexported fields
}

A set of tournament records which may be part of a tournament records page or a batch of individual records.

func (*TournamentRecordList) Descriptor deprecated

func (*TournamentRecordList) Descriptor() ([]byte, []int)

Deprecated: Use TournamentRecordList.ProtoReflect.Descriptor instead.

func (*TournamentRecordList) GetNextCursor

func (x *TournamentRecordList) GetNextCursor() string

func (*TournamentRecordList) GetOwnerRecords

func (x *TournamentRecordList) GetOwnerRecords() []*LeaderboardRecord

func (*TournamentRecordList) GetPrevCursor

func (x *TournamentRecordList) GetPrevCursor() string

func (*TournamentRecordList) GetRecords

func (x *TournamentRecordList) GetRecords() []*LeaderboardRecord

func (*TournamentRecordList) ProtoMessage

func (*TournamentRecordList) ProtoMessage()

func (*TournamentRecordList) ProtoReflect

func (x *TournamentRecordList) ProtoReflect() protoreflect.Message

func (*TournamentRecordList) Reset

func (x *TournamentRecordList) Reset()

func (*TournamentRecordList) String

func (x *TournamentRecordList) String() string

type UpdateAccountRequest

type UpdateAccountRequest struct {

	// The username of the user's account.
	Username *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"`
	// contains filtered or unexported fields
}

Update a user's account details.

func (*UpdateAccountRequest) Descriptor deprecated

func (*UpdateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetAvatarUrl

func (x *UpdateAccountRequest) GetAvatarUrl() *wrappers.StringValue

func (*UpdateAccountRequest) GetDisplayName

func (x *UpdateAccountRequest) GetDisplayName() *wrappers.StringValue

func (*UpdateAccountRequest) GetLangTag

func (x *UpdateAccountRequest) GetLangTag() *wrappers.StringValue

func (*UpdateAccountRequest) GetLocation

func (x *UpdateAccountRequest) GetLocation() *wrappers.StringValue

func (*UpdateAccountRequest) GetTimezone

func (x *UpdateAccountRequest) GetTimezone() *wrappers.StringValue

func (*UpdateAccountRequest) GetUsername

func (x *UpdateAccountRequest) GetUsername() *wrappers.StringValue

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// The ID of the group to update.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Name.
	Name *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"`
	// contains filtered or unexported fields
}

Update fields in a given group.

func (*UpdateGroupRequest) Descriptor deprecated

func (*UpdateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetAvatarUrl

func (x *UpdateGroupRequest) GetAvatarUrl() *wrappers.StringValue

func (*UpdateGroupRequest) GetDescription

func (x *UpdateGroupRequest) GetDescription() *wrappers.StringValue

func (*UpdateGroupRequest) GetGroupId

func (x *UpdateGroupRequest) GetGroupId() string

func (*UpdateGroupRequest) GetLangTag

func (x *UpdateGroupRequest) GetLangTag() *wrappers.StringValue

func (*UpdateGroupRequest) GetName

func (x *UpdateGroupRequest) GetName() *wrappers.StringValue

func (*UpdateGroupRequest) GetOpen

func (x *UpdateGroupRequest) GetOpen() *wrappers.BoolValue

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type User

type User struct {

	// The id of the user's account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The username of the user's account.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The display name of the user.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// The location set by the user.
	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	// The timezone set by the user.
	Timezone string `protobuf:"bytes,7,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The Facebook id in the user's account.
	FacebookId string `protobuf:"bytes,9,opt,name=facebook_id,json=facebookId,proto3" json:"facebook_id,omitempty"`
	// The Google id in the user's account.
	GoogleId string `protobuf:"bytes,10,opt,name=google_id,json=googleId,proto3" json:"google_id,omitempty"`
	// The Apple Game Center in of the user's account.
	GamecenterId string `protobuf:"bytes,11,opt,name=gamecenter_id,json=gamecenterId,proto3" json:"gamecenter_id,omitempty"`
	// The Steam id in the user's account.
	SteamId string `protobuf:"bytes,12,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"`
	// Indicates whether the user is currently online.
	Online bool `protobuf:"varint,13,opt,name=online,proto3" json:"online,omitempty"`
	// Number of related edges to this user.
	EdgeCount int32 `protobuf:"varint,14,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"`
	// The UNIX time 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"`
	// The Facebook Instant Game ID in the user's account.
	FacebookInstantGameId string `` /* 129-byte string literal not displayed */
	// The Apple Sign In ID in the user's account.
	AppleId string `protobuf:"bytes,18,opt,name=apple_id,json=appleId,proto3" json:"apple_id,omitempty"`
	// Inventory ID
	InventoryId string `protobuf:"bytes,19,opt,name=inventory_id,json=inventoryId,proto3" json:"inventory_id,omitempty"`
	// contains filtered or unexported fields
}

A user in the server.

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAppleId

func (x *User) GetAppleId() string

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreateTime

func (x *User) GetCreateTime() *timestamp.Timestamp

func (*User) GetDisplayName

func (x *User) GetDisplayName() string

func (*User) GetEdgeCount

func (x *User) GetEdgeCount() int32

func (*User) GetFacebookId

func (x *User) GetFacebookId() string

func (*User) GetFacebookInstantGameId

func (x *User) GetFacebookInstantGameId() string

func (*User) GetGamecenterId

func (x *User) GetGamecenterId() string

func (*User) GetGoogleId

func (x *User) GetGoogleId() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetInventoryId

func (x *User) GetInventoryId() string

func (*User) GetLangTag

func (x *User) GetLangTag() string

func (*User) GetLocation

func (x *User) GetLocation() string

func (*User) GetMetadata

func (x *User) GetMetadata() string

func (*User) GetOnline

func (x *User) GetOnline() bool

func (*User) GetSteamId

func (x *User) GetSteamId() string

func (*User) GetTimezone

func (x *User) GetTimezone() string

func (*User) GetUpdateTime

func (x *User) GetUpdateTime() *timestamp.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserGroupList

type UserGroupList struct {

	// Group-role pairs for a user.
	UserGroups []*UserGroupList_UserGroup `protobuf:"bytes,1,rep,name=user_groups,json=userGroups,proto3" json:"user_groups,omitempty"`
	// Cursor for the next page of results, if any.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

A list of groups belonging to a user, along with the user's role in each group.

func (*UserGroupList) Descriptor deprecated

func (*UserGroupList) Descriptor() ([]byte, []int)

Deprecated: Use UserGroupList.ProtoReflect.Descriptor instead.

func (*UserGroupList) GetCursor

func (x *UserGroupList) GetCursor() string

func (*UserGroupList) GetUserGroups

func (x *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup

func (*UserGroupList) ProtoMessage

func (*UserGroupList) ProtoMessage()

func (*UserGroupList) ProtoReflect

func (x *UserGroupList) ProtoReflect() protoreflect.Message

func (*UserGroupList) Reset

func (x *UserGroupList) Reset()

func (*UserGroupList) String

func (x *UserGroupList) String() string

type UserGroupList_UserGroup

type UserGroupList_UserGroup struct {

	// Group.
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// The user's relationship to the group.
	State *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A single group-role pair.

func (*UserGroupList_UserGroup) Descriptor deprecated

func (*UserGroupList_UserGroup) Descriptor() ([]byte, []int)

Deprecated: Use UserGroupList_UserGroup.ProtoReflect.Descriptor instead.

func (*UserGroupList_UserGroup) GetGroup

func (x *UserGroupList_UserGroup) GetGroup() *Group

func (*UserGroupList_UserGroup) GetState

func (*UserGroupList_UserGroup) ProtoMessage

func (*UserGroupList_UserGroup) ProtoMessage()

func (*UserGroupList_UserGroup) ProtoReflect

func (x *UserGroupList_UserGroup) ProtoReflect() protoreflect.Message

func (*UserGroupList_UserGroup) Reset

func (x *UserGroupList_UserGroup) Reset()

func (*UserGroupList_UserGroup) String

func (x *UserGroupList_UserGroup) String() string

type UserGroupList_UserGroup_State

type UserGroupList_UserGroup_State int32

The group role status.

const (
	// The user is a superadmin with full control of the group.
	UserGroupList_UserGroup_SUPERADMIN UserGroupList_UserGroup_State = 0
	// The user is an admin with additional privileges.
	UserGroupList_UserGroup_ADMIN UserGroupList_UserGroup_State = 1
	// The user is a regular member.
	UserGroupList_UserGroup_MEMBER UserGroupList_UserGroup_State = 2
	// The user has requested to join the group
	UserGroupList_UserGroup_JOIN_REQUEST UserGroupList_UserGroup_State = 3
)

func (UserGroupList_UserGroup_State) Descriptor

func (UserGroupList_UserGroup_State) Enum

func (UserGroupList_UserGroup_State) EnumDescriptor deprecated

func (UserGroupList_UserGroup_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserGroupList_UserGroup_State.Descriptor instead.

func (UserGroupList_UserGroup_State) Number

func (UserGroupList_UserGroup_State) String

func (UserGroupList_UserGroup_State) Type

type Users

type Users struct {

	// The User objects.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

A collection of zero or more users.

func (*Users) Descriptor deprecated

func (*Users) Descriptor() ([]byte, []int)

Deprecated: Use Users.ProtoReflect.Descriptor instead.

func (*Users) GetUsers

func (x *Users) GetUsers() []*User

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) ProtoReflect

func (x *Users) ProtoReflect() protoreflect.Message

func (*Users) Reset

func (x *Users) Reset()

func (*Users) String

func (x *Users) String() string

type ValidatePurchaseAppleRequest

type ValidatePurchaseAppleRequest struct {

	// Base64 encoded Apple receipt data payload.
	Receipt string `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// Persist the purchase
	Persist *wrappers.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"`
	// contains filtered or unexported fields
}

Apple IAP Purchases validation request

func (*ValidatePurchaseAppleRequest) Descriptor deprecated

func (*ValidatePurchaseAppleRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidatePurchaseAppleRequest.ProtoReflect.Descriptor instead.

func (*ValidatePurchaseAppleRequest) GetPersist added in v1.27.3

func (*ValidatePurchaseAppleRequest) GetReceipt

func (x *ValidatePurchaseAppleRequest) GetReceipt() string

func (*ValidatePurchaseAppleRequest) ProtoMessage

func (*ValidatePurchaseAppleRequest) ProtoMessage()

func (*ValidatePurchaseAppleRequest) ProtoReflect

func (*ValidatePurchaseAppleRequest) Reset

func (x *ValidatePurchaseAppleRequest) Reset()

func (*ValidatePurchaseAppleRequest) String

type ValidatePurchaseGoogleRequest

type ValidatePurchaseGoogleRequest struct {

	// JSON encoded Google purchase payload.
	Purchase string `protobuf:"bytes,1,opt,name=purchase,proto3" json:"purchase,omitempty"`
	// Persist the purchase
	Persist *wrappers.BoolValue `protobuf:"bytes,2,opt,name=persist,proto3" json:"persist,omitempty"`
	// contains filtered or unexported fields
}

Google IAP Purchase validation request

func (*ValidatePurchaseGoogleRequest) Descriptor deprecated

func (*ValidatePurchaseGoogleRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidatePurchaseGoogleRequest.ProtoReflect.Descriptor instead.

func (*ValidatePurchaseGoogleRequest) GetPersist added in v1.27.3

func (*ValidatePurchaseGoogleRequest) GetPurchase

func (x *ValidatePurchaseGoogleRequest) GetPurchase() string

func (*ValidatePurchaseGoogleRequest) ProtoMessage

func (*ValidatePurchaseGoogleRequest) ProtoMessage()

func (*ValidatePurchaseGoogleRequest) ProtoReflect

func (*ValidatePurchaseGoogleRequest) Reset

func (x *ValidatePurchaseGoogleRequest) Reset()

func (*ValidatePurchaseGoogleRequest) String

type ValidatePurchaseHuaweiRequest

type ValidatePurchaseHuaweiRequest struct {

	// JSON encoded Huawei InAppPurchaseData.
	Purchase string `protobuf:"bytes,1,opt,name=purchase,proto3" json:"purchase,omitempty"`
	// InAppPurchaseData signature.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// Persist the purchase
	Persist *wrappers.BoolValue `protobuf:"bytes,3,opt,name=persist,proto3" json:"persist,omitempty"`
	// contains filtered or unexported fields
}

Huawei IAP Purchase validation request

func (*ValidatePurchaseHuaweiRequest) Descriptor deprecated

func (*ValidatePurchaseHuaweiRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidatePurchaseHuaweiRequest.ProtoReflect.Descriptor instead.

func (*ValidatePurchaseHuaweiRequest) GetPersist added in v1.27.3

func (*ValidatePurchaseHuaweiRequest) GetPurchase

func (x *ValidatePurchaseHuaweiRequest) GetPurchase() string

func (*ValidatePurchaseHuaweiRequest) GetSignature

func (x *ValidatePurchaseHuaweiRequest) GetSignature() string

func (*ValidatePurchaseHuaweiRequest) ProtoMessage

func (*ValidatePurchaseHuaweiRequest) ProtoMessage()

func (*ValidatePurchaseHuaweiRequest) ProtoReflect

func (*ValidatePurchaseHuaweiRequest) Reset

func (x *ValidatePurchaseHuaweiRequest) Reset()

func (*ValidatePurchaseHuaweiRequest) String

type ValidatePurchaseResponse

type ValidatePurchaseResponse struct {

	// Newly seen validated purchases.
	ValidatedPurchases []*ValidatedPurchase `protobuf:"bytes,1,rep,name=validated_purchases,json=validatedPurchases,proto3" json:"validated_purchases,omitempty"`
	// contains filtered or unexported fields
}

Validate IAP response

func (*ValidatePurchaseResponse) Descriptor deprecated

func (*ValidatePurchaseResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidatePurchaseResponse.ProtoReflect.Descriptor instead.

func (*ValidatePurchaseResponse) GetValidatedPurchases

func (x *ValidatePurchaseResponse) GetValidatedPurchases() []*ValidatedPurchase

func (*ValidatePurchaseResponse) ProtoMessage

func (*ValidatePurchaseResponse) ProtoMessage()

func (*ValidatePurchaseResponse) ProtoReflect

func (x *ValidatePurchaseResponse) ProtoReflect() protoreflect.Message

func (*ValidatePurchaseResponse) Reset

func (x *ValidatePurchaseResponse) Reset()

func (*ValidatePurchaseResponse) String

func (x *ValidatePurchaseResponse) String() string

type ValidatedPurchase

type ValidatedPurchase struct {

	// Purchase Product ID.
	ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// Purchase Transaction ID.
	TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// Store identifier
	Store ValidatedPurchase_Store `protobuf:"varint,3,opt,name=store,proto3,enum=nakama.api.ValidatedPurchase_Store" json:"store,omitempty"`
	// UNIX Timestamp when the purchase was done.
	PurchaseTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=purchase_time,json=purchaseTime,proto3" json:"purchase_time,omitempty"`
	// UNIX Timestamp when the receipt validation was stored in DB.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// UNIX Timestamp when the receipt validation was updated in DB.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Raw provider validation response.
	ProviderResponse string `protobuf:"bytes,7,opt,name=provider_response,json=providerResponse,proto3" json:"provider_response,omitempty"`
	// Whether the purchase was done in production or sandbox environment.
	Environment ValidatedPurchase_Environment `protobuf:"varint,8,opt,name=environment,proto3,enum=nakama.api.ValidatedPurchase_Environment" json:"environment,omitempty"`
	// Whether the purchase had already been validated by Nakama before.
	SeenBefore bool `protobuf:"varint,9,opt,name=seen_before,json=seenBefore,proto3" json:"seen_before,omitempty"`
	// contains filtered or unexported fields
}

Validated Purchase stored by Nakama.

func (*ValidatedPurchase) Descriptor deprecated

func (*ValidatedPurchase) Descriptor() ([]byte, []int)

Deprecated: Use ValidatedPurchase.ProtoReflect.Descriptor instead.

func (*ValidatedPurchase) GetCreateTime

func (x *ValidatedPurchase) GetCreateTime() *timestamp.Timestamp

func (*ValidatedPurchase) GetEnvironment

func (*ValidatedPurchase) GetProductId

func (x *ValidatedPurchase) GetProductId() string

func (*ValidatedPurchase) GetProviderResponse

func (x *ValidatedPurchase) GetProviderResponse() string

func (*ValidatedPurchase) GetPurchaseTime

func (x *ValidatedPurchase) GetPurchaseTime() *timestamp.Timestamp

func (*ValidatedPurchase) GetSeenBefore

func (x *ValidatedPurchase) GetSeenBefore() bool

func (*ValidatedPurchase) GetStore

func (*ValidatedPurchase) GetTransactionId

func (x *ValidatedPurchase) GetTransactionId() string

func (*ValidatedPurchase) GetUpdateTime

func (x *ValidatedPurchase) GetUpdateTime() *timestamp.Timestamp

func (*ValidatedPurchase) ProtoMessage

func (*ValidatedPurchase) ProtoMessage()

func (*ValidatedPurchase) ProtoReflect

func (x *ValidatedPurchase) ProtoReflect() protoreflect.Message

func (*ValidatedPurchase) Reset

func (x *ValidatedPurchase) Reset()

func (*ValidatedPurchase) String

func (x *ValidatedPurchase) String() string

type ValidatedPurchase_Environment

type ValidatedPurchase_Environment int32

Environment where the purchase took place

const (
	// Unknown environment.
	ValidatedPurchase_UNKNOWN ValidatedPurchase_Environment = 0
	// Sandbox/test environment.
	ValidatedPurchase_SANDBOX ValidatedPurchase_Environment = 1
	// Production environment.
	ValidatedPurchase_PRODUCTION ValidatedPurchase_Environment = 2
)

func (ValidatedPurchase_Environment) Descriptor

func (ValidatedPurchase_Environment) Enum

func (ValidatedPurchase_Environment) EnumDescriptor deprecated

func (ValidatedPurchase_Environment) EnumDescriptor() ([]byte, []int)

Deprecated: Use ValidatedPurchase_Environment.Descriptor instead.

func (ValidatedPurchase_Environment) Number

func (ValidatedPurchase_Environment) String

func (ValidatedPurchase_Environment) Type

type ValidatedPurchase_Store

type ValidatedPurchase_Store int32

Validation Provider

const (
	// Apple App Store
	ValidatedPurchase_APPLE_APP_STORE ValidatedPurchase_Store = 0
	// Google Play Store
	ValidatedPurchase_GOOGLE_PLAY_STORE ValidatedPurchase_Store = 1
	// Huawei App Gallery
	ValidatedPurchase_HUAWEI_APP_GALLERY ValidatedPurchase_Store = 2
)

func (ValidatedPurchase_Store) Descriptor

func (ValidatedPurchase_Store) Enum

func (ValidatedPurchase_Store) EnumDescriptor deprecated

func (ValidatedPurchase_Store) EnumDescriptor() ([]byte, []int)

Deprecated: Use ValidatedPurchase_Store.Descriptor instead.

func (ValidatedPurchase_Store) Number

func (ValidatedPurchase_Store) String

func (x ValidatedPurchase_Store) String() string

func (ValidatedPurchase_Store) Type

type WriteLeaderboardRecordRequest

type WriteLeaderboardRecordRequest struct {

	// The ID of the leaderboard to write to.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// Record input.
	Record *WriteLeaderboardRecordRequest_LeaderboardRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

A request to submit a score to a leaderboard.

func (*WriteLeaderboardRecordRequest) Descriptor deprecated

func (*WriteLeaderboardRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteLeaderboardRecordRequest.ProtoReflect.Descriptor instead.

func (*WriteLeaderboardRecordRequest) GetLeaderboardId

func (x *WriteLeaderboardRecordRequest) GetLeaderboardId() string

func (*WriteLeaderboardRecordRequest) GetRecord

func (*WriteLeaderboardRecordRequest) ProtoMessage

func (*WriteLeaderboardRecordRequest) ProtoMessage()

func (*WriteLeaderboardRecordRequest) ProtoReflect

func (*WriteLeaderboardRecordRequest) Reset

func (x *WriteLeaderboardRecordRequest) Reset()

func (*WriteLeaderboardRecordRequest) String

type WriteLeaderboardRecordRequest_LeaderboardRecordWrite

type WriteLeaderboardRecordRequest_LeaderboardRecordWrite struct {

	// The score value to submit.
	Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	// An optional secondary value.
	Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"`
	// Optional record metadata.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Operator override.
	Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

Record values to write.

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor deprecated

Deprecated: Use WriteLeaderboardRecordRequest_LeaderboardRecordWrite.ProtoReflect.Descriptor instead.

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetOperator

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoReflect

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String

type WriteStorageObject

type WriteStorageObject struct {

	// The collection to store the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key for the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The value of the object.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // if-match and if-none-match
	// The read access permissions for the object.
	PermissionRead *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"`
	// contains filtered or unexported fields
}

The object to store.

func (*WriteStorageObject) Descriptor deprecated

func (*WriteStorageObject) Descriptor() ([]byte, []int)

Deprecated: Use WriteStorageObject.ProtoReflect.Descriptor instead.

func (*WriteStorageObject) GetCollection

func (x *WriteStorageObject) GetCollection() string

func (*WriteStorageObject) GetKey

func (x *WriteStorageObject) GetKey() string

func (*WriteStorageObject) GetPermissionRead

func (x *WriteStorageObject) GetPermissionRead() *wrappers.Int32Value

func (*WriteStorageObject) GetPermissionWrite

func (x *WriteStorageObject) GetPermissionWrite() *wrappers.Int32Value

func (*WriteStorageObject) GetValue

func (x *WriteStorageObject) GetValue() string

func (*WriteStorageObject) GetVersion

func (x *WriteStorageObject) GetVersion() string

func (*WriteStorageObject) ProtoMessage

func (*WriteStorageObject) ProtoMessage()

func (*WriteStorageObject) ProtoReflect

func (x *WriteStorageObject) ProtoReflect() protoreflect.Message

func (*WriteStorageObject) Reset

func (x *WriteStorageObject) Reset()

func (*WriteStorageObject) String

func (x *WriteStorageObject) String() string

type WriteStorageObjectsRequest

type WriteStorageObjectsRequest struct {

	// The objects to store on the server.
	Objects []*WriteStorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

Write objects to the storage engine.

func (*WriteStorageObjectsRequest) Descriptor deprecated

func (*WriteStorageObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteStorageObjectsRequest.ProtoReflect.Descriptor instead.

func (*WriteStorageObjectsRequest) GetObjects

func (*WriteStorageObjectsRequest) ProtoMessage

func (*WriteStorageObjectsRequest) ProtoMessage()

func (*WriteStorageObjectsRequest) ProtoReflect

func (*WriteStorageObjectsRequest) Reset

func (x *WriteStorageObjectsRequest) Reset()

func (*WriteStorageObjectsRequest) String

func (x *WriteStorageObjectsRequest) String() string

type WriteTournamentRecordRequest

type WriteTournamentRecordRequest struct {

	// The tournament ID to write the record for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// Record input.
	Record *WriteTournamentRecordRequest_TournamentRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

A request to submit a score to a tournament.

func (*WriteTournamentRecordRequest) Descriptor deprecated

func (*WriteTournamentRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteTournamentRecordRequest.ProtoReflect.Descriptor instead.

func (*WriteTournamentRecordRequest) GetRecord

func (*WriteTournamentRecordRequest) GetTournamentId

func (x *WriteTournamentRecordRequest) GetTournamentId() string

func (*WriteTournamentRecordRequest) ProtoMessage

func (*WriteTournamentRecordRequest) ProtoMessage()

func (*WriteTournamentRecordRequest) ProtoReflect

func (*WriteTournamentRecordRequest) Reset

func (x *WriteTournamentRecordRequest) Reset()

func (*WriteTournamentRecordRequest) String

type WriteTournamentRecordRequest_TournamentRecordWrite

type WriteTournamentRecordRequest_TournamentRecordWrite struct {

	// The score value to submit.
	Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	// An optional secondary value.
	Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"`
	// A JSON object of additional properties (optional).
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Operator override.
	Operator Operator `protobuf:"varint,4,opt,name=operator,proto3,enum=nakama.api.Operator" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

Record values to write.

func (*WriteTournamentRecordRequest_TournamentRecordWrite) Descriptor deprecated

Deprecated: Use WriteTournamentRecordRequest_TournamentRecordWrite.ProtoReflect.Descriptor instead.

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetMetadata

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetOperator

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetScore

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetSubscore

func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoMessage

func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoReflect

func (*WriteTournamentRecordRequest_TournamentRecordWrite) Reset

func (*WriteTournamentRecordRequest_TournamentRecordWrite) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL