2026-06-11 01:02:16 +08:00

4765 lines
152 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// source: proto/game/v1/game.proto
package gamev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// RequestMeta 是 game-service 内部 RPC 的最小追踪和租户上下文。
type RequestMeta struct {
state protoimpl.MessageState `protogen:"open.v1"`
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"`
GatewayNodeId string `protobuf:"bytes,3,opt,name=gateway_node_id,json=gatewayNodeId,proto3" json:"gateway_node_id,omitempty"`
ActorUserId int64 `protobuf:"varint,4,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
SentAtMs int64 `protobuf:"varint,5,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`
AppCode string `protobuf:"bytes,6,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestMeta) Reset() {
*x = RequestMeta{}
mi := &file_proto_game_v1_game_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestMeta) ProtoMessage() {}
func (x *RequestMeta) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequestMeta.ProtoReflect.Descriptor instead.
func (*RequestMeta) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{0}
}
func (x *RequestMeta) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *RequestMeta) GetCaller() string {
if x != nil {
return x.Caller
}
return ""
}
func (x *RequestMeta) GetGatewayNodeId() string {
if x != nil {
return x.GatewayNodeId
}
return ""
}
func (x *RequestMeta) GetActorUserId() int64 {
if x != nil {
return x.ActorUserId
}
return 0
}
func (x *RequestMeta) GetSentAtMs() int64 {
if x != nil {
return x.SentAtMs
}
return 0
}
func (x *RequestMeta) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
type GamePlatform struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
PlatformCode string `protobuf:"bytes,2,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
PlatformName string `protobuf:"bytes,3,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
ApiBaseUrl string `protobuf:"bytes,5,opt,name=api_base_url,json=apiBaseUrl,proto3" json:"api_base_url,omitempty"`
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
CreatedAtMs int64 `protobuf:"varint,7,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,8,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
AdapterType string `protobuf:"bytes,9,opt,name=adapter_type,json=adapterType,proto3" json:"adapter_type,omitempty"`
// callback_secret is visible to admin platform configuration pages and writable for key rotation.
CallbackSecret string `protobuf:"bytes,10,opt,name=callback_secret,json=callbackSecret,proto3" json:"callback_secret,omitempty"`
CallbackSecretSet bool `protobuf:"varint,11,opt,name=callback_secret_set,json=callbackSecretSet,proto3" json:"callback_secret_set,omitempty"`
CallbackIpWhitelist []string `protobuf:"bytes,12,rep,name=callback_ip_whitelist,json=callbackIpWhitelist,proto3" json:"callback_ip_whitelist,omitempty"`
AdapterConfigJson string `protobuf:"bytes,13,opt,name=adapter_config_json,json=adapterConfigJson,proto3" json:"adapter_config_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GamePlatform) Reset() {
*x = GamePlatform{}
mi := &file_proto_game_v1_game_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GamePlatform) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GamePlatform) ProtoMessage() {}
func (x *GamePlatform) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GamePlatform.ProtoReflect.Descriptor instead.
func (*GamePlatform) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{1}
}
func (x *GamePlatform) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *GamePlatform) GetPlatformCode() string {
if x != nil {
return x.PlatformCode
}
return ""
}
func (x *GamePlatform) GetPlatformName() string {
if x != nil {
return x.PlatformName
}
return ""
}
func (x *GamePlatform) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *GamePlatform) GetApiBaseUrl() string {
if x != nil {
return x.ApiBaseUrl
}
return ""
}
func (x *GamePlatform) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *GamePlatform) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *GamePlatform) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *GamePlatform) GetAdapterType() string {
if x != nil {
return x.AdapterType
}
return ""
}
func (x *GamePlatform) GetCallbackSecret() string {
if x != nil {
return x.CallbackSecret
}
return ""
}
func (x *GamePlatform) GetCallbackSecretSet() bool {
if x != nil {
return x.CallbackSecretSet
}
return false
}
func (x *GamePlatform) GetCallbackIpWhitelist() []string {
if x != nil {
return x.CallbackIpWhitelist
}
return nil
}
func (x *GamePlatform) GetAdapterConfigJson() string {
if x != nil {
return x.AdapterConfigJson
}
return ""
}
type GameCatalogItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
PlatformCode string `protobuf:"bytes,3,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
ProviderGameId string `protobuf:"bytes,4,opt,name=provider_game_id,json=providerGameId,proto3" json:"provider_game_id,omitempty"`
GameName string `protobuf:"bytes,5,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
IconUrl string `protobuf:"bytes,7,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
CoverUrl string `protobuf:"bytes,8,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
LaunchMode string `protobuf:"bytes,9,opt,name=launch_mode,json=launchMode,proto3" json:"launch_mode,omitempty"`
Orientation string `protobuf:"bytes,10,opt,name=orientation,proto3" json:"orientation,omitempty"`
MinCoin int64 `protobuf:"varint,11,opt,name=min_coin,json=minCoin,proto3" json:"min_coin,omitempty"`
Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
SortOrder int32 `protobuf:"varint,13,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
CreatedAtMs int64 `protobuf:"varint,15,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,16,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
SafeHeight int32 `protobuf:"varint,17,opt,name=safe_height,json=safeHeight,proto3" json:"safe_height,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GameCatalogItem) Reset() {
*x = GameCatalogItem{}
mi := &file_proto_game_v1_game_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GameCatalogItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GameCatalogItem) ProtoMessage() {}
func (x *GameCatalogItem) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GameCatalogItem.ProtoReflect.Descriptor instead.
func (*GameCatalogItem) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{2}
}
func (x *GameCatalogItem) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *GameCatalogItem) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *GameCatalogItem) GetPlatformCode() string {
if x != nil {
return x.PlatformCode
}
return ""
}
func (x *GameCatalogItem) GetProviderGameId() string {
if x != nil {
return x.ProviderGameId
}
return ""
}
func (x *GameCatalogItem) GetGameName() string {
if x != nil {
return x.GameName
}
return ""
}
func (x *GameCatalogItem) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *GameCatalogItem) GetIconUrl() string {
if x != nil {
return x.IconUrl
}
return ""
}
func (x *GameCatalogItem) GetCoverUrl() string {
if x != nil {
return x.CoverUrl
}
return ""
}
func (x *GameCatalogItem) GetLaunchMode() string {
if x != nil {
return x.LaunchMode
}
return ""
}
func (x *GameCatalogItem) GetOrientation() string {
if x != nil {
return x.Orientation
}
return ""
}
func (x *GameCatalogItem) GetMinCoin() int64 {
if x != nil {
return x.MinCoin
}
return 0
}
func (x *GameCatalogItem) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *GameCatalogItem) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *GameCatalogItem) GetTags() []string {
if x != nil {
return x.Tags
}
return nil
}
func (x *GameCatalogItem) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *GameCatalogItem) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *GameCatalogItem) GetSafeHeight() int32 {
if x != nil {
return x.SafeHeight
}
return 0
}
type AppGame struct {
state protoimpl.MessageState `protogen:"open.v1"`
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
PlatformCode string `protobuf:"bytes,2,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
NameKey string `protobuf:"bytes,3,opt,name=name_key,json=nameKey,proto3" json:"name_key,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
IconUrl string `protobuf:"bytes,5,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
CoverUrl string `protobuf:"bytes,6,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category,omitempty"`
LaunchMode string `protobuf:"bytes,8,opt,name=launch_mode,json=launchMode,proto3" json:"launch_mode,omitempty"`
Orientation string `protobuf:"bytes,9,opt,name=orientation,proto3" json:"orientation,omitempty"`
MinCoin int64 `protobuf:"varint,10,opt,name=min_coin,json=minCoin,proto3" json:"min_coin,omitempty"`
Enabled bool `protobuf:"varint,11,opt,name=enabled,proto3" json:"enabled,omitempty"`
Maintenance bool `protobuf:"varint,12,opt,name=maintenance,proto3" json:"maintenance,omitempty"`
SortOrder int32 `protobuf:"varint,13,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
SafeHeight int32 `protobuf:"varint,14,opt,name=safe_height,json=safeHeight,proto3" json:"safe_height,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AppGame) Reset() {
*x = AppGame{}
mi := &file_proto_game_v1_game_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AppGame) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AppGame) ProtoMessage() {}
func (x *AppGame) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AppGame.ProtoReflect.Descriptor instead.
func (*AppGame) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{3}
}
func (x *AppGame) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *AppGame) GetPlatformCode() string {
if x != nil {
return x.PlatformCode
}
return ""
}
func (x *AppGame) GetNameKey() string {
if x != nil {
return x.NameKey
}
return ""
}
func (x *AppGame) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AppGame) GetIconUrl() string {
if x != nil {
return x.IconUrl
}
return ""
}
func (x *AppGame) GetCoverUrl() string {
if x != nil {
return x.CoverUrl
}
return ""
}
func (x *AppGame) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *AppGame) GetLaunchMode() string {
if x != nil {
return x.LaunchMode
}
return ""
}
func (x *AppGame) GetOrientation() string {
if x != nil {
return x.Orientation
}
return ""
}
func (x *AppGame) GetMinCoin() int64 {
if x != nil {
return x.MinCoin
}
return 0
}
func (x *AppGame) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *AppGame) GetMaintenance() bool {
if x != nil {
return x.Maintenance
}
return false
}
func (x *AppGame) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *AppGame) GetSafeHeight() int32 {
if x != nil {
return x.SafeHeight
}
return 0
}
type ListGamesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"`
ClientPlatform string `protobuf:"bytes,7,opt,name=client_platform,json=clientPlatform,proto3" json:"client_platform,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListGamesRequest) Reset() {
*x = ListGamesRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListGamesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListGamesRequest) ProtoMessage() {}
func (x *ListGamesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListGamesRequest.ProtoReflect.Descriptor instead.
func (*ListGamesRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{4}
}
func (x *ListGamesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListGamesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListGamesRequest) GetScene() string {
if x != nil {
return x.Scene
}
return ""
}
func (x *ListGamesRequest) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *ListGamesRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *ListGamesRequest) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *ListGamesRequest) GetClientPlatform() string {
if x != nil {
return x.ClientPlatform
}
return ""
}
type ListGamesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Games []*AppGame `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListGamesResponse) Reset() {
*x = ListGamesResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListGamesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListGamesResponse) ProtoMessage() {}
func (x *ListGamesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListGamesResponse.ProtoReflect.Descriptor instead.
func (*ListGamesResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{5}
}
func (x *ListGamesResponse) GetGames() []*AppGame {
if x != nil {
return x.Games
}
return nil
}
func (x *ListGamesResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type ListRecentGamesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"`
ClientPlatform string `protobuf:"bytes,7,opt,name=client_platform,json=clientPlatform,proto3" json:"client_platform,omitempty"`
PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRecentGamesRequest) Reset() {
*x = ListRecentGamesRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRecentGamesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRecentGamesRequest) ProtoMessage() {}
func (x *ListRecentGamesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRecentGamesRequest.ProtoReflect.Descriptor instead.
func (*ListRecentGamesRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{6}
}
func (x *ListRecentGamesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListRecentGamesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListRecentGamesRequest) GetScene() string {
if x != nil {
return x.Scene
}
return ""
}
func (x *ListRecentGamesRequest) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *ListRecentGamesRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *ListRecentGamesRequest) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *ListRecentGamesRequest) GetClientPlatform() string {
if x != nil {
return x.ClientPlatform
}
return ""
}
func (x *ListRecentGamesRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type GetBridgeScriptRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBridgeScriptRequest) Reset() {
*x = GetBridgeScriptRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBridgeScriptRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBridgeScriptRequest) ProtoMessage() {}
func (x *GetBridgeScriptRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBridgeScriptRequest.ProtoReflect.Descriptor instead.
func (*GetBridgeScriptRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{7}
}
func (x *GetBridgeScriptRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type GameBridgeScriptConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
BridgeScriptUrl string `protobuf:"bytes,1,opt,name=bridge_script_url,json=bridgeScriptUrl,proto3" json:"bridge_script_url,omitempty"`
BridgeScriptVersion string `protobuf:"bytes,2,opt,name=bridge_script_version,json=bridgeScriptVersion,proto3" json:"bridge_script_version,omitempty"`
BridgeScriptSha256 string `protobuf:"bytes,3,opt,name=bridge_script_sha256,json=bridgeScriptSha256,proto3" json:"bridge_script_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GameBridgeScriptConfig) Reset() {
*x = GameBridgeScriptConfig{}
mi := &file_proto_game_v1_game_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GameBridgeScriptConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GameBridgeScriptConfig) ProtoMessage() {}
func (x *GameBridgeScriptConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GameBridgeScriptConfig.ProtoReflect.Descriptor instead.
func (*GameBridgeScriptConfig) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{8}
}
func (x *GameBridgeScriptConfig) GetBridgeScriptUrl() string {
if x != nil {
return x.BridgeScriptUrl
}
return ""
}
func (x *GameBridgeScriptConfig) GetBridgeScriptVersion() string {
if x != nil {
return x.BridgeScriptVersion
}
return ""
}
func (x *GameBridgeScriptConfig) GetBridgeScriptSha256() string {
if x != nil {
return x.BridgeScriptSha256
}
return ""
}
type GetBridgeScriptResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *GameBridgeScriptConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBridgeScriptResponse) Reset() {
*x = GetBridgeScriptResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBridgeScriptResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBridgeScriptResponse) ProtoMessage() {}
func (x *GetBridgeScriptResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBridgeScriptResponse.ProtoReflect.Descriptor instead.
func (*GetBridgeScriptResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{9}
}
func (x *GetBridgeScriptResponse) GetConfig() *GameBridgeScriptConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *GetBridgeScriptResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type LaunchGameRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
DisplayUserId string `protobuf:"bytes,3,opt,name=display_user_id,json=displayUserId,proto3" json:"display_user_id,omitempty"`
GameId string `protobuf:"bytes,4,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
Scene string `protobuf:"bytes,5,opt,name=scene,proto3" json:"scene,omitempty"`
RoomId string `protobuf:"bytes,6,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
// access_token is the same bearer token used by the App request.
// Provider adapters pass it through as the game token instead of minting a separate game token.
AccessToken string `protobuf:"bytes,7,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LaunchGameRequest) Reset() {
*x = LaunchGameRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LaunchGameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LaunchGameRequest) ProtoMessage() {}
func (x *LaunchGameRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LaunchGameRequest.ProtoReflect.Descriptor instead.
func (*LaunchGameRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{10}
}
func (x *LaunchGameRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *LaunchGameRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *LaunchGameRequest) GetDisplayUserId() string {
if x != nil {
return x.DisplayUserId
}
return ""
}
func (x *LaunchGameRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *LaunchGameRequest) GetScene() string {
if x != nil {
return x.Scene
}
return ""
}
func (x *LaunchGameRequest) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *LaunchGameRequest) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
type LaunchGameResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
LaunchUrl string `protobuf:"bytes,2,opt,name=launch_url,json=launchUrl,proto3" json:"launch_url,omitempty"`
ExpiresAtMs int64 `protobuf:"varint,3,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
Orientation string `protobuf:"bytes,4,opt,name=orientation,proto3" json:"orientation,omitempty"`
ServerTimeMs int64 `protobuf:"varint,5,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
SafeHeight int32 `protobuf:"varint,6,opt,name=safe_height,json=safeHeight,proto3" json:"safe_height,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LaunchGameResponse) Reset() {
*x = LaunchGameResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LaunchGameResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LaunchGameResponse) ProtoMessage() {}
func (x *LaunchGameResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LaunchGameResponse.ProtoReflect.Descriptor instead.
func (*LaunchGameResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{11}
}
func (x *LaunchGameResponse) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
func (x *LaunchGameResponse) GetLaunchUrl() string {
if x != nil {
return x.LaunchUrl
}
return ""
}
func (x *LaunchGameResponse) GetExpiresAtMs() int64 {
if x != nil {
return x.ExpiresAtMs
}
return 0
}
func (x *LaunchGameResponse) GetOrientation() string {
if x != nil {
return x.Orientation
}
return ""
}
func (x *LaunchGameResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
func (x *LaunchGameResponse) GetSafeHeight() int32 {
if x != nil {
return x.SafeHeight
}
return 0
}
type DiceParticipant struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
SeatNo int32 `protobuf:"varint,2,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
StakeCoin int64 `protobuf:"varint,4,opt,name=stake_coin,json=stakeCoin,proto3" json:"stake_coin,omitempty"`
DicePoints []int32 `protobuf:"varint,5,rep,packed,name=dice_points,json=dicePoints,proto3" json:"dice_points,omitempty"`
Result string `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
PayoutCoin int64 `protobuf:"varint,7,opt,name=payout_coin,json=payoutCoin,proto3" json:"payout_coin,omitempty"`
BalanceAfter int64 `protobuf:"varint,8,opt,name=balance_after,json=balanceAfter,proto3" json:"balance_after,omitempty"`
JoinedAtMs int64 `protobuf:"varint,9,opt,name=joined_at_ms,json=joinedAtMs,proto3" json:"joined_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,10,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
ParticipantType string `protobuf:"bytes,11,opt,name=participant_type,json=participantType,proto3" json:"participant_type,omitempty"`
IsRobot bool `protobuf:"varint,12,opt,name=is_robot,json=isRobot,proto3" json:"is_robot,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceParticipant) Reset() {
*x = DiceParticipant{}
mi := &file_proto_game_v1_game_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceParticipant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceParticipant) ProtoMessage() {}
func (x *DiceParticipant) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceParticipant.ProtoReflect.Descriptor instead.
func (*DiceParticipant) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{12}
}
func (x *DiceParticipant) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *DiceParticipant) GetSeatNo() int32 {
if x != nil {
return x.SeatNo
}
return 0
}
func (x *DiceParticipant) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *DiceParticipant) GetStakeCoin() int64 {
if x != nil {
return x.StakeCoin
}
return 0
}
func (x *DiceParticipant) GetDicePoints() []int32 {
if x != nil {
return x.DicePoints
}
return nil
}
func (x *DiceParticipant) GetResult() string {
if x != nil {
return x.Result
}
return ""
}
func (x *DiceParticipant) GetPayoutCoin() int64 {
if x != nil {
return x.PayoutCoin
}
return 0
}
func (x *DiceParticipant) GetBalanceAfter() int64 {
if x != nil {
return x.BalanceAfter
}
return 0
}
func (x *DiceParticipant) GetJoinedAtMs() int64 {
if x != nil {
return x.JoinedAtMs
}
return 0
}
func (x *DiceParticipant) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *DiceParticipant) GetParticipantType() string {
if x != nil {
return x.ParticipantType
}
return ""
}
func (x *DiceParticipant) GetIsRobot() bool {
if x != nil {
return x.IsRobot
}
return false
}
type DiceMatch struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
MatchId string `protobuf:"bytes,2,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
MinPlayers int32 `protobuf:"varint,6,opt,name=min_players,json=minPlayers,proto3" json:"min_players,omitempty"`
MaxPlayers int32 `protobuf:"varint,7,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
CurrentPlayers int32 `protobuf:"varint,8,opt,name=current_players,json=currentPlayers,proto3" json:"current_players,omitempty"`
StakeCoin int64 `protobuf:"varint,9,opt,name=stake_coin,json=stakeCoin,proto3" json:"stake_coin,omitempty"`
RoundNo int32 `protobuf:"varint,10,opt,name=round_no,json=roundNo,proto3" json:"round_no,omitempty"`
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
Result string `protobuf:"bytes,12,opt,name=result,proto3" json:"result,omitempty"`
Participants []*DiceParticipant `protobuf:"bytes,13,rep,name=participants,proto3" json:"participants,omitempty"`
JoinDeadlineMs int64 `protobuf:"varint,14,opt,name=join_deadline_ms,json=joinDeadlineMs,proto3" json:"join_deadline_ms,omitempty"`
CreatedAtMs int64 `protobuf:"varint,15,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,16,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
SettledAtMs int64 `protobuf:"varint,17,opt,name=settled_at_ms,json=settledAtMs,proto3" json:"settled_at_ms,omitempty"`
Phase string `protobuf:"bytes,18,opt,name=phase,proto3" json:"phase,omitempty"`
PhaseDeadlineMs int64 `protobuf:"varint,19,opt,name=phase_deadline_ms,json=phaseDeadlineMs,proto3" json:"phase_deadline_ms,omitempty"`
FeeBps int32 `protobuf:"varint,20,opt,name=fee_bps,json=feeBps,proto3" json:"fee_bps,omitempty"`
PoolBps int32 `protobuf:"varint,21,opt,name=pool_bps,json=poolBps,proto3" json:"pool_bps,omitempty"`
MatchMode string `protobuf:"bytes,22,opt,name=match_mode,json=matchMode,proto3" json:"match_mode,omitempty"`
ForcedResult string `protobuf:"bytes,23,opt,name=forced_result,json=forcedResult,proto3" json:"forced_result,omitempty"`
ReadyAtMs int64 `protobuf:"varint,24,opt,name=ready_at_ms,json=readyAtMs,proto3" json:"ready_at_ms,omitempty"`
CanceledAtMs int64 `protobuf:"varint,25,opt,name=canceled_at_ms,json=canceledAtMs,proto3" json:"canceled_at_ms,omitempty"`
PoolDeltaCoin int64 `protobuf:"varint,26,opt,name=pool_delta_coin,json=poolDeltaCoin,proto3" json:"pool_delta_coin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceMatch) Reset() {
*x = DiceMatch{}
mi := &file_proto_game_v1_game_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceMatch) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceMatch) ProtoMessage() {}
func (x *DiceMatch) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceMatch.ProtoReflect.Descriptor instead.
func (*DiceMatch) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{13}
}
func (x *DiceMatch) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *DiceMatch) GetMatchId() string {
if x != nil {
return x.MatchId
}
return ""
}
func (x *DiceMatch) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *DiceMatch) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *DiceMatch) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *DiceMatch) GetMinPlayers() int32 {
if x != nil {
return x.MinPlayers
}
return 0
}
func (x *DiceMatch) GetMaxPlayers() int32 {
if x != nil {
return x.MaxPlayers
}
return 0
}
func (x *DiceMatch) GetCurrentPlayers() int32 {
if x != nil {
return x.CurrentPlayers
}
return 0
}
func (x *DiceMatch) GetStakeCoin() int64 {
if x != nil {
return x.StakeCoin
}
return 0
}
func (x *DiceMatch) GetRoundNo() int32 {
if x != nil {
return x.RoundNo
}
return 0
}
func (x *DiceMatch) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *DiceMatch) GetResult() string {
if x != nil {
return x.Result
}
return ""
}
func (x *DiceMatch) GetParticipants() []*DiceParticipant {
if x != nil {
return x.Participants
}
return nil
}
func (x *DiceMatch) GetJoinDeadlineMs() int64 {
if x != nil {
return x.JoinDeadlineMs
}
return 0
}
func (x *DiceMatch) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *DiceMatch) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *DiceMatch) GetSettledAtMs() int64 {
if x != nil {
return x.SettledAtMs
}
return 0
}
func (x *DiceMatch) GetPhase() string {
if x != nil {
return x.Phase
}
return ""
}
func (x *DiceMatch) GetPhaseDeadlineMs() int64 {
if x != nil {
return x.PhaseDeadlineMs
}
return 0
}
func (x *DiceMatch) GetFeeBps() int32 {
if x != nil {
return x.FeeBps
}
return 0
}
func (x *DiceMatch) GetPoolBps() int32 {
if x != nil {
return x.PoolBps
}
return 0
}
func (x *DiceMatch) GetMatchMode() string {
if x != nil {
return x.MatchMode
}
return ""
}
func (x *DiceMatch) GetForcedResult() string {
if x != nil {
return x.ForcedResult
}
return ""
}
func (x *DiceMatch) GetReadyAtMs() int64 {
if x != nil {
return x.ReadyAtMs
}
return 0
}
func (x *DiceMatch) GetCanceledAtMs() int64 {
if x != nil {
return x.CanceledAtMs
}
return 0
}
func (x *DiceMatch) GetPoolDeltaCoin() int64 {
if x != nil {
return x.PoolDeltaCoin
}
return 0
}
type DiceStakeOption struct {
state protoimpl.MessageState `protogen:"open.v1"`
StakeCoin int64 `protobuf:"varint,1,opt,name=stake_coin,json=stakeCoin,proto3" json:"stake_coin,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
SortOrder int32 `protobuf:"varint,3,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceStakeOption) Reset() {
*x = DiceStakeOption{}
mi := &file_proto_game_v1_game_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceStakeOption) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceStakeOption) ProtoMessage() {}
func (x *DiceStakeOption) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceStakeOption.ProtoReflect.Descriptor instead.
func (*DiceStakeOption) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{14}
}
func (x *DiceStakeOption) GetStakeCoin() int64 {
if x != nil {
return x.StakeCoin
}
return 0
}
func (x *DiceStakeOption) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *DiceStakeOption) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
type DiceConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
StakeOptions []*DiceStakeOption `protobuf:"bytes,4,rep,name=stake_options,json=stakeOptions,proto3" json:"stake_options,omitempty"`
FeeBps int32 `protobuf:"varint,5,opt,name=fee_bps,json=feeBps,proto3" json:"fee_bps,omitempty"`
PoolBps int32 `protobuf:"varint,6,opt,name=pool_bps,json=poolBps,proto3" json:"pool_bps,omitempty"`
MinPlayers int32 `protobuf:"varint,7,opt,name=min_players,json=minPlayers,proto3" json:"min_players,omitempty"`
MaxPlayers int32 `protobuf:"varint,8,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
RobotEnabled bool `protobuf:"varint,9,opt,name=robot_enabled,json=robotEnabled,proto3" json:"robot_enabled,omitempty"`
RobotMatchWaitMs int64 `protobuf:"varint,10,opt,name=robot_match_wait_ms,json=robotMatchWaitMs,proto3" json:"robot_match_wait_ms,omitempty"`
PoolBalanceCoin int64 `protobuf:"varint,11,opt,name=pool_balance_coin,json=poolBalanceCoin,proto3" json:"pool_balance_coin,omitempty"`
CreatedAtMs int64 `protobuf:"varint,12,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,13,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceConfig) Reset() {
*x = DiceConfig{}
mi := &file_proto_game_v1_game_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceConfig) ProtoMessage() {}
func (x *DiceConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceConfig.ProtoReflect.Descriptor instead.
func (*DiceConfig) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{15}
}
func (x *DiceConfig) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *DiceConfig) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *DiceConfig) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *DiceConfig) GetStakeOptions() []*DiceStakeOption {
if x != nil {
return x.StakeOptions
}
return nil
}
func (x *DiceConfig) GetFeeBps() int32 {
if x != nil {
return x.FeeBps
}
return 0
}
func (x *DiceConfig) GetPoolBps() int32 {
if x != nil {
return x.PoolBps
}
return 0
}
func (x *DiceConfig) GetMinPlayers() int32 {
if x != nil {
return x.MinPlayers
}
return 0
}
func (x *DiceConfig) GetMaxPlayers() int32 {
if x != nil {
return x.MaxPlayers
}
return 0
}
func (x *DiceConfig) GetRobotEnabled() bool {
if x != nil {
return x.RobotEnabled
}
return false
}
func (x *DiceConfig) GetRobotMatchWaitMs() int64 {
if x != nil {
return x.RobotMatchWaitMs
}
return 0
}
func (x *DiceConfig) GetPoolBalanceCoin() int64 {
if x != nil {
return x.PoolBalanceCoin
}
return 0
}
func (x *DiceConfig) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *DiceConfig) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type GetDiceConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDiceConfigRequest) Reset() {
*x = GetDiceConfigRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDiceConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDiceConfigRequest) ProtoMessage() {}
func (x *GetDiceConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDiceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDiceConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{16}
}
func (x *GetDiceConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetDiceConfigRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
type DiceConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *DiceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceConfigResponse) Reset() {
*x = DiceConfigResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceConfigResponse) ProtoMessage() {}
func (x *DiceConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceConfigResponse.ProtoReflect.Descriptor instead.
func (*DiceConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{17}
}
func (x *DiceConfigResponse) GetConfig() *DiceConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *DiceConfigResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type CreateDiceMatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
StakeCoin int64 `protobuf:"varint,6,opt,name=stake_coin,json=stakeCoin,proto3" json:"stake_coin,omitempty"`
MinPlayers int32 `protobuf:"varint,7,opt,name=min_players,json=minPlayers,proto3" json:"min_players,omitempty"`
MaxPlayers int32 `protobuf:"varint,8,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateDiceMatchRequest) Reset() {
*x = CreateDiceMatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateDiceMatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateDiceMatchRequest) ProtoMessage() {}
func (x *CreateDiceMatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateDiceMatchRequest.ProtoReflect.Descriptor instead.
func (*CreateDiceMatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{18}
}
func (x *CreateDiceMatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateDiceMatchRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CreateDiceMatchRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *CreateDiceMatchRequest) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *CreateDiceMatchRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *CreateDiceMatchRequest) GetStakeCoin() int64 {
if x != nil {
return x.StakeCoin
}
return 0
}
func (x *CreateDiceMatchRequest) GetMinPlayers() int32 {
if x != nil {
return x.MinPlayers
}
return 0
}
func (x *CreateDiceMatchRequest) GetMaxPlayers() int32 {
if x != nil {
return x.MaxPlayers
}
return 0
}
type JoinDiceMatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MatchId string `protobuf:"bytes,3,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *JoinDiceMatchRequest) Reset() {
*x = JoinDiceMatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *JoinDiceMatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JoinDiceMatchRequest) ProtoMessage() {}
func (x *JoinDiceMatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use JoinDiceMatchRequest.ProtoReflect.Descriptor instead.
func (*JoinDiceMatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{19}
}
func (x *JoinDiceMatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *JoinDiceMatchRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *JoinDiceMatchRequest) GetMatchId() string {
if x != nil {
return x.MatchId
}
return ""
}
type GetDiceMatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MatchId string `protobuf:"bytes,3,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDiceMatchRequest) Reset() {
*x = GetDiceMatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDiceMatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDiceMatchRequest) ProtoMessage() {}
func (x *GetDiceMatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDiceMatchRequest.ProtoReflect.Descriptor instead.
func (*GetDiceMatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{20}
}
func (x *GetDiceMatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetDiceMatchRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *GetDiceMatchRequest) GetMatchId() string {
if x != nil {
return x.MatchId
}
return ""
}
type RollDiceMatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MatchId string `protobuf:"bytes,3,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RollDiceMatchRequest) Reset() {
*x = RollDiceMatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RollDiceMatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RollDiceMatchRequest) ProtoMessage() {}
func (x *RollDiceMatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RollDiceMatchRequest.ProtoReflect.Descriptor instead.
func (*RollDiceMatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{21}
}
func (x *RollDiceMatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *RollDiceMatchRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *RollDiceMatchRequest) GetMatchId() string {
if x != nil {
return x.MatchId
}
return ""
}
type MatchDiceRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
StakeCoin int64 `protobuf:"varint,6,opt,name=stake_coin,json=stakeCoin,proto3" json:"stake_coin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MatchDiceRequest) Reset() {
*x = MatchDiceRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MatchDiceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MatchDiceRequest) ProtoMessage() {}
func (x *MatchDiceRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MatchDiceRequest.ProtoReflect.Descriptor instead.
func (*MatchDiceRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{22}
}
func (x *MatchDiceRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *MatchDiceRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *MatchDiceRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *MatchDiceRequest) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *MatchDiceRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *MatchDiceRequest) GetStakeCoin() int64 {
if x != nil {
return x.StakeCoin
}
return 0
}
type CancelDiceMatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MatchId string `protobuf:"bytes,3,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CancelDiceMatchRequest) Reset() {
*x = CancelDiceMatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CancelDiceMatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelDiceMatchRequest) ProtoMessage() {}
func (x *CancelDiceMatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelDiceMatchRequest.ProtoReflect.Descriptor instead.
func (*CancelDiceMatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{23}
}
func (x *CancelDiceMatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CancelDiceMatchRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CancelDiceMatchRequest) GetMatchId() string {
if x != nil {
return x.MatchId
}
return ""
}
type DiceMatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Match *DiceMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceMatchResponse) Reset() {
*x = DiceMatchResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceMatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceMatchResponse) ProtoMessage() {}
func (x *DiceMatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceMatchResponse.ProtoReflect.Descriptor instead.
func (*DiceMatchResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{24}
}
func (x *DiceMatchResponse) GetMatch() *DiceMatch {
if x != nil {
return x.Match
}
return nil
}
func (x *DiceMatchResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type CallbackRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
PlatformCode string `protobuf:"bytes,2,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
RawBody []byte `protobuf:"bytes,4,opt,name=raw_body,json=rawBody,proto3" json:"raw_body,omitempty"`
Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Query map[string]string `protobuf:"bytes,6,rep,name=query,proto3" json:"query,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
RemoteAddr string `protobuf:"bytes,7,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackRequest) Reset() {
*x = CallbackRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackRequest) ProtoMessage() {}
func (x *CallbackRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallbackRequest.ProtoReflect.Descriptor instead.
func (*CallbackRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{25}
}
func (x *CallbackRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CallbackRequest) GetPlatformCode() string {
if x != nil {
return x.PlatformCode
}
return ""
}
func (x *CallbackRequest) GetOperation() string {
if x != nil {
return x.Operation
}
return ""
}
func (x *CallbackRequest) GetRawBody() []byte {
if x != nil {
return x.RawBody
}
return nil
}
func (x *CallbackRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *CallbackRequest) GetQuery() map[string]string {
if x != nil {
return x.Query
}
return nil
}
func (x *CallbackRequest) GetRemoteAddr() string {
if x != nil {
return x.RemoteAddr
}
return ""
}
type CallbackResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
RawBody []byte `protobuf:"bytes,1,opt,name=raw_body,json=rawBody,proto3" json:"raw_body,omitempty"`
ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackResponse) Reset() {
*x = CallbackResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackResponse) ProtoMessage() {}
func (x *CallbackResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CallbackResponse.ProtoReflect.Descriptor instead.
func (*CallbackResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{26}
}
func (x *CallbackResponse) GetRawBody() []byte {
if x != nil {
return x.RawBody
}
return nil
}
func (x *CallbackResponse) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
type CronBatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
WorkerId string `protobuf:"bytes,3,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
BatchSize int32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
LockTtlMs int64 `protobuf:"varint,5,opt,name=lock_ttl_ms,json=lockTtlMs,proto3" json:"lock_ttl_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CronBatchRequest) Reset() {
*x = CronBatchRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CronBatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CronBatchRequest) ProtoMessage() {}
func (x *CronBatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CronBatchRequest.ProtoReflect.Descriptor instead.
func (*CronBatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{27}
}
func (x *CronBatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CronBatchRequest) GetRunId() string {
if x != nil {
return x.RunId
}
return ""
}
func (x *CronBatchRequest) GetWorkerId() string {
if x != nil {
return x.WorkerId
}
return ""
}
func (x *CronBatchRequest) GetBatchSize() int32 {
if x != nil {
return x.BatchSize
}
return 0
}
func (x *CronBatchRequest) GetLockTtlMs() int64 {
if x != nil {
return x.LockTtlMs
}
return 0
}
type CronBatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimedCount int32 `protobuf:"varint,1,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
ProcessedCount int32 `protobuf:"varint,2,opt,name=processed_count,json=processedCount,proto3" json:"processed_count,omitempty"`
SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CronBatchResponse) Reset() {
*x = CronBatchResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CronBatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CronBatchResponse) ProtoMessage() {}
func (x *CronBatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CronBatchResponse.ProtoReflect.Descriptor instead.
func (*CronBatchResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{28}
}
func (x *CronBatchResponse) GetClaimedCount() int32 {
if x != nil {
return x.ClaimedCount
}
return 0
}
func (x *CronBatchResponse) GetProcessedCount() int32 {
if x != nil {
return x.ProcessedCount
}
return 0
}
func (x *CronBatchResponse) GetSuccessCount() int32 {
if x != nil {
return x.SuccessCount
}
return 0
}
func (x *CronBatchResponse) GetFailureCount() int32 {
if x != nil {
return x.FailureCount
}
return 0
}
func (x *CronBatchResponse) GetHasMore() bool {
if x != nil {
return x.HasMore
}
return false
}
type ListPlatformsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlatformsRequest) Reset() {
*x = ListPlatformsRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlatformsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlatformsRequest) ProtoMessage() {}
func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPlatformsRequest.ProtoReflect.Descriptor instead.
func (*ListPlatformsRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{29}
}
func (x *ListPlatformsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListPlatformsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type ListPlatformsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Platforms []*GamePlatform `protobuf:"bytes,1,rep,name=platforms,proto3" json:"platforms,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlatformsResponse) Reset() {
*x = ListPlatformsResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlatformsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlatformsResponse) ProtoMessage() {}
func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPlatformsResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformsResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{30}
}
func (x *ListPlatformsResponse) GetPlatforms() []*GamePlatform {
if x != nil {
return x.Platforms
}
return nil
}
func (x *ListPlatformsResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type UpsertPlatformRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Platform *GamePlatform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertPlatformRequest) Reset() {
*x = UpsertPlatformRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertPlatformRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertPlatformRequest) ProtoMessage() {}
func (x *UpsertPlatformRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpsertPlatformRequest.ProtoReflect.Descriptor instead.
func (*UpsertPlatformRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{31}
}
func (x *UpsertPlatformRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertPlatformRequest) GetPlatform() *GamePlatform {
if x != nil {
return x.Platform
}
return nil
}
type PlatformResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Platform *GamePlatform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlatformResponse) Reset() {
*x = PlatformResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlatformResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlatformResponse) ProtoMessage() {}
func (x *PlatformResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PlatformResponse.ProtoReflect.Descriptor instead.
func (*PlatformResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{32}
}
func (x *PlatformResponse) GetPlatform() *GamePlatform {
if x != nil {
return x.Platform
}
return nil
}
func (x *PlatformResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type ListCatalogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
PlatformCode string `protobuf:"bytes,2,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCatalogRequest) Reset() {
*x = ListCatalogRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCatalogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCatalogRequest) ProtoMessage() {}
func (x *ListCatalogRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListCatalogRequest.ProtoReflect.Descriptor instead.
func (*ListCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{33}
}
func (x *ListCatalogRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListCatalogRequest) GetPlatformCode() string {
if x != nil {
return x.PlatformCode
}
return ""
}
func (x *ListCatalogRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListCatalogRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListCatalogRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
type ListCatalogResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Games []*GameCatalogItem `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListCatalogResponse) Reset() {
*x = ListCatalogResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListCatalogResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCatalogResponse) ProtoMessage() {}
func (x *ListCatalogResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListCatalogResponse.ProtoReflect.Descriptor instead.
func (*ListCatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{34}
}
func (x *ListCatalogResponse) GetGames() []*GameCatalogItem {
if x != nil {
return x.Games
}
return nil
}
func (x *ListCatalogResponse) GetNextCursor() string {
if x != nil {
return x.NextCursor
}
return ""
}
func (x *ListCatalogResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type UpsertCatalogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Game *GameCatalogItem `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertCatalogRequest) Reset() {
*x = UpsertCatalogRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertCatalogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertCatalogRequest) ProtoMessage() {}
func (x *UpsertCatalogRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpsertCatalogRequest.ProtoReflect.Descriptor instead.
func (*UpsertCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{35}
}
func (x *UpsertCatalogRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertCatalogRequest) GetGame() *GameCatalogItem {
if x != nil {
return x.Game
}
return nil
}
type CatalogResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Game *GameCatalogItem `protobuf:"bytes,1,opt,name=game,proto3" json:"game,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CatalogResponse) Reset() {
*x = CatalogResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CatalogResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CatalogResponse) ProtoMessage() {}
func (x *CatalogResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CatalogResponse.ProtoReflect.Descriptor instead.
func (*CatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{36}
}
func (x *CatalogResponse) GetGame() *GameCatalogItem {
if x != nil {
return x.Game
}
return nil
}
func (x *CatalogResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type SetGameStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetGameStatusRequest) Reset() {
*x = SetGameStatusRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetGameStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetGameStatusRequest) ProtoMessage() {}
func (x *SetGameStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetGameStatusRequest.ProtoReflect.Descriptor instead.
func (*SetGameStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{37}
}
func (x *SetGameStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetGameStatusRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *SetGameStatusRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type DeleteCatalogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteCatalogRequest) Reset() {
*x = DeleteCatalogRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCatalogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteCatalogRequest) ProtoMessage() {}
func (x *DeleteCatalogRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteCatalogRequest.ProtoReflect.Descriptor instead.
func (*DeleteCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{38}
}
func (x *DeleteCatalogRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *DeleteCatalogRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
type DeleteCatalogResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ServerTimeMs int64 `protobuf:"varint,1,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteCatalogResponse) Reset() {
*x = DeleteCatalogResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCatalogResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteCatalogResponse) ProtoMessage() {}
func (x *DeleteCatalogResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteCatalogResponse.ProtoReflect.Descriptor instead.
func (*DeleteCatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{39}
}
func (x *DeleteCatalogResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type ListSelfGamesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSelfGamesRequest) Reset() {
*x = ListSelfGamesRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSelfGamesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSelfGamesRequest) ProtoMessage() {}
func (x *ListSelfGamesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSelfGamesRequest.ProtoReflect.Descriptor instead.
func (*ListSelfGamesRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{40}
}
func (x *ListSelfGamesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type ListSelfGamesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Games []*DiceConfig `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSelfGamesResponse) Reset() {
*x = ListSelfGamesResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSelfGamesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSelfGamesResponse) ProtoMessage() {}
func (x *ListSelfGamesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSelfGamesResponse.ProtoReflect.Descriptor instead.
func (*ListSelfGamesResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{41}
}
func (x *ListSelfGamesResponse) GetGames() []*DiceConfig {
if x != nil {
return x.Games
}
return nil
}
func (x *ListSelfGamesResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type UpdateDiceConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Config *DiceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateDiceConfigRequest) Reset() {
*x = UpdateDiceConfigRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateDiceConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateDiceConfigRequest) ProtoMessage() {}
func (x *UpdateDiceConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateDiceConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateDiceConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{42}
}
func (x *UpdateDiceConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpdateDiceConfigRequest) GetConfig() *DiceConfig {
if x != nil {
return x.Config
}
return nil
}
type DicePoolAdjustment struct {
state protoimpl.MessageState `protogen:"open.v1"`
AdjustmentId string `protobuf:"bytes,1,opt,name=adjustment_id,json=adjustmentId,proto3" json:"adjustment_id,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
AmountCoin int64 `protobuf:"varint,3,opt,name=amount_coin,json=amountCoin,proto3" json:"amount_coin,omitempty"`
Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
BalanceAfter int64 `protobuf:"varint,6,opt,name=balance_after,json=balanceAfter,proto3" json:"balance_after,omitempty"`
CreatedAtMs int64 `protobuf:"varint,7,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DicePoolAdjustment) Reset() {
*x = DicePoolAdjustment{}
mi := &file_proto_game_v1_game_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DicePoolAdjustment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DicePoolAdjustment) ProtoMessage() {}
func (x *DicePoolAdjustment) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DicePoolAdjustment.ProtoReflect.Descriptor instead.
func (*DicePoolAdjustment) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{43}
}
func (x *DicePoolAdjustment) GetAdjustmentId() string {
if x != nil {
return x.AdjustmentId
}
return ""
}
func (x *DicePoolAdjustment) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *DicePoolAdjustment) GetAmountCoin() int64 {
if x != nil {
return x.AmountCoin
}
return 0
}
func (x *DicePoolAdjustment) GetDirection() string {
if x != nil {
return x.Direction
}
return ""
}
func (x *DicePoolAdjustment) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *DicePoolAdjustment) GetBalanceAfter() int64 {
if x != nil {
return x.BalanceAfter
}
return 0
}
func (x *DicePoolAdjustment) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
type AdjustDicePoolRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
AmountCoin int64 `protobuf:"varint,3,opt,name=amount_coin,json=amountCoin,proto3" json:"amount_coin,omitempty"`
Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdjustDicePoolRequest) Reset() {
*x = AdjustDicePoolRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdjustDicePoolRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdjustDicePoolRequest) ProtoMessage() {}
func (x *AdjustDicePoolRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdjustDicePoolRequest.ProtoReflect.Descriptor instead.
func (*AdjustDicePoolRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{44}
}
func (x *AdjustDicePoolRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *AdjustDicePoolRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *AdjustDicePoolRequest) GetAmountCoin() int64 {
if x != nil {
return x.AmountCoin
}
return 0
}
func (x *AdjustDicePoolRequest) GetDirection() string {
if x != nil {
return x.Direction
}
return ""
}
func (x *AdjustDicePoolRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type AdjustDicePoolResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Adjustment *DicePoolAdjustment `protobuf:"bytes,1,opt,name=adjustment,proto3" json:"adjustment,omitempty"`
Config *DiceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdjustDicePoolResponse) Reset() {
*x = AdjustDicePoolResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdjustDicePoolResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdjustDicePoolResponse) ProtoMessage() {}
func (x *AdjustDicePoolResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdjustDicePoolResponse.ProtoReflect.Descriptor instead.
func (*AdjustDicePoolResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{45}
}
func (x *AdjustDicePoolResponse) GetAdjustment() *DicePoolAdjustment {
if x != nil {
return x.Adjustment
}
return nil
}
func (x *AdjustDicePoolResponse) GetConfig() *DiceConfig {
if x != nil {
return x.Config
}
return nil
}
func (x *AdjustDicePoolResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type DiceRobot struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
CreatedByAdminId int64 `protobuf:"varint,5,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,6,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,7,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceRobot) Reset() {
*x = DiceRobot{}
mi := &file_proto_game_v1_game_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceRobot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceRobot) ProtoMessage() {}
func (x *DiceRobot) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceRobot.ProtoReflect.Descriptor instead.
func (*DiceRobot) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{46}
}
func (x *DiceRobot) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *DiceRobot) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *DiceRobot) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *DiceRobot) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *DiceRobot) GetCreatedByAdminId() int64 {
if x != nil {
return x.CreatedByAdminId
}
return 0
}
func (x *DiceRobot) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *DiceRobot) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type ListDiceRobotsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDiceRobotsRequest) Reset() {
*x = ListDiceRobotsRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDiceRobotsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDiceRobotsRequest) ProtoMessage() {}
func (x *ListDiceRobotsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListDiceRobotsRequest.ProtoReflect.Descriptor instead.
func (*ListDiceRobotsRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{47}
}
func (x *ListDiceRobotsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListDiceRobotsRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *ListDiceRobotsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListDiceRobotsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListDiceRobotsRequest) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
type ListDiceRobotsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Robots []*DiceRobot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDiceRobotsResponse) Reset() {
*x = ListDiceRobotsResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDiceRobotsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDiceRobotsResponse) ProtoMessage() {}
func (x *ListDiceRobotsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListDiceRobotsResponse.ProtoReflect.Descriptor instead.
func (*ListDiceRobotsResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{48}
}
func (x *ListDiceRobotsResponse) GetRobots() []*DiceRobot {
if x != nil {
return x.Robots
}
return nil
}
func (x *ListDiceRobotsResponse) GetNextCursor() string {
if x != nil {
return x.NextCursor
}
return ""
}
func (x *ListDiceRobotsResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type RegisterDiceRobotsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
UserIds []int64 `protobuf:"varint,3,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterDiceRobotsRequest) Reset() {
*x = RegisterDiceRobotsRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterDiceRobotsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterDiceRobotsRequest) ProtoMessage() {}
func (x *RegisterDiceRobotsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterDiceRobotsRequest.ProtoReflect.Descriptor instead.
func (*RegisterDiceRobotsRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{49}
}
func (x *RegisterDiceRobotsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *RegisterDiceRobotsRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *RegisterDiceRobotsRequest) GetUserIds() []int64 {
if x != nil {
return x.UserIds
}
return nil
}
type RegisterDiceRobotsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Robots []*DiceRobot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegisterDiceRobotsResponse) Reset() {
*x = RegisterDiceRobotsResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegisterDiceRobotsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterDiceRobotsResponse) ProtoMessage() {}
func (x *RegisterDiceRobotsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RegisterDiceRobotsResponse.ProtoReflect.Descriptor instead.
func (*RegisterDiceRobotsResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{50}
}
func (x *RegisterDiceRobotsResponse) GetRobots() []*DiceRobot {
if x != nil {
return x.Robots
}
return nil
}
func (x *RegisterDiceRobotsResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type SetDiceRobotStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetDiceRobotStatusRequest) Reset() {
*x = SetDiceRobotStatusRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetDiceRobotStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetDiceRobotStatusRequest) ProtoMessage() {}
func (x *SetDiceRobotStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetDiceRobotStatusRequest.ProtoReflect.Descriptor instead.
func (*SetDiceRobotStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{51}
}
func (x *SetDiceRobotStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetDiceRobotStatusRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *SetDiceRobotStatusRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SetDiceRobotStatusRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type DeleteDiceRobotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteDiceRobotRequest) Reset() {
*x = DeleteDiceRobotRequest{}
mi := &file_proto_game_v1_game_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteDiceRobotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDiceRobotRequest) ProtoMessage() {}
func (x *DeleteDiceRobotRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteDiceRobotRequest.ProtoReflect.Descriptor instead.
func (*DeleteDiceRobotRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{52}
}
func (x *DeleteDiceRobotRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *DeleteDiceRobotRequest) GetGameId() string {
if x != nil {
return x.GameId
}
return ""
}
func (x *DeleteDiceRobotRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type DeleteDiceRobotResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteDiceRobotResponse) Reset() {
*x = DeleteDiceRobotResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteDiceRobotResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDiceRobotResponse) ProtoMessage() {}
func (x *DeleteDiceRobotResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteDiceRobotResponse.ProtoReflect.Descriptor instead.
func (*DeleteDiceRobotResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{53}
}
func (x *DeleteDiceRobotResponse) GetDeleted() bool {
if x != nil {
return x.Deleted
}
return false
}
func (x *DeleteDiceRobotResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type DiceRobotResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Robot *DiceRobot `protobuf:"bytes,1,opt,name=robot,proto3" json:"robot,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DiceRobotResponse) Reset() {
*x = DiceRobotResponse{}
mi := &file_proto_game_v1_game_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DiceRobotResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiceRobotResponse) ProtoMessage() {}
func (x *DiceRobotResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_game_v1_game_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiceRobotResponse.ProtoReflect.Descriptor instead.
func (*DiceRobotResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{54}
}
func (x *DiceRobotResponse) GetRobot() *DiceRobot {
if x != nil {
return x.Robot
}
return nil
}
func (x *DiceRobotResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
var File_proto_game_v1_game_proto protoreflect.FileDescriptor
const file_proto_game_v1_game_proto_rawDesc = "" +
"\n" +
"\x18proto/game/v1/game.proto\x12\rhyapp.game.v1\"\xc9\x01\n" +
"\vRequestMeta\x12\x1d\n" +
"\n" +
"request_id\x18\x01 \x01(\tR\trequestId\x12\x16\n" +
"\x06caller\x18\x02 \x01(\tR\x06caller\x12&\n" +
"\x0fgateway_node_id\x18\x03 \x01(\tR\rgatewayNodeId\x12\"\n" +
"\ractor_user_id\x18\x04 \x01(\x03R\vactorUserId\x12\x1c\n" +
"\n" +
"sent_at_ms\x18\x05 \x01(\x03R\bsentAtMs\x12\x19\n" +
"\bapp_code\x18\x06 \x01(\tR\aappCode\"\xf4\x03\n" +
"\fGamePlatform\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12#\n" +
"\rplatform_code\x18\x02 \x01(\tR\fplatformCode\x12#\n" +
"\rplatform_name\x18\x03 \x01(\tR\fplatformName\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x12 \n" +
"\fapi_base_url\x18\x05 \x01(\tR\n" +
"apiBaseUrl\x12\x1d\n" +
"\n" +
"sort_order\x18\x06 \x01(\x05R\tsortOrder\x12\"\n" +
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\b \x01(\x03R\vupdatedAtMs\x12!\n" +
"\fadapter_type\x18\t \x01(\tR\vadapterType\x12'\n" +
"\x0fcallback_secret\x18\n" +
" \x01(\tR\x0ecallbackSecret\x12.\n" +
"\x13callback_secret_set\x18\v \x01(\bR\x11callbackSecretSet\x122\n" +
"\x15callback_ip_whitelist\x18\f \x03(\tR\x13callbackIpWhitelist\x12.\n" +
"\x13adapter_config_json\x18\r \x01(\tR\x11adapterConfigJson\"\x97\x04\n" +
"\x0fGameCatalogItem\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12#\n" +
"\rplatform_code\x18\x03 \x01(\tR\fplatformCode\x12(\n" +
"\x10provider_game_id\x18\x04 \x01(\tR\x0eproviderGameId\x12\x1b\n" +
"\tgame_name\x18\x05 \x01(\tR\bgameName\x12\x1a\n" +
"\bcategory\x18\x06 \x01(\tR\bcategory\x12\x19\n" +
"\bicon_url\x18\a \x01(\tR\aiconUrl\x12\x1b\n" +
"\tcover_url\x18\b \x01(\tR\bcoverUrl\x12\x1f\n" +
"\vlaunch_mode\x18\t \x01(\tR\n" +
"launchMode\x12 \n" +
"\vorientation\x18\n" +
" \x01(\tR\vorientation\x12\x19\n" +
"\bmin_coin\x18\v \x01(\x03R\aminCoin\x12\x16\n" +
"\x06status\x18\f \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\r \x01(\x05R\tsortOrder\x12\x12\n" +
"\x04tags\x18\x0e \x03(\tR\x04tags\x12\"\n" +
"\rcreated_at_ms\x18\x0f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x10 \x01(\x03R\vupdatedAtMs\x12\x1f\n" +
"\vsafe_height\x18\x11 \x01(\x05R\n" +
"safeHeight\"\xa4\x03\n" +
"\aAppGame\x12\x17\n" +
"\agame_id\x18\x01 \x01(\tR\x06gameId\x12#\n" +
"\rplatform_code\x18\x02 \x01(\tR\fplatformCode\x12\x19\n" +
"\bname_key\x18\x03 \x01(\tR\anameKey\x12\x12\n" +
"\x04name\x18\x04 \x01(\tR\x04name\x12\x19\n" +
"\bicon_url\x18\x05 \x01(\tR\aiconUrl\x12\x1b\n" +
"\tcover_url\x18\x06 \x01(\tR\bcoverUrl\x12\x1a\n" +
"\bcategory\x18\a \x01(\tR\bcategory\x12\x1f\n" +
"\vlaunch_mode\x18\b \x01(\tR\n" +
"launchMode\x12 \n" +
"\vorientation\x18\t \x01(\tR\vorientation\x12\x19\n" +
"\bmin_coin\x18\n" +
" \x01(\x03R\aminCoin\x12\x18\n" +
"\aenabled\x18\v \x01(\bR\aenabled\x12 \n" +
"\vmaintenance\x18\f \x01(\bR\vmaintenance\x12\x1d\n" +
"\n" +
"sort_order\x18\r \x01(\x05R\tsortOrder\x12\x1f\n" +
"\vsafe_height\x18\x0e \x01(\x05R\n" +
"safeHeight\"\xec\x01\n" +
"\x10ListGamesRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
"\x05scene\x18\x03 \x01(\tR\x05scene\x12\x17\n" +
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x1a\n" +
"\blanguage\x18\x06 \x01(\tR\blanguage\x12'\n" +
"\x0fclient_platform\x18\a \x01(\tR\x0eclientPlatform\"g\n" +
"\x11ListGamesResponse\x12,\n" +
"\x05games\x18\x01 \x03(\v2\x16.hyapp.game.v1.AppGameR\x05games\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x8f\x02\n" +
"\x16ListRecentGamesRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
"\x05scene\x18\x03 \x01(\tR\x05scene\x12\x17\n" +
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x1a\n" +
"\blanguage\x18\x06 \x01(\tR\blanguage\x12'\n" +
"\x0fclient_platform\x18\a \x01(\tR\x0eclientPlatform\x12\x1b\n" +
"\tpage_size\x18\b \x01(\x05R\bpageSize\"H\n" +
"\x16GetBridgeScriptRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\"\xaa\x01\n" +
"\x16GameBridgeScriptConfig\x12*\n" +
"\x11bridge_script_url\x18\x01 \x01(\tR\x0fbridgeScriptUrl\x122\n" +
"\x15bridge_script_version\x18\x02 \x01(\tR\x13bridgeScriptVersion\x120\n" +
"\x14bridge_script_sha256\x18\x03 \x01(\tR\x12bridgeScriptSha256\"~\n" +
"\x17GetBridgeScriptResponse\x12=\n" +
"\x06config\x18\x01 \x01(\v2%.hyapp.game.v1.GameBridgeScriptConfigR\x06config\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xef\x01\n" +
"\x11LaunchGameRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12&\n" +
"\x0fdisplay_user_id\x18\x03 \x01(\tR\rdisplayUserId\x12\x17\n" +
"\agame_id\x18\x04 \x01(\tR\x06gameId\x12\x14\n" +
"\x05scene\x18\x05 \x01(\tR\x05scene\x12\x17\n" +
"\aroom_id\x18\x06 \x01(\tR\x06roomId\x12!\n" +
"\faccess_token\x18\a \x01(\tR\vaccessToken\"\xdf\x01\n" +
"\x12LaunchGameResponse\x12\x1d\n" +
"\n" +
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x1d\n" +
"\n" +
"launch_url\x18\x02 \x01(\tR\tlaunchUrl\x12\"\n" +
"\rexpires_at_ms\x18\x03 \x01(\x03R\vexpiresAtMs\x12 \n" +
"\vorientation\x18\x04 \x01(\tR\vorientation\x12$\n" +
"\x0eserver_time_ms\x18\x05 \x01(\x03R\fserverTimeMs\x12\x1f\n" +
"\vsafe_height\x18\x06 \x01(\x05R\n" +
"safeHeight\"\x85\x03\n" +
"\x0fDiceParticipant\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" +
"\aseat_no\x18\x02 \x01(\x05R\x06seatNo\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"stake_coin\x18\x04 \x01(\x03R\tstakeCoin\x12\x1f\n" +
"\vdice_points\x18\x05 \x03(\x05R\n" +
"dicePoints\x12\x16\n" +
"\x06result\x18\x06 \x01(\tR\x06result\x12\x1f\n" +
"\vpayout_coin\x18\a \x01(\x03R\n" +
"payoutCoin\x12#\n" +
"\rbalance_after\x18\b \x01(\x03R\fbalanceAfter\x12 \n" +
"\fjoined_at_ms\x18\t \x01(\x03R\n" +
"joinedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\n" +
" \x01(\x03R\vupdatedAtMs\x12)\n" +
"\x10participant_type\x18\v \x01(\tR\x0fparticipantType\x12\x19\n" +
"\bis_robot\x18\f \x01(\bR\aisRobot\"\xe7\x06\n" +
"\tDiceMatch\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x19\n" +
"\bmatch_id\x18\x02 \x01(\tR\amatchId\x12\x17\n" +
"\agame_id\x18\x03 \x01(\tR\x06gameId\x12\x17\n" +
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x1f\n" +
"\vmin_players\x18\x06 \x01(\x05R\n" +
"minPlayers\x12\x1f\n" +
"\vmax_players\x18\a \x01(\x05R\n" +
"maxPlayers\x12'\n" +
"\x0fcurrent_players\x18\b \x01(\x05R\x0ecurrentPlayers\x12\x1d\n" +
"\n" +
"stake_coin\x18\t \x01(\x03R\tstakeCoin\x12\x19\n" +
"\bround_no\x18\n" +
" \x01(\x05R\aroundNo\x12\x16\n" +
"\x06status\x18\v \x01(\tR\x06status\x12\x16\n" +
"\x06result\x18\f \x01(\tR\x06result\x12B\n" +
"\fparticipants\x18\r \x03(\v2\x1e.hyapp.game.v1.DiceParticipantR\fparticipants\x12(\n" +
"\x10join_deadline_ms\x18\x0e \x01(\x03R\x0ejoinDeadlineMs\x12\"\n" +
"\rcreated_at_ms\x18\x0f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x10 \x01(\x03R\vupdatedAtMs\x12\"\n" +
"\rsettled_at_ms\x18\x11 \x01(\x03R\vsettledAtMs\x12\x14\n" +
"\x05phase\x18\x12 \x01(\tR\x05phase\x12*\n" +
"\x11phase_deadline_ms\x18\x13 \x01(\x03R\x0fphaseDeadlineMs\x12\x17\n" +
"\afee_bps\x18\x14 \x01(\x05R\x06feeBps\x12\x19\n" +
"\bpool_bps\x18\x15 \x01(\x05R\apoolBps\x12\x1d\n" +
"\n" +
"match_mode\x18\x16 \x01(\tR\tmatchMode\x12#\n" +
"\rforced_result\x18\x17 \x01(\tR\fforcedResult\x12\x1e\n" +
"\vready_at_ms\x18\x18 \x01(\x03R\treadyAtMs\x12$\n" +
"\x0ecanceled_at_ms\x18\x19 \x01(\x03R\fcanceledAtMs\x12&\n" +
"\x0fpool_delta_coin\x18\x1a \x01(\x03R\rpoolDeltaCoin\"i\n" +
"\x0fDiceStakeOption\x12\x1d\n" +
"\n" +
"stake_coin\x18\x01 \x01(\x03R\tstakeCoin\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12\x1d\n" +
"\n" +
"sort_order\x18\x03 \x01(\x05R\tsortOrder\"\xdb\x03\n" +
"\n" +
"DiceConfig\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12C\n" +
"\rstake_options\x18\x04 \x03(\v2\x1e.hyapp.game.v1.DiceStakeOptionR\fstakeOptions\x12\x17\n" +
"\afee_bps\x18\x05 \x01(\x05R\x06feeBps\x12\x19\n" +
"\bpool_bps\x18\x06 \x01(\x05R\apoolBps\x12\x1f\n" +
"\vmin_players\x18\a \x01(\x05R\n" +
"minPlayers\x12\x1f\n" +
"\vmax_players\x18\b \x01(\x05R\n" +
"maxPlayers\x12#\n" +
"\rrobot_enabled\x18\t \x01(\bR\frobotEnabled\x12-\n" +
"\x13robot_match_wait_ms\x18\n" +
" \x01(\x03R\x10robotMatchWaitMs\x12*\n" +
"\x11pool_balance_coin\x18\v \x01(\x03R\x0fpoolBalanceCoin\x12\"\n" +
"\rcreated_at_ms\x18\f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\r \x01(\x03R\vupdatedAtMs\"_\n" +
"\x14GetDiceConfigRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\"m\n" +
"\x12DiceConfigResponse\x121\n" +
"\x06config\x18\x01 \x01(\v2\x19.hyapp.game.v1.DiceConfigR\x06config\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x91\x02\n" +
"\x16CreateDiceMatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" +
"\agame_id\x18\x03 \x01(\tR\x06gameId\x12\x17\n" +
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x1d\n" +
"\n" +
"stake_coin\x18\x06 \x01(\x03R\tstakeCoin\x12\x1f\n" +
"\vmin_players\x18\a \x01(\x05R\n" +
"minPlayers\x12\x1f\n" +
"\vmax_players\x18\b \x01(\x05R\n" +
"maxPlayers\"z\n" +
"\x14JoinDiceMatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" +
"\bmatch_id\x18\x03 \x01(\tR\amatchId\"y\n" +
"\x13GetDiceMatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" +
"\bmatch_id\x18\x03 \x01(\tR\amatchId\"z\n" +
"\x14RollDiceMatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" +
"\bmatch_id\x18\x03 \x01(\tR\amatchId\"\xc9\x01\n" +
"\x10MatchDiceRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" +
"\agame_id\x18\x03 \x01(\tR\x06gameId\x12\x17\n" +
"\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x1b\n" +
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x1d\n" +
"\n" +
"stake_coin\x18\x06 \x01(\x03R\tstakeCoin\"|\n" +
"\x16CancelDiceMatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" +
"\bmatch_id\x18\x03 \x01(\tR\amatchId\"i\n" +
"\x11DiceMatchResponse\x12.\n" +
"\x05match\x18\x01 \x01(\v2\x18.hyapp.game.v1.DiceMatchR\x05match\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xbe\x03\n" +
"\x0fCallbackRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12#\n" +
"\rplatform_code\x18\x02 \x01(\tR\fplatformCode\x12\x1c\n" +
"\toperation\x18\x03 \x01(\tR\toperation\x12\x19\n" +
"\braw_body\x18\x04 \x01(\fR\arawBody\x12E\n" +
"\aheaders\x18\x05 \x03(\v2+.hyapp.game.v1.CallbackRequest.HeadersEntryR\aheaders\x12?\n" +
"\x05query\x18\x06 \x03(\v2).hyapp.game.v1.CallbackRequest.QueryEntryR\x05query\x12\x1f\n" +
"\vremote_addr\x18\a \x01(\tR\n" +
"remoteAddr\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a8\n" +
"\n" +
"QueryEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"P\n" +
"\x10CallbackResponse\x12\x19\n" +
"\braw_body\x18\x01 \x01(\fR\arawBody\x12!\n" +
"\fcontent_type\x18\x02 \x01(\tR\vcontentType\"\xb5\x01\n" +
"\x10CronBatchRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x15\n" +
"\x06run_id\x18\x02 \x01(\tR\x05runId\x12\x1b\n" +
"\tworker_id\x18\x03 \x01(\tR\bworkerId\x12\x1d\n" +
"\n" +
"batch_size\x18\x04 \x01(\x05R\tbatchSize\x12\x1e\n" +
"\vlock_ttl_ms\x18\x05 \x01(\x03R\tlockTtlMs\"\xc6\x01\n" +
"\x11CronBatchResponse\x12#\n" +
"\rclaimed_count\x18\x01 \x01(\x05R\fclaimedCount\x12'\n" +
"\x0fprocessed_count\x18\x02 \x01(\x05R\x0eprocessedCount\x12#\n" +
"\rsuccess_count\x18\x03 \x01(\x05R\fsuccessCount\x12#\n" +
"\rfailure_count\x18\x04 \x01(\x05R\ffailureCount\x12\x19\n" +
"\bhas_more\x18\x05 \x01(\bR\ahasMore\"^\n" +
"\x14ListPlatformsRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\"x\n" +
"\x15ListPlatformsResponse\x129\n" +
"\tplatforms\x18\x01 \x03(\v2\x1b.hyapp.game.v1.GamePlatformR\tplatforms\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x80\x01\n" +
"\x15UpsertPlatformRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x127\n" +
"\bplatform\x18\x02 \x01(\v2\x1b.hyapp.game.v1.GamePlatformR\bplatform\"q\n" +
"\x10PlatformResponse\x127\n" +
"\bplatform\x18\x01 \x01(\v2\x1b.hyapp.game.v1.GamePlatformR\bplatform\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xb6\x01\n" +
"\x12ListCatalogRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12#\n" +
"\rplatform_code\x18\x02 \x01(\tR\fplatformCode\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1b\n" +
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x16\n" +
"\x06cursor\x18\x05 \x01(\tR\x06cursor\"\x92\x01\n" +
"\x13ListCatalogResponse\x124\n" +
"\x05games\x18\x01 \x03(\v2\x1e.hyapp.game.v1.GameCatalogItemR\x05games\x12\x1f\n" +
"\vnext_cursor\x18\x02 \x01(\tR\n" +
"nextCursor\x12$\n" +
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"z\n" +
"\x14UpsertCatalogRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x122\n" +
"\x04game\x18\x02 \x01(\v2\x1e.hyapp.game.v1.GameCatalogItemR\x04game\"k\n" +
"\x0fCatalogResponse\x122\n" +
"\x04game\x18\x01 \x01(\v2\x1e.hyapp.game.v1.GameCatalogItemR\x04game\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"w\n" +
"\x14SetGameStatusRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\"_\n" +
"\x14DeleteCatalogRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\"=\n" +
"\x15DeleteCatalogResponse\x12$\n" +
"\x0eserver_time_ms\x18\x01 \x01(\x03R\fserverTimeMs\"F\n" +
"\x14ListSelfGamesRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\"n\n" +
"\x15ListSelfGamesResponse\x12/\n" +
"\x05games\x18\x01 \x03(\v2\x19.hyapp.game.v1.DiceConfigR\x05games\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"|\n" +
"\x17UpdateDiceConfigRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x121\n" +
"\x06config\x18\x02 \x01(\v2\x19.hyapp.game.v1.DiceConfigR\x06config\"\xf2\x01\n" +
"\x12DicePoolAdjustment\x12#\n" +
"\radjustment_id\x18\x01 \x01(\tR\fadjustmentId\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x1f\n" +
"\vamount_coin\x18\x03 \x01(\x03R\n" +
"amountCoin\x12\x1c\n" +
"\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\x12#\n" +
"\rbalance_after\x18\x06 \x01(\x03R\fbalanceAfter\x12\"\n" +
"\rcreated_at_ms\x18\a \x01(\x03R\vcreatedAtMs\"\xb7\x01\n" +
"\x15AdjustDicePoolRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x1f\n" +
"\vamount_coin\x18\x03 \x01(\x03R\n" +
"amountCoin\x12\x1c\n" +
"\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n" +
"\x06reason\x18\x05 \x01(\tR\x06reason\"\xb4\x01\n" +
"\x16AdjustDicePoolResponse\x12A\n" +
"\n" +
"adjustment\x18\x01 \x01(\v2!.hyapp.game.v1.DicePoolAdjustmentR\n" +
"adjustment\x121\n" +
"\x06config\x18\x02 \x01(\v2\x19.hyapp.game.v1.DiceConfigR\x06config\x12$\n" +
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\xe7\x01\n" +
"\tDiceRobot\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x12-\n" +
"\x13created_by_admin_id\x18\x05 \x01(\x03R\x10createdByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\x06 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\a \x01(\x03R\vupdatedAtMs\"\xad\x01\n" +
"\x15ListDiceRobotsRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1b\n" +
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x16\n" +
"\x06cursor\x18\x05 \x01(\tR\x06cursor\"\x91\x01\n" +
"\x16ListDiceRobotsResponse\x120\n" +
"\x06robots\x18\x01 \x03(\v2\x18.hyapp.game.v1.DiceRobotR\x06robots\x12\x1f\n" +
"\vnext_cursor\x18\x02 \x01(\tR\n" +
"nextCursor\x12$\n" +
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\x7f\n" +
"\x19RegisterDiceRobotsRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x19\n" +
"\buser_ids\x18\x03 \x03(\x03R\auserIds\"t\n" +
"\x1aRegisterDiceRobotsResponse\x120\n" +
"\x06robots\x18\x01 \x03(\v2\x18.hyapp.game.v1.DiceRobotR\x06robots\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x95\x01\n" +
"\x19SetDiceRobotStatusRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\"z\n" +
"\x16DeleteDiceRobotRequest\x12.\n" +
"\x04meta\x18\x01 \x01(\v2\x1a.hyapp.game.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\"Y\n" +
"\x17DeleteDiceRobotResponse\x12\x18\n" +
"\adeleted\x18\x01 \x01(\bR\adeleted\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"i\n" +
"\x11DiceRobotResponse\x12.\n" +
"\x05robot\x18\x01 \x01(\v2\x18.hyapp.game.v1.DiceRobotR\x05robot\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs2\xd8\a\n" +
"\x0eGameAppService\x12N\n" +
"\tListGames\x12\x1f.hyapp.game.v1.ListGamesRequest\x1a .hyapp.game.v1.ListGamesResponse\x12Z\n" +
"\x0fListRecentGames\x12%.hyapp.game.v1.ListRecentGamesRequest\x1a .hyapp.game.v1.ListGamesResponse\x12`\n" +
"\x0fGetBridgeScript\x12%.hyapp.game.v1.GetBridgeScriptRequest\x1a&.hyapp.game.v1.GetBridgeScriptResponse\x12Q\n" +
"\n" +
"LaunchGame\x12 .hyapp.game.v1.LaunchGameRequest\x1a!.hyapp.game.v1.LaunchGameResponse\x12W\n" +
"\rGetDiceConfig\x12#.hyapp.game.v1.GetDiceConfigRequest\x1a!.hyapp.game.v1.DiceConfigResponse\x12N\n" +
"\tMatchDice\x12\x1f.hyapp.game.v1.MatchDiceRequest\x1a .hyapp.game.v1.DiceMatchResponse\x12Z\n" +
"\x0fCreateDiceMatch\x12%.hyapp.game.v1.CreateDiceMatchRequest\x1a .hyapp.game.v1.DiceMatchResponse\x12V\n" +
"\rJoinDiceMatch\x12#.hyapp.game.v1.JoinDiceMatchRequest\x1a .hyapp.game.v1.DiceMatchResponse\x12T\n" +
"\fGetDiceMatch\x12\".hyapp.game.v1.GetDiceMatchRequest\x1a .hyapp.game.v1.DiceMatchResponse\x12V\n" +
"\rRollDiceMatch\x12#.hyapp.game.v1.RollDiceMatchRequest\x1a .hyapp.game.v1.DiceMatchResponse\x12Z\n" +
"\x0fCancelDiceMatch\x12%.hyapp.game.v1.CancelDiceMatchRequest\x1a .hyapp.game.v1.DiceMatchResponse2h\n" +
"\x13GameCallbackService\x12Q\n" +
"\x0eHandleCallback\x12\x1e.hyapp.game.v1.CallbackRequest\x1a\x1f.hyapp.game.v1.CallbackResponse2t\n" +
"\x0fGameCronService\x12a\n" +
"\x1cProcessLevelEventOutboxBatch\x12\x1f.hyapp.game.v1.CronBatchRequest\x1a .hyapp.game.v1.CronBatchResponse2\xcd\t\n" +
"\x10GameAdminService\x12Z\n" +
"\rListPlatforms\x12#.hyapp.game.v1.ListPlatformsRequest\x1a$.hyapp.game.v1.ListPlatformsResponse\x12W\n" +
"\x0eUpsertPlatform\x12$.hyapp.game.v1.UpsertPlatformRequest\x1a\x1f.hyapp.game.v1.PlatformResponse\x12T\n" +
"\vListCatalog\x12!.hyapp.game.v1.ListCatalogRequest\x1a\".hyapp.game.v1.ListCatalogResponse\x12T\n" +
"\rUpsertCatalog\x12#.hyapp.game.v1.UpsertCatalogRequest\x1a\x1e.hyapp.game.v1.CatalogResponse\x12T\n" +
"\rSetGameStatus\x12#.hyapp.game.v1.SetGameStatusRequest\x1a\x1e.hyapp.game.v1.CatalogResponse\x12Z\n" +
"\rDeleteCatalog\x12#.hyapp.game.v1.DeleteCatalogRequest\x1a$.hyapp.game.v1.DeleteCatalogResponse\x12Z\n" +
"\rListSelfGames\x12#.hyapp.game.v1.ListSelfGamesRequest\x1a$.hyapp.game.v1.ListSelfGamesResponse\x12]\n" +
"\x10UpdateDiceConfig\x12&.hyapp.game.v1.UpdateDiceConfigRequest\x1a!.hyapp.game.v1.DiceConfigResponse\x12]\n" +
"\x0eAdjustDicePool\x12$.hyapp.game.v1.AdjustDicePoolRequest\x1a%.hyapp.game.v1.AdjustDicePoolResponse\x12]\n" +
"\x0eListDiceRobots\x12$.hyapp.game.v1.ListDiceRobotsRequest\x1a%.hyapp.game.v1.ListDiceRobotsResponse\x12i\n" +
"\x12RegisterDiceRobots\x12(.hyapp.game.v1.RegisterDiceRobotsRequest\x1a).hyapp.game.v1.RegisterDiceRobotsResponse\x12`\n" +
"\x12SetDiceRobotStatus\x12(.hyapp.game.v1.SetDiceRobotStatusRequest\x1a .hyapp.game.v1.DiceRobotResponse\x12`\n" +
"\x0fDeleteDiceRobot\x12%.hyapp.game.v1.DeleteDiceRobotRequest\x1a&.hyapp.game.v1.DeleteDiceRobotResponseB&Z$hyapp.local/api/proto/game/v1;gamev1b\x06proto3"
var (
file_proto_game_v1_game_proto_rawDescOnce sync.Once
file_proto_game_v1_game_proto_rawDescData []byte
)
func file_proto_game_v1_game_proto_rawDescGZIP() []byte {
file_proto_game_v1_game_proto_rawDescOnce.Do(func() {
file_proto_game_v1_game_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_game_v1_game_proto_rawDesc), len(file_proto_game_v1_game_proto_rawDesc)))
})
return file_proto_game_v1_game_proto_rawDescData
}
var file_proto_game_v1_game_proto_msgTypes = make([]protoimpl.MessageInfo, 57)
var file_proto_game_v1_game_proto_goTypes = []any{
(*RequestMeta)(nil), // 0: hyapp.game.v1.RequestMeta
(*GamePlatform)(nil), // 1: hyapp.game.v1.GamePlatform
(*GameCatalogItem)(nil), // 2: hyapp.game.v1.GameCatalogItem
(*AppGame)(nil), // 3: hyapp.game.v1.AppGame
(*ListGamesRequest)(nil), // 4: hyapp.game.v1.ListGamesRequest
(*ListGamesResponse)(nil), // 5: hyapp.game.v1.ListGamesResponse
(*ListRecentGamesRequest)(nil), // 6: hyapp.game.v1.ListRecentGamesRequest
(*GetBridgeScriptRequest)(nil), // 7: hyapp.game.v1.GetBridgeScriptRequest
(*GameBridgeScriptConfig)(nil), // 8: hyapp.game.v1.GameBridgeScriptConfig
(*GetBridgeScriptResponse)(nil), // 9: hyapp.game.v1.GetBridgeScriptResponse
(*LaunchGameRequest)(nil), // 10: hyapp.game.v1.LaunchGameRequest
(*LaunchGameResponse)(nil), // 11: hyapp.game.v1.LaunchGameResponse
(*DiceParticipant)(nil), // 12: hyapp.game.v1.DiceParticipant
(*DiceMatch)(nil), // 13: hyapp.game.v1.DiceMatch
(*DiceStakeOption)(nil), // 14: hyapp.game.v1.DiceStakeOption
(*DiceConfig)(nil), // 15: hyapp.game.v1.DiceConfig
(*GetDiceConfigRequest)(nil), // 16: hyapp.game.v1.GetDiceConfigRequest
(*DiceConfigResponse)(nil), // 17: hyapp.game.v1.DiceConfigResponse
(*CreateDiceMatchRequest)(nil), // 18: hyapp.game.v1.CreateDiceMatchRequest
(*JoinDiceMatchRequest)(nil), // 19: hyapp.game.v1.JoinDiceMatchRequest
(*GetDiceMatchRequest)(nil), // 20: hyapp.game.v1.GetDiceMatchRequest
(*RollDiceMatchRequest)(nil), // 21: hyapp.game.v1.RollDiceMatchRequest
(*MatchDiceRequest)(nil), // 22: hyapp.game.v1.MatchDiceRequest
(*CancelDiceMatchRequest)(nil), // 23: hyapp.game.v1.CancelDiceMatchRequest
(*DiceMatchResponse)(nil), // 24: hyapp.game.v1.DiceMatchResponse
(*CallbackRequest)(nil), // 25: hyapp.game.v1.CallbackRequest
(*CallbackResponse)(nil), // 26: hyapp.game.v1.CallbackResponse
(*CronBatchRequest)(nil), // 27: hyapp.game.v1.CronBatchRequest
(*CronBatchResponse)(nil), // 28: hyapp.game.v1.CronBatchResponse
(*ListPlatformsRequest)(nil), // 29: hyapp.game.v1.ListPlatformsRequest
(*ListPlatformsResponse)(nil), // 30: hyapp.game.v1.ListPlatformsResponse
(*UpsertPlatformRequest)(nil), // 31: hyapp.game.v1.UpsertPlatformRequest
(*PlatformResponse)(nil), // 32: hyapp.game.v1.PlatformResponse
(*ListCatalogRequest)(nil), // 33: hyapp.game.v1.ListCatalogRequest
(*ListCatalogResponse)(nil), // 34: hyapp.game.v1.ListCatalogResponse
(*UpsertCatalogRequest)(nil), // 35: hyapp.game.v1.UpsertCatalogRequest
(*CatalogResponse)(nil), // 36: hyapp.game.v1.CatalogResponse
(*SetGameStatusRequest)(nil), // 37: hyapp.game.v1.SetGameStatusRequest
(*DeleteCatalogRequest)(nil), // 38: hyapp.game.v1.DeleteCatalogRequest
(*DeleteCatalogResponse)(nil), // 39: hyapp.game.v1.DeleteCatalogResponse
(*ListSelfGamesRequest)(nil), // 40: hyapp.game.v1.ListSelfGamesRequest
(*ListSelfGamesResponse)(nil), // 41: hyapp.game.v1.ListSelfGamesResponse
(*UpdateDiceConfigRequest)(nil), // 42: hyapp.game.v1.UpdateDiceConfigRequest
(*DicePoolAdjustment)(nil), // 43: hyapp.game.v1.DicePoolAdjustment
(*AdjustDicePoolRequest)(nil), // 44: hyapp.game.v1.AdjustDicePoolRequest
(*AdjustDicePoolResponse)(nil), // 45: hyapp.game.v1.AdjustDicePoolResponse
(*DiceRobot)(nil), // 46: hyapp.game.v1.DiceRobot
(*ListDiceRobotsRequest)(nil), // 47: hyapp.game.v1.ListDiceRobotsRequest
(*ListDiceRobotsResponse)(nil), // 48: hyapp.game.v1.ListDiceRobotsResponse
(*RegisterDiceRobotsRequest)(nil), // 49: hyapp.game.v1.RegisterDiceRobotsRequest
(*RegisterDiceRobotsResponse)(nil), // 50: hyapp.game.v1.RegisterDiceRobotsResponse
(*SetDiceRobotStatusRequest)(nil), // 51: hyapp.game.v1.SetDiceRobotStatusRequest
(*DeleteDiceRobotRequest)(nil), // 52: hyapp.game.v1.DeleteDiceRobotRequest
(*DeleteDiceRobotResponse)(nil), // 53: hyapp.game.v1.DeleteDiceRobotResponse
(*DiceRobotResponse)(nil), // 54: hyapp.game.v1.DiceRobotResponse
nil, // 55: hyapp.game.v1.CallbackRequest.HeadersEntry
nil, // 56: hyapp.game.v1.CallbackRequest.QueryEntry
}
var file_proto_game_v1_game_proto_depIdxs = []int32{
0, // 0: hyapp.game.v1.ListGamesRequest.meta:type_name -> hyapp.game.v1.RequestMeta
3, // 1: hyapp.game.v1.ListGamesResponse.games:type_name -> hyapp.game.v1.AppGame
0, // 2: hyapp.game.v1.ListRecentGamesRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 3: hyapp.game.v1.GetBridgeScriptRequest.meta:type_name -> hyapp.game.v1.RequestMeta
8, // 4: hyapp.game.v1.GetBridgeScriptResponse.config:type_name -> hyapp.game.v1.GameBridgeScriptConfig
0, // 5: hyapp.game.v1.LaunchGameRequest.meta:type_name -> hyapp.game.v1.RequestMeta
12, // 6: hyapp.game.v1.DiceMatch.participants:type_name -> hyapp.game.v1.DiceParticipant
14, // 7: hyapp.game.v1.DiceConfig.stake_options:type_name -> hyapp.game.v1.DiceStakeOption
0, // 8: hyapp.game.v1.GetDiceConfigRequest.meta:type_name -> hyapp.game.v1.RequestMeta
15, // 9: hyapp.game.v1.DiceConfigResponse.config:type_name -> hyapp.game.v1.DiceConfig
0, // 10: hyapp.game.v1.CreateDiceMatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 11: hyapp.game.v1.JoinDiceMatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 12: hyapp.game.v1.GetDiceMatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 13: hyapp.game.v1.RollDiceMatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 14: hyapp.game.v1.MatchDiceRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 15: hyapp.game.v1.CancelDiceMatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
13, // 16: hyapp.game.v1.DiceMatchResponse.match:type_name -> hyapp.game.v1.DiceMatch
0, // 17: hyapp.game.v1.CallbackRequest.meta:type_name -> hyapp.game.v1.RequestMeta
55, // 18: hyapp.game.v1.CallbackRequest.headers:type_name -> hyapp.game.v1.CallbackRequest.HeadersEntry
56, // 19: hyapp.game.v1.CallbackRequest.query:type_name -> hyapp.game.v1.CallbackRequest.QueryEntry
0, // 20: hyapp.game.v1.CronBatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 21: hyapp.game.v1.ListPlatformsRequest.meta:type_name -> hyapp.game.v1.RequestMeta
1, // 22: hyapp.game.v1.ListPlatformsResponse.platforms:type_name -> hyapp.game.v1.GamePlatform
0, // 23: hyapp.game.v1.UpsertPlatformRequest.meta:type_name -> hyapp.game.v1.RequestMeta
1, // 24: hyapp.game.v1.UpsertPlatformRequest.platform:type_name -> hyapp.game.v1.GamePlatform
1, // 25: hyapp.game.v1.PlatformResponse.platform:type_name -> hyapp.game.v1.GamePlatform
0, // 26: hyapp.game.v1.ListCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
2, // 27: hyapp.game.v1.ListCatalogResponse.games:type_name -> hyapp.game.v1.GameCatalogItem
0, // 28: hyapp.game.v1.UpsertCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
2, // 29: hyapp.game.v1.UpsertCatalogRequest.game:type_name -> hyapp.game.v1.GameCatalogItem
2, // 30: hyapp.game.v1.CatalogResponse.game:type_name -> hyapp.game.v1.GameCatalogItem
0, // 31: hyapp.game.v1.SetGameStatusRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 32: hyapp.game.v1.DeleteCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 33: hyapp.game.v1.ListSelfGamesRequest.meta:type_name -> hyapp.game.v1.RequestMeta
15, // 34: hyapp.game.v1.ListSelfGamesResponse.games:type_name -> hyapp.game.v1.DiceConfig
0, // 35: hyapp.game.v1.UpdateDiceConfigRequest.meta:type_name -> hyapp.game.v1.RequestMeta
15, // 36: hyapp.game.v1.UpdateDiceConfigRequest.config:type_name -> hyapp.game.v1.DiceConfig
0, // 37: hyapp.game.v1.AdjustDicePoolRequest.meta:type_name -> hyapp.game.v1.RequestMeta
43, // 38: hyapp.game.v1.AdjustDicePoolResponse.adjustment:type_name -> hyapp.game.v1.DicePoolAdjustment
15, // 39: hyapp.game.v1.AdjustDicePoolResponse.config:type_name -> hyapp.game.v1.DiceConfig
0, // 40: hyapp.game.v1.ListDiceRobotsRequest.meta:type_name -> hyapp.game.v1.RequestMeta
46, // 41: hyapp.game.v1.ListDiceRobotsResponse.robots:type_name -> hyapp.game.v1.DiceRobot
0, // 42: hyapp.game.v1.RegisterDiceRobotsRequest.meta:type_name -> hyapp.game.v1.RequestMeta
46, // 43: hyapp.game.v1.RegisterDiceRobotsResponse.robots:type_name -> hyapp.game.v1.DiceRobot
0, // 44: hyapp.game.v1.SetDiceRobotStatusRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 45: hyapp.game.v1.DeleteDiceRobotRequest.meta:type_name -> hyapp.game.v1.RequestMeta
46, // 46: hyapp.game.v1.DiceRobotResponse.robot:type_name -> hyapp.game.v1.DiceRobot
4, // 47: hyapp.game.v1.GameAppService.ListGames:input_type -> hyapp.game.v1.ListGamesRequest
6, // 48: hyapp.game.v1.GameAppService.ListRecentGames:input_type -> hyapp.game.v1.ListRecentGamesRequest
7, // 49: hyapp.game.v1.GameAppService.GetBridgeScript:input_type -> hyapp.game.v1.GetBridgeScriptRequest
10, // 50: hyapp.game.v1.GameAppService.LaunchGame:input_type -> hyapp.game.v1.LaunchGameRequest
16, // 51: hyapp.game.v1.GameAppService.GetDiceConfig:input_type -> hyapp.game.v1.GetDiceConfigRequest
22, // 52: hyapp.game.v1.GameAppService.MatchDice:input_type -> hyapp.game.v1.MatchDiceRequest
18, // 53: hyapp.game.v1.GameAppService.CreateDiceMatch:input_type -> hyapp.game.v1.CreateDiceMatchRequest
19, // 54: hyapp.game.v1.GameAppService.JoinDiceMatch:input_type -> hyapp.game.v1.JoinDiceMatchRequest
20, // 55: hyapp.game.v1.GameAppService.GetDiceMatch:input_type -> hyapp.game.v1.GetDiceMatchRequest
21, // 56: hyapp.game.v1.GameAppService.RollDiceMatch:input_type -> hyapp.game.v1.RollDiceMatchRequest
23, // 57: hyapp.game.v1.GameAppService.CancelDiceMatch:input_type -> hyapp.game.v1.CancelDiceMatchRequest
25, // 58: hyapp.game.v1.GameCallbackService.HandleCallback:input_type -> hyapp.game.v1.CallbackRequest
27, // 59: hyapp.game.v1.GameCronService.ProcessLevelEventOutboxBatch:input_type -> hyapp.game.v1.CronBatchRequest
29, // 60: hyapp.game.v1.GameAdminService.ListPlatforms:input_type -> hyapp.game.v1.ListPlatformsRequest
31, // 61: hyapp.game.v1.GameAdminService.UpsertPlatform:input_type -> hyapp.game.v1.UpsertPlatformRequest
33, // 62: hyapp.game.v1.GameAdminService.ListCatalog:input_type -> hyapp.game.v1.ListCatalogRequest
35, // 63: hyapp.game.v1.GameAdminService.UpsertCatalog:input_type -> hyapp.game.v1.UpsertCatalogRequest
37, // 64: hyapp.game.v1.GameAdminService.SetGameStatus:input_type -> hyapp.game.v1.SetGameStatusRequest
38, // 65: hyapp.game.v1.GameAdminService.DeleteCatalog:input_type -> hyapp.game.v1.DeleteCatalogRequest
40, // 66: hyapp.game.v1.GameAdminService.ListSelfGames:input_type -> hyapp.game.v1.ListSelfGamesRequest
42, // 67: hyapp.game.v1.GameAdminService.UpdateDiceConfig:input_type -> hyapp.game.v1.UpdateDiceConfigRequest
44, // 68: hyapp.game.v1.GameAdminService.AdjustDicePool:input_type -> hyapp.game.v1.AdjustDicePoolRequest
47, // 69: hyapp.game.v1.GameAdminService.ListDiceRobots:input_type -> hyapp.game.v1.ListDiceRobotsRequest
49, // 70: hyapp.game.v1.GameAdminService.RegisterDiceRobots:input_type -> hyapp.game.v1.RegisterDiceRobotsRequest
51, // 71: hyapp.game.v1.GameAdminService.SetDiceRobotStatus:input_type -> hyapp.game.v1.SetDiceRobotStatusRequest
52, // 72: hyapp.game.v1.GameAdminService.DeleteDiceRobot:input_type -> hyapp.game.v1.DeleteDiceRobotRequest
5, // 73: hyapp.game.v1.GameAppService.ListGames:output_type -> hyapp.game.v1.ListGamesResponse
5, // 74: hyapp.game.v1.GameAppService.ListRecentGames:output_type -> hyapp.game.v1.ListGamesResponse
9, // 75: hyapp.game.v1.GameAppService.GetBridgeScript:output_type -> hyapp.game.v1.GetBridgeScriptResponse
11, // 76: hyapp.game.v1.GameAppService.LaunchGame:output_type -> hyapp.game.v1.LaunchGameResponse
17, // 77: hyapp.game.v1.GameAppService.GetDiceConfig:output_type -> hyapp.game.v1.DiceConfigResponse
24, // 78: hyapp.game.v1.GameAppService.MatchDice:output_type -> hyapp.game.v1.DiceMatchResponse
24, // 79: hyapp.game.v1.GameAppService.CreateDiceMatch:output_type -> hyapp.game.v1.DiceMatchResponse
24, // 80: hyapp.game.v1.GameAppService.JoinDiceMatch:output_type -> hyapp.game.v1.DiceMatchResponse
24, // 81: hyapp.game.v1.GameAppService.GetDiceMatch:output_type -> hyapp.game.v1.DiceMatchResponse
24, // 82: hyapp.game.v1.GameAppService.RollDiceMatch:output_type -> hyapp.game.v1.DiceMatchResponse
24, // 83: hyapp.game.v1.GameAppService.CancelDiceMatch:output_type -> hyapp.game.v1.DiceMatchResponse
26, // 84: hyapp.game.v1.GameCallbackService.HandleCallback:output_type -> hyapp.game.v1.CallbackResponse
28, // 85: hyapp.game.v1.GameCronService.ProcessLevelEventOutboxBatch:output_type -> hyapp.game.v1.CronBatchResponse
30, // 86: hyapp.game.v1.GameAdminService.ListPlatforms:output_type -> hyapp.game.v1.ListPlatformsResponse
32, // 87: hyapp.game.v1.GameAdminService.UpsertPlatform:output_type -> hyapp.game.v1.PlatformResponse
34, // 88: hyapp.game.v1.GameAdminService.ListCatalog:output_type -> hyapp.game.v1.ListCatalogResponse
36, // 89: hyapp.game.v1.GameAdminService.UpsertCatalog:output_type -> hyapp.game.v1.CatalogResponse
36, // 90: hyapp.game.v1.GameAdminService.SetGameStatus:output_type -> hyapp.game.v1.CatalogResponse
39, // 91: hyapp.game.v1.GameAdminService.DeleteCatalog:output_type -> hyapp.game.v1.DeleteCatalogResponse
41, // 92: hyapp.game.v1.GameAdminService.ListSelfGames:output_type -> hyapp.game.v1.ListSelfGamesResponse
17, // 93: hyapp.game.v1.GameAdminService.UpdateDiceConfig:output_type -> hyapp.game.v1.DiceConfigResponse
45, // 94: hyapp.game.v1.GameAdminService.AdjustDicePool:output_type -> hyapp.game.v1.AdjustDicePoolResponse
48, // 95: hyapp.game.v1.GameAdminService.ListDiceRobots:output_type -> hyapp.game.v1.ListDiceRobotsResponse
50, // 96: hyapp.game.v1.GameAdminService.RegisterDiceRobots:output_type -> hyapp.game.v1.RegisterDiceRobotsResponse
54, // 97: hyapp.game.v1.GameAdminService.SetDiceRobotStatus:output_type -> hyapp.game.v1.DiceRobotResponse
53, // 98: hyapp.game.v1.GameAdminService.DeleteDiceRobot:output_type -> hyapp.game.v1.DeleteDiceRobotResponse
73, // [73:99] is the sub-list for method output_type
47, // [47:73] is the sub-list for method input_type
47, // [47:47] is the sub-list for extension type_name
47, // [47:47] is the sub-list for extension extendee
0, // [0:47] is the sub-list for field type_name
}
func init() { file_proto_game_v1_game_proto_init() }
func file_proto_game_v1_game_proto_init() {
if File_proto_game_v1_game_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_game_v1_game_proto_rawDesc), len(file_proto_game_v1_game_proto_rawDesc)),
NumEnums: 0,
NumMessages: 57,
NumExtensions: 0,
NumServices: 4,
},
GoTypes: file_proto_game_v1_game_proto_goTypes,
DependencyIndexes: file_proto_game_v1_game_proto_depIdxs,
MessageInfos: file_proto_game_v1_game_proto_msgTypes,
}.Build()
File_proto_game_v1_game_proto = out.File
file_proto_game_v1_game_proto_goTypes = nil
file_proto_game_v1_game_proto_depIdxs = nil
}