2026-06-08 19:00:23 +08:00

2376 lines
76 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 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[12]
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[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 CallbackRequest.ProtoReflect.Descriptor instead.
func (*CallbackRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{12}
}
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[13]
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[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 CallbackResponse.ProtoReflect.Descriptor instead.
func (*CallbackResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{13}
}
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[14]
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[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 CronBatchRequest.ProtoReflect.Descriptor instead.
func (*CronBatchRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{14}
}
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[15]
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[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 CronBatchResponse.ProtoReflect.Descriptor instead.
func (*CronBatchResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{15}
}
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[16]
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[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 ListPlatformsRequest.ProtoReflect.Descriptor instead.
func (*ListPlatformsRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{16}
}
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[17]
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[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 ListPlatformsResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformsResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{17}
}
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[18]
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[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 UpsertPlatformRequest.ProtoReflect.Descriptor instead.
func (*UpsertPlatformRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{18}
}
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[19]
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[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 PlatformResponse.ProtoReflect.Descriptor instead.
func (*PlatformResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{19}
}
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[20]
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[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 ListCatalogRequest.ProtoReflect.Descriptor instead.
func (*ListCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{20}
}
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[21]
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[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 ListCatalogResponse.ProtoReflect.Descriptor instead.
func (*ListCatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{21}
}
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[22]
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[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 UpsertCatalogRequest.ProtoReflect.Descriptor instead.
func (*UpsertCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{22}
}
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[23]
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[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 CatalogResponse.ProtoReflect.Descriptor instead.
func (*CatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{23}
}
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[24]
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[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 SetGameStatusRequest.ProtoReflect.Descriptor instead.
func (*SetGameStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{24}
}
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[25]
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[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 DeleteCatalogRequest.ProtoReflect.Descriptor instead.
func (*DeleteCatalogRequest) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{25}
}
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[26]
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[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 DeleteCatalogResponse.ProtoReflect.Descriptor instead.
func (*DeleteCatalogResponse) Descriptor() ([]byte, []int) {
return file_proto_game_v1_game_proto_rawDescGZIP(), []int{26}
}
func (x *DeleteCatalogResponse) 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\"\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\fserverTimeMs2\xf1\x02\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.LaunchGameResponse2h\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\xa5\x04\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.DeleteCatalogResponseB&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, 29)
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
(*CallbackRequest)(nil), // 12: hyapp.game.v1.CallbackRequest
(*CallbackResponse)(nil), // 13: hyapp.game.v1.CallbackResponse
(*CronBatchRequest)(nil), // 14: hyapp.game.v1.CronBatchRequest
(*CronBatchResponse)(nil), // 15: hyapp.game.v1.CronBatchResponse
(*ListPlatformsRequest)(nil), // 16: hyapp.game.v1.ListPlatformsRequest
(*ListPlatformsResponse)(nil), // 17: hyapp.game.v1.ListPlatformsResponse
(*UpsertPlatformRequest)(nil), // 18: hyapp.game.v1.UpsertPlatformRequest
(*PlatformResponse)(nil), // 19: hyapp.game.v1.PlatformResponse
(*ListCatalogRequest)(nil), // 20: hyapp.game.v1.ListCatalogRequest
(*ListCatalogResponse)(nil), // 21: hyapp.game.v1.ListCatalogResponse
(*UpsertCatalogRequest)(nil), // 22: hyapp.game.v1.UpsertCatalogRequest
(*CatalogResponse)(nil), // 23: hyapp.game.v1.CatalogResponse
(*SetGameStatusRequest)(nil), // 24: hyapp.game.v1.SetGameStatusRequest
(*DeleteCatalogRequest)(nil), // 25: hyapp.game.v1.DeleteCatalogRequest
(*DeleteCatalogResponse)(nil), // 26: hyapp.game.v1.DeleteCatalogResponse
nil, // 27: hyapp.game.v1.CallbackRequest.HeadersEntry
nil, // 28: 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
0, // 6: hyapp.game.v1.CallbackRequest.meta:type_name -> hyapp.game.v1.RequestMeta
27, // 7: hyapp.game.v1.CallbackRequest.headers:type_name -> hyapp.game.v1.CallbackRequest.HeadersEntry
28, // 8: hyapp.game.v1.CallbackRequest.query:type_name -> hyapp.game.v1.CallbackRequest.QueryEntry
0, // 9: hyapp.game.v1.CronBatchRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 10: hyapp.game.v1.ListPlatformsRequest.meta:type_name -> hyapp.game.v1.RequestMeta
1, // 11: hyapp.game.v1.ListPlatformsResponse.platforms:type_name -> hyapp.game.v1.GamePlatform
0, // 12: hyapp.game.v1.UpsertPlatformRequest.meta:type_name -> hyapp.game.v1.RequestMeta
1, // 13: hyapp.game.v1.UpsertPlatformRequest.platform:type_name -> hyapp.game.v1.GamePlatform
1, // 14: hyapp.game.v1.PlatformResponse.platform:type_name -> hyapp.game.v1.GamePlatform
0, // 15: hyapp.game.v1.ListCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
2, // 16: hyapp.game.v1.ListCatalogResponse.games:type_name -> hyapp.game.v1.GameCatalogItem
0, // 17: hyapp.game.v1.UpsertCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
2, // 18: hyapp.game.v1.UpsertCatalogRequest.game:type_name -> hyapp.game.v1.GameCatalogItem
2, // 19: hyapp.game.v1.CatalogResponse.game:type_name -> hyapp.game.v1.GameCatalogItem
0, // 20: hyapp.game.v1.SetGameStatusRequest.meta:type_name -> hyapp.game.v1.RequestMeta
0, // 21: hyapp.game.v1.DeleteCatalogRequest.meta:type_name -> hyapp.game.v1.RequestMeta
4, // 22: hyapp.game.v1.GameAppService.ListGames:input_type -> hyapp.game.v1.ListGamesRequest
6, // 23: hyapp.game.v1.GameAppService.ListRecentGames:input_type -> hyapp.game.v1.ListRecentGamesRequest
7, // 24: hyapp.game.v1.GameAppService.GetBridgeScript:input_type -> hyapp.game.v1.GetBridgeScriptRequest
10, // 25: hyapp.game.v1.GameAppService.LaunchGame:input_type -> hyapp.game.v1.LaunchGameRequest
12, // 26: hyapp.game.v1.GameCallbackService.HandleCallback:input_type -> hyapp.game.v1.CallbackRequest
14, // 27: hyapp.game.v1.GameCronService.ProcessLevelEventOutboxBatch:input_type -> hyapp.game.v1.CronBatchRequest
16, // 28: hyapp.game.v1.GameAdminService.ListPlatforms:input_type -> hyapp.game.v1.ListPlatformsRequest
18, // 29: hyapp.game.v1.GameAdminService.UpsertPlatform:input_type -> hyapp.game.v1.UpsertPlatformRequest
20, // 30: hyapp.game.v1.GameAdminService.ListCatalog:input_type -> hyapp.game.v1.ListCatalogRequest
22, // 31: hyapp.game.v1.GameAdminService.UpsertCatalog:input_type -> hyapp.game.v1.UpsertCatalogRequest
24, // 32: hyapp.game.v1.GameAdminService.SetGameStatus:input_type -> hyapp.game.v1.SetGameStatusRequest
25, // 33: hyapp.game.v1.GameAdminService.DeleteCatalog:input_type -> hyapp.game.v1.DeleteCatalogRequest
5, // 34: hyapp.game.v1.GameAppService.ListGames:output_type -> hyapp.game.v1.ListGamesResponse
5, // 35: hyapp.game.v1.GameAppService.ListRecentGames:output_type -> hyapp.game.v1.ListGamesResponse
9, // 36: hyapp.game.v1.GameAppService.GetBridgeScript:output_type -> hyapp.game.v1.GetBridgeScriptResponse
11, // 37: hyapp.game.v1.GameAppService.LaunchGame:output_type -> hyapp.game.v1.LaunchGameResponse
13, // 38: hyapp.game.v1.GameCallbackService.HandleCallback:output_type -> hyapp.game.v1.CallbackResponse
15, // 39: hyapp.game.v1.GameCronService.ProcessLevelEventOutboxBatch:output_type -> hyapp.game.v1.CronBatchResponse
17, // 40: hyapp.game.v1.GameAdminService.ListPlatforms:output_type -> hyapp.game.v1.ListPlatformsResponse
19, // 41: hyapp.game.v1.GameAdminService.UpsertPlatform:output_type -> hyapp.game.v1.PlatformResponse
21, // 42: hyapp.game.v1.GameAdminService.ListCatalog:output_type -> hyapp.game.v1.ListCatalogResponse
23, // 43: hyapp.game.v1.GameAdminService.UpsertCatalog:output_type -> hyapp.game.v1.CatalogResponse
23, // 44: hyapp.game.v1.GameAdminService.SetGameStatus:output_type -> hyapp.game.v1.CatalogResponse
26, // 45: hyapp.game.v1.GameAdminService.DeleteCatalog:output_type -> hyapp.game.v1.DeleteCatalogResponse
34, // [34:46] is the sub-list for method output_type
22, // [22:34] is the sub-list for method input_type
22, // [22:22] is the sub-list for extension type_name
22, // [22:22] is the sub-list for extension extendee
0, // [0:22] 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: 29,
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
}