proto生成优化

This commit is contained in:
sk 2024-04-17 16:48:38 +08:00
parent 79ace9a7bf
commit 0e53147f13
126 changed files with 3154 additions and 3086 deletions

View File

@ -1,5 +1,5 @@
6т├у├ж├вс"║█ю└=
.з├ш├ь├ы"║█ю└=
Wс├в├ь├ы├ш├т├у├ж├з" ║█─╜Б
]т├у├ж├ы├з├э├с├в├ь├ш"╒█Т
6с├т├у├ж├в├"║█ю└=
.ь├ы├з├ш"║█ю└=
Wз├ш├в├ы├у├ж├ь├с├т" ║█─╜Б
]з├ш├ь├ы├у├ж├в├э├с├т"╒█Т

View File

@ -8,7 +8,7 @@ go build
xlsx2proto.exe
cd ../../protocol/server
%protoc% --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=. pbdata.proto
%protoc% --proto_path=%GOPATH%\src --proto_path=. --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=%GOPATH%\src pbdata.proto
cd ../../tools/xlsx2binary
go build

View File

@ -7,13 +7,11 @@ set protoc-gen-go-plugin-path="%work_path%\bin\protoc-gen-go.exe"
echo %protoc3%
cd %proto_path%
for /d %%s in (,*) do (
if %%s NEQ webapi (
cd %%s
for %%b in (,*.proto) do (
echo %%b
%protoc% --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=. %%b
%protoc% --proto_path=%GOPATH%\src --proto_path=. --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=%GOPATH%\src %%b
)
cd ..
)
)
pause

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -129,7 +129,7 @@ func (VipBonusPacketID) EnumDescriptor() ([]byte, []int) {
return file_actbonus_proto_rawDescGZIP(), []int{1}
}
//显示信息
// 显示信息
type VipBonusInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -201,7 +201,7 @@ func (x *VipBonusInfo) GetMonthCoin() int32 {
return 0
}
//领取信息
// 领取信息
type VipBonusGetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -642,8 +642,10 @@ var file_actbonus_proto_rawDesc = []byte{
0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x10, 0xac, 0x14, 0x12,
0x27, 0x0a, 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x4e, 0x6f, 0x74,
0x69, 0x66, 0x79, 0x5f, 0x56, 0x69, 0x70, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x5f,
0x53, 0x74, 0x61, 0x74, 0x65, 0x10, 0xad, 0x14, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x61, 0x63,
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x53, 0x74, 0x61, 0x74, 0x65, 0x10, 0xad, 0x14, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_ActCard int32
const (
@ -884,8 +884,10 @@ var file_actcard_proto_rawDesc = []byte{
0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x42, 0x55, 0x59, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45,
0x10, 0xb8, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x42, 0x55, 0x59, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45,
0x10, 0xb9, 0x14, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x10, 0xb9, 0x14, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d,
0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode_ActCard {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_ActFPay int32
const (
@ -156,7 +156,7 @@ func (FPayPacketID) EnumDescriptor() ([]byte, []int) {
return file_actfpay_proto_rawDescGZIP(), []int{1}
}
//赢取比例
// 赢取比例
type ActFPayWinConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -212,7 +212,7 @@ func (x *ActFPayWinConfig) GetWinRate() int32 {
return 0
}
//显示信息
// 显示信息
type FPayInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -316,7 +316,7 @@ func (x *FPayInfo) GetWinConfig() []*ActFPayWinConfig {
return nil
}
//领取信息
// 领取信息
type FPayGetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -690,7 +690,7 @@ func (x *SCFPaySign) GetOpRetCode() OpResultCode_ActFPay {
return OpResultCode_ActFPay_OPRC_Sucess_ActFPay
}
//报名
// 报名
type CSFPaySign struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -819,8 +819,10 @@ var file_actfpay_proto_rawDesc = []byte{
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x46, 0x50, 0x61, 0x79, 0x5f, 0x53, 0x69,
0x67, 0x6e, 0x10, 0xc2, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
0x53, 0x43, 0x5f, 0x46, 0x50, 0x61, 0x79, 0x5f, 0x53, 0x69, 0x67, 0x6e, 0x10, 0xc3, 0x14, 0x42,
0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode_ActFPay {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_ActGold int32
const (
@ -77,7 +77,7 @@ func (OpResultCode_ActGold) EnumDescriptor() ([]byte, []int) {
return file_actgold_proto_rawDescGZIP(), []int{0}
}
//财神任务
// 财神任务
type GoldPacketID int32
const (
@ -152,7 +152,7 @@ func (GoldPacketID) EnumDescriptor() ([]byte, []int) {
return file_actgold_proto_rawDescGZIP(), []int{1}
}
//PACKET_CS_GOLDTASK_DATA
// PACKET_CS_GOLDTASK_DATA
type CSGoldTaskData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -191,7 +191,7 @@ func (*CSGoldTaskData) Descriptor() ([]byte, []int) {
return file_actgold_proto_rawDescGZIP(), []int{0}
}
//奖励信息
// 奖励信息
type GoldTaskData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -263,7 +263,7 @@ func (x *GoldTaskData) GetStatus() int32 {
return 0
}
//PACKET_SC_GOLDTASK_DATA
// PACKET_SC_GOLDTASK_DATA
type SCGoldTaskData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -319,7 +319,7 @@ func (x *SCGoldTaskData) GetConfig() string {
return ""
}
//PACKET_CS_GOLDTASK_GET
// PACKET_CS_GOLDTASK_GET
type CSGoldTaskGet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -367,7 +367,7 @@ func (x *CSGoldTaskGet) GetTaskId() int32 {
return 0
}
//PACKET_SC_GOLDTASK_GET
// PACKET_SC_GOLDTASK_GET
type SCGoldTaskGet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -439,8 +439,8 @@ func (x *SCGoldTaskGet) GetOpRetCode() OpResultCode_ActGold {
return OpResultCode_ActGold_OPRC_Sucess_ActGold
}
//任务进度改变
//PACKET_SC_GOLDTASK_CHG
// 任务进度改变
// PACKET_SC_GOLDTASK_CHG
type SCGoldTaskChg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -488,8 +488,8 @@ func (x *SCGoldTaskChg) GetTasks() []*GoldTaskData {
return nil
}
//删除任务
//PACKET_SC_GOLDTASK_DEL
// 删除任务
// PACKET_SC_GOLDTASK_DEL
type SCGoldTaskDel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -537,9 +537,9 @@ func (x *SCGoldTaskDel) GetTaskIds() []int32 {
return nil
}
//财神降临
//----------------------------------------------------------------
//PACKET_CS_GOLDCOME_DATA
// 财神降临
// ----------------------------------------------------------------
// PACKET_CS_GOLDCOME_DATA
type CSGoldComeData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -587,7 +587,7 @@ func (x *CSGoldComeData) GetNeedCfg() bool {
return false
}
//奖励信息
// 奖励信息
type GoldComeData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -651,7 +651,7 @@ func (x *GoldComeData) GetGameTimes() int64 {
return 0
}
//PACKET_SC_GOLDCOME_DATA
// PACKET_SC_GOLDCOME_DATA
type SCGoldComeData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -707,7 +707,7 @@ func (x *SCGoldComeData) GetConfig() string {
return ""
}
//PACKET_CS_GOLDCOME_RANK
// PACKET_CS_GOLDCOME_RANK
type CSGoldComeRank struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -755,7 +755,7 @@ func (x *CSGoldComeRank) GetTaskId() int32 {
return 0
}
//奖励信息
// 奖励信息
type GoldComePlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -914,7 +914,7 @@ func (x *GoldComeDailyTaskRank) GetActState() int32 {
return 0
}
//PACKET_SC_GOLDCOME_RANK
// PACKET_SC_GOLDCOME_RANK
type SCGoldComeRank struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1095,9 +1095,10 @@ var file_actgold_proto_rawDesc = []byte{
0x14, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x47,
0x4f, 0x4c, 0x44, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x10, 0xce, 0x14, 0x12,
0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x47, 0x4f, 0x4c,
0x44, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x10, 0xcf, 0x14, 0x42, 0x0c, 0x5a,
0x0a, 0x2e, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
0x44, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x52, 0x41, 0x4e, 0x4b, 0x10, 0xcf, 0x14, 0x42, 0x28, 0x5a,
0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61,
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode_ActGold {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_ActLuckTurn int32
const (
@ -954,8 +954,10 @@ var file_actluckyturntable_proto_rawDesc = []byte{
0x47, 0x52, 0x41, 0x4e, 0x44, 0x50, 0x52, 0x49, 0x5a, 0x45, 0x10, 0xdf, 0x14, 0x12, 0x2a, 0x0a,
0x25, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x4c, 0x55, 0x43, 0x4b, 0x59,
0x54, 0x55, 0x52, 0x4e, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x59,
0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0xe0, 0x14, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x61,
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0xe0, 0x14, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e,
0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76,
0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode_ActLuckTurn {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_ActSign int32
const (
@ -138,7 +138,7 @@ func (ActSignPacketID) EnumDescriptor() ([]byte, []int) {
return file_actsign_proto_rawDescGZIP(), []int{1}
}
//PACKET_CSSign
// PACKET_CSSign
type CSSign struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -194,7 +194,7 @@ func (x *CSSign) GetSignType() int32 {
return 0
}
//PACKET_SCSign
// PACKET_SCSign
type SCSign struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -258,7 +258,7 @@ func (x *SCSign) GetOpRetCode() OpResultCode_ActSign {
return OpResultCode_ActSign_OPRC_Activity_Sign_Sucess
}
//PACKET_CSSignData
// PACKET_CSSignData
type CSSignData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -297,7 +297,7 @@ func (*CSSignData) Descriptor() ([]byte, []int) {
return file_actsign_proto_rawDescGZIP(), []int{2}
}
//PACKET_SCSignData
// PACKET_SCSignData
type SCSignData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -400,8 +400,10 @@ var file_actsign_proto_rawDesc = []byte{
0x67, 0x6e, 0x10, 0xe7, 0x14, 0x12, 0x16, 0x0a, 0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
0x43, 0x53, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x10, 0xe8, 0x14, 0x12, 0x16, 0x0a,
0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x61,
0x74, 0x61, 0x10, 0xe9, 0x14, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76,
0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x61, 0x10, 0xe9, 0x14, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67,
0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package activity;
option go_package = ".;activity";
option go_package = "mongo.games.com/game/protocol/activity";
//
enum OpResultCode_ActSign {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -70,7 +70,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_avengers_proto_rawDescGZIP(), []int{0}
}
//复仇者联盟
// 复仇者联盟
type AvengersPacketID int32
const (
@ -241,7 +241,7 @@ func (x *AvengersPlayerData) GetParams() []string {
return nil
}
//小游戏信息
// 小游戏信息
type AvengersBonusGameInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -313,7 +313,7 @@ func (x *AvengersBonusGameInfo) GetDataMultiplier() int64 {
return 0
}
//房间信息
// 房间信息
type SCAvengersRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -497,7 +497,7 @@ func (x *SCAvengersRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSAvengersOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -553,7 +553,7 @@ func (x *CSAvengersOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCAvengersOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -625,7 +625,7 @@ func (x *SCAvengersOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type AvengersLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -848,7 +848,7 @@ func (x *GameBilledData) GetResponseStatus() int64 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCAvengersGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1152,7 +1152,7 @@ func (x *SCAvengersBurstHistory) GetBurstLog() []*AvengersBurstHistoryInfo {
return nil
}
//房间状态
// 房间状态
type SCAvengersRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1388,9 +1388,10 @@ var file_avengers_proto_rawDesc = []byte{
0x41, 0x56, 0x45, 0x4e, 0x47, 0x45, 0x52, 0x53, 0x5f, 0x42, 0x55, 0x52, 0x53, 0x54, 0x48, 0x49,
0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0xc2, 0x28, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x41, 0x56, 0x45, 0x4e, 0x47, 0x45, 0x52, 0x53, 0x5f, 0x47,
0x41, 0x4d, 0x45, 0x4a, 0x41, 0x43, 0x4b, 0x50, 0x4f, 0x54, 0x10, 0xc3, 0x28, 0x42, 0x0c, 0x5a,
0x0a, 0x2e, 0x3b, 0x61, 0x76, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
0x41, 0x4d, 0x45, 0x4a, 0x41, 0x43, 0x4b, 0x50, 0x4f, 0x54, 0x10, 0xc3, 0x28, 0x42, 0x28, 0x5a,
0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61,
0x76, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package avengers;
option go_package = ".;avengers";
option go_package = "mongo.games.com/game/protocol/avengers";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//百家乐
// 百家乐
type BaccaratPacketID int32
const (
@ -318,7 +318,7 @@ func (x *BaccaratPlayerData) GetNiceId() int32 {
return 0
}
//筹码数据
// 筹码数据
type BaccaratChips struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -653,7 +653,7 @@ func (x *SCBaccaratRoomInfo) GetLoopNum() int32 {
return 0
}
//座位位置
// 座位位置
type SCBaccaratSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -717,7 +717,7 @@ func (x *SCBaccaratSeats) GetBankerId() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSBaccaratOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -773,7 +773,7 @@ func (x *CSBaccaratOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCBaccaratOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -845,7 +845,7 @@ func (x *SCBaccaratOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//房间状态
// 房间状态
type SCBaccaratRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -909,7 +909,7 @@ func (x *SCBaccaratRoomState) GetParams() []int32 {
return nil
}
//玩家列表
// 玩家列表
type SCBaccaratPlayerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -965,7 +965,6 @@ func (x *SCBaccaratPlayerList) GetOLNum() int32 {
return 0
}
//
type BaccaratBill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1029,7 +1028,7 @@ func (x *BaccaratBill) GetGainCoin() int64 {
return 0
}
//大赢家
// 大赢家
type BaccaratBigWinner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1141,7 +1140,7 @@ func (x *BaccaratBigWinner) GetCity() string {
return ""
}
//结算
// 结算
type SCBaccaratBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1315,7 +1314,7 @@ func (x *SCBaccaratSendBet) GetTotalChips() []int64 {
return nil
}
//上庄列表
// 上庄列表
type SCBaccaratBankerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1588,8 +1587,10 @@ var file_baccarat_proto_rawDesc = []byte{
0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x42, 0x65, 0x74, 0x10, 0xe2, 0x36, 0x12, 0x23, 0x0a, 0x1e,
0x4f, 0x50, 0x52, 0x43, 0x5f, 0x42, 0x61, 0x63, 0x63, 0x61, 0x72, 0x61, 0x74, 0x5f, 0x53, 0x65,
0x6c, 0x66, 0x42, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x74, 0x65, 0x10, 0xe3,
0x36, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x62, 0x61, 0x63, 0x63, 0x61, 0x72, 0x61, 0x74, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x36, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x62, 0x61, 0x63, 0x63, 0x61, 0x72, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package baccarat;
option go_package = ".;baccarat";
option go_package = "mongo.games.com/game/protocol/baccarat";
//
enum BaccaratPacketID{

View File

@ -999,8 +999,10 @@ var file_bag_proto_rawDesc = []byte{
0x47, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0xf5, 0x13, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x50, 0x72, 0x6f, 0x70, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10,
0xb8, 0x17, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x45, 0x78, 0x63,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x10, 0xb9, 0x17, 0x42, 0x07, 0x5a, 0x05,
0x2e, 0x3b, 0x62, 0x61, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x10, 0xb9, 0x17, 0x42, 0x23, 0x5a, 0x21,
0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x62, 0x61,
0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package bag;
option go_package = ".;bag";
option go_package = "mongo.games.com/game/protocol/bag";
//
enum OpResultCode {
OPRC_Sucess = 0; //

View File

@ -2011,8 +2011,10 @@ var file_blackjack_proto_rawDesc = []byte{
0x44, 0x53, 0x10, 0xd5, 0x29, 0x12, 0x0b, 0x0a, 0x06, 0x53, 0x43, 0x5f, 0x45, 0x4e, 0x44, 0x10,
0xd6, 0x29, 0x12, 0x0f, 0x0a, 0x0a, 0x53, 0x43, 0x5f, 0x42, 0x55, 0x59, 0x5f, 0x45, 0x4e, 0x44,
0x10, 0xd7, 0x29, 0x12, 0x0b, 0x0a, 0x06, 0x53, 0x43, 0x5f, 0x53, 0x49, 0x54, 0x10, 0xd8, 0x29,
0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x3b, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6a, 0x61, 0x63, 0x6b, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x42, 0x29, 0x5a, 0x27, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6a, 0x61, 0x63, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package blackjack;
option go_package = ".;blackjack";
option go_package = "mongo.games.com/game/protocol/blackjack";
enum BlackJackPacketID {
PACKET_BlackJack_ZERO = 0; //

View File

@ -20,8 +20,8 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//财神
//操作结果
// 财神
// 操作结果
type OpResultCode int32
const (
@ -71,7 +71,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_caishen_proto_rawDescGZIP(), []int{0}
}
//财神
// 财神
type CaiShenPacketID int32
const (
@ -242,7 +242,7 @@ func (x *CaiShenPlayerData) GetParams() []string {
return nil
}
//小游戏信息
// 小游戏信息
type CaiShenBonusGameInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -314,7 +314,7 @@ func (x *CaiShenBonusGameInfo) GetDataMultiplier() int64 {
return 0
}
//房间信息
// 房间信息
type SCCaiShenRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -498,7 +498,7 @@ func (x *SCCaiShenRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSCaiShenOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -554,7 +554,7 @@ func (x *CSCaiShenOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCCaiShenOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -626,7 +626,7 @@ func (x *SCCaiShenOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type CaiShenLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -849,7 +849,7 @@ func (x *GameBilledData) GetResponseStatus() int64 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCCaiShenGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1153,7 +1153,7 @@ func (x *SCCaiShenBurstHistory) GetBurstLog() []*CaiShenBurstHistoryInfo {
return nil
}
//房间状态
// 房间状态
type SCCaiShenRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1387,8 +1387,10 @@ var file_caishen_proto_rawDesc = []byte{
0x45, 0x4e, 0x5f, 0x42, 0x55, 0x52, 0x53, 0x54, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10,
0xea, 0x28, 0x12, 0x22, 0x0a, 0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f,
0x43, 0x41, 0x49, 0x53, 0x48, 0x45, 0x4e, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x4a, 0x41, 0x43, 0x4b,
0x50, 0x4f, 0x54, 0x10, 0xeb, 0x28, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x63, 0x61, 0x69, 0x73,
0x68, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x50, 0x4f, 0x54, 0x10, 0xeb, 0x28, 0x42, 0x27, 0x5a, 0x25, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e,
0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x61, 0x69, 0x73, 0x68, 0x65, 0x6e, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package caishen;
option go_package = ".;caishen";
option go_package = "mongo.games.com/game/protocol/caishen";
//
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//糖果
// 糖果
type CandyPacketID int32
const (
@ -85,7 +85,7 @@ func (CandyPacketID) EnumDescriptor() ([]byte, []int) {
return file_candy_proto_rawDescGZIP(), []int{0}
}
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -238,7 +238,7 @@ func (x *CandyPlayerData) GetParams() []string {
return nil
}
//房间信息
// 房间信息
type SCCandyRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -398,7 +398,7 @@ func (x *SCCandyRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSCandyOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -454,7 +454,7 @@ func (x *CSCandyOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCCandyOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -526,7 +526,7 @@ func (x *SCCandyOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type CandyLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -717,7 +717,7 @@ func (x *GameBilledData) GetIsJackpot() bool {
return false
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCCandyGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -773,7 +773,7 @@ func (x *SCCandyGameBilled) GetBilledData() *GameBilledData {
return nil
}
//房间状态
// 房间状态
type SCCandyRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1078,8 +1078,10 @@ var file_candy_proto_rawDesc = []byte{
0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73,
0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72,
0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e,
0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x02, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b,
0x63, 0x61, 0x6e, 0x64, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x02, 0x42, 0x25, 0x5a, 0x23, 0x6d, 0x6f,
0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61,
0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x61, 0x6e, 0x64,
0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package candy;
option go_package = ".;candy";
option go_package = "mongo.games.com/game/protocol/candy";
//
enum CandyPacketID {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//CaoThap
// CaoThap
type CaoThapPacketID int32
const (
@ -85,7 +85,7 @@ func (CaoThapPacketID) EnumDescriptor() ([]byte, []int) {
return file_caothap_proto_rawDescGZIP(), []int{0}
}
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -238,7 +238,7 @@ func (x *CaoThapPlayerData) GetParams() []string {
return nil
}
//房间信息
// 房间信息
type SCCaoThapRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -382,7 +382,7 @@ func (x *SCCaoThapRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSCaoThapOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -438,7 +438,7 @@ func (x *CSCaoThapOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCCaoThapOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -685,7 +685,7 @@ func (x *GameBilledData) GetAcesCount() int32 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCCaoThapGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -733,7 +733,7 @@ func (x *SCCaoThapGameBilled) GetBilledData() *GameBilledData {
return nil
}
//房间状态
// 房间状态
type SCCaoThapRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1044,8 +1044,10 @@ var file_caothap_proto_rawDesc = []byte{
0x50, 0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a,
0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12,
0x4f, 0x50, 0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75,
0x67, 0x68, 0x10, 0x02, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x63, 0x61, 0x6f, 0x74, 0x68, 0x61,
0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x67, 0x68, 0x10, 0x02, 0x42, 0x27, 0x5a, 0x25, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61,
0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x61, 0x6f, 0x74, 0x68, 0x61, 0x70, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package caothap;
option go_package = ".;caothap";
option go_package = "mongo.games.com/game/protocol/caothap";
//CaoThap
enum CaoThapPacketID {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -82,7 +82,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_chat_proto_rawDescGZIP(), []int{0}
}
//聊天消息id
// 聊天消息id
type ChatPacketID int32
const (
@ -147,7 +147,7 @@ func (ChatPacketID) EnumDescriptor() ([]byte, []int) {
return file_chat_proto_rawDescGZIP(), []int{1}
}
//PACKET_CSChatMsg
// PACKET_CSChatMsg
type CSChatMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -219,7 +219,7 @@ func (x *CSChatMsg) GetContent() string {
return ""
}
//PACKET_SCChatMsg
// PACKET_SCChatMsg
type SCChatMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -323,7 +323,7 @@ func (x *SCChatMsg) GetHeadUrl() string {
return ""
}
//PACKET_CSGetChatLog
// PACKET_CSGetChatLog
type CSGetChatLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -490,7 +490,7 @@ func (x *ChatLog) GetToHeadUrl() string {
return ""
}
//PACKET_SCGetChatLog
// PACKET_SCGetChatLog
type SCGetChatLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -546,7 +546,7 @@ func (x *SCGetChatLog) GetChatLogs() []*ChatLog {
return nil
}
//PACKET_CSReadChatMsg
// PACKET_CSReadChatMsg
type CSReadChatMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -594,7 +594,7 @@ func (x *CSReadChatMsg) GetSnid() int32 {
return 0
}
//PACKET_CSShieldMsg
// PACKET_CSShieldMsg
type CSShieldMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -666,7 +666,7 @@ func (x *CSShieldMsg) GetShield() bool {
return false
}
//PACKET_SCShieldMsg
// PACKET_SCShieldMsg
type SCShieldMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -839,8 +839,10 @@ var file_chat_proto_rawDesc = []byte{
0x64, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x10, 0xa4, 0x15, 0x12, 0x17, 0x0a, 0x12, 0x50,
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x73,
0x67, 0x10, 0xa5, 0x15, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x10, 0xa6, 0x15, 0x42, 0x08, 0x5a,
0x06, 0x2e, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x43, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x10, 0xa6, 0x15, 0x42, 0x24, 0x5a,
0x22, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63,
0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package chat;
option go_package = ".;chat";
option go_package = "mongo.games.com/game/protocol/chat";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,7 +67,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_chesstitians_proto_rawDescGZIP(), []int{0}
}
//tienlen
// tienlen
type ChesstitiansPacketID int32
const (
@ -162,7 +162,7 @@ func (ChesstitiansPacketID) EnumDescriptor() ([]byte, []int) {
return file_chesstitians_proto_rawDescGZIP(), []int{1}
}
//玩家信息
// 玩家信息
type ChesstitiansPlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -529,7 +529,7 @@ func (x *LastDelCard) GetCards() []int32 {
return nil
}
//房间信息
// 房间信息
type SCChesstitiansRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -890,7 +890,7 @@ func (x *SCChesstitiansRoomInfo) GetSceneType() int32 {
return 0
}
//房间状态更新
// 房间状态更新
type SCChesstitiansRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -946,7 +946,7 @@ func (x *SCChesstitiansRoomState) GetParams() []int64 {
return nil
}
//玩家操作
// 玩家操作
type CSChesstitiansPlayerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1129,7 +1129,7 @@ func (x *SCChesstitiansPlayerOp) GetTotalTime() []int32 {
return nil
}
//玩家进入
// 玩家进入
type SCChesstitiansPlayerEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1177,7 +1177,7 @@ func (x *SCChesstitiansPlayerEnter) GetData() *ChesstitiansPlayerData {
return nil
}
//玩家离开
// 玩家离开
type SCChesstitiansPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1225,7 +1225,7 @@ func (x *SCChesstitiansPlayerLeave) GetPos() int32 {
return 0
}
//结算结果
// 结算结果
type ChesstitiansPlayerGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1400,7 +1400,7 @@ func (x *SCChesstitiansGameBilled) GetDatas() []*ChesstitiansPlayerGameBilled {
return nil
}
//小结算结果(炸的分)
// 小结算结果(炸的分)
type SCChesstitiansSmallGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1488,7 +1488,7 @@ func (x *SCChesstitiansSmallGameBilled) GetLoseCoin() int64 {
return 0
}
//发牌
// 发牌
type SCChesstitiansCard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1600,7 +1600,7 @@ func (x *SCChesstitiansCard) GetCheckmate() []bool {
return nil
}
//测试数据
// 测试数据
type SCChesstitiansCardTest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1798,7 +1798,7 @@ func (x *SCChesstitiansUpdateMasterSnid) GetMasterSnid() int32 {
return 0
}
//PACKET_SCChesstitiansUpdateAudienceNum
// PACKET_SCChesstitiansUpdateAudienceNum
type SCChesstitiansUpdateAudienceNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2021,7 +2021,7 @@ func (x *SCChesstitiansAIData) GetPlayerPosition() int32 {
return 0
}
//PACKET_SCChesstitiansFirstOpPos
// PACKET_SCChesstitiansFirstOpPos
type SCChesstitiansFirstOpPos struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2069,7 +2069,7 @@ func (x *SCChesstitiansFirstOpPos) GetPos() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSChesstitiansPlayerDevOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2506,8 +2506,10 @@ var file_chesstitians_proto_rawDesc = []byte{
0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x76, 0x4f, 0x70, 0x10, 0xed, 0x2a, 0x12, 0x25, 0x0a, 0x20,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x43, 0x68, 0x65, 0x73, 0x73, 0x74, 0x69,
0x74, 0x69, 0x61, 0x6e, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x65, 0x76, 0x4f, 0x70,
0x10, 0xee, 0x2a, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x3b, 0x63, 0x68, 0x65, 0x73, 0x73, 0x74, 0x69,
0x74, 0x69, 0x61, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x10, 0xee, 0x2a, 0x42, 0x2c, 0x5a, 0x2a, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d,
0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x65, 0x73, 0x73, 0x74, 0x69, 0x74, 0x69, 0x61, 0x6e,
0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package chesstitians;
option go_package = ".;chesstitians";
option go_package = "mongo.games.com/game/protocol/chesstitians";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -79,7 +79,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_crash_proto_rawDescGZIP(), []int{0}
}
//碰撞游戏
// 碰撞游戏
type CrashPacketID int32
const (
@ -153,7 +153,7 @@ func (CrashPacketID) EnumDescriptor() ([]byte, []int) {
return file_crash_proto_rawDescGZIP(), []int{1}
}
//时间 PACKET_SC_CRASH_SENDTime
// 时间 PACKET_SC_CRASH_SENDTime
type CrashTime struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -360,7 +360,7 @@ func (x *CrashPlayerData) GetNiceId() int32 {
return 0
}
//筹码数据 PACKET_SC_CRASH_Parachute
// 筹码数据 PACKET_SC_CRASH_Parachute
type CrashChips struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -471,7 +471,7 @@ func (x *CrashZoneChips) GetData() []*CrashChips {
return nil
}
//房间信息
// 房间信息
type SCCrashRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -727,7 +727,7 @@ func (x *SCCrashRoomInfo) GetParachutePlayerCoin() int64 {
return 0
}
//座位位置
// 座位位置
type SCCrashSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -783,7 +783,7 @@ func (x *SCCrashSeats) GetPlayerNum() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSCrashOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -839,7 +839,7 @@ func (x *CSCrashOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCCrashOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -911,7 +911,7 @@ func (x *SCCrashOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//房间状态
// 房间状态
type SCCrashRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -975,7 +975,7 @@ func (x *SCCrashRoomState) GetParams() []int32 {
return nil
}
//玩家列表
// 玩家列表
type SCCrashPlayerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1031,7 +1031,6 @@ func (x *SCCrashPlayerList) GetOLNum() int32 {
return 0
}
//
type CrashBill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1095,7 +1094,7 @@ func (x *CrashBill) GetGainCoin() int64 {
return 0
}
//大赢家
// 大赢家
type CrashBigWinner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1207,7 +1206,7 @@ func (x *CrashBigWinner) GetCity() string {
return ""
}
//结算
// 结算
type SCCrashBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1271,7 +1270,7 @@ func (x *SCCrashBilled) GetLoopNum() int32 {
return 0
}
//批量下注消息
// 批量下注消息
type SCCrashSendBet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1540,8 +1539,10 @@ var file_crash_proto_rawDesc = []byte{
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x43, 0x52, 0x41, 0x53, 0x48, 0x5f, 0x53,
0x45, 0x4e, 0x44, 0x54, 0x69, 0x6d, 0x65, 0x10, 0x9c, 0x28, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x43, 0x52, 0x41, 0x53, 0x48, 0x5f, 0x50, 0x61,
0x72, 0x61, 0x63, 0x68, 0x75, 0x74, 0x65, 0x10, 0x9d, 0x28, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b,
0x63, 0x72, 0x61, 0x73, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x72, 0x61, 0x63, 0x68, 0x75, 0x74, 0x65, 0x10, 0x9d, 0x28, 0x42, 0x25, 0x5a, 0x23, 0x6d, 0x6f,
0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61,
0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x72, 0x61, 0x73,
0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package crash;
option go_package = ".;crash";
option go_package = "mongo.games.com/game/protocol/crash";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,7 +67,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_dezhoupoker_proto_rawDescGZIP(), []int{0}
}
//德州扑克
// 德州扑克
type DZPKPacketID int32
const (
@ -168,7 +168,7 @@ func (DZPKPacketID) EnumDescriptor() ([]byte, []int) {
return file_dezhoupoker_proto_rawDescGZIP(), []int{1}
}
//玩家信息
// 玩家信息
type DezhouPokerPlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -352,8 +352,8 @@ func (x *DezhouPokerPlayerData) GetNiceId() int32 {
return 0
}
//房间信息
//PACKET_SC_DEZHOUPOKER_ROOMINFO
// 房间信息
// PACKET_SC_DEZHOUPOKER_ROOMINFO
type SCDezhouPokerRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -577,8 +577,8 @@ func (x *SCDezhouPokerRoomInfo) GetTotalOfGames() int32 {
return 0
}
//房间状态更新
//PACKET_SC_DEZHOUPOKER_ROOMSTATE
// 房间状态更新
// PACKET_SC_DEZHOUPOKER_ROOMSTATE
type SCDezhouPokerRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -713,7 +713,7 @@ func (x *SCDezhouPokerBankerAndBlindPos) GetSmallBlind() int64 {
return 0
}
//PACKET_SC_DEZHOUPOKER_POTS = 5350
// PACKET_SC_DEZHOUPOKER_POTS = 5350
type SCDezhouPokerPots struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -761,8 +761,8 @@ func (x *SCDezhouPokerPots) GetPots() []int64 {
return nil
}
//玩家操作
//PACKET_SC_DEZHOUPOKER_OP
// 玩家操作
// PACKET_SC_DEZHOUPOKER_OP
type CSDezhouPokerPlayerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -890,7 +890,7 @@ func (x *SCDezhouPokerPlayerOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//带入金币 PACKET_SC_DEZHOUPOKER_AUTOBUYIN
// 带入金币 PACKET_SC_DEZHOUPOKER_AUTOBUYIN
type SCDezhouPokerBuyIn struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -946,7 +946,7 @@ func (x *SCDezhouPokerBuyIn) GetToGameCoin() int64 {
return 0
}
//金币变化 PACKET_SC_DEZHOUPOKER_GAMECOIN
// 金币变化 PACKET_SC_DEZHOUPOKER_GAMECOIN
type SCDezhouPokerPlayerGameCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1018,8 +1018,8 @@ func (x *SCDezhouPokerPlayerGameCoin) GetChangeCoin() int64 {
return 0
}
//玩家站起。游戏中站起默认为弃牌
//玩家站起
// 玩家站起。游戏中站起默认为弃牌
// 玩家站起
type SCDezhouPokerPlayerStandUp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1075,8 +1075,8 @@ func (x *SCDezhouPokerPlayerStandUp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//玩家坐下。要排定钱是否足够。自动带入最小带入
//玩家坐下
// 玩家坐下。要排定钱是否足够。自动带入最小带入
// 玩家坐下
type SCDezhouPokerPlayerSit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1179,8 +1179,8 @@ func (x *DezhouPokerCards) GetCards() []int32 {
return nil
}
//下一个玩家的操作提示
//PACKET_SC_DEZHOUPOKER_NEXTOPERNOTIFY
// 下一个玩家的操作提示
// PACKET_SC_DEZHOUPOKER_NEXTOPERNOTIFY
type SCDezhouPokerOperNotify struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1373,8 +1373,8 @@ func (x *SCDezhouPokerOperNotify) GetRestPlayerCnt() int32 {
return 0
}
//发牌
//PACKET_SC_DEZHOUPOKER_CARD
// 发牌
// PACKET_SC_DEZHOUPOKER_CARD
type SCDezhouPokerCard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1493,8 +1493,8 @@ func (x *DezhouPokerCardsWP) GetWinningProbability() int32 {
return 0
}
//手牌胜率
//PACKET_CSC_DEZHOUPOKER_WPUPDATE
// 手牌胜率
// PACKET_CSC_DEZHOUPOKER_WPUPDATE
type CSCDezhouPokerWPUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1542,8 +1542,8 @@ func (x *CSCDezhouPokerWPUpdate) GetDatas() []*DezhouPokerCardsWP {
return nil
}
//玩家进入
//PACKET_SC_DEZHOUPOKER_PlayerEnter
// 玩家进入
// PACKET_SC_DEZHOUPOKER_PlayerEnter
type SCDezhouPokerPlayerEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1591,8 +1591,8 @@ func (x *SCDezhouPokerPlayerEnter) GetData() *DezhouPokerPlayerData {
return nil
}
//玩家离开
//PACKET_SC_DEZHOUPOKER_PLAYERLEAVE
// 玩家离开
// PACKET_SC_DEZHOUPOKER_PLAYERLEAVE
type SCDezhouPokerPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1640,7 +1640,7 @@ func (x *SCDezhouPokerPlayerLeave) GetPos() int32 {
return 0
}
//亮牌
// 亮牌
type PlayerPoker struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1696,7 +1696,7 @@ func (x *PlayerPoker) GetCards() []int32 {
return nil
}
//PACKET_SC_DEZHOUPOKER_SHOWPOKER
// PACKET_SC_DEZHOUPOKER_SHOWPOKER
type SCDezhouPokerShowPoker struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1744,7 +1744,7 @@ func (x *SCDezhouPokerShowPoker) GetPlayerPoker() []*PlayerPoker {
return nil
}
//结算结果
// 结算结果
type DezhouPokerPlayerGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1840,7 +1840,7 @@ func (x *DezhouPokerPlayerGameBilled) GetIsWin() int32 {
return 0
}
//PACKET_SC_DEZHOUPOKER_GAMEBILLED
// PACKET_SC_DEZHOUPOKER_GAMEBILLED
type SCDezhouPokerGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1888,7 +1888,7 @@ func (x *SCDezhouPokerGameBilled) GetDatas() []*DezhouPokerPlayerGameBilled {
return nil
}
//PACKET_SC_DEZHOUPOKER_GAMEBILLED_MIDDLE
// PACKET_SC_DEZHOUPOKER_GAMEBILLED_MIDDLE
type SCDezhouPokerGameBilledMiddle struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1968,7 +1968,7 @@ func (x *SCDezhouPokerGameBilledMiddle) GetIsWin() int32 {
return 0
}
//每个池的结算结果
// 每个池的结算结果
type DezhouPokerPlayerGameBilledPotItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2016,7 +2016,7 @@ func (x *DezhouPokerPlayerGameBilledPotItem) GetPlayerDatas() []*DezhouPokerPlay
return nil
}
//发给客户端的根据池展现方式
// 发给客户端的根据池展现方式
type SCDezhouPokerGameBilledByPots struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2377,9 +2377,10 @@ var file_dezhoupoker_proto_rawDesc = []byte{
0x41, 0x4d, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x42, 0x59, 0x50, 0x4f, 0x54, 0x53, 0x10,
0xef, 0x29, 0x12, 0x24, 0x0a, 0x1f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x43,
0x5f, 0x44, 0x45, 0x5a, 0x48, 0x4f, 0x55, 0x50, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x57, 0x50, 0x55,
0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0xf0, 0x29, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x64, 0x65,
0x7a, 0x68, 0x6f, 0x75, 0x70, 0x6f, 0x6b, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0xf0, 0x29, 0x42, 0x2b, 0x5a, 0x29, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x64, 0x65, 0x7a, 0x68, 0x6f, 0x75,
0x70, 0x6f, 0x6b, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package dezhoupoker;
option go_package = ".;dezhoupoker";
option go_package = "mongo.games.com/game/protocol/dezhoupoker";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -88,7 +88,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_dragonvstiger_proto_rawDescGZIP(), []int{0}
}
//龙虎斗
// 龙虎斗
type DragonVsTigerPacketID int32
const (
@ -310,7 +310,7 @@ func (x *DragonVsTigerPlayerData) GetNiceId() int32 {
return 0
}
//筹码数据
// 筹码数据
type DragonVsTigerChips struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -421,7 +421,7 @@ func (x *DragonVsTigerZoneChips) GetDetail() []*DragonVsTigerChips {
return nil
}
//房间信息
// 房间信息
type SCDragonVsTigerRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -637,7 +637,7 @@ func (x *SCDragonVsTigerRoomInfo) GetLoopNum() int32 {
return 0
}
//座位位置
// 座位位置
type SCDragonVsTigerSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -701,7 +701,7 @@ func (x *SCDragonVsTigerSeats) GetBankerId() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSDragonVsTiggerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -757,7 +757,7 @@ func (x *CSDragonVsTiggerOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCDragonVsTiggerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -829,7 +829,7 @@ func (x *SCDragonVsTiggerOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//房间状态
// 房间状态
type SCDragonVsTigerRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -893,7 +893,7 @@ func (x *SCDragonVsTigerRoomState) GetParams() []int32 {
return nil
}
//玩家列表
// 玩家列表
type SCDragonVsTigerPlayerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -949,7 +949,6 @@ func (x *SCDragonVsTigerPlayerList) GetOLNum() int32 {
return 0
}
//
type DragonVsTigerBill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1013,7 +1012,7 @@ func (x *DragonVsTigerBill) GetGainCoin() int64 {
return 0
}
//大赢家
// 大赢家
type DragonVsTigerBigWinner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1125,7 +1124,7 @@ func (x *DragonVsTigerBigWinner) GetCity() string {
return ""
}
//结算
// 结算
type SCDragonVsTigerBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1299,7 +1298,7 @@ func (x *SCDragonVsTigerSendBet) GetTotalChips() []int64 {
return nil
}
//上庄列表
// 上庄列表
type SCDragonVsTiggerUpList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1567,9 +1566,11 @@ var file_dragonvstiger_proto_rawDesc = []byte{
0xd0, 0x2a, 0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f,
0x44, 0x56, 0x53, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x42, 0x45, 0x54, 0x10, 0xd1, 0x2a, 0x12,
0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x44, 0x56, 0x53,
0x54, 0x5f, 0x55, 0x50, 0x4c, 0x49, 0x53, 0x54, 0x10, 0xd2, 0x2a, 0x42, 0x11, 0x5a, 0x0f, 0x2e,
0x3b, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x76, 0x73, 0x74, 0x69, 0x67, 0x65, 0x72, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x54, 0x5f, 0x55, 0x50, 0x4c, 0x49, 0x53, 0x54, 0x10, 0xd2, 0x2a, 0x42, 0x2d, 0x5a, 0x2b, 0x6d,
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x64, 0x72, 0x61,
0x67, 0x6f, 0x6e, 0x76, 0x73, 0x74, 0x69, 0x67, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package dragonvstiger;
option go_package = ".;dragonvstiger";
option go_package = "mongo.games.com/game/protocol/dragonvstiger";
//
enum OpResultCode {
OPRC_Sucess = 0; //

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -70,7 +70,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_easterisland_proto_rawDescGZIP(), []int{0}
}
//复活岛
// 复活岛
type EasterIslandPacketID int32
const (
@ -238,7 +238,7 @@ func (x *EasterIslandPlayerData) GetParams() []string {
return nil
}
//小游戏信息
// 小游戏信息
type EasterIslandBonusGameInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -310,7 +310,7 @@ func (x *EasterIslandBonusGameInfo) GetDataMultiplier() int64 {
return 0
}
//房间信息
// 房间信息
type SCEasterIslandRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -502,7 +502,7 @@ func (x *SCEasterIslandRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSEasterIslandOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -558,7 +558,7 @@ func (x *CSEasterIslandOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCEasterIslandOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -630,7 +630,7 @@ func (x *SCEasterIslandOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type EasterIslandLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -853,7 +853,7 @@ func (x *GameBilledData) GetResponseStatus() int64 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCEasterIslandGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1157,7 +1157,7 @@ func (x *SCEasterIslandBurstHistory) GetBurstLog() []*EasterIslandBurstHistoryIn
return nil
}
//房间状态
// 房间状态
type SCEasterIslandRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1402,9 +1402,11 @@ var file_easterisland_proto_rawDesc = []byte{
0x41, 0x4e, 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52,
0x59, 0x10, 0xd5, 0x28, 0x12, 0x28, 0x0a, 0x23, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x5f, 0x45, 0x41, 0x53, 0x54, 0x45, 0x52, 0x49, 0x53, 0x4c, 0x41, 0x4e, 0x44, 0x5f, 0x42,
0x55, 0x52, 0x53, 0x54, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0xd6, 0x28, 0x42, 0x10,
0x5a, 0x0e, 0x2e, 0x3b, 0x65, 0x61, 0x73, 0x74, 0x65, 0x72, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x55, 0x52, 0x53, 0x54, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0xd6, 0x28, 0x42, 0x2c,
0x5a, 0x2a, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x65, 0x61, 0x73, 0x74, 0x65, 0x72, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package easterisland;
option go_package = ".;easterisland";
option go_package = "mongo.games.com/game/protocol/easterisland";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -70,7 +70,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_fishing_proto_rawDescGZIP(), []int{0}
}
//捕鱼
// 捕鱼
type FIPacketID int32
const (
@ -570,7 +570,7 @@ func (x *FishingPlayerData) GetFishExp() int64 {
return 0
}
//房间信息
// 房间信息
type SCFishingRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -778,7 +778,7 @@ func (x *SCFishingRoomInfo) GetChangeSceneId() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSFishingOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -913,7 +913,7 @@ func (x *SCFishingOp) GetSnId() int32 {
return 0
}
//FISHING_SC_FIRE
// FISHING_SC_FIRE
type SCFire struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1017,7 +1017,7 @@ func (x *SCFire) GetMultiple() int32 {
return 0
}
//FISHING_SC_FIREHIT
// FISHING_SC_FIREHIT
type SCFireHit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1153,7 +1153,7 @@ func (x *SCFireHit) GetAddExp() int32 {
return 0
}
//FISHING_SC_TREASURECHESTEVENT
// FISHING_SC_TREASURECHESTEVENT
type SCTreasureChestEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1217,7 +1217,7 @@ func (x *SCTreasureChestEvent) GetCurrentPlayerCoin() int64 {
return 0
}
//FISHING_SC_FIREMISS
// FISHING_SC_FIREMISS
type SCFireMiss struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1273,7 +1273,7 @@ func (x *SCFireMiss) GetRate() int32 {
return 0
}
//FISHING_SC_FIREPOWER
// FISHING_SC_FIREPOWER
type SCFirePower struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1345,7 +1345,7 @@ func (x *SCFirePower) GetTargetPower() int32 {
return 0
}
//FISHING_SC_SELVIP
// FISHING_SC_SELVIP
type SCSelVip struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1401,7 +1401,7 @@ func (x *SCSelVip) GetVip() int32 {
return 0
}
//房间状态
// 房间状态
type SCFishingRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1465,7 +1465,7 @@ func (x *SCFishingRoomState) GetParams() []int32 {
return nil
}
//座位数据
// 座位数据
type SCFishingSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1513,7 +1513,7 @@ func (x *SCFishingSeats) GetData() []*FishingPlayerData {
return nil
}
//进入房间
// 进入房间
type SCfishingEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1561,7 +1561,7 @@ func (x *SCfishingEnter) GetData() *FishingPlayerData {
return nil
}
//退出房间
// 退出房间
type SCfishingLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1609,7 +1609,7 @@ func (x *SCfishingLeave) GetSnId() int32 {
return 0
}
//fishid定义policyid*1000000 + DB_Policyx.Id*100 + 单行的自增长id
// fishid定义policyid*1000000 + DB_Policyx.Id*100 + 单行的自增长id
type SCSyncRefreshFish struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1799,7 +1799,7 @@ func (x *SCNewSyncRefreshFish) GetRandomSeed() int32 {
return 0
}
//FISHING_SC_FISHERENTER
// FISHING_SC_FISHERENTER
type FishInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1895,7 +1895,7 @@ func (x *FishInfo) GetLiveTick() int32 {
return 0
}
//FISHING_CS_LOADCOMPLETE
// FISHING_CS_LOADCOMPLETE
type CSLoadComplete struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1998,7 +1998,7 @@ func (x *SCFishesEnter) GetTimeTick() int32 {
return 0
}
//屏幕中的鱼 FISHING_CS_FISHVIEW
// 屏幕中的鱼 FISHING_CS_FISHVIEW
type CSFishView struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2301,7 +2301,7 @@ func (x *SCJackpotFish) GetFishIds() []int32 {
return nil
}
// FISHING_CS_LOOKLOCKFISH
// FISHING_CS_LOOKLOCKFISH
type CSLookLockFish struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2340,7 +2340,7 @@ func (*CSLookLockFish) Descriptor() ([]byte, []int) {
return file_fishing_proto_rawDescGZIP(), []int{25}
}
// FISHING_SC_LOOKLOCKFISH
// FISHING_SC_LOOKLOCKFISH
type SCLookLockFish struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2452,7 +2452,7 @@ func (x *SCSendReadyPrana) GetPercent() int32 {
return 0
}
// FISHING_CS_REALYPRANA = 5027; // 放置能量炮炮台
// FISHING_CS_REALYPRANA = 5027; // 放置能量炮炮台
type CSReadyPrana struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2516,7 +2516,7 @@ func (x *CSReadyPrana) GetY() int32 {
return 0
}
// FISHING_SC_REALYPRANA = 5028; // 放置能量炮炮台
// FISHING_SC_REALYPRANA = 5028; // 放置能量炮炮台
type SCReadyPrana struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2588,7 +2588,7 @@ func (x *SCReadyPrana) GetY() int32 {
return 0
}
// FISHING_CS_FIREPRANA = 5029; // 发射能量炮
// FISHING_CS_FIREPRANA = 5029; // 发射能量炮
type CSFirePrana struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2660,7 +2660,7 @@ func (x *CSFirePrana) GetY() int32 {
return 0
}
// FISHING_SC_FIREPRANA = 5030; // 发射能量炮
// FISHING_SC_FIREPRANA = 5030; // 发射能量炮
type SCFirePrana struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2908,7 +2908,7 @@ func (x *SCRetPranaCoin) GetCoin() int64 {
return 0
}
//FISHING_SC_REBINDAGENT
// FISHING_SC_REBINDAGENT
type SCReBindAgent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3019,7 +3019,7 @@ func (x *SCRobotBehavior) GetRobotId() int32 {
return 0
}
//FISHING_SC_SCSYNCFISHCOIN
// FISHING_SC_SCSYNCFISHCOIN
type SCSyncFishCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3075,7 +3075,7 @@ func (x *SCSyncFishCoin) GetCoin() int64 {
return 0
}
//FISHING_SC_SYNCFISHHP
// FISHING_SC_SYNCFISHHP
type FishHpInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3178,8 +3178,8 @@ func (x *SCSyncFishHp) GetHpInfo() []*FishHpInfo {
return nil
}
//通知客户端出鱼
//FISHING_SC_NOTIFYAPPEARFISH
// 通知客户端出鱼
// FISHING_SC_NOTIFYAPPEARFISH
type SCNotifyAppearFish struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3235,8 +3235,8 @@ func (x *SCNotifyAppearFish) GetFishs() []*FishInfo {
return nil
}
//通知切换场景
//FISHING_SC_NOTIFYCHANGESCENE
// 通知切换场景
// FISHING_SC_NOTIFYCHANGESCENE
type SCNotifyChangeScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3284,9 +3284,9 @@ func (x *SCNotifyChangeScene) GetSceneId() int32 {
return 0
}
//技能相关消息
//房间技能list
//FISHING_CS_SKILLLISTREQ
// 技能相关消息
// 房间技能list
// FISHING_CS_SKILLLISTREQ
type CSSkillListReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3325,7 +3325,7 @@ func (*CSSkillListReq) Descriptor() ([]byte, []int) {
return file_fishing_proto_rawDescGZIP(), []int{42}
}
//FISHING_SC_SKILLLISTRESP
// FISHING_SC_SKILLLISTRESP
type SCSkillListResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3540,8 +3540,8 @@ func (x *SkillInfo) GetLimit() int32 {
return 0
}
//使用技能
//FISHING_CS_SKILLUSEREQ
// 使用技能
// FISHING_CS_SKILLUSEREQ
type CSFishSkillUseReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3589,8 +3589,8 @@ func (x *CSFishSkillUseReq) GetSkillId() int32 {
return 0
}
//使用技能返回消息
//FISHING_SC_SKILLUSERESP
// 使用技能返回消息
// FISHING_SC_SKILLUSERESP
type SCFishSkillUseResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3709,8 +3709,8 @@ func (x *SCFishSkillUseEnd) GetSnId() int32 {
return 0
}
//广播消息
//FISHING_SC_SKILLUSEBEGIN
// 广播消息
// FISHING_SC_SKILLUSEBEGIN
type SCFishSkillUseBegin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3790,8 +3790,8 @@ func (x *SCFishSkillUseBegin) GetPos() int32 {
return 0
}
//帧同步
//FISHING_CS_SYNCTIMEPOINT
// 帧同步
// FISHING_CS_SYNCTIMEPOINT
type CSSyncTimePoint struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3830,7 +3830,7 @@ func (*CSSyncTimePoint) Descriptor() ([]byte, []int) {
return file_fishing_proto_rawDescGZIP(), []int{49}
}
//FISHING_SC_SYNCTIMEPOINT
// FISHING_SC_SYNCTIMEPOINT
type SCSyncTimePoint struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4356,8 +4356,10 @@ var file_fishing_proto_rawDesc = []byte{
0x47, 0x5f, 0x43, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x54, 0x49, 0x4d, 0x45, 0x50, 0x4f, 0x49,
0x4e, 0x54, 0x10, 0xb9, 0x27, 0x12, 0x1d, 0x0a, 0x18, 0x46, 0x49, 0x53, 0x48, 0x49, 0x4e, 0x47,
0x5f, 0x53, 0x43, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x54, 0x49, 0x4d, 0x45, 0x50, 0x4f, 0x49, 0x4e,
0x54, 0x10, 0xba, 0x27, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x66, 0x69, 0x73, 0x68, 0x69, 0x6e,
0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x54, 0x10, 0xba, 0x27, 0x42, 0x27, 0x5a, 0x25, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61,
0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package fishing;
option go_package = ".;fishing";
option go_package = "mongo.games.com/game/protocol/fishing";
//
enum OpResultCode {
OPRC_Sucess = 0; //

View File

@ -20,8 +20,8 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//财神到协议
//操作结果
// 财神到协议
// 操作结果
type OpResultCode int32
const (
@ -68,7 +68,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_fortunegod_proto_rawDescGZIP(), []int{0}
}
//财神到
// 财神到
type FortuneGodPacketID int32
const (
@ -222,7 +222,7 @@ func (x *FortuneGodPlayerData) GetVIP() int32 {
return 0
}
//每条线的结算数据
// 每条线的结算数据
type FortuneGodLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -310,7 +310,7 @@ func (x *FortuneGodLinesInfo) GetPosLen() int32 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SC_FORTUNEGOD_GAMEBALANCE struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -406,7 +406,7 @@ func (x *SC_FORTUNEGOD_GAMEBALANCE) GetAllFreeWinScore() int32 {
return 0
}
//房间信息
// 房间信息
type SC_FORTUNEGOD_ROOMINFO struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -550,7 +550,7 @@ func (x *SC_FORTUNEGOD_ROOMINFO) GetGameFreeId() int32 {
return 0
}
//玩家操作
// 玩家操作
type CS_FORTUNEGOD_PLAYEROP struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -606,7 +606,7 @@ func (x *CS_FORTUNEGOD_PLAYEROP) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SC_FORTUNEGOD_PLAYEROP struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -678,7 +678,7 @@ func (x *SC_FORTUNEGOD_PLAYEROP) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//房间状态
// 房间状态
type SC_FORTUNEGOD_ROOMSTATE struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -828,9 +828,10 @@ var file_fortunegod_proto_rawDesc = []byte{
0x54, 0x55, 0x4e, 0x45, 0x47, 0x4f, 0x44, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54,
0x45, 0x10, 0xef, 0x27, 0x12, 0x25, 0x0a, 0x20, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x47, 0x4f, 0x44, 0x5f, 0x47, 0x41, 0x4d,
0x45, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x10, 0xf0, 0x27, 0x42, 0x0e, 0x5a, 0x0c, 0x2e,
0x3b, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x67, 0x6f, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
0x45, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x10, 0xf0, 0x27, 0x42, 0x2a, 0x5a, 0x28, 0x6d,
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x6f, 0x72,
0x74, 0x75, 0x6e, 0x65, 0x67, 0x6f, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package fortunegod;
option go_package = ".;fortunegod";
option go_package = "mongo.games.com/game/protocol/fortunegod";
//
//
enum OpResultCode {

View File

@ -20,8 +20,8 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//FortuneZhiShen
//财运之神
// FortuneZhiShen
// 财运之神
type FortuneZSPacketID int32
const (
@ -210,8 +210,8 @@ func (x *FortuneZhiShenPlayerData) GetVIP() int32 {
return 0
}
//房间信息
//PACKET_SC_FORTUNEZHISHEN_ROOMINFO
// 房间信息
// PACKET_SC_FORTUNEZHISHEN_ROOMINFO
type SCFortuneZhiShenRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -435,8 +435,8 @@ func (x *SCFortuneZhiShenRoomInfo) GetGameFreeId() int32 {
return 0
}
//玩家操作
//PACKET_CS_FORTUNEZHISHEN_PLAYEROP
// 玩家操作
// PACKET_CS_FORTUNEZHISHEN_PLAYEROP
type CSFortuneZhiShenOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -492,8 +492,8 @@ func (x *CSFortuneZhiShenOp) GetParams() []int64 {
return nil
}
//玩家操作返回
//PACKET_SC_FORTUNEZHISHEN_PLAYEROP
// 玩家操作返回
// PACKET_SC_FORTUNEZHISHEN_PLAYEROP
type SCFortuneZhiShenOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -557,8 +557,8 @@ func (x *SCFortuneZhiShenOp) GetParams() []int64 {
return nil
}
//房间状态
//PACKET_SC_FORTUNEZHISHEN_ROOMSTATE
// 房间状态
// PACKET_SC_FORTUNEZHISHEN_ROOMSTATE
type SCFortuneZhiShenRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -622,7 +622,7 @@ func (x *SCFortuneZhiShenRoomState) GetParams() []int32 {
return nil
}
//PACKET_SC_FORTUNEZHISHEN_PRIZE
// PACKET_SC_FORTUNEZHISHEN_PRIZE
type SCFortuneZhiShenPrize struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -749,7 +749,7 @@ func (x *FortuneZhiShenWinLine) GetWinScore() int64 {
return 0
}
//PACKET_SC_FORTUNEZHISHEN_BILLED
// PACKET_SC_FORTUNEZHISHEN_BILLED
type SCFortuneZhiShenBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1032,9 +1032,10 @@ var file_fortunezhishen_proto_rawDesc = []byte{
0x5a, 0x48, 0x49, 0x53, 0x48, 0x45, 0x4e, 0x5f, 0x50, 0x52, 0x49, 0x5a, 0x45, 0x10, 0xac, 0x28,
0x12, 0x24, 0x0a, 0x1f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x46, 0x4f,
0x52, 0x54, 0x55, 0x4e, 0x45, 0x5a, 0x48, 0x49, 0x53, 0x48, 0x45, 0x4e, 0x5f, 0x42, 0x49, 0x4c,
0x4c, 0x45, 0x44, 0x10, 0xad, 0x28, 0x42, 0x12, 0x5a, 0x10, 0x2e, 0x3b, 0x66, 0x6f, 0x72, 0x74,
0x75, 0x6e, 0x65, 0x7a, 0x68, 0x69, 0x73, 0x68, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
0x4c, 0x45, 0x44, 0x10, 0xad, 0x28, 0x42, 0x2e, 0x5a, 0x2c, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e,
0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x7a,
0x68, 0x69, 0x73, 0x68, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package fortunezhishen;
option go_package = ".;fortunezhishen";
option go_package = "mongo.games.com/game/protocol/fortunezhishen";
//FortuneZhiShen
//

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -130,7 +130,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_friend_proto_rawDescGZIP(), []int{0}
}
//好友数据消息id
// 好友数据消息id
type FriendPacketID int32
const (
@ -216,8 +216,8 @@ func (FriendPacketID) EnumDescriptor() ([]byte, []int) {
return file_friend_proto_rawDescGZIP(), []int{1}
}
//获取好友列表
//PACKET_CSFriendList
// 获取好友列表
// PACKET_CSFriendList
type CSFriendList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -392,7 +392,7 @@ func (x *FriendInfo) GetRoleId() int32 {
return 0
}
//PACKET_SCFriendList
// PACKET_SCFriendList
type SCFriendList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -456,8 +456,8 @@ func (x *SCFriendList) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//好友操作
//PACKET_CSFriendOp
// 好友操作
// PACKET_CSFriendOp
type CSFriendOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -513,7 +513,7 @@ func (x *CSFriendOp) GetSnId() int32 {
return 0
}
//PACKET_SCFriendOp
// PACKET_SCFriendOp
type SCFriendOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -585,7 +585,7 @@ func (x *SCFriendOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//PACKET_CSQueryPlayerGameLog
// PACKET_CSQueryPlayerGameLog
type CSQueryPlayerGameLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -736,7 +736,7 @@ func (x *PlayerGameLog) GetMatchType() int32 {
return 0
}
//PACKET_SCQueryPlayerGameLog
// PACKET_SCQueryPlayerGameLog
type SCQueryPlayerGameLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -808,7 +808,7 @@ func (x *SCQueryPlayerGameLog) GetGameLogs() []*PlayerGameLog {
return nil
}
//PACKET_CSInviteFriend
// PACKET_CSInviteFriend
type CSInviteFriend struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -864,7 +864,7 @@ func (x *CSInviteFriend) GetPos() int32 {
return 0
}
//PACKET_SCInviteFriend
// PACKET_SCInviteFriend
type SCInviteFriend struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -976,7 +976,7 @@ func (x *SCInviteFriend) GetRoleId() int32 {
return 0
}
//PACKET_CSInviteFriendOp
// PACKET_CSInviteFriendOp
type CSInviteFriendOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1040,7 +1040,7 @@ func (x *CSInviteFriendOp) GetPos() int32 {
return 0
}
//PACKET_SCInviteFriendOp
// PACKET_SCInviteFriendOp
type SCInviteFriendOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1183,7 +1183,7 @@ func (x *FriendApply) GetCreateTs() int64 {
return 0
}
//PACKET_SCFriendApplyData
// PACKET_SCFriendApplyData
type SCFriendApplyData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1286,7 +1286,7 @@ func (x *FriendUnread) GetUnreadNum() int32 {
return 0
}
//PACKET_SCFriendUnreadData
// PACKET_SCFriendUnreadData
type SCFriendUnreadData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1334,7 +1334,7 @@ func (x *SCFriendUnreadData) GetFriendUnreads() []*FriendUnread {
return nil
}
//PACKET_CSFuzzyQueryPlayer //根据id或者昵称查询玩家
// PACKET_CSFuzzyQueryPlayer //根据id或者昵称查询玩家
type CSFuzzyQueryPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1469,7 +1469,7 @@ func (x *PlayerInfo) GetRoleId() int32 {
return 0
}
//PACKET_SCFuzzyQueryPlayer
// PACKET_SCFuzzyQueryPlayer
type SCFuzzyQueryPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1747,8 +1747,10 @@ var file_friend_proto_rawDesc = []byte{
0x7a, 0x7a, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x10, 0x98,
0x15, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x46, 0x75,
0x7a, 0x7a, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x10, 0x99,
0x15, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
0x15, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package friend;
option go_package = ".;friend";
option go_package = "mongo.games.com/game/protocol/friend";
//
enum OpResultCode {

View File

@ -20,8 +20,8 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//fruits
//水果拉霸
// fruits
// 水果拉霸
type FruitsPID int32
const (
@ -276,8 +276,8 @@ func (x *FruitsWinLine) GetLineId() int32 {
return 0
}
//房间信息
//PACKET_FRUITS_SCFruitsRoomInfo
// 房间信息
// PACKET_FRUITS_SCFruitsRoomInfo
type SCFruitsRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -518,8 +518,8 @@ func (x *SCFruitsRoomInfo) GetWinLines() []*FruitsWinLine {
return nil
}
//玩家操作
//PACKET_FRUITS_CSFruitsOp
// 玩家操作
// PACKET_FRUITS_CSFruitsOp
type CSFruitsOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -575,8 +575,8 @@ func (x *CSFruitsOp) GetParams() []int64 {
return nil
}
//玩家操作返回
//PACKET_FRUITS_SCFruitsOp
// 玩家操作返回
// PACKET_FRUITS_SCFruitsOp
type SCFruitsOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -640,8 +640,8 @@ func (x *SCFruitsOp) GetParams() []int64 {
return nil
}
//房间状态
//PACKET_FRUITS_SCFruitsRoomState
// 房间状态
// PACKET_FRUITS_SCFruitsRoomState
type SCFruitsRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -705,7 +705,7 @@ func (x *SCFruitsRoomState) GetParams() []int32 {
return nil
}
//PACKET_FRUITS_SCFruitsPrize
// PACKET_FRUITS_SCFruitsPrize
type SCFruitsPrize struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -753,7 +753,7 @@ func (x *SCFruitsPrize) GetPrizePool() int64 {
return 0
}
//PACKET_FRUITS_SCFruitsBilled
// PACKET_FRUITS_SCFruitsBilled
type SCFruitsBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -905,7 +905,7 @@ func (x *SCFruitsBilled) GetWinLineCoin() int64 {
return 0
}
//PACKET_FRUITS_SCFruitsMaryBilled
// PACKET_FRUITS_SCFruitsMaryBilled
type SCFruitsMaryBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1169,8 +1169,10 @@ var file_fruits_proto_rawDesc = []byte{
0x5f, 0x53, 0x43, 0x46, 0x72, 0x75, 0x69, 0x74, 0x73, 0x4d, 0x61, 0x72, 0x79, 0x42, 0x69, 0x6c,
0x6c, 0x65, 0x64, 0x10, 0xf7, 0x2a, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x46, 0x52, 0x55, 0x49, 0x54, 0x53, 0x5f, 0x53, 0x43, 0x46, 0x72, 0x75, 0x69, 0x74, 0x73,
0x50, 0x72, 0x69, 0x7a, 0x65, 0x10, 0xf8, 0x2a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x66, 0x72,
0x75, 0x69, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x50, 0x72, 0x69, 0x7a, 0x65, 0x10, 0xf8, 0x2a, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x72, 0x75, 0x69, 0x74, 0x73,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package fruits;
option go_package = ".;fruits";
option go_package = "mongo.games.com/game/protocol/fruits";
//fruits
//

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -118,7 +118,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_coinscene_proto_rawDescGZIP(), []int{0}
}
//自由场协议编号 2320-2339
// 自由场协议编号 2320-2339
type CoinSceneGamePacketID int32
const (
@ -183,8 +183,8 @@ func (CoinSceneGamePacketID) EnumDescriptor() ([]byte, []int) {
return file_coinscene_proto_rawDescGZIP(), []int{1}
}
//PACKET_CS_COINSCENE_GETPLAYERNUM
//获取场次人数
// PACKET_CS_COINSCENE_GETPLAYERNUM
// 获取场次人数
type CSCoinSceneGetPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -240,7 +240,7 @@ func (x *CSCoinSceneGetPlayerNum) GetGameModel() int32 {
return 0
}
//PACKET_SC_COINSCENE_GETPLAYERNUM
// PACKET_SC_COINSCENE_GETPLAYERNUM
type SCCoinSceneGetPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -288,8 +288,8 @@ func (x *SCCoinSceneGetPlayerNum) GetNums() []int32 {
return nil
}
//PACKET_CS_COINSCENE_OP
//玩家进入房间
// PACKET_CS_COINSCENE_OP
// 玩家进入房间
type CSCoinSceneOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -361,7 +361,7 @@ func (x *CSCoinSceneOp) GetPlatform() string {
return ""
}
//PACKET_SC_COINSCENE_OP
// PACKET_SC_COINSCENE_OP
type SCCoinSceneOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -433,8 +433,8 @@ func (x *SCCoinSceneOp) GetOpParams() []int32 {
return nil
}
//PACKET_CS_COINSCENE_LISTROOM
//查看房间列表
// PACKET_CS_COINSCENE_LISTROOM
// 查看房间列表
type CSCoinSceneListRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -482,7 +482,7 @@ func (x *CSCoinSceneListRoom) GetId() int32 {
return 0
}
//房间信息
// 房间信息
type CoinSceneInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -538,8 +538,8 @@ func (x *CoinSceneInfo) GetPlayerNum() int32 {
return 0
}
//PACKET_SC_COINSCENE_LISTROOM
//查看房间列表
// PACKET_SC_COINSCENE_LISTROOM
// 查看房间列表
type SCCoinSceneListRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -643,7 +643,7 @@ func (x *SCCoinSceneListRoom) GetDatas() []*CoinSceneInfo {
return nil
}
//PACKET_SC_COINSCENE_QUEUESTATE
// PACKET_SC_COINSCENE_QUEUESTATE
type SCCoinSceneQueueState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -818,9 +818,10 @@ var file_coinscene_proto_rawDesc = []byte{
0x43, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54,
0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x95, 0x12, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45,
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x51,
0x55, 0x45, 0x55, 0x45, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x96, 0x12, 0x42, 0x0c, 0x5a, 0x0a,
0x2e, 0x3b, 0x67, 0x61, 0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
0x55, 0x45, 0x55, 0x45, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x96, 0x12, 0x42, 0x28, 0x5a, 0x26,
0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x61,
0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package gamehall;
option go_package = ".;gamehall";
option go_package = "mongo.games.com/game/protocol/gamehall";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_Game int32
const (
@ -179,7 +179,7 @@ func (OpResultCode_Game) EnumDescriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{0}
}
//消息id 2200-2319
// 消息id 2200-2319
type GameHallPacketID int32
const (
@ -523,8 +523,8 @@ func (GameHallPacketID) EnumDescriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{1}
}
//进入游戏大厅
//PACKET_CS_ENTERHALL
// 进入游戏大厅
// PACKET_CS_ENTERHALL
type CSEnterHall struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -572,7 +572,7 @@ func (x *CSEnterHall) GetHallId() int32 {
return 0
}
//PACKET_SC_ENTERHALL
// PACKET_SC_ENTERHALL
type SCEnterHall struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -628,8 +628,8 @@ func (x *SCEnterHall) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//离开游戏大厅
//PACKET_CS_LEAVEHALL
// 离开游戏大厅
// PACKET_CS_LEAVEHALL
type CSLeaveHall struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -668,7 +668,7 @@ func (*CSLeaveHall) Descriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{2}
}
//PACKET_SC_LEAVEHALL
// PACKET_SC_LEAVEHALL
type SCLeaveHall struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -716,7 +716,7 @@ func (x *SCLeaveHall) GetHallId() int32 {
return 0
}
//房间内玩家信息
// 房间内玩家信息
type RoomPlayerInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -820,7 +820,7 @@ func (x *RoomPlayerInfo) GetVIP() int32 {
return 0
}
//房间信息
// 房间信息
type RoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -884,7 +884,7 @@ func (x *RoomInfo) GetPlayers() []*RoomPlayerInfo {
return nil
}
//PACKET_CS_HALLROOMLIST
// PACKET_CS_HALLROOMLIST
type CSHallRoomList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -932,7 +932,7 @@ func (x *CSHallRoomList) GetHallId() int32 {
return 0
}
//大厅人数
// 大厅人数
type HallInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -988,7 +988,7 @@ func (x *HallInfo) GetPlayerNum() int32 {
return 0
}
//PACKET_SC_HALLPLAYERNUM
// PACKET_SC_HALLPLAYERNUM
type HallPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1036,7 +1036,7 @@ func (x *HallPlayerNum) GetHallData() []*HallInfo {
return nil
}
//PACKET_SC_HALLROOMLIST
// PACKET_SC_HALLROOMLIST
type SCHallRoomList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1132,7 +1132,7 @@ func (x *SCHallRoomList) GetHallData() []*HallInfo {
return nil
}
//PACKET_SC_ROOMPLAYERENTER
// PACKET_SC_ROOMPLAYERENTER
type SCRoomPlayerEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1188,7 +1188,7 @@ func (x *SCRoomPlayerEnter) GetPlayer() *RoomPlayerInfo {
return nil
}
//PACKET_SC_ROOMPLAYERLEAVE
// PACKET_SC_ROOMPLAYERLEAVE
type SCRoomPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1244,7 +1244,7 @@ func (x *SCRoomPlayerLeave) GetPos() int32 {
return 0
}
//PACKET_SC_ROOMSTATECHANG
// PACKET_SC_ROOMSTATECHANG
type SCRoomStateChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1308,7 +1308,7 @@ func (x *SCRoomStateChange) GetState() int32 {
return 0
}
//PACKET_CS_CREATEROOM
// PACKET_CS_CREATEROOM
type CSCreateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1400,7 +1400,7 @@ func (x *CSCreateRoom) GetId() int32 {
return 0
}
//PACKET_SC_CREATEROOM
// PACKET_SC_CREATEROOM
type SCCreateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1488,7 +1488,7 @@ func (x *SCCreateRoom) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//PACKET_CS_DESTROYROOM
// PACKET_CS_DESTROYROOM
type CSDestroyRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1527,7 +1527,7 @@ func (*CSDestroyRoom) Descriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{15}
}
//PACKET_SC_DESTROYROOM
// PACKET_SC_DESTROYROOM
type SCDestroyRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1591,9 +1591,9 @@ func (x *SCDestroyRoom) GetIsForce() int32 {
return 0
}
//PACKET_CS_ENTERROOM
//PACKET_CS_AUDIENCE_ENTERROOM
//玩家请求进入游戏
// PACKET_CS_ENTERROOM
// PACKET_CS_AUDIENCE_ENTERROOM
// 玩家请求进入游戏
type CSEnterRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1649,7 +1649,7 @@ func (x *CSEnterRoom) GetGameId() int32 {
return 0
}
//PACKET_SC_ENTERROOM
// PACKET_SC_ENTERROOM
type SCEnterRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1745,9 +1745,9 @@ func (x *SCEnterRoom) GetClubId() int32 {
return 0
}
//PACKET_CS_LEAVEROOM
//PACKET_CS_AUDIENCE_LEAVEROOM
//玩家离开房间,返回大厅
// PACKET_CS_LEAVEROOM
// PACKET_CS_AUDIENCE_LEAVEROOM
// 玩家离开房间,返回大厅
type CSLeaveRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1795,7 +1795,7 @@ func (x *CSLeaveRoom) GetMode() int32 {
return 0
}
//PACKET_SC_LEAVEROOM
// PACKET_SC_LEAVEROOM
type SCLeaveRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1867,7 +1867,7 @@ func (x *SCLeaveRoom) GetMode() int32 {
return 0
}
//PACKET_CS_RETURNROOM
// PACKET_CS_RETURNROOM
type CSReturnRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1939,7 +1939,7 @@ func (x *CSReturnRoom) GetRoomId() int32 {
return 0
}
//PACKET_SC_RETURNROOM
// PACKET_SC_RETURNROOM
type SCReturnRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2075,8 +2075,8 @@ func (x *SCReturnRoom) GetClubId() int32 {
return 0
}
//获取游戏记录
//PACKET_CS_GETGAMEREC
// 获取游戏记录
// PACKET_CS_GETGAMEREC
type CSGetGameRec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2362,7 +2362,7 @@ func (x *GameRec) GetGameTime() int32 {
return 0
}
//PACKET_SC_GETGAMEREC
// PACKET_SC_GETGAMEREC
type SCGetGameRec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2426,7 +2426,7 @@ func (x *SCGetGameRec) GetGameId() int32 {
return 0
}
//PACKET_CS_SHARESUC
// PACKET_CS_SHARESUC
type CSShareSuc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2474,7 +2474,7 @@ func (x *CSShareSuc) GetShareType() int32 {
return 0
}
//PACKET_SC_SHARESUC
// PACKET_SC_SHARESUC
type SCShareSuc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2522,7 +2522,7 @@ func (x *SCShareSuc) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//PACKET_CS_FORCESTART
// PACKET_CS_FORCESTART
type CSForceStart struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2561,7 +2561,7 @@ func (*CSForceStart) Descriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{29}
}
//PACKET_SC_FORCESTART
// PACKET_SC_FORCESTART
type SCForceStart struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2609,7 +2609,7 @@ func (x *SCForceStart) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//PACKET_CS_INVITEROBOT
// PACKET_CS_INVITEROBOT
type CSInviteRobot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2665,8 +2665,8 @@ func (x *CSInviteRobot) GetIsAgent() bool {
return false
}
//玩家设置标记
//PACKET_CS_PLAYER_SWITCHFLAG
// 玩家设置标记
// PACKET_CS_PLAYER_SWITCHFLAG
type CSPlayerSwithFlag struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2722,8 +2722,8 @@ func (x *CSPlayerSwithFlag) GetMark() int32 {
return 0
}
//玩家商城购买
//PACKET_CS_SHOPBUY
// 玩家商城购买
// PACKET_CS_SHOPBUY
type CSShopBuy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2779,7 +2779,7 @@ func (x *CSShopBuy) GetCount() int32 {
return 0
}
//PACKET_SC_SHOPBUY
// PACKET_SC_SHOPBUY
type SCShopBuy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2867,8 +2867,8 @@ func (x *SCShopBuy) GetGainNum() int32 {
return 0
}
//CS_JOINGAME
//请求的通知
// CS_JOINGAME
// 请求的通知
type CSJoinGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2940,8 +2940,8 @@ func (x *CSJoinGame) GetAgree() bool {
return false
}
//SC_TJOINGAME
//请求的通知
// SC_TJOINGAME
// 请求的通知
type SCJoinGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3013,7 +3013,7 @@ func (x *SCJoinGame) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//PACKET_CS_ENTERDGGAME
// PACKET_CS_ENTERDGGAME
type CSEnterDgGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3172,7 +3172,7 @@ func (x *SCEnterDgGame) GetList() []string {
return nil
}
//PACKET_CS_LEAVEDGGAME
// PACKET_CS_LEAVEDGGAME
type CSLeaveDgGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3258,7 +3258,7 @@ func (x *SCLeaveDgGame) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//第三方个人账户信息统计
// 第三方个人账户信息统计
type CSThridAccountStatistic struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3432,7 +3432,7 @@ func (x *SCThridAccountStatistic) GetAccounts() []*ThridAccount {
return nil
}
//第三方个人账户余额转入转出
// 第三方个人账户余额转入转出
type CSThridAccountTransfer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4105,8 +4105,8 @@ func (x *SCThridGameBalanceUpdateState) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//创建私人房间
//PACKET_CS_CREATEPRIVATEROOM
// 创建私人房间
// PACKET_CS_CREATEPRIVATEROOM
type CSCreatePrivateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4162,8 +4162,8 @@ func (x *CSCreatePrivateRoom) GetParams() []int32 {
return nil
}
//创建私人房间
//PACKET_SC_CREATEPRIVATEROOM
// 创建私人房间
// PACKET_SC_CREATEPRIVATEROOM
type SCCreatePrivateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4236,7 +4236,7 @@ func (x *SCCreatePrivateRoom) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//个人创建的房间信息
// 个人创建的房间信息
type PrivateRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4332,8 +4332,8 @@ func (x *PrivateRoomInfo) GetCreateTs() int32 {
return 0
}
//获取代开的房间列表
//PACKET_CS_GETPRIVATEROOMLIST
// 获取代开的房间列表
// PACKET_CS_GETPRIVATEROOMLIST
type CSGetPrivateRoomList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4372,7 +4372,7 @@ func (*CSGetPrivateRoomList) Descriptor() ([]byte, []int) {
return file_game_proto_rawDescGZIP(), []int{60}
}
//PACKET_SC_GETPRIVATEROOMLIST
// PACKET_SC_GETPRIVATEROOMLIST
type SCGetPrivateRoomList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4420,8 +4420,8 @@ func (x *SCGetPrivateRoomList) GetDatas() []*PrivateRoomInfo {
return nil
}
//获取代开的房间历史记录
//PACKET_CS_GETPRIVATEROOMHISTORY
// 获取代开的房间历史记录
// PACKET_CS_GETPRIVATEROOMHISTORY
type CSGetPrivateRoomHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4469,7 +4469,7 @@ func (x *CSGetPrivateRoomHistory) GetQueryTime() int32 {
return 0
}
//已开房间历史记录
// 已开房间历史记录
type PrivateRoomHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4549,7 +4549,7 @@ func (x *PrivateRoomHistory) GetCreateFee() int32 {
return 0
}
//PACKET_SC_GETPRIVATEROOMHISTORY
// PACKET_SC_GETPRIVATEROOMHISTORY
type SCGetPrivateRoomHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4605,7 +4605,7 @@ func (x *SCGetPrivateRoomHistory) GetDatas() []*PrivateRoomHistory {
return nil
}
//PACKET_CS_DESTROYPRIVATEROOM
// PACKET_CS_DESTROYPRIVATEROOM
type CSDestroyPrivateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4653,7 +4653,7 @@ func (x *CSDestroyPrivateRoom) GetRoomId() int32 {
return 0
}
//PACKET_SC_DESTROYPRIVATEROOM
// PACKET_SC_DESTROYPRIVATEROOM
type SCDestroyPrivateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4717,7 +4717,7 @@ func (x *SCDestroyPrivateRoom) GetState() int32 {
return 0
}
//PACKET_CS_QUERYROOMINFO
// PACKET_CS_QUERYROOMINFO
type CSQueryRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4781,7 +4781,7 @@ func (x *CSQueryRoomInfo) GetId() []int32 {
return nil
}
//个人创建的房间信息
// 个人创建的房间信息
type QRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4901,7 +4901,7 @@ func (x *QRoomInfo) GetParams() []int32 {
return nil
}
//PACKET_SC_QUERYROOMINFO
// PACKET_SC_QUERYROOMINFO
type SCQueryRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4973,8 +4973,8 @@ func (x *SCQueryRoomInfo) GetOpRetCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//注册观察者,用于推送游戏的状态信息
//PACKET_CS_GAMEOBSERVE
// 注册观察者,用于推送游戏的状态信息
// PACKET_CS_GAMEOBSERVE
type CSGameObserve struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5030,7 +5030,7 @@ func (x *CSGameObserve) GetStartOrEnd() bool {
return false
}
//PACKET_SC_GAMESUBLIST
// PACKET_SC_GAMESUBLIST
type GameSubRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5149,7 +5149,7 @@ func (x *SCGameSubList) GetList() []*GameSubRecord {
return nil
}
//游戏中的状态
// 游戏中的状态
type GameState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5260,7 +5260,7 @@ func (x *SCGameState) GetList() []*GameState {
return nil
}
//奖金池数据
// 奖金池数据
type LotteryData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5316,7 +5316,7 @@ func (x *LotteryData) GetValue() int64 {
return 0
}
//奖金池同步 PACKET_SC_LOTTERYSYNC
// 奖金池同步 PACKET_SC_LOTTERYSYNC
type SCLotterySync struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5364,7 +5364,7 @@ func (x *SCLotterySync) GetDatas() []*LotteryData {
return nil
}
//PACKET_CS_LOTTERYLOG = 2288;
// PACKET_CS_LOTTERYLOG = 2288;
type CSLotteryLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5412,7 +5412,7 @@ func (x *CSLotteryLog) GetGameFreeId() int32 {
return 0
}
//奖池中奖记录
// 奖池中奖记录
type LotteryLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5492,7 +5492,7 @@ func (x *LotteryLog) GetCoin() int32 {
return 0
}
//PACKET_SC_LOTTERYLOG = 2289;
// PACKET_SC_LOTTERYLOG = 2289;
type SCLotteryLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5548,7 +5548,7 @@ func (x *SCLotteryLog) GetLogs() []*LotteryLog {
return nil
}
//PACKET_SC_LOTTERYBILL = 2290
// PACKET_SC_LOTTERYBILL = 2290
type SCLotteryBill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5795,7 +5795,7 @@ func (x *GameConfig1) GetSceneAdd() int32 {
return 0
}
//PACKET_CS_GETGAMECONFIG = 2231
// PACKET_CS_GETGAMECONFIG = 2231
type CSGetGameConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5914,7 +5914,7 @@ func (x *ChessRankInfo) GetName() string {
return ""
}
//PACKET_SC_GETGAMECONFIG = 2232
// PACKET_SC_GETGAMECONFIG = 2232
type SCGetGameConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5978,7 +5978,7 @@ func (x *SCGetGameConfig) GetChessRanks() []*ChessRankInfo {
return nil
}
//PACKET_SC_CHANGEGAMESTATUS == 2233
// PACKET_SC_CHANGEGAMESTATUS == 2233
type SCChangeGameStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6026,7 +6026,7 @@ func (x *SCChangeGameStatus) GetGameCfg() []*GameConfig1 {
return nil
}
//PACKET_SC_CHANGEENTRYSWITCH
// PACKET_SC_CHANGEENTRYSWITCH
type SCChangeEntrySwitch struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6074,7 +6074,7 @@ func (x *SCChangeEntrySwitch) GetGameCfg() []int32 {
return nil
}
//PACKET_CS_ENTERGAME
// PACKET_CS_ENTERGAME
type CSEnterGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6154,7 +6154,7 @@ func (x *CSEnterGame) GetResVer() int32 {
return 0
}
//PACKET_SC_ENTERGAME
// PACKET_SC_ENTERGAME
type SCEnterGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6250,7 +6250,7 @@ func (x *SCEnterGame) GetLatestResVer() int32 {
return 0
}
//PACKET_CS_QUITGAME
// PACKET_CS_QUITGAME
type CSQuitGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6306,7 +6306,7 @@ func (x *CSQuitGame) GetIsAudience() bool {
return false
}
//PACKET_SC_QUITGAME
// PACKET_SC_QUITGAME
type SCQuitGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6370,7 +6370,7 @@ func (x *SCQuitGame) GetReason() int32 {
return 0
}
//PACKET_CS_UPLOADLOC
// PACKET_CS_UPLOADLOC
type CSUploadLoc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6434,7 +6434,7 @@ func (x *CSUploadLoc) GetCity() string {
return ""
}
//PACKET_SC_UPLOADLOC
// PACKET_SC_UPLOADLOC
type SCUploadLoc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6506,7 +6506,7 @@ func (x *SCUploadLoc) GetCity() string {
return ""
}
//PACKET_CS_AUDIENCESIT
// PACKET_CS_AUDIENCESIT
type CSAudienceSit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6554,7 +6554,7 @@ func (x *CSAudienceSit) GetRoomId() int32 {
return 0
}
//PACKET_SC_AUDIENCESIT
// PACKET_SC_AUDIENCESIT
type SCAudienceSit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6610,7 +6610,7 @@ func (x *SCAudienceSit) GetOpCode() OpResultCode_Game {
return OpResultCode_Game_OPRC_Sucess_Game
}
//PACKET_CS_COMNOTICE
// PACKET_CS_COMNOTICE
type CSRecordAndNotice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6912,7 +6912,7 @@ func (x *PlayerRecord) GetMatchType() int32 {
return 0
}
//PACKET_SC_COMNOTICE
// PACKET_SC_COMNOTICE
type SCRecordAndNotice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8171,8 +8171,10 @@ var file_game_proto_rawDesc = []byte{
0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x52, 0x6f, 0x6f,
0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0xc9, 0x3e, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43,
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10,
0xca, 0x3e, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x67, 0x61, 0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0xca, 0x3e, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package gamehall;
option go_package = ".;gamehall";
option go_package = "mongo.games.com/game/protocol/gamehall";
//
enum OpResultCode_Game {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_Hall int32
const (
@ -70,7 +70,7 @@ func (OpResultCode_Hall) EnumDescriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{0}
}
////大厅协议 2340-2379
// //大厅协议 2340-2379
type HallPacketID int32
const (
@ -194,7 +194,7 @@ func (HallPacketID) EnumDescriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{1}
}
////////////////////////////////////////
// //////////////////////////////////////
type HallOperaCode int32
const (
@ -323,7 +323,7 @@ func (ShowRedCode) EnumDescriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{3}
}
//////////////////////////////////////rebatetask
// ////////////////////////////////////rebatetask
type RebateInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -379,7 +379,7 @@ func (x *RebateInfo) GetValidBetTotal() int64 {
return 0
}
//PACKET_CS_REBATE_LIST
// PACKET_CS_REBATE_LIST
type CSRebateList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -418,7 +418,7 @@ func (*CSRebateList) Descriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{1}
}
//PACKET_SC_REBATE_LIST
// PACKET_SC_REBATE_LIST
type SCRebateList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -474,8 +474,8 @@ func (x *SCRebateList) GetRebateTotalCoin() int64 {
return 0
}
//领取奖励
//PACKET_CS_REBATE_RECEIVE
// 领取奖励
// PACKET_CS_REBATE_RECEIVE
type CSReceiveRebate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -514,7 +514,7 @@ func (*CSReceiveRebate) Descriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{3}
}
//PACKET_SC_REBATE_RECEIVE
// PACKET_SC_REBATE_RECEIVE
type SCReceiveRebate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -570,9 +570,9 @@ func (x *SCReceiveRebate) GetCoin() int64 {
return 0
}
/////////////////////////////////
//红点是否显示
//PACKET_SC_HALL_REDCTRL
// ///////////////////////////////
// 红点是否显示
// PACKET_SC_HALL_REDCTRL
type SCRedCtrl struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -628,8 +628,8 @@ func (x *SCRedCtrl) GetIsFShow() bool {
return false
}
//是否开启返利
//PACKET_CS_GETISCANREBATE
// 是否开启返利
// PACKET_CS_GETISCANREBATE
type CSGetIsCanRebate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -668,7 +668,7 @@ func (*CSGetIsCanRebate) Descriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{6}
}
//PACKET_SC_GETISCANREBATE
// PACKET_SC_GETISCANREBATE
type SCGetIsCanRebate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -740,8 +740,8 @@ func (x *SCGetIsCanRebate) GetWX() string {
return ""
}
//////2019.11.22 新个人中心
/////////////////////////////////个人信息//////////////////////////////////////////////////////////////
// ////2019.11.22 新个人中心
// ///////////////////////////////个人信息//////////////////////////////////////////////////////////////
type HallGameType struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -797,8 +797,8 @@ func (x *HallGameType) GetGameMode() int32 {
return 0
}
//请求相关统计
//PACKET_CS_NEWPLAYERINFO
// 请求相关统计
// PACKET_CS_NEWPLAYERINFO
type CSNewPlayerInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -837,8 +837,8 @@ func (*CSNewPlayerInfo) Descriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{9}
}
//相关统计
//PACKET_SC_NEWPLAYERINFO
// 相关统计
// PACKET_SC_NEWPLAYERINFO
type SCNewPlayerInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1007,8 +1007,8 @@ func (x *SCNewPlayerInfo) GetClassType() []int32 {
return nil
}
//更新返利统计信息
//PACKET_SC_REBATETOTALINFO
// 更新返利统计信息
// PACKET_SC_REBATETOTALINFO
type SCRebateTotalInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1080,8 +1080,8 @@ func (x *SCRebateTotalInfo) GetCodeType() int32 {
return 0
}
//请求洗码列表
//PACKET_CS_CODETYPERECORD
// 请求洗码列表
// PACKET_CS_CODETYPERECORD
type CSCodeTypeRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1129,7 +1129,7 @@ func (x *CSCodeTypeRecord) GetShowTypeId() HallOperaCode {
return HallOperaCode_HallOperaZero
}
///洗码列表
// /洗码列表
type CodeTypeRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1217,7 +1217,7 @@ func (x *CodeTypeRecord) GetMaxCoin() int32 {
return 0
}
//PACKET_SC_CODETYPERECORD
// PACKET_SC_CODETYPERECORD
type SCCodeTypeRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1273,8 +1273,8 @@ func (x *SCCodeTypeRecord) GetCodeTypeRecord() []*CodeTypeRecord {
return nil
}
//请求投注记录
//PACKET_CS_BETCOINRECORD
// 请求投注记录
// PACKET_CS_BETCOINRECORD
type CSBetCoinRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1338,15 +1338,17 @@ func (x *CSBetCoinRecord) GetPageNo() int32 {
return 0
}
//请求捕鱼投注记录
//PACKET_CS_FISHBETCOINRECORD
//message CSFishBetCoinRecord {
// HallOperaCode ShowTypeId = 1;
// int64 TimeIndex = 2; //0.全部 1.今天 2.昨天 3.一个月内
// repeated HallGameType GameType = 3; //游戏类型
// int32 PageNo = 4; //当前页
//}
///投注记录
// 请求捕鱼投注记录
// PACKET_CS_FISHBETCOINRECORD
//
// message CSFishBetCoinRecord {
// HallOperaCode ShowTypeId = 1;
// int64 TimeIndex = 2; //0.全部 1.今天 2.昨天 3.一个月内
// repeated HallGameType GameType = 3; //游戏类型
// int32 PageNo = 4; //当前页
// }
//
// /投注记录
type BetCoinRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1426,7 +1428,7 @@ func (x *BetCoinRecord) GetReceivedCoin() int64 {
return 0
}
//PACKET_SC_BETCOINRECORD
// PACKET_SC_BETCOINRECORD
type SCBetCoinRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1498,8 +1500,8 @@ func (x *SCBetCoinRecord) GetPageNum() int32 {
return 0
}
//请求账户明细
//PACKET_CS_COINDETAILED
// 请求账户明细
// PACKET_CS_COINDETAILED
type CSCoinDetailed struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1564,7 +1566,7 @@ func (x *CSCoinDetailed) GetPageNo() int32 {
return 0
}
///账户明细
// /账户明细
type CoinDetailed struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1644,7 +1646,7 @@ func (x *CoinDetailed) GetCoin() int64 {
return 0
}
//PACKET_SC_COINDETAILEDTOTAL
// PACKET_SC_COINDETAILEDTOTAL
type SCCoinDetailedTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1716,8 +1718,8 @@ func (x *SCCoinDetailedTotal) GetPageNum() int32 {
return 0
}
//明细统计
//PACKET_SC_COINTOTAL
// 明细统计
// PACKET_SC_COINTOTAL
type SCCoinTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1805,8 +1807,8 @@ func (x *SCCoinTotal) GetTransactionType() []int32 {
return nil
}
//请求个人报表
//PACKET_CS_REPORTFORM
// 请求个人报表
// PACKET_CS_REPORTFORM
type CSReportForm struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1862,8 +1864,8 @@ func (x *CSReportForm) GetTimeIndex() int64 {
return 0
}
///个人报表
//PACKET_SC_REPORTFORM
// /个人报表
// PACKET_SC_REPORTFORM
type SCReportForm struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1935,8 +1937,8 @@ func (x *SCReportForm) GetFlowCoin() int64 {
return 0
}
//历史洗码记录
//PACKET_CS_HISTORYRECORD
// 历史洗码记录
// PACKET_CS_HISTORYRECORD
type CSHistoryRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2055,7 +2057,7 @@ func (x *HistoryRecord) GetReceiveType() int32 {
return 0
}
//PACKET_SC_HISTORYRECORD
// PACKET_SC_HISTORYRECORD
type SCHistoryRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2127,8 +2129,8 @@ func (x *SCHistoryRecord) GetPageNum() int32 {
return 0
}
//领取洗码金额
//PACKET_CS_RECEIVECODECOIN
// 领取洗码金额
// PACKET_CS_RECEIVECODECOIN
type CSReceiveCodeCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2167,7 +2169,7 @@ func (*CSReceiveCodeCoin) Descriptor() ([]byte, []int) {
return file_hallpacket_proto_rawDescGZIP(), []int{27}
}
//PACKET_SC_RECEIVECODECOIN
// PACKET_SC_RECEIVECODECOIN
type SCReceiveCodeCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2223,7 +2225,7 @@ func (x *SCReceiveCodeCoin) GetCoin() int64 {
return 0
}
//PACKET_CS_GETRANKINFO
// PACKET_CS_GETRANKINFO
type CSGetRankInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2279,7 +2281,7 @@ func (x *CSGetRankInfo) GetGameFreeId() int32 {
return 0
}
//PACKET_SC_GETRANKINFO
// PACKET_SC_GETRANKINFO
type RankInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2835,8 +2837,10 @@ var file_hallpacket_proto_rawDesc = []byte{
0x0a, 0x04, 0x53, 0x68, 0x6f, 0x70, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65,
0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x65, 0x74, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x57,
0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x6b,
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x05, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x67, 0x61,
0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x05, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x68, 0x61,
0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package gamehall;
option go_package = ".;gamehall";
option go_package = "mongo.games.com/game/protocol/gamehall";
//
enum OpResultCode_Hall {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode_Hundred int32
const (
@ -91,7 +91,7 @@ func (OpResultCode_Hundred) EnumDescriptor() ([]byte, []int) {
return file_hundredscene_proto_rawDescGZIP(), []int{0}
}
//百人场操作消息id 2380-2399
// 百人场操作消息id 2380-2399
type HundredScenePacketID int32
const (
@ -165,7 +165,7 @@ func (HundredScenePacketID) EnumDescriptor() ([]byte, []int) {
return file_hundredscene_proto_rawDescGZIP(), []int{1}
}
//玩家进入房间
// 玩家进入房间
type CSHundredSceneOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -348,7 +348,7 @@ func (x *SCHundredSceneOp) GetLatestResVer() int32 {
return 0
}
//获取场次人数
// 获取场次人数
type CSHundredSceneGetPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -404,7 +404,7 @@ func (x *CSHundredSceneGetPlayerNum) GetGameModel() int32 {
return 0
}
//PACKET_SC_HUNDREDSCENE_GETPLAYERNUM
// PACKET_SC_HUNDREDSCENE_GETPLAYERNUM
type SCHundredSceneGetPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -452,7 +452,7 @@ func (x *SCHundredSceneGetPlayerNum) GetNums() []int32 {
return nil
}
//PACKET_CS_GAMEJACKPOT
// PACKET_CS_GAMEJACKPOT
type CSHundredSceneGetGameJackpot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -546,7 +546,7 @@ func (x *GameJackpotFundInfo) GetJackPotFund() int64 {
return 0
}
//PACKET_SC_GAMEJACKPOT
// PACKET_SC_GAMEJACKPOT
type SCHundredSceneGetGameJackpot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -594,7 +594,7 @@ func (x *SCHundredSceneGetGameJackpot) GetGameJackpotFund() []*GameJackpotFundIn
return nil
}
//奖池 PACKET_BD_GAMEJACKPOT
// 奖池 PACKET_BD_GAMEJACKPOT
type BroadcastGameJackpot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -650,8 +650,8 @@ func (x *BroadcastGameJackpot) GetGameFreeId() int32 {
return 0
}
//获取历史记录及爆奖记录
//PACKET_CS_GAMEHISTORYINFO
// 获取历史记录及爆奖记录
// PACKET_CS_GAMEHISTORYINFO
type CSHundredSceneGetHistoryInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1259,8 +1259,10 @@ var file_hundredscene_proto_rawDesc = []byte{
0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x42, 0x49, 0x47, 0x57, 0x49, 0x4e,
0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0xd4, 0x12, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x42, 0x44, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x4a, 0x41, 0x43, 0x4b,
0x50, 0x4f, 0x54, 0x10, 0xd5, 0x12, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x67, 0x61, 0x6d, 0x65,
0x68, 0x61, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x50, 0x4f, 0x54, 0x10, 0xd5, 0x12, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e,
0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x68, 0x61, 0x6c, 0x6c,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package gamehall;
option go_package = ".;gamehall";
option go_package = "mongo.games.com/game/protocol/gamehall";
//
enum OpResultCode_Hundred {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//鱼虾蟹
// 鱼虾蟹
type HundredYXXPacketID int32
const (
@ -100,7 +100,7 @@ func (HundredYXXPacketID) EnumDescriptor() ([]byte, []int) {
return file_hundredyxx_proto_rawDescGZIP(), []int{0}
}
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -327,8 +327,8 @@ func (x *HundredYXXPlayerData) GetNiceId() int32 {
return 0
}
//玩家下注|座位上的玩家下注
//PACKET_SC_HYXX_BET
// 玩家下注|座位上的玩家下注
// PACKET_SC_HYXX_BET
type SCHundredYXXBet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -416,8 +416,8 @@ func (x *SCHundredYXXBet) GetCoin() int64 {
return 0
}
//同步筹码暂定1秒1次
//PACKET_SC_HYXX_SYNCCHIP
// 同步筹码暂定1秒1次
// PACKET_SC_HYXX_SYNCCHIP
type SCHundredYXXSyncChip struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -465,7 +465,8 @@ func (x *SCHundredYXXSyncChip) GetChipTotal() []int64 {
return nil
}
//牌型信息
// 牌型信息
//
// CardsKind_Normal = 0 //单子
// CardsKind_Double = 1 //对子
// CardsKind_ThreeSort = 2 //顺子
@ -559,7 +560,7 @@ func (x *HundredYXXCardsInfo) GetCards() []int32 {
return nil
}
//房间信息 PACKET_SC_HYXX_ROOMINFO
// 房间信息 PACKET_SC_HYXX_ROOMINFO
type SCHundredYXXRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -799,7 +800,7 @@ func (x *SCHundredYXXRoomInfo) GetMyPreChipData() []int64 {
return nil
}
//座位位置 PACKET_SC_HYXX_SEATS
// 座位位置 PACKET_SC_HYXX_SEATS
type SCHundredYXXSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -863,7 +864,7 @@ func (x *SCHundredYXXSeats) GetData() []*HundredYXXPlayerData {
return nil
}
//上庄列表 PACKET_SC_HYXX_UPLIST
// 上庄列表 PACKET_SC_HYXX_UPLIST
type SCHundredYXXUpList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -927,7 +928,7 @@ func (x *SCHundredYXXUpList) GetData() []*HundredYXXPlayerData {
return nil
}
//走势图 PACKET_SC_HYXX_TREND
// 走势图 PACKET_SC_HYXX_TREND
type SCHundredYXXTrend struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -975,7 +976,8 @@ func (x *SCHundredYXXTrend) GetData() []int32 {
return nil
}
//玩家操作 PACKET_CS_HYXX_PLAYEROP
// 玩家操作 PACKET_CS_HYXX_PLAYEROP
//
// HundredYXXPlayerOpBet = 0 //下注
// HundredYXXPlayerOpUpBanker = 1 //上庄
// HundredYXXPlayerOpDwonBanker = 2 //下庄
@ -1038,7 +1040,7 @@ func (x *CSHundredYXXOp) GetParams() []int64 {
return nil
}
//玩家操作返回 PACKET_SC_HYXX_PLAYEROP
// 玩家操作返回 PACKET_SC_HYXX_PLAYEROP
type SCHundredYXXOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1110,7 +1112,7 @@ func (x *SCHundredYXXOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//房间状态 PACKET_SC_HYXX_ROOMSTATE
// 房间状态 PACKET_SC_HYXX_ROOMSTATE
type SCHundredYXXRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1174,7 +1176,7 @@ func (x *SCHundredYXXRoomState) GetParams() []int64 {
return nil
}
//玩家列表 PACKET_SC_HYXX_PLAYERLIST
// 玩家列表 PACKET_SC_HYXX_PLAYERLIST
type SCHundredYXXPlayerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1230,7 +1232,7 @@ func (x *SCHundredYXXPlayerList) GetData() []*HundredYXXPlayerData {
return nil
}
//发牌每个位置的牌信息 PACKET_SC_HYXX_OPENDICE
// 发牌每个位置的牌信息 PACKET_SC_HYXX_OPENDICE
type SCHundredYXXOpenDice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1278,7 +1280,7 @@ func (x *SCHundredYXXOpenDice) GetDicePoints() []int32 {
return nil
}
//玩家区域内的输赢
// 玩家区域内的输赢
type HundredYXXWinLost struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1342,7 +1344,7 @@ func (x *HundredYXXWinLost) GetWinCoin() int64 {
return 0
}
//下注区域输赢情况
// 下注区域输赢情况
type HundredYXXBetField struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1406,7 +1408,7 @@ func (x *HundredYXXBetField) GetPalyerData() []*HundredYXXWinLost {
return nil
}
//大赢家
// 大赢家
type HundredYXXBigWinner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1589,7 +1591,7 @@ func (x *HundredYXXPlayerFinalWinLost) GetCoin() int64 {
return 0
}
//结算 PACKET_SC_HYXX_GAMEBILLED
// 结算 PACKET_SC_HYXX_GAMEBILLED
type SCHundredYXXGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1928,8 +1930,10 @@ var file_hundredyxx_proto_rawDesc = []byte{
0x61, 0x6e, 0x6b, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x42, 0x65, 0x74, 0x10, 0xe2,
0x36, 0x12, 0x22, 0x0a, 0x1d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x48, 0x75, 0x6e, 0x64, 0x72, 0x65,
0x64, 0x5f, 0x53, 0x65, 0x6c, 0x66, 0x42, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61,
0x74, 0x65, 0x10, 0xe3, 0x36, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x3b, 0x68, 0x75, 0x6e, 0x64, 0x72,
0x65, 0x64, 0x79, 0x78, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x65, 0x10, 0xe3, 0x36, 0x42, 0x2a, 0x5a, 0x28, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67,
0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x75, 0x6e, 0x64, 0x72, 0x65, 0x64, 0x79, 0x78,
0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package hundredyxx;
option go_package = ".;hundredyxx";
option go_package = "mongo.games.com/game/protocol/hundredyxx";
//
enum HundredYXXPacketID{

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -70,7 +70,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_iceage_proto_rawDescGZIP(), []int{0}
}
//冰河世纪
// 冰河世纪
type IceAgePacketID int32
const (
@ -238,7 +238,7 @@ func (x *IceAgePlayerData) GetParams() []string {
return nil
}
//房间信息
// 房间信息
type SCIceAgeRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -406,7 +406,7 @@ func (x *SCIceAgeRoomInfo) GetBilledData() *GameBilledData {
return nil
}
//玩家操作
// 玩家操作
type CSIceAgeOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -462,7 +462,7 @@ func (x *CSIceAgeOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCIceAgeOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -534,7 +534,7 @@ func (x *SCIceAgeOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type IceAgeLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -646,7 +646,7 @@ func (x *IceAgeLinesInfo) GetRoleID() int32 {
return 0
}
//图标数据
// 图标数据
type IceAgeCards struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -829,7 +829,7 @@ func (x *GameBilledData) GetResponseStatus() int64 {
return 0
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCIceAgeGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1133,7 +1133,7 @@ func (x *SCIceAgeBurstHistoryInfo) GetBurstLog() []*IceAgeBurstHistoryInfo {
return nil
}
//房间状态
// 房间状态
type SCIceAgeRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1354,8 +1354,10 @@ var file_iceage_proto_rawDesc = []byte{
0x41, 0x47, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52,
0x59, 0x10, 0x8b, 0x2b, 0x12, 0x22, 0x0a, 0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x5f, 0x49, 0x43, 0x45, 0x41, 0x47, 0x45, 0x5f, 0x42, 0x55, 0x52, 0x53, 0x54, 0x48, 0x49,
0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x8c, 0x2b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x69, 0x63,
0x65, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x8c, 0x2b, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package iceage;
option go_package = ".;iceage";
option go_package = "mongo.games.com/game/protocol/iceage";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,7 +67,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_islandsurvival_proto_rawDescGZIP(), []int{0}
}
//绝地求生 4800-4899
// 绝地求生 4800-4899
type IslandSurvivalPacketID int32
const (
@ -290,7 +290,7 @@ func (x *IslandSurvivalPlayerData) GetDeadline() int32 {
return 0
}
//房间信息
// 房间信息
type SCIslandSurvivalRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -482,9 +482,9 @@ func (x *SCIslandSurvivalRoomInfo) GetGameFreeId() int32 {
return 0
}
//玩家操作
//IslandSurvivalPlayerOpStart 0 游戏
//IslandSurvivalPlayerOpSmallGame 1 选择吃鸡
// 玩家操作
// IslandSurvivalPlayerOpStart 0 游戏
// IslandSurvivalPlayerOpSmallGame 1 选择吃鸡
type CSIslandSurvivalOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -540,7 +540,7 @@ func (x *CSIslandSurvivalOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCIslandSurvivalOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -612,7 +612,7 @@ func (x *SCIslandSurvivalOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type IslandSurvivalLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -676,7 +676,7 @@ func (x *IslandSurvivalLinesInfo) GetWinItem() int32 {
return 0
}
//发送给客户端的数据
// 发送给客户端的数据
type SCIslandSurvivalGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -912,9 +912,10 @@ var file_islandsurvival_proto_rawDesc = []byte{
0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xc2, 0x25, 0x12, 0x28, 0x0a, 0x23,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x49, 0x53, 0x4c, 0x41, 0x4e, 0x44,
0x53, 0x55, 0x52, 0x56, 0x49, 0x56, 0x41, 0x4c, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x42, 0x49, 0x4c,
0x4c, 0x45, 0x44, 0x10, 0xc3, 0x25, 0x42, 0x12, 0x5a, 0x10, 0x2e, 0x3b, 0x69, 0x73, 0x6c, 0x61,
0x6e, 0x64, 0x73, 0x75, 0x72, 0x76, 0x69, 0x76, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
0x4c, 0x45, 0x44, 0x10, 0xc3, 0x25, 0x42, 0x2e, 0x5a, 0x2c, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e,
0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x73, 0x75,
0x72, 0x76, 0x69, 0x76, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package islandsurvival;
option go_package = ".;islandsurvival";
option go_package = "mongo.games.com/game/protocol/islandsurvival";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//gate消息id
// gate消息id
type GatePacketID int32
const (
@ -88,7 +88,7 @@ func (GatePacketID) EnumDescriptor() ([]byte, []int) {
return file_gate_proto_rawDescGZIP(), []int{0}
}
//PACKET_CS_PING
// PACKET_CS_PING
type CSPing struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -136,7 +136,7 @@ func (x *CSPing) GetTimeStamp() int64 {
return 0
}
//PACKET_SC_PONG
// PACKET_SC_PONG
type SCPong struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -184,7 +184,7 @@ func (x *SCPong) GetTimeStamp() int64 {
return 0
}
//PACKET_CS_BINDBUNDLE
// PACKET_CS_BINDBUNDLE
type CSBindBundle struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -232,7 +232,7 @@ func (x *CSBindBundle) GetBundleKey() string {
return ""
}
//PACKET_SC_BINDBUNDLE
// PACKET_SC_BINDBUNDLE
type SCBindBundle struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -296,7 +296,7 @@ func (x *SCBindBundle) GetSrvId() int32 {
return 0
}
//PACKET_CS_LOGICACK
// PACKET_CS_LOGICACK
type CSLogicAck struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -344,7 +344,7 @@ func (x *CSLogicAck) GetLogicNo() uint32 {
return 0
}
//PACKET_CS_AUTH
// PACKET_CS_AUTH
type SSPacketAuth struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -400,7 +400,7 @@ func (x *SSPacketAuth) GetTimestamp() int64 {
return 0
}
//PACKET_SC_AUTH
// PACKET_SC_AUTH
type SSPacketAuthAck struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -489,9 +489,10 @@ var file_gate_proto_rawDesc = []byte{
0x44, 0x42, 0x55, 0x4e, 0x44, 0x4c, 0x45, 0x10, 0xd4, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x42, 0x55, 0x4e, 0x44,
0x4c, 0x45, 0x10, 0xd5, 0x0f, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
0x43, 0x53, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x43, 0x41, 0x43, 0x4b, 0x10, 0xd6, 0x0f, 0x42, 0x09,
0x5a, 0x07, 0x2e, 0x3b, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
0x43, 0x53, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x43, 0x41, 0x43, 0x4b, 0x10, 0xd6, 0x0f, 0x42, 0x25,
0x5a, 0x23, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package login;
option go_package = ".;login";
option go_package = "mongo.games.com/game/protocol/login";
//gate消息id
enum GatePacketID {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -118,7 +118,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_login_proto_rawDescGZIP(), []int{0}
}
//登陆模块消息id
// 登陆模块消息id
type LoginPacketID int32
const (
@ -295,7 +295,7 @@ func (SSDisconnectTypeCode) EnumDescriptor() ([]byte, []int) {
return file_login_proto_rawDescGZIP(), []int{2}
}
//PACKET_CS_LOGIN
// PACKET_CS_LOGIN
type CSLogin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -519,7 +519,7 @@ func (x *CSLogin) GetCode() string {
return ""
}
//游戏版本号
// 游戏版本号
type GameVer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -599,7 +599,7 @@ func (x *GameVer) GetLatestResVer() int32 {
return 0
}
//游戏配置
// 游戏配置
type GameConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -980,7 +980,7 @@ func (x *LoginThrGameConfig) GetLimitCoin() int64 {
return 0
}
//PACKET_SC_GAMECONFIG
// PACKET_SC_GAMECONFIG
type SCGameConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1028,7 +1028,7 @@ func (x *SCGameConfig) GetGameCfg() []*GameConfig {
return nil
}
//PACKET_SC_LOGIN
// PACKET_SC_LOGIN
type SCLogin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1204,7 +1204,7 @@ func (x *SCLogin) GetClientParam() string {
return ""
}
//公告参数
// 公告参数
type Bulletion struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1284,8 +1284,8 @@ func (x *Bulletion) GetSort() int32 {
return 0
}
//公告列表
//PACKET_SC_BULLETIONINFO
// 公告列表
// PACKET_SC_BULLETIONINFO
type SCBulletionInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1341,8 +1341,8 @@ func (x *SCBulletionInfo) GetBulletionList() []*Bulletion {
return nil
}
//请求公告
//PACKET_CS_BULLETIONINFO
// 请求公告
// PACKET_CS_BULLETIONINFO
type CSBulletionInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1390,7 +1390,7 @@ func (x *CSBulletionInfo) GetPlatformTag() string {
return ""
}
//招商信息
// 招商信息
type Customer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1478,8 +1478,8 @@ func (x *Customer) GetQqAccount() string {
return ""
}
//招商列表
//PACKET_SC_CUSTOMERINFOLIST
// 招商列表
// PACKET_SC_CUSTOMERINFOLIST
type SCCustomerInfoList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1527,8 +1527,8 @@ func (x *SCCustomerInfoList) GetCustomerList() []*Customer {
return nil
}
//请求招商列表
//PACKET_CS_CUSTOMERINFOLIST
// 请求招商列表
// PACKET_CS_CUSTOMERINFOLIST
type CSCustomerInfoList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1567,7 +1567,7 @@ func (*CSCustomerInfoList) Descriptor() ([]byte, []int) {
return file_login_proto_rawDescGZIP(), []int{13}
}
//PACKET_CS_LOGOUT
// PACKET_CS_LOGOUT
type CSLogout struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1781,7 +1781,7 @@ func (x *SCCustomService) GetCustomType() int32 {
return 0
}
//PACKET_SS_DICONNECT
// PACKET_SS_DICONNECT
type SSDisconnect struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1837,7 +1837,7 @@ func (x *SSDisconnect) GetType() int32 {
return 0
}
//PACKET_CS_PLATFORMCFG
// PACKET_CS_PLATFORMCFG
type CSPlatFormConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2059,7 +2059,7 @@ func (x *ClubCfg) GetGiveCoinRate() []int64 {
return nil
}
//PACKET_CS_PLATFORMCFG
// PACKET_CS_PLATFORMCFG
type SCPlatFormConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2486,7 +2486,7 @@ func (x *SCRegisterVerifyType) GetVerifyType() int32 {
return 0
}
//后台的参数变化同步到前端,为啥没用roominfo因为添加了选场选场的时候还没有进room
// 后台的参数变化同步到前端,为啥没用roominfo因为添加了选场选场的时候还没有进room
type SCSyncGameFree struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2534,7 +2534,7 @@ func (x *SCSyncGameFree) GetData() []*GameConfig {
return nil
}
//PACKET_SC_ACTSWITCHCFG
// PACKET_SC_ACTSWITCHCFG
type SCActSwitchCfg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2582,7 +2582,7 @@ func (x *SCActSwitchCfg) GetActSwitchCfg() []int32 {
return nil
}
//PACKET_CS_GETTHRGAMECFG 请求三方游戏配置
// PACKET_CS_GETTHRGAMECFG 请求三方游戏配置
type CSGetThrGameCfg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2638,7 +2638,7 @@ func (x *CSGetThrGameCfg) GetChannel() string {
return ""
}
//PACKET_SC_GETTHRGAMECFG
// PACKET_SC_GETTHRGAMECFG
type SCGetThrGameCfg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2686,7 +2686,7 @@ func (x *SCGetThrGameCfg) GetThrGameCfg() []*LoginThrGameConfig {
return nil
}
//失效的机器人账号
// 失效的机器人账号
type CSAccountInvalid struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3149,8 +3149,10 @@ var file_login_proto_rawDesc = []byte{
0x5f, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x4c, 0x6f, 0x77, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10,
0x53, 0x53, 0x44, 0x54, 0x43, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x4c, 0x6f, 0x77,
0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x53, 0x44, 0x54, 0x43, 0x5f, 0x42, 0x6c, 0x61, 0x63,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x10, 0x07, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x6c, 0x6f, 0x67,
0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x10, 0x07, 0x42, 0x25, 0x5a, 0x23, 0x6d, 0x6f, 0x6e, 0x67, 0x6f,
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package login;
option go_package = ".;login";
option go_package = "mongo.games.com/game/protocol/login";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//幸运骰子
// 幸运骰子
type LuckyDicePacketID int32
const (
@ -91,7 +91,7 @@ func (LuckyDicePacketID) EnumDescriptor() ([]byte, []int) {
return file_luckydice_proto_rawDescGZIP(), []int{0}
}
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -323,7 +323,7 @@ func (x *LuckyDiceRoundSimpleInfo) GetRoundId() int32 {
return 0
}
//房间信息
// 房间信息
type SCLuckyDiceRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -483,7 +483,7 @@ func (x *SCLuckyDiceRoomInfo) GetGameFreeId() int32 {
return 0
}
//玩家操作
// 玩家操作
type CSLuckyDiceOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -539,7 +539,7 @@ func (x *CSLuckyDiceOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCLuckyDiceOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -611,7 +611,7 @@ func (x *SCLuckyDiceOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//投注变化
// 投注变化
type SCLuckyDiceBetChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -667,7 +667,7 @@ func (x *SCLuckyDiceBetChange) GetTotalPlayer() []int32 {
return nil
}
//发送给客户端的数据 结算
// 发送给客户端的数据 结算
type SCLuckyDiceGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1226,7 +1226,7 @@ func (x *SCLuckyDiceWinRank) GetWinRank() []*LuckyDiceWinRankInfo {
return nil
}
//房间状态
// 房间状态
type SCLuckyDiceRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1461,8 +1461,10 @@ var file_luckydice_proto_rawDesc = []byte{
0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x52,
0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x52,
0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10,
0x02, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x3b, 0x6c, 0x75, 0x63, 0x6b, 0x79, 0x64, 0x69, 0x63, 0x65,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x02, 0x42, 0x29, 0x5a, 0x27, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x6c, 0x75, 0x63, 0x6b, 0x79, 0x64, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package luckydice;
option go_package = ".;luckydice";
option go_package = "mongo.games.com/game/protocol/luckydice";
//
enum LuckyDicePacketID {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,7 +67,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_message_proto_rawDescGZIP(), []int{0}
}
//聊天消息id
// 聊天消息id
type MSGPacketID int32
const (
@ -196,7 +196,7 @@ func (x *NoticeParam) GetStrParam() string {
return ""
}
//PACKET_SC_NOTICE
// PACKET_SC_NOTICE
type SCNotice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -459,7 +459,7 @@ func (x *MessageData) GetSrcName() string {
return ""
}
//PACKET_SC_MESSAGELIST
// PACKET_SC_MESSAGELIST
type SCMessageList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -507,7 +507,7 @@ func (x *SCMessageList) GetMsgs() []*MessageData {
return nil
}
//PACKET_SC_MESSAGEADD
// PACKET_SC_MESSAGEADD
type SCMessageAdd struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -555,7 +555,7 @@ func (x *SCMessageAdd) GetMsg() *MessageData {
return nil
}
//PACKET_CS_MESSAGEREAD
// PACKET_CS_MESSAGEREAD
type CSMessageRead struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -603,7 +603,7 @@ func (x *CSMessageRead) GetId() string {
return ""
}
//PACKET_SC_MESSAGEREAD
// PACKET_SC_MESSAGEREAD
type SCMessageRead struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -651,7 +651,7 @@ func (x *SCMessageRead) GetId() string {
return ""
}
//PACKET_CS_MESSAGEDEL
// PACKET_CS_MESSAGEDEL
type CSMessageDel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -699,7 +699,7 @@ func (x *CSMessageDel) GetId() string {
return ""
}
//PACKET_SC_MESSAGEDEL
// PACKET_SC_MESSAGEDEL
type SCMessageDel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -747,7 +747,7 @@ func (x *SCMessageDel) GetId() string {
return ""
}
//PACKET_CS_GETMESSAGEATTACH
// PACKET_CS_GETMESSAGEATTACH
type CSGetMessageAttach struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -795,7 +795,7 @@ func (x *CSGetMessageAttach) GetId() string {
return ""
}
//PACKET_SC_GETMESSAGEATTACH
// PACKET_SC_GETMESSAGEATTACH
type SCGetMessageAttach struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -938,7 +938,7 @@ func (x *ClubMessage) GetTs() int64 {
return 0
}
//PACKET_CS_CLUBMSG
// PACKET_CS_CLUBMSG
type CSClubMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1002,7 +1002,7 @@ func (x *CSClubMsg) GetContent() string {
return ""
}
//PACKET_SC_CLUBMSG
// PACKET_SC_CLUBMSG
type SCClubMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1074,7 +1074,7 @@ func (x *SCClubMsg) GetClubMsg() *ClubMessage {
return nil
}
//PACKET_CS_CLUBMSGSTATE
// PACKET_CS_CLUBMSGSTATE
type CSClubMsgState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1130,7 +1130,7 @@ func (x *CSClubMsgState) GetDisable() bool {
return false
}
//PACKET_SC_CLUBMSGSTATE
// PACKET_SC_CLUBMSGSTATE
type SCClubMsgState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1186,7 +1186,7 @@ func (x *SCClubMsgState) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//PACKET_CS_CLUBMSHISTORY
// PACKET_CS_CLUBMSHISTORY
type CSClubMsgHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1234,7 +1234,7 @@ func (x *CSClubMsgHistory) GetClubId() int32 {
return 0
}
//PACKET_SC_CLUBMSHISTORY
// PACKET_SC_CLUBMSHISTORY
type SCClubMsgHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1290,7 +1290,7 @@ func (x *SCClubMsgHistory) GetClubMsg() []*ClubMessage {
return nil
}
//PACKET_CS_MESSAGELIST
// PACKET_CS_MESSAGELIST
type CSMessageList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1478,8 +1478,10 @@ var file_message_proto_rawDesc = []byte{
0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43,
0x45, 0x10, 0x86, 0x13, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x87, 0x13,
0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
0x42, 0x27, 0x5a, 0x25, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package message;
option go_package = ".;message";
option go_package = "mongo.games.com/game/protocol/message";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//人物和宠物
// 人物和宠物
type PetsPacketID int32
const (
@ -97,7 +97,7 @@ func (PetsPacketID) EnumDescriptor() ([]byte, []int) {
return file_pets_proto_rawDescGZIP(), []int{0}
}
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -144,7 +144,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_pets_proto_rawDescGZIP(), []int{1}
}
//人物信息
// 人物信息
type RoleInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -321,7 +321,7 @@ func (x *RoleInfo) GetIsUnlock() bool {
return false
}
//PACKET_CS_ROLE_INFO
// PACKET_CS_ROLE_INFO
type CSRoleInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -360,7 +360,7 @@ func (*CSRoleInfo) Descriptor() ([]byte, []int) {
return file_pets_proto_rawDescGZIP(), []int{1}
}
//PACKET_SC_ROLE_INFO
// PACKET_SC_ROLE_INFO
type SCRoleInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -408,7 +408,7 @@ func (x *SCRoleInfo) GetInfos() []*RoleInfo {
return nil
}
//宠物信息
// 宠物信息
type PetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -585,7 +585,7 @@ func (x *PetInfo) GetIsUnlock() bool {
return false
}
//PACKET_CS_PET_INFO
// PACKET_CS_PET_INFO
type CSPetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -624,7 +624,7 @@ func (*CSPetInfo) Descriptor() ([]byte, []int) {
return file_pets_proto_rawDescGZIP(), []int{4}
}
//PACKET_SC_PET_INFO
// PACKET_SC_PET_INFO
type SCPetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -672,7 +672,7 @@ func (x *SCPetInfo) GetInfos() []*PetInfo {
return nil
}
//PACKET_CS_PET_RISINGSTAR
// PACKET_CS_PET_RISINGSTAR
type CSRisingStar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -728,7 +728,7 @@ func (x *CSRisingStar) GetRisingModId() int32 {
return 0
}
//PACKET_SC_ROLE_RISINGSTAR
// PACKET_SC_ROLE_RISINGSTAR
type SCRoleRisingStar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -784,7 +784,7 @@ func (x *SCRoleRisingStar) GetRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//PACKET_SC_PET_RISINGSTAR
// PACKET_SC_PET_RISINGSTAR
type SCPetRisingStar struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -840,7 +840,7 @@ func (x *SCPetRisingStar) GetRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//PACKET_CS_ROLEPETUSEOP
// PACKET_CS_ROLEPETUSEOP
type CSRolePetUseOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -896,7 +896,7 @@ func (x *CSRolePetUseOp) GetUseModId() int32 {
return 0
}
//PACKET_CS_ROLEPETUSEOP
// PACKET_CS_ROLEPETUSEOP
type SCRolePetUseOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -960,7 +960,7 @@ func (x *SCRolePetUseOp) GetRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//PACKET_CS_ROLEPETUNLOCK
// PACKET_CS_ROLEPETUNLOCK
type CSRolePetUnlock struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1016,7 +1016,7 @@ func (x *CSRolePetUnlock) GetUseModId() int32 {
return 0
}
//PACKET_SC_ROLEPETUNLOCK
// PACKET_SC_ROLEPETUNLOCK
type SCRolePetUnlock struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1238,8 +1238,10 @@ var file_pets_proto_rawDesc = []byte{
0x54, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x80, 0x14, 0x2a, 0x2f, 0x0a, 0x0c, 0x4f, 0x70,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50,
0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f,
0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x42, 0x08, 0x5a, 0x06, 0x2e,
0x3b, 0x70, 0x65, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x42, 0x24, 0x5a, 0x22, 0x6d,
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x65, 0x74,
0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package pets;
option go_package = ".;pets";
option go_package = "mongo.games.com/game/protocol/pets";
//
enum PetsPacketID {

View File

@ -10439,8 +10439,10 @@ var file_player_proto_rawDesc = []byte{
0x6e, 0x65, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x84,
0x16, 0x12, 0x11, 0x0a, 0x0c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x41, 0x44,
0x56, 0x10, 0x85, 0x16, 0x12, 0x11, 0x0a, 0x0c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x41, 0x44, 0x56, 0x10, 0x86, 0x16, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x70, 0x6c, 0x61,
0x79, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x43, 0x41, 0x44, 0x56, 0x10, 0x86, 0x16, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f,
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package player;
option go_package = ".;player";
option go_package = "mongo.games.com/game/protocol/player";
//
enum OpResultCode {

View File

@ -9,7 +9,6 @@ package qpapi
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
@ -21,10 +20,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Symbols defined in public import of google/protobuf/timestamp.proto.
type Timestamp = timestamppb.Timestamp
// 错误码定义
type TagCode int32
@ -971,125 +966,125 @@ var File_qpapi_proto protoreflect.FileDescriptor
var file_qpapi_proto_rawDesc = []byte{
0x0a, 0x0b, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x71,
0x70, 0x61, 0x70, 0x69, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x07, 0x41, 0x53, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54,
0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e,
0x0a, 0x02, 0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x12,
0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69,
0x67, 0x6e, 0x22, 0x67, 0x0a, 0x07, 0x53, 0x41, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x20, 0x0a,
0x03, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61,
0x70, 0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12,
0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73,
0x67, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18,
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x0d,
0x41, 0x53, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a,
0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x47, 0x6f, 0x6c,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a,
0x06, 0x42, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42,
0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
0x74, 0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63,
0x68, 0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x05, 0x20,
0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18,
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x43, 0x0a, 0x0d, 0x53,
0x41, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x03,
0x70, 0x61, 0x70, 0x69, 0x22, 0x6b, 0x0a, 0x07, 0x41, 0x53, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54, 0x61,
0x67, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a,
0x02, 0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x12, 0x0a,
0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x67,
0x6e, 0x22, 0x67, 0x0a, 0x07, 0x53, 0x41, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x03,
0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61, 0x70,
0x69, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10,
0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67,
0x22, 0x54, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44, 0x61,
0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12,
0x0a, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x47, 0x6f,
0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
0x52, 0x04, 0x42, 0x61, 0x6e, 0x6b, 0x22, 0x70, 0x0a, 0x0c, 0x41, 0x53, 0x4d, 0x65, 0x6d, 0x62,
0x65, 0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54, 0x61,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
0x74, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
0x52, 0x02, 0x54, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x6d, 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x65,
0x6d, 0x62, 0x65, 0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x20, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18,
0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x69, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x0d, 0x41,
0x53, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x47, 0x6f, 0x6c, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06,
0x42, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x42, 0x69,
0x6c, 0x6c, 0x4e, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68,
0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x43, 0x0a, 0x0d, 0x53, 0x41,
0x41, 0x64, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x03, 0x54,
0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69,
0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a,
0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x22,
0x54, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44, 0x61, 0x74,
0x61, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x47, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x47, 0x6f, 0x6c,
0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
0x04, 0x42, 0x61, 0x6e, 0x6b, 0x22, 0x70, 0x0a, 0x0c, 0x41, 0x53, 0x4d, 0x65, 0x6d, 0x62, 0x65,
0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x54, 0x61, 0x67,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
0x02, 0x54, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x22, 0x6d, 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x65, 0x6d,
0x62, 0x65, 0x72, 0x47, 0x6f, 0x6c, 0x64, 0x12, 0x20, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x67,
0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x29, 0x0a, 0x04, 0x44,
0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x71, 0x70, 0x61, 0x70,
0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x47, 0x61, 0x6d, 0x65, 0x48,
0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61,
0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x47, 0x61, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, 0xc5, 0x02, 0x0a,
0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e,
0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d,
0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x54, 0x6f, 0x74,
0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06,
0x49, 0x73, 0x46, 0x72, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73,
0x46, 0x72, 0x65, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6f, 0x6e,
0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x54,
0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a,
0x0a, 0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
0x52, 0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x6f,
0x67, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x64,
0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72,
0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x0f, 0x53, 0x41, 0x50, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61,
0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x29, 0x0a, 0x04,
0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x71, 0x70, 0x61,
0x70, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, 0x6e, 0x44, 0x61, 0x74,
0x61, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x47, 0x61, 0x6d, 0x65,
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x47,
0x61, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x47, 0x61, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73,
0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, 0xc5, 0x02,
0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x70, 0x69, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a,
0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63,
0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x54, 0x6f,
0x74, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a,
0x06, 0x49, 0x73, 0x46, 0x72, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49,
0x73, 0x46, 0x72, 0x65, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6f,
0x6e, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
0x1a, 0x0a, 0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
0x03, 0x52, 0x08, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c,
0x6f, 0x67, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x69,
0x64, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65,
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65,
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x0f, 0x53, 0x41, 0x50, 0x6c, 0x61, 0x79,
0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x03, 0x54, 0x61, 0x67,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x54,
0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x54, 0x61, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d,
0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a,
0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50,
0x61, 0x67, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x50, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x50,
0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x50, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x0b, 0x47,
0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73,
0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69,
0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x8b, 0x02, 0x0a, 0x0f, 0x41, 0x53, 0x50, 0x6c, 0x61, 0x79,
0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65,
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65,
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
0x74, 0x54, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63,
0x68, 0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x6d, 0x65, 0x48,
0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x10, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50,
0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67,
0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
0x0e, 0x0a, 0x02, 0x54, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12,
0x12, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53,
0x69, 0x67, 0x6e, 0x2a, 0x55, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b,
0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53,
0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x45, 0x52, 0x52,
0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x44, 0x41,
0x54, 0x41, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b,
0x71, 0x70, 0x61, 0x70, 0x69, 0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06,
0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61,
0x67, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
0x12, 0x18, 0x0a, 0x07, 0x50, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28,
0x05, 0x52, 0x07, 0x50, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x50, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x18, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x50, 0x6c, 0x61,
0x79, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x0b, 0x47, 0x61,
0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x16, 0x2e, 0x71, 0x70, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74,
0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73,
0x74, 0x6f, 0x72, 0x79, 0x22, 0x8b, 0x02, 0x0a, 0x0f, 0x41, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
0x54, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4d, 0x65, 0x72, 0x63, 0x68,
0x61, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69,
0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
0x52, 0x10, 0x47, 0x61, 0x6d, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x6f, 0x64,
0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x03, 0x52, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61,
0x67, 0x65, 0x4e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65,
0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x0e,
0x0a, 0x02, 0x54, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x54, 0x73, 0x12, 0x12,
0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x53, 0x69,
0x67, 0x6e, 0x2a, 0x55, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a,
0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55,
0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45,
0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f,
0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x44, 0x41, 0x54,
0x41, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x25, 0x5a, 0x23, 0x6d, 0x6f, 0x6e,
0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x71, 0x70, 0x61, 0x70, 0x69,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,7 +1,6 @@
syntax = "proto3";
package qpapi;
option go_package = ".;qpapi";
import public "google/protobuf/timestamp.proto";
option go_package = "mongo.games.com/game/protocol/qpapi";
//
enum TagCode {

View File

@ -1497,8 +1497,10 @@ var file_rank_proto_rawDesc = []byte{
0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x57, 0x65, 0x65, 0x6b, 0x10,
0x02, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f,
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x69, 0x74,
0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x4d, 0x61, 0x78, 0x10, 0x04, 0x42, 0x08, 0x5a, 0x06, 0x2e,
0x3b, 0x72, 0x61, 0x6e, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x4d, 0x61, 0x78, 0x10, 0x04, 0x42, 0x24, 0x5a, 0x22, 0x6d,
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x61, 0x6e,
0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package rank;
option go_package = ".;rank";
option go_package = "mongo.games.com/game/protocol/rank";
enum Rank{
PACKET_RANK_ZERO = 0;//

View File

@ -859,8 +859,10 @@ var file_rankmatch_proto_rawDesc = []byte{
0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x43, 0x53, 0x52,
0x4d, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xe4, 0x15, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43,
0x4b, 0x45, 0x54, 0x5f, 0x52, 0x4d, 0x5f, 0x53, 0x43, 0x52, 0x4d, 0x41, 0x77, 0x61, 0x72, 0x64,
0x10, 0xe5, 0x15, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x3b, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74,
0x63, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x10, 0xe5, 0x15, 0x42, 0x29, 0x5a, 0x27, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d,
0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x61, 0x6e, 0x6b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package rankmatch;
option go_package = ".;rankmatch";
option go_package = "mongo.games.com/game/protocol/rankmatch";
enum RankMatch{
PACKET_RM_ZERO = 0;//

View File

@ -20,8 +20,8 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//RichBlessed
//多财多福
// RichBlessed
// 多财多福
type RBPID int32
const (
@ -268,8 +268,8 @@ func (x *RichWinLine) GetWinScore() int64 {
return 0
}
//房间信息
//PACKET_RICHBLESSED_SCRBRoomInfo
// 房间信息
// PACKET_RICHBLESSED_SCRBRoomInfo
type SCRBRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -517,8 +517,8 @@ func (x *SCRBRoomInfo) GetWinFreeTimes() int32 {
return 0
}
//玩家操作
//PACKET_RICHBLESSED_CSRichBlessedOp
// 玩家操作
// PACKET_RICHBLESSED_CSRichBlessedOp
type CSRichBlessedOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -574,8 +574,8 @@ func (x *CSRichBlessedOp) GetParams() []int64 {
return nil
}
//玩家操作返回
//PACKET_RICHBLESSED_SCRichBlessedOp
// 玩家操作返回
// PACKET_RICHBLESSED_SCRichBlessedOp
type SCRichBlessedOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -639,8 +639,8 @@ func (x *SCRichBlessedOp) GetParams() []int64 {
return nil
}
//房间状态
//PACKET_RICHBLESSED_SCRBRoomState
// 房间状态
// PACKET_RICHBLESSED_SCRBRoomState
type SCRBRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -704,7 +704,7 @@ func (x *SCRBRoomState) GetParams() []int32 {
return nil
}
//PACKET_RICHBLESSED_SCRBPrize
// PACKET_RICHBLESSED_SCRBPrize
type SCRBPrize struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -752,7 +752,7 @@ func (x *SCRBPrize) GetPrizePool() int64 {
return 0
}
//PACKET_RICHBLESSED_SCRBBilled
// PACKET_RICHBLESSED_SCRBBilled
type SCRBBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1077,9 +1077,11 @@ var file_richblessed_proto_rawDesc = []byte{
0x43, 0x48, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x45, 0x44, 0x5f, 0x53, 0x43, 0x52, 0x42, 0x50, 0x72,
0x69, 0x7a, 0x65, 0x10, 0x81, 0x2b, 0x12, 0x26, 0x0a, 0x21, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x52, 0x49, 0x43, 0x48, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x45, 0x44, 0x5f, 0x53, 0x43, 0x52,
0x42, 0x4a, 0x41, 0x43, 0x4b, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0x82, 0x2b, 0x42, 0x0f,
0x5a, 0x0d, 0x2e, 0x3b, 0x72, 0x69, 0x63, 0x68, 0x62, 0x6c, 0x65, 0x73, 0x73, 0x65, 0x64, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x42, 0x4a, 0x41, 0x43, 0x4b, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0x82, 0x2b, 0x42, 0x2b,
0x5a, 0x29, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x72, 0x69, 0x63, 0x68, 0x62, 0x6c, 0x65, 0x73, 0x73, 0x65, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package richblessed;
option go_package = ".;richblessed";
option go_package = "mongo.games.com/game/protocol/richblessed";
//RichBlessed
//

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,8 +67,8 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_rollpoint_proto_rawDescGZIP(), []int{0}
}
//骰宝
//协议包ID
// 骰宝
// 协议包ID
type RPPACKETID int32
const (
@ -329,7 +329,7 @@ func (x *RollPointCoinLog) GetCoins() []int32 {
return nil
}
//玩家列表
// 玩家列表
type SCRollPointPlayerList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -385,7 +385,7 @@ func (x *SCRollPointPlayerList) GetPlayerNum() int32 {
return 0
}
//RollPoint_SC_ROOMINFO
// RollPoint_SC_ROOMINFO
type SCRollPointRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -521,7 +521,7 @@ func (x *SCRollPointRoomInfo) GetParams() []int32 {
return nil
}
//RollPoint_SC_PLAYERNUM
// RollPoint_SC_PLAYERNUM
type SCRollPointPlayerNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -569,12 +569,12 @@ func (x *SCRollPointPlayerNum) GetPlayerNum() int32 {
return 0
}
//RollPoint_SC_ROOMSTATE
//0.RollPointSceneStateWait params:bankertimes 等待 time.Second * 0
//1.RollPointSceneStateStart params: 开始 time.Second * 3
//2.RollPointSceneStateBet params: 押注 time.Second * 15
//3.RollPointSceneStateOpen params: 押注 time.Second * 3
//4.RollPointSceneStateBilled params:winPos,runPos 结算 time.Second * 5
// RollPoint_SC_ROOMSTATE
// 0.RollPointSceneStateWait params:bankertimes 等待 time.Second * 0
// 1.RollPointSceneStateStart params: 开始 time.Second * 3
// 2.RollPointSceneStateBet params: 押注 time.Second * 15
// 3.RollPointSceneStateOpen params: 押注 time.Second * 3
// 4.RollPointSceneStateBilled params:winPos,runPos 结算 time.Second * 5
type SCRollPointRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -630,9 +630,9 @@ func (x *SCRollPointRoomState) GetParams() []int32 {
return nil
}
//ROLLPOINT_CS_OP
//0.RollPointPlayerOpPushCoin param:falg-coin 押注
//1.RollPointPlayerOpPlayerList param:玩家列表
// ROLLPOINT_CS_OP
// 0.RollPointPlayerOpPushCoin param:falg-coin 押注
// 1.RollPointPlayerOpPlayerList param:玩家列表
type CSRollPointOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -688,7 +688,7 @@ func (x *CSRollPointOp) GetParams() []int64 {
return nil
}
//ROLLPOINT_SC_OP
// ROLLPOINT_SC_OP
type SCRollPointOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -760,7 +760,7 @@ func (x *SCRollPointOp) GetSnId() int32 {
return 0
}
//RollPoint_SC_PUSHCOIN
// RollPoint_SC_PUSHCOIN
type SCRollPointPushCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -848,7 +848,7 @@ func (x *SCRollPointPushCoin) GetSnId() int32 {
return 0
}
//RollPoint_SC_COINLOG
// RollPoint_SC_COINLOG
type SCRollPointCoinLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -904,7 +904,7 @@ func (x *SCRollPointCoinLog) GetPos() []int32 {
return nil
}
//RollPoint_SC_BILL
// RollPoint_SC_BILL
type SCRollPointBill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1113,8 +1113,10 @@ var file_rollpoint_proto_rawDesc = []byte{
0x47, 0x10, 0xbc, 0x2a, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x4f, 0x4c, 0x4c, 0x50, 0x4f, 0x49, 0x4e,
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x4c, 0x49, 0x53, 0x54, 0x10,
0xbd, 0x2a, 0x12, 0x14, 0x0a, 0x0f, 0x52, 0x4f, 0x4c, 0x4c, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f,
0x53, 0x43, 0x5f, 0x4f, 0x50, 0x10, 0xbe, 0x2a, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x3b, 0x72, 0x6f,
0x6c, 0x6c, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x53, 0x43, 0x5f, 0x4f, 0x50, 0x10, 0xbe, 0x2a, 0x42, 0x29, 0x5a, 0x27, 0x6d, 0x6f, 0x6e, 0x67,
0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x70, 0x6f,
0x69, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package rollpoint;
option go_package = ".;rollpoint";
option go_package = "mongo.games.com/game/protocol/rollpoint";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -67,7 +67,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_rollteam_proto_rawDescGZIP(), []int{0}
}
//世界杯
// 世界杯
type RTPacketID int32
const (
@ -265,7 +265,7 @@ func (x *RollTeamPlayerData) GetVIP() int32 {
return 0
}
//房间信息
// 房间信息
type SCRollTeamRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -481,14 +481,14 @@ func (x *SCRollTeamRoomInfo) GetGameFreeId() int32 {
return 0
}
//玩家操作
//RollTeamPlayerOpStart 0 游戏
//RollTeamPlayerOpJackList 1 查看礼物列表
//RollTeamPlayerOpChangeRoom 2 切换房间
//RollTeamPlayerOpPokerStart 3 开始翻倍
//RollTeamPlayerOpPokerSel 4 扑克选择
//RollTeamPlayerOpPokerOver 5 扑克结算
//RollTeamPlayerOpSyncCoin 6 同步金币
// 玩家操作
// RollTeamPlayerOpStart 0 游戏
// RollTeamPlayerOpJackList 1 查看礼物列表
// RollTeamPlayerOpChangeRoom 2 切换房间
// RollTeamPlayerOpPokerStart 3 开始翻倍
// RollTeamPlayerOpPokerSel 4 扑克选择
// RollTeamPlayerOpPokerOver 5 扑克结算
// RollTeamPlayerOpSyncCoin 6 同步金币
type CSRollTeamOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -544,7 +544,7 @@ func (x *CSRollTeamOp) GetParams() []int64 {
return nil
}
//玩家操作返回
// 玩家操作返回
type SCRollTeamOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -616,7 +616,7 @@ func (x *SCRollTeamOp) GetOpRetCode() OpResultCode {
return OpResultCode_OPRC_Sucess
}
//每条线的结算数据
// 每条线的结算数据
type RollTeamLinesInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -688,7 +688,7 @@ func (x *RollTeamLinesInfo) GetWinItem() int32 {
return 0
}
//发送给客户端的数据
// 发送给客户端的数据
type SCRollTeamGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -808,7 +808,7 @@ func (x *SCRollTeamGameBilled) GetPokerGame() bool {
return false
}
//房间状态
// 房间状态
type SCRollTeamRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -990,7 +990,7 @@ func (x *RollTeamJackpot) GetJackpotscore() int64 {
return 0
}
//奖池记录
// 奖池记录
type SCRollTeamJackpot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1038,7 +1038,7 @@ func (x *SCRollTeamJackpot) GetData() []*RollTeamJackpot {
return nil
}
//座位数据
// 座位数据
type SCRollTeamSeats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1238,8 +1238,10 @@ var file_rollteam_proto_rawDesc = []byte{
0x0a, 0x11, 0x52, 0x4f, 0x4c, 0x4c, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x45,
0x41, 0x54, 0x53, 0x10, 0xe8, 0x1f, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x4f, 0x4c, 0x4c, 0x54, 0x45,
0x41, 0x4d, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x4a, 0x41, 0x43, 0x4b, 0x50, 0x4f,
0x54, 0x10, 0xe9, 0x1f, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x72, 0x6f, 0x6c, 0x6c, 0x74, 0x65,
0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x54, 0x10, 0xe9, 0x1f, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61,
0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x74, 0x65, 0x61, 0x6d, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package rollteam;
option go_package = ".;rollteam";
option go_package = "mongo.games.com/game/protocol/rollteam";
//
enum OpResultCode {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//轮盘 Roulette
// 轮盘 Roulette
type RouletteMmoPacketID int32
const (
@ -342,8 +342,8 @@ func (x *RoulettePlayerData) GetBetInfo() []*RouletteBetInfo {
return nil
}
//房间信息
//PACKET_SC_Roulette_RoomInfo
// 房间信息
// PACKET_SC_Roulette_RoomInfo
type SCRouletteRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -527,8 +527,8 @@ func (x *SCRouletteRoomInfo) GetMaxBetCoin() []int32 {
return nil
}
//上座玩家信息更新
//PACKET_SC_Roulette_TopPlayer
// 上座玩家信息更新
// PACKET_SC_Roulette_TopPlayer
type SCRouletteTopPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -576,8 +576,8 @@ func (x *SCRouletteTopPlayer) GetPlayers() []*RoulettePlayerData {
return nil
}
//玩家操作
//PACKET_CS_Roulette_PlayerOp
// 玩家操作
// PACKET_CS_Roulette_PlayerOp
type CSRoulettePlayerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -633,7 +633,7 @@ func (x *CSRoulettePlayerOp) GetOpParam() []int64 {
return nil
}
//PACKET_SC_Roulette_PlayerOp
// PACKET_SC_Roulette_PlayerOp
type SCRoulettePlayerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -705,8 +705,8 @@ func (x *SCRoulettePlayerOp) GetProceedBetCoin() []*RouletteBetInfo {
return nil
}
//通知玩家 其他玩家的下注额(不包含自己和上座玩家)
//PACKET_SC_Roulette_BetChange
// 通知玩家 其他玩家的下注额(不包含自己和上座玩家)
// PACKET_SC_Roulette_BetChange
type SCRouletteBetChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -754,8 +754,8 @@ func (x *SCRouletteBetChange) GetBetInfo() []*RouletteBetInfo {
return nil
}
//在线玩家列表
//PACKET_SC_Roulette_PLayerOn
// 在线玩家列表
// PACKET_SC_Roulette_PLayerOn
type SCRoulettePlayerOn struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -803,8 +803,8 @@ func (x *SCRoulettePlayerOn) GetPlayers() []*RoulettePlayerData {
return nil
}
//房间状态更新
//PACKET_SC_Roulette_RoomState
// 房间状态更新
// PACKET_SC_Roulette_RoomState
type SCRouletteRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -940,7 +940,7 @@ func (x *RouletteBilled) GetBetInfo() []*RouletteBetInfo {
return nil
}
//PACKET_SC_Roulette_Billed
// PACKET_SC_Roulette_Billed
type SCRouletteBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1136,8 +1136,10 @@ var file_roulette_proto_rawDesc = []byte{
0x43, 0x5f, 0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x5f, 0x54, 0x6f, 0x70, 0x50, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x10, 0xa8, 0x2a, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41, 0x43, 0x4b, 0x45,
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x5f, 0x42, 0x65,
0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xa9, 0x2a, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b,
0x72, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xa9, 0x2a, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f,
0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61,
0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x6f, 0x75, 0x6c,
0x65, 0x74, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package roulette;
option go_package = ".;roulette";
option go_package = "mongo.games.com/game/protocol/roulette";
// Roulette
enum RouletteMmoPacketID {

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -70,7 +70,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) {
return file_samloc_proto_rawDescGZIP(), []int{0}
}
//samloc
// samloc
type SamLocPacketID int32
const (
@ -156,7 +156,7 @@ func (SamLocPacketID) EnumDescriptor() ([]byte, []int) {
return file_samloc_proto_rawDescGZIP(), []int{1}
}
//玩家信息
// 玩家信息
type SamLocPlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -443,7 +443,7 @@ func (x *LastDelCard) GetCards() []int32 {
return nil
}
//房间信息
// 房间信息
type SCSamLocRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -676,7 +676,7 @@ func (x *SCSamLocRoomInfo) GetBaosamOps() int32 {
return 0
}
//房间状态更新
// 房间状态更新
type SCSamLocRoomState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -732,7 +732,7 @@ func (x *SCSamLocRoomState) GetParams() []int64 {
return nil
}
//玩家操作
// 玩家操作
type CSSamLocPlayerOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -867,7 +867,7 @@ func (x *SCSamLocPlayerOp) GetTrusteeship() int32 {
return 0
}
//玩家进入
// 玩家进入
type SCSamLocPlayerEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -915,7 +915,7 @@ func (x *SCSamLocPlayerEnter) GetData() *SamLocPlayerData {
return nil
}
//玩家离开
// 玩家离开
type SCSamLocPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -963,7 +963,7 @@ func (x *SCSamLocPlayerLeave) GetPos() int32 {
return 0
}
//结算结果
// 结算结果
type SamLocPlayerGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1090,7 +1090,7 @@ func (x *SCSamLocGameBilled) GetDatas() []*SamLocPlayerGameBilled {
return nil
}
//小结算结果(炸的分)
// 小结算结果(炸的分)
type SCSamLocSmallGameBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1178,7 +1178,7 @@ func (x *SCSamLocSmallGameBilled) GetLoseCoin() int64 {
return 0
}
//发牌
// 发牌
type SCSamLocCard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1384,7 +1384,7 @@ func (x *SCSamLocUpdateMasterSnid) GetMasterSnid() int32 {
return 0
}
//PACKET_SCSamLocUpdateAudienceNum
// PACKET_SCSamLocUpdateAudienceNum
type SCSamLocUpdateAudienceNum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1607,7 +1607,7 @@ func (x *SCSamLocAIData) GetPlayerPosition() int32 {
return 0
}
//PACKET_SCSamLocFirstOpPos
// PACKET_SCSamLocFirstOpPos
type SCSamLocFirstOpPos struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1921,8 +1921,10 @@ var file_samloc_proto_rawDesc = []byte{
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x53, 0x61, 0x6d, 0x4c, 0x6f, 0x63, 0x41, 0x49, 0x10, 0xba,
0x2b, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x53, 0x61,
0x6d, 0x4c, 0x6f, 0x63, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4f, 0x70, 0x50, 0x6f, 0x73, 0x10, 0xbb,
0x2b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x73, 0x61, 0x6d, 0x6c, 0x6f, 0x63, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
0x2b, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x73, 0x61, 0x6d, 0x6c, 0x6f, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package samloc;
option go_package = ".;samloc";
option go_package = "mongo.games.com/game/protocol/samloc";
//
enum OpResultCode {

View File

@ -10993,8 +10993,9 @@ var file_pbdata_proto_rawDesc = []byte{
0x0a, 0x0b, 0x44, 0x42, 0x5f, 0x56, 0x49, 0x50, 0x41, 0x72, 0x72, 0x61, 0x79, 0x12, 0x20, 0x0a,
0x03, 0x41, 0x72, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x2e, 0x44, 0x42, 0x5f, 0x56, 0x49, 0x50, 0x52, 0x03, 0x41, 0x72, 0x72, 0x42,
0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -3,7 +3,7 @@
// DO NOT EDIT!
syntax = "proto3";
package server;
option go_package = ".;server";
option go_package = "mongo.games.com/game/protocol/server";
message DB_ActSign {

View File

@ -392,7 +392,7 @@ func (SGBindGroupTag_OpCode) EnumDescriptor() ([]byte, []int) {
return file_server_proto_rawDescGZIP(), []int{0, 0}
}
//PACKET_SG_BINDGROUPTAG
// PACKET_SG_BINDGROUPTAG
type SGBindGroupTag struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -456,7 +456,7 @@ func (x *SGBindGroupTag) GetTags() []string {
return nil
}
//PACKET_SS_CUSTOMTAG_MULTICAST
// PACKET_SS_CUSTOMTAG_MULTICAST
type SSCustomTagMulticast struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -567,7 +567,7 @@ func (x *OpResultParam) GetParamString() string {
return ""
}
//PACKET_GB_CUR_LOAD
// PACKET_GB_CUR_LOAD
type ServerLoad struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -631,7 +631,7 @@ func (x *ServerLoad) GetCurLoad() int32 {
return 0
}
//PACKET_GB_STATE_SWITCH
// PACKET_GB_STATE_SWITCH
type ServerStateSwitch struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -687,7 +687,7 @@ func (x *ServerStateSwitch) GetSrvId() int32 {
return 0
}
//PACKET_WG_SERVER_STATE
// PACKET_WG_SERVER_STATE
type ServerState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -735,7 +735,7 @@ func (x *ServerState) GetSrvState() int32 {
return 0
}
//PACKET_MS_SRVCTRL
// PACKET_MS_SRVCTRL
type ServerCtrl struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -791,7 +791,7 @@ func (x *ServerCtrl) GetParams() []*OpResultParam {
return nil
}
//PACKET_SC_NOTICE
// PACKET_SC_NOTICE
type ServerNotice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -839,7 +839,7 @@ func (x *ServerNotice) GetText() string {
return ""
}
//PACKET_WG_CREATESCENE
// PACKET_WG_CREATESCENE
type WGCreateScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1063,7 +1063,7 @@ func (x *WGCreateScene) GetChessRank() []int32 {
return nil
}
//PACKET_WG_DESTROYSCENE
// PACKET_WG_DESTROYSCENE
type WGDestroyScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1119,7 +1119,7 @@ func (x *WGDestroyScene) GetIsCompleted() bool {
return false
}
//PACKET_GW_DESTROYSCENE
// PACKET_GW_DESTROYSCENE
type GWDestroyScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1175,7 +1175,7 @@ func (x *GWDestroyScene) GetIsCompleted() bool {
return false
}
//PACKET_WG_GRACE_DESTROYSCENE
// PACKET_WG_GRACE_DESTROYSCENE
type WGGraceDestroyScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1278,8 +1278,8 @@ func (x *RebateTask) GetRebateGameCfg() []string {
return nil
}
//PACKET_WG_PLAYERENTER
//PACKET_WG_AUDIENCEENTER
// PACKET_WG_PLAYERENTER
// PACKET_WG_AUDIENCEENTER
type WGPlayerEnter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1471,8 +1471,8 @@ func (x *WGPlayerEnter) GetRankScore() map[int32]int64 {
return nil
}
//从观众席坐到座位
//PACKET_WG_AUDIENCESIT
// 从观众席坐到座位
// PACKET_WG_AUDIENCESIT
type WGAudienceSit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1544,7 +1544,7 @@ func (x *WGAudienceSit) GetPos() int32 {
return 0
}
//PACKET_WG_PLAYERRETURN
// PACKET_WG_PLAYERRETURN
type WGPlayerReturn struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1616,8 +1616,8 @@ func (x *WGPlayerReturn) GetEnterTs() int64 {
return 0
}
//PACKET_GW_PLAYERLEAVE
//PACKET_GW_AUDIENCELEAVE
// PACKET_GW_PLAYERLEAVE
// PACKET_GW_AUDIENCELEAVE
type GWPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1809,7 +1809,7 @@ func (x *GWPlayerLeave) GetRankScore() map[int32]int64 {
return nil
}
//PACKET_WG_PLAYERDROPLINE
// PACKET_WG_PLAYERDROPLINE
type WGPlayerDropLine struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1865,7 +1865,7 @@ func (x *WGPlayerDropLine) GetSceneId() int32 {
return 0
}
//PACKET_WG_PLAYERREHOLD
// PACKET_WG_PLAYERREHOLD
type WGPlayerRehold struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1937,7 +1937,7 @@ func (x *WGPlayerRehold) GetGateSid() int64 {
return 0
}
//PACKET_GW_BILLEDROOMCARD
// PACKET_GW_BILLEDROOMCARD
type GWBilledRoomCard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1993,7 +1993,7 @@ func (x *GWBilledRoomCard) GetSnId() []int32 {
return nil
}
//PACKET_GG_PLAYERSESSIONBIND
// PACKET_GG_PLAYERSESSIONBIND
type GGPlayerSessionBind struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2081,7 +2081,7 @@ func (x *GGPlayerSessionBind) GetPlatform() string {
return ""
}
//PACKET_GG_PLAYERSESSIONUNBIND
// PACKET_GG_PLAYERSESSIONUNBIND
type GGPlayerSessionUnBind struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2311,7 +2311,7 @@ func (x *ReplayPlayerData) GetCoin() int64 {
return 0
}
//录像回放相关
// 录像回放相关
type ReplayRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2621,7 +2621,7 @@ func (x *GRReplaySequene) GetDatasVer() int32 {
return 0
}
//PACKET_WR_LoginRec
// PACKET_WR_LoginRec
type WRLoginRec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2717,7 +2717,7 @@ func (x *WRLoginRec) GetLogId() string {
return ""
}
//PACKET_WR_GameDetail
// PACKET_WR_GameDetail
type WRGameDetail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2765,7 +2765,7 @@ func (x *WRGameDetail) GetGameDetail() []byte {
return nil
}
//PACKET_WR_PlayerData
// PACKET_WR_PlayerData
type WRPlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2821,7 +2821,7 @@ func (x *WRPlayerData) GetPlayerData() []byte {
return nil
}
//PACKET_WT_PlayerPay
// PACKET_WT_PlayerPay
type WTPlayerPay struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2964,7 +2964,7 @@ func (x *PlayerGameRec) GetOtherParams() []int32 {
return nil
}
//PACKET_GW_GAMEREC
// PACKET_GW_GAMEREC
type GWGameRec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3044,7 +3044,7 @@ func (x *GWGameRec) GetReplayCode() string {
return ""
}
//PACKET_GW_SCENESTART
// PACKET_GW_SCENESTART
type GWSceneStart struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3171,13 +3171,15 @@ func (x *PlayerCtx) GetCoin() int64 {
return 0
}
//该协议废弃掉,统一由
//PACKET_GW_SCENEEND
//message GWSceneEnd {
// int32 GameFreeId = 1;
// repeated PlayerCtx Players = 2;
//}
//PACKET_GW_SCFISHRECORD
// 该协议废弃掉,统一由
// PACKET_GW_SCENEEND
//
// message GWSceneEnd {
// int32 GameFreeId = 1;
// repeated PlayerCtx Players = 2;
// }
//
// PACKET_GW_SCFISHRECORD
type FishRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3296,8 +3298,8 @@ func (x *GWFishRecord) GetFishRecords() []*FishRecord {
return nil
}
//场景状态
//PACKET_GW_SCENESTATE
// 场景状态
// PACKET_GW_SCENESTATE
type GWSceneState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3361,7 +3363,7 @@ func (x *GWSceneState) GetFishing() int32 {
return 0
}
//PACKET_WR_INVITEROBOT
// PACKET_WR_INVITEROBOT
type WRInviteRobot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3449,7 +3451,7 @@ func (x *WRInviteRobot) GetNeedAwait() bool {
return false
}
//PACKET_WR_INVITECREATEROOM
// PACKET_WR_INVITECREATEROOM
type WRInviteCreateRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3505,7 +3507,7 @@ func (x *WRInviteCreateRoom) GetMatchId() int32 {
return 0
}
//PACKET_WG_AGENTKICKOUTPLAYER
// PACKET_WG_AGENTKICKOUTPLAYER
type WGAgentKickOutPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3577,7 +3579,7 @@ func (x *WGAgentKickOutPlayer) GetAgentSid() int64 {
return 0
}
//PACKET_WD_DATANALYSIS
// PACKET_WD_DATANALYSIS
type WDDataAnalysis struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3885,8 +3887,8 @@ func (x *GNPlayerParam) GetPlayerdata() []*RobotData {
return nil
}
//PACKET_GW_REBUILDSCENE
//重建场景关系
// PACKET_GW_REBUILDSCENE
// 重建场景关系
type GWRebuildScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3942,7 +3944,7 @@ func (x *GWRebuildScene) GetPlayerIds() []int32 {
return nil
}
//PACKET_WG_REBIND_SNID 1122
// PACKET_WG_REBIND_SNID 1122
type WGRebindPlayerSnId struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -3998,7 +4000,7 @@ func (x *WGRebindPlayerSnId) GetNewSnId() int32 {
return 0
}
//PACKET_GW_PLAYERSTATE
// PACKET_GW_PLAYERSTATE
type GWPlayerFlag struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4062,8 +4064,8 @@ func (x *GWPlayerFlag) GetFlag() int32 {
return 0
}
//玩家操作返回
//PACKET_WG_RECHARGE
// 玩家操作返回
// PACKET_WG_RECHARGE
type WGHundredOp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4127,7 +4129,7 @@ func (x *WGHundredOp) GetParams() []int64 {
return nil
}
//系统广播
// 系统广播
type GWNewNotice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4650,8 +4652,8 @@ func (x *GWAutoRelieveWBLevel) GetSnId() int32 {
return 0
}
//PACKET_GW_SCENEPLAYERLOG
//通知world房间里都是谁跟谁打牌的配桌用的数据
// PACKET_GW_SCENEPLAYERLOG
// 通知world房间里都是谁跟谁打牌的配桌用的数据
type GWScenePlayerLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4723,7 +4725,7 @@ func (x *GWScenePlayerLog) GetIsGameing() []bool {
return nil
}
//PACKET_GW_PLAYERFORCELEAVE
// PACKET_GW_PLAYERFORCELEAVE
type GWPlayerForceLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -4795,7 +4797,7 @@ func (x *GWPlayerForceLeave) GetEnterTs() int64 {
return 0
}
//PACKET_GW_PLAYERDATA
// PACKET_GW_PLAYERDATA
type PlayerData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5002,7 +5004,7 @@ func (x *GWPlayerData) GetSceneId() int32 {
return 0
}
//PACKET_GW_PLAYERWINSOCORE
// PACKET_GW_PLAYERWINSOCORE
type PlayerWinScore struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5334,7 +5336,7 @@ func (x *WGSyncPlayerSafeBoxCoin) GetSafeBoxCoin() int64 {
return 0
}
//PACKET_WG_CLUB_MESSAGE
// PACKET_WG_CLUB_MESSAGE
type WGClubMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5406,7 +5408,7 @@ func (x *WGClubMessage) GetDBGameFree() *DB_GameFree {
return nil
}
//datasrv=>worldsrv用户在三方平台的流水信息
// datasrv=>worldsrv用户在三方平台的流水信息
type DWThirdRebateMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5613,7 +5615,7 @@ func (x *DWThirdRoundMessage) GetPlatform() int32 {
return 0
}
//worldsrv=>datasrv确认信息
// worldsrv=>datasrv确认信息
type WDACKThirdRebateMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5669,7 +5671,7 @@ func (x *WDACKThirdRebateMessage) GetResult() int32 {
return 0
}
//PACKET_GW_GAMESTATELOG
// PACKET_GW_GAMESTATELOG
type GWGameStateLog struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5733,7 +5735,7 @@ func (x *GWGameStateLog) GetLogCnt() int32 {
return 0
}
//PACKET_GW_GAMESTATE
// PACKET_GW_GAMESTATE
type GWGameState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5813,7 +5815,7 @@ func (x *GWGameState) GetBankerListNum() int32 {
return 0
}
//PACKET_GW_JACKPOTLIST
// PACKET_GW_JACKPOTLIST
type GWGameJackList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5917,7 +5919,7 @@ func (x *GWGameJackList) GetName() string {
return ""
}
//PACKET_GW_JACKPOTCOIN
// PACKET_GW_JACKPOTCOIN
type GWGameJackCoin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -5973,7 +5975,7 @@ func (x *GWGameJackCoin) GetCoin() []int64 {
return nil
}
//PACKET_GW_NICEIDREBIND
// PACKET_GW_NICEIDREBIND
type WGNiceIdRebind struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6092,7 +6094,7 @@ func (x *PLAYERWINCOININFO) GetWinCoin() int32 {
return 0
}
//PACKET_GW_PLAYERWINCOIN
// PACKET_GW_PLAYERWINCOIN
type GWPLAYERWINCOIN struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6140,7 +6142,7 @@ func (x *GWPLAYERWINCOIN) GetPlayer() []*PLAYERWINCOININFO {
return nil
}
//PACKET_GW_PLAYERAUTOMARKTAG
// PACKET_GW_PLAYERAUTOMARKTAG
type GWPlayerAutoMarkTag struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6196,7 +6198,7 @@ func (x *GWPlayerAutoMarkTag) GetTag() int32 {
return 0
}
//PACKET_WG_INVITEROBENTERCOINSCENEQUEUE
// PACKET_WG_INVITEROBENTERCOINSCENEQUEUE
type WGInviteRobEnterCoinSceneQueue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6260,7 +6262,7 @@ func (x *WGInviteRobEnterCoinSceneQueue) GetRobNum() int32 {
return 0
}
//PACKET_WG_GAMEFORCESTART
// PACKET_WG_GAMEFORCESTART
type WGGameForceStart struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6442,7 +6444,7 @@ func (x *ProfitControlPlatformCfg) GetGameCfg() []*ProfitControlGameCfg {
return nil
}
//PACKET_WG_PROFITCONTROL_CORRECT
// PACKET_WG_PROFITCONTROL_CORRECT
type WGProfitControlCorrect struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6490,7 +6492,7 @@ func (x *WGProfitControlCorrect) GetCfg() []*ProfitControlPlatformCfg {
return nil
}
//PACKET_GW_CHANGESCENEEVENT
// PACKET_GW_CHANGESCENEEVENT
type GWChangeSceneEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6758,7 +6760,7 @@ func (x *PlayerMatchCoin) GetCoin() int32 {
return 0
}
//PACKET_GW_PLAYERMATCHBILLED
// PACKET_GW_PLAYERMATCHBILLED
type GWPlayerMatchBilled struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6830,7 +6832,7 @@ func (x *GWPlayerMatchBilled) GetWinPos() int32 {
return 0
}
//PACKET_GW_PLAYERMATCHGRADE
// PACKET_GW_PLAYERMATCHGRADE
type GWPlayerMatchGrade struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6918,8 +6920,8 @@ func (x *GWPlayerMatchGrade) GetPlayers() []*PlayerMatchCoin {
return nil
}
//玩家退赛
//PACKET_WG_PLAYERQUITMATCH
// 玩家退赛
// PACKET_WG_PLAYERQUITMATCH
type WGPlayerQuitMatch struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -6983,8 +6985,8 @@ func (x *WGPlayerQuitMatch) GetMatchId() int32 {
return 0
}
//比赛房间底分变化
//PACKET_WG_SCENEMATCHBASECHANGE
// 比赛房间底分变化
// PACKET_WG_SCENEMATCHBASECHANGE
type WGSceneMatchBaseChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7064,7 +7066,7 @@ func (x *WGSceneMatchBaseChange) GetNextTs() int32 {
return 0
}
//PACKET_SS_REDIRECTTOPLAYER
// PACKET_SS_REDIRECTTOPLAYER
type SSRedirectToPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7136,7 +7138,7 @@ func (x *SSRedirectToPlayer) GetData() []byte {
return nil
}
//PACKET_WG_INVITEMATCHROB
// PACKET_WG_INVITEMATCHROB
type WGInviteMatchRob struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7279,7 +7281,7 @@ func (x *GameInfo) GetGameType() int32 {
return 0
}
//PACKET_WG_GAMEJACKPOT
// PACKET_WG_GAMEJACKPOT
type WGGameJackpot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7455,7 +7457,7 @@ func (x *BigWinHistoryInfo) GetCards() []int32 {
return nil
}
//PACKET_WG_PLAYERENTER_MINIGAME
// PACKET_WG_PLAYERENTER_MINIGAME
type WGPlayerEnterMiniGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7575,7 +7577,7 @@ func (x *WGPlayerEnterMiniGame) GetSingleAdjust() []byte {
return nil
}
//PACKET_WG_PLAYERLEAVE_MINIGAME
// PACKET_WG_PLAYERLEAVE_MINIGAME
type WGPlayerLeaveMiniGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7647,7 +7649,7 @@ func (x *WGPlayerLeaveMiniGame) GetSceneId() int32 {
return 0
}
//PACKET_WG_PlayerLEAVE
// PACKET_WG_PlayerLEAVE
type WGPlayerLeave struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7695,7 +7697,7 @@ func (x *WGPlayerLeave) GetSnId() int32 {
return 0
}
//PACKET_GW_PLAYERLEAVE_MINIGAME
// PACKET_GW_PLAYERLEAVE_MINIGAME
type GWPlayerLeaveMiniGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7775,7 +7777,7 @@ func (x *GWPlayerLeaveMiniGame) GetPlayerData() []byte {
return nil
}
//PACKET_GW_DESTROYMINISCENE
// PACKET_GW_DESTROYMINISCENE
type GWDestroyMiniScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7823,7 +7825,7 @@ func (x *GWDestroyMiniScene) GetSceneId() int32 {
return 0
}
//PACKET_GR_DESTROYSCENE
// PACKET_GR_DESTROYSCENE
type GRDestroyScene struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7871,7 +7873,7 @@ func (x *GRDestroyScene) GetSceneId() int32 {
return 0
}
//失效的机器人账号
// 失效的机器人账号
type RWAccountInvalid struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7919,7 +7921,7 @@ func (x *RWAccountInvalid) GetAcc() string {
return ""
}
//PACKET_WG_DTROOMINFO
// PACKET_WG_DTROOMINFO
type WGDTRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8133,7 +8135,7 @@ func (x *EResult) GetResult() int32 {
return 0
}
//PACKET_GW_DTROOMINFO
// PACKET_GW_DTROOMINFO
type GWDTRoomInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8285,7 +8287,7 @@ func (x *GWDTRoomInfo) GetTDCoin() int32 {
return 0
}
//PACKET_WG_DTROOMRESULTS
// PACKET_WG_DTROOMRESULTS
type WGRoomResults struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8357,7 +8359,7 @@ func (x *WGRoomResults) GetDataKey() string {
return ""
}
//PACKET_GW_DTROOMRESULTS
// PACKET_GW_DTROOMRESULTS
type GWRoomResults struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8421,7 +8423,7 @@ func (x *GWRoomResults) GetMsg() string {
return ""
}
//PACKET_GW_ADDSINGLEADJUST
// PACKET_GW_ADDSINGLEADJUST
type GWAddSingleAdjust struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8485,7 +8487,7 @@ func (x *GWAddSingleAdjust) GetGameFreeId() int32 {
return 0
}
//PACKET_WG_SINGLEADJUST
// PACKET_WG_SINGLEADJUST
type WGSingleAdjust struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -8549,7 +8551,7 @@ func (x *WGSingleAdjust) GetPlayerSingleAdjust() []byte {
return nil
}
//PACKET_WG_WBCtrlCfg
// PACKET_WG_WBCtrlCfg
type WbCtrlCfg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -9801,8 +9803,10 @@ var file_server_proto_rawDesc = []byte{
0x54, 0x5f, 0x57, 0x47, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x41, 0x44, 0x4a, 0x55, 0x53,
0x54, 0x10, 0x8e, 0x0c, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47,
0x57, 0x5f, 0x41, 0x44, 0x44, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x41, 0x44, 0x4a, 0x55, 0x53,
0x54, 0x10, 0x8f, 0x0c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x54, 0x10, 0x8f, 0x0c, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61,
0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package server;
option go_package = ".;server";
option go_package = "mongo.games.com/game/protocol/server";
import "pbdata.proto";

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//任务消息id
// 任务消息id
type TransmitPacketID int32
const (
@ -67,7 +67,7 @@ func (TransmitPacketID) EnumDescriptor() ([]byte, []int) {
return file_transmit_proto_rawDescGZIP(), []int{0}
}
//PACKET_SS_PACKET_TRANSMIT
// PACKET_SS_PACKET_TRANSMIT
type SSTransmit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -137,8 +137,10 @@ var file_transmit_proto_rawDesc = []byte{
0x45, 0x54, 0x5f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x5f, 0x5a, 0x45, 0x52, 0x4f,
0x10, 0x00, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4d, 0x49, 0x54, 0x10,
0xeb, 0x07, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0xeb, 0x07, 0x42, 0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package server;
option go_package = ".;server";
option go_package = "mongo.games.com/game/protocol/server";
//id
enum TransmitPacketID {
PACKET_Transmit_ZERO = 0; //

View File

@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//操作结果
// 操作结果
type OpResultCode int32
const (
@ -199,7 +199,7 @@ func (SPacketID) EnumDescriptor() ([]byte, []int) {
return file_shop_proto_rawDescGZIP(), []int{1}
}
//商品信息
// 商品信息
type ShopInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -491,7 +491,7 @@ func (x *ShopInfo) GetAmountFinal() int64 {
return 0
}
//PACKET_CS_SHOP_INFO
// PACKET_CS_SHOP_INFO
type CSShopInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -539,7 +539,7 @@ func (x *CSShopInfo) GetNowLocation() int32 {
return 0
}
//PACKET_SC_SHOP_INFO
// PACKET_SC_SHOP_INFO
type SCShopInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -587,7 +587,7 @@ func (x *SCShopInfo) GetInfos() []*ShopInfo {
return nil
}
//PACKET_CS_SHOP_ADLOOKED
// PACKET_CS_SHOP_ADLOOKED
type CSAdLooked struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -651,7 +651,7 @@ func (x *CSAdLooked) GetPosition() int32 {
return 0
}
//PACKET_SC_SHOP_ADLOOKED
// PACKET_SC_SHOP_ADLOOKED
type SCAdLooked struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -707,7 +707,7 @@ func (x *SCAdLooked) GetShopInfo() *ShopInfo {
return nil
}
//PACKET_CS_SHOP_VCPAYSHOP
// PACKET_CS_SHOP_VCPAYSHOP
type CSVCPayShop struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -779,7 +779,7 @@ func (x *CSVCPayShop) GetPosition() int32 {
return 0
}
//PACKET_SC_SHOP_VCPAYSHOP
// PACKET_SC_SHOP_VCPAYSHOP
type SCVCPayShop struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -906,8 +906,8 @@ func (x *SCNotifyGiveCoinInfo) GetGiveTag() int32 {
return 0
}
//商城兑换记录
//PACKET_CS_SHOP_EXCHANGERECORD
// 商城兑换记录
// PACKET_CS_SHOP_EXCHANGERECORD
type CSShopExchangeRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1066,7 +1066,7 @@ func (x *ShopExchangeRecord) GetGoodsId() int32 {
return 0
}
//PACKET_SC_SHOP_EXCHANGERECORD
// PACKET_SC_SHOP_EXCHANGERECORD
type SCShopExchangeRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1138,8 +1138,8 @@ func (x *SCShopExchangeRecord) GetInfos() []*ShopExchangeRecord {
return nil
}
//商城兑换
//PACKET_CS_SHOP_EXCHANGERECORD
// 商城兑换
// PACKET_CS_SHOP_EXCHANGERECORD
type CSShopExchange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1290,7 +1290,7 @@ func (x *SCShopExchange) GetOrderId() string {
return ""
}
//PACKET_CS_SHOP_EXCHANGELIST
// PACKET_CS_SHOP_EXCHANGELIST
type CSShopExchangeList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1574,7 +1574,7 @@ func (x *SCShopExchangeList) GetInfos() []*ShopExchangeInfo {
return nil
}
//PACKET_CSPAYINFO
// PACKET_CSPAYINFO
type CSPayInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1662,7 +1662,7 @@ func (x *CSPayInfo) GetExchangeNum() int32 {
return 0
}
//PACKET_SCPAYINFO
// PACKET_SCPAYINFO
type SCPayInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1718,7 +1718,7 @@ func (x *SCPayInfo) GetUrl() string {
return ""
}
//PACKET_CSGETPAYINFOLIST
// PACKET_CSGETPAYINFOLIST
type CSGetPayInfoList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1916,7 +1916,7 @@ func (x *PayInfoList) GetTs() int64 {
return 0
}
//PACKET_SCGETPAYINFOLIST
// PACKET_SCGETPAYINFOLIST
type SCGetPayInfoList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1964,8 +1964,8 @@ func (x *SCGetPayInfoList) GetInfo() []*PayInfoList {
return nil
}
//玩家添加地址
//PACKET_CSPLAYERADDR
// 玩家添加地址
// PACKET_CSPLAYERADDR
type CSPlayerAddr struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2029,7 +2029,7 @@ func (x *CSPlayerAddr) GetId() int32 {
return 0
}
//PACKET_SCPLAYEADDRS
// PACKET_SCPLAYEADDRS
type SCGetPlayerAddrs struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2132,8 +2132,8 @@ func (x *AddrData) GetAddr() string {
return ""
}
//VIP商城刷新物品
//PACKET_CS_UPDATE_VIP_SHOP
// VIP商城刷新物品
// PACKET_CS_UPDATE_VIP_SHOP
type CSUpdateVipShop struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2172,8 +2172,8 @@ func (*CSUpdateVipShop) Descriptor() ([]byte, []int) {
return file_shop_proto_rawDescGZIP(), []int{26}
}
//VIP商城刷新物品返回
//PACKET_SC_UPDATE_VIP_SHOP
// VIP商城刷新物品返回
// PACKET_SC_UPDATE_VIP_SHOP
type SCUpdateVipShop struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -2527,8 +2527,10 @@ var file_shop_proto_rawDesc = []byte{
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
0x5f, 0x56, 0x49, 0x50, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x10, 0xd9, 0x13, 0x12, 0x1e, 0x0a, 0x19,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
0x5f, 0x56, 0x49, 0x50, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x10, 0xda, 0x13, 0x42, 0x08, 0x5a, 0x06,
0x2e, 0x3b, 0x73, 0x68, 0x6f, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x5f, 0x56, 0x49, 0x50, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x10, 0xda, 0x13, 0x42, 0x24, 0x5a, 0x22,
0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x68,
0x6f, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

Some files were not shown because too many files have changed in this diff Show More