From a50d00cad1bb3e3563bf76eb9904ba231f6e4fe6 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 17 Apr 2024 16:49:08 +0800 Subject: [PATCH] update --- protocol/activity/actbonus.pb.go | 6 +- protocol/activity/actcard.pb.go | 2 +- protocol/activity/actfpay.pb.go | 10 +- protocol/activity/actgold.pb.go | 38 +-- protocol/activity/actluckyturntable.pb.go | 2 +- protocol/activity/actsign.pb.go | 10 +- protocol/avengers/avengers.pb.go | 18 +- protocol/baccarat/baccarat.pb.go | 21 +- protocol/bag/bag.pb.go | 14 +- protocol/caishen/caishen.pb.go | 20 +- protocol/candy/candy.pb.go | 16 +- protocol/caothap/caothap.pb.go | 14 +- protocol/chat/chat.pb.go | 18 +- protocol/chesstitians/chesstitians.pb.go | 30 +- protocol/crash/crash.pb.go | 27 +- protocol/dezhoupoker/dezhoupoker.pb.go | 66 ++--- protocol/dragonvstiger/dragonvstiger.pb.go | 25 +- protocol/easterisland/easterisland.pb.go | 18 +- protocol/fishing/fishing.pb.go | 88 +++--- protocol/fortunegod/fortunegod.pb.go | 18 +- protocol/fortunezhishen/fortunezhishen.pb.go | 24 +- protocol/friend/friend.pb.go | 36 +-- protocol/fruits/fruits.pb.go | 26 +- protocol/gamehall/coinscene.pb.go | 28 +- protocol/gamehall/game.pb.go | 186 ++++++------ protocol/gamehall/hallpacket.pb.go | 116 ++++---- protocol/gamehall/hundredscene.pb.go | 20 +- protocol/hundredyxx/hundredyxx.pb.go | 42 +-- protocol/iceage/iceage.pb.go | 18 +- protocol/islandsurvival/islandsurvival.pb.go | 18 +- protocol/login/gate.pb.go | 16 +- protocol/login/login.pb.go | 52 ++-- protocol/luckydice/luckydice.pb.go | 16 +- protocol/message/message.pb.go | 36 +-- protocol/pets/pets.pb.go | 30 +- protocol/player/player.pb.go | 297 +++++++++---------- protocol/qpapi/qpapi.pb.go | 8 +- protocol/richblessed/richblessed.pb.go | 24 +- protocol/rollpoint/rollpoint.pb.go | 38 +-- protocol/rollteam/rollteam.pb.go | 34 +-- protocol/roulette/roulette.pb.go | 30 +- protocol/samloc/samloc.pb.go | 26 +- protocol/server/server.pb.go | 186 ++++++------ protocol/server/transmit.pb.go | 4 +- protocol/shop/shop.pb.go | 50 ++-- protocol/smallrocket/smallrocket.pb.go | 30 +- protocol/tala/tala.pb.go | 30 +- protocol/tamquoc/tamquoc.pb.go | 18 +- protocol/task/task.pb.go | 2 +- protocol/telegramapi/telegramapi.pb.go | 12 +- protocol/thirteen/thirteen.pb.go | 32 +- protocol/tienlen/tienlen.pb.go | 30 +- protocol/tournament/tournament.pb.go | 40 +-- protocol/webapi/common.pb.go | 12 +- protocol/webapi/webapi.pb.go | 150 +++++----- protocol/welfare/welfare.pb.go | 54 ++-- 56 files changed, 1117 insertions(+), 1115 deletions(-) diff --git a/protocol/activity/actbonus.pb.go b/protocol/activity/actbonus.pb.go index f9e1e9d..4b1735c 100644 --- a/protocol/activity/actbonus.pb.go +++ b/protocol/activity/actbonus.pb.go @@ -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 diff --git a/protocol/activity/actcard.pb.go b/protocol/activity/actcard.pb.go index dd3c953..e67f77f 100644 --- a/protocol/activity/actcard.pb.go +++ b/protocol/activity/actcard.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode_ActCard int32 const ( diff --git a/protocol/activity/actfpay.pb.go b/protocol/activity/actfpay.pb.go index f64f26b..3b53f13 100644 --- a/protocol/activity/actfpay.pb.go +++ b/protocol/activity/actfpay.pb.go @@ -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 diff --git a/protocol/activity/actgold.pb.go b/protocol/activity/actgold.pb.go index ac28eb6..13ec9ce 100644 --- a/protocol/activity/actgold.pb.go +++ b/protocol/activity/actgold.pb.go @@ -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 diff --git a/protocol/activity/actluckyturntable.pb.go b/protocol/activity/actluckyturntable.pb.go index 80bc982..dada3ac 100644 --- a/protocol/activity/actluckyturntable.pb.go +++ b/protocol/activity/actluckyturntable.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode_ActLuckTurn int32 const ( diff --git a/protocol/activity/actsign.pb.go b/protocol/activity/actsign.pb.go index c54391c..fb23bbc 100644 --- a/protocol/activity/actsign.pb.go +++ b/protocol/activity/actsign.pb.go @@ -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 diff --git a/protocol/avengers/avengers.pb.go b/protocol/avengers/avengers.pb.go index eda783b..ba48eb6 100644 --- a/protocol/avengers/avengers.pb.go +++ b/protocol/avengers/avengers.pb.go @@ -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 diff --git a/protocol/baccarat/baccarat.pb.go b/protocol/baccarat/baccarat.pb.go index 697f0ea..880bb21 100644 --- a/protocol/baccarat/baccarat.pb.go +++ b/protocol/baccarat/baccarat.pb.go @@ -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 diff --git a/protocol/bag/bag.pb.go b/protocol/bag/bag.pb.go index 42b924d..ca23452 100644 --- a/protocol/bag/bag.pb.go +++ b/protocol/bag/bag.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode int32 const ( @@ -145,7 +145,7 @@ func (SPacketID) EnumDescriptor() ([]byte, []int) { return file_bag_proto_rawDescGZIP(), []int{1} } -//物品信息 后续精简 +// 物品信息 后续精简 type ItemInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -223,7 +223,7 @@ func (x *ItemInfo) GetObtainTime() int64 { return 0 } -//PACKET_ALL_BAG_INFO +// PACKET_ALL_BAG_INFO type CSBagInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -279,7 +279,7 @@ func (x *CSBagInfo) GetTp() int32 { return 0 } -//PACKET_ALL_BAG_INFO +// PACKET_ALL_BAG_INFO type SCBagInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -343,7 +343,7 @@ func (x *SCBagInfo) GetBagNumMax() int32 { return 0 } -//PACKET_ALL_BAG_USE +// PACKET_ALL_BAG_USE type CSUpBagInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -431,7 +431,7 @@ func (x *CSUpBagInfo) GetShowId() int64 { return 0 } -//PACKET_ALL_BAG_USE +// PACKET_ALL_BAG_USE type SCUpBagInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -521,7 +521,7 @@ func (x *SCUpBagInfo) GetInfos() []*ItemInfo { return nil } -//PACKET_SC_SYNCBAGDATA +// PACKET_SC_SYNCBAGDATA type SCSyncBagData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/caishen/caishen.pb.go b/protocol/caishen/caishen.pb.go index 684b997..4baa1b9 100644 --- a/protocol/caishen/caishen.pb.go +++ b/protocol/caishen/caishen.pb.go @@ -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 diff --git a/protocol/candy/candy.pb.go b/protocol/candy/candy.pb.go index e60611d..41991d5 100644 --- a/protocol/candy/candy.pb.go +++ b/protocol/candy/candy.pb.go @@ -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 diff --git a/protocol/caothap/caothap.pb.go b/protocol/caothap/caothap.pb.go index bf64001..9ae7ea9 100644 --- a/protocol/caothap/caothap.pb.go +++ b/protocol/caothap/caothap.pb.go @@ -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 diff --git a/protocol/chat/chat.pb.go b/protocol/chat/chat.pb.go index 61d9e44..947ff12 100644 --- a/protocol/chat/chat.pb.go +++ b/protocol/chat/chat.pb.go @@ -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 diff --git a/protocol/chesstitians/chesstitians.pb.go b/protocol/chesstitians/chesstitians.pb.go index 7b41663..cf657ab 100644 --- a/protocol/chesstitians/chesstitians.pb.go +++ b/protocol/chesstitians/chesstitians.pb.go @@ -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 diff --git a/protocol/crash/crash.pb.go b/protocol/crash/crash.pb.go index 5b83021..a7d448d 100644 --- a/protocol/crash/crash.pb.go +++ b/protocol/crash/crash.pb.go @@ -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 diff --git a/protocol/dezhoupoker/dezhoupoker.pb.go b/protocol/dezhoupoker/dezhoupoker.pb.go index d7ba528..0149c24 100644 --- a/protocol/dezhoupoker/dezhoupoker.pb.go +++ b/protocol/dezhoupoker/dezhoupoker.pb.go @@ -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 diff --git a/protocol/dragonvstiger/dragonvstiger.pb.go b/protocol/dragonvstiger/dragonvstiger.pb.go index 0a9725c..f18b813 100644 --- a/protocol/dragonvstiger/dragonvstiger.pb.go +++ b/protocol/dragonvstiger/dragonvstiger.pb.go @@ -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 diff --git a/protocol/easterisland/easterisland.pb.go b/protocol/easterisland/easterisland.pb.go index c1bc6b5..ff12a1b 100644 --- a/protocol/easterisland/easterisland.pb.go +++ b/protocol/easterisland/easterisland.pb.go @@ -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 diff --git a/protocol/fishing/fishing.pb.go b/protocol/fishing/fishing.pb.go index f512ffa..4380eaf 100644 --- a/protocol/fishing/fishing.pb.go +++ b/protocol/fishing/fishing.pb.go @@ -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 diff --git a/protocol/fortunegod/fortunegod.pb.go b/protocol/fortunegod/fortunegod.pb.go index 26df498..5b1212c 100644 --- a/protocol/fortunegod/fortunegod.pb.go +++ b/protocol/fortunegod/fortunegod.pb.go @@ -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 diff --git a/protocol/fortunezhishen/fortunezhishen.pb.go b/protocol/fortunezhishen/fortunezhishen.pb.go index 37ce32e..5563e71 100644 --- a/protocol/fortunezhishen/fortunezhishen.pb.go +++ b/protocol/fortunezhishen/fortunezhishen.pb.go @@ -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 diff --git a/protocol/friend/friend.pb.go b/protocol/friend/friend.pb.go index 09c653e..aa66907 100644 --- a/protocol/friend/friend.pb.go +++ b/protocol/friend/friend.pb.go @@ -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 diff --git a/protocol/fruits/fruits.pb.go b/protocol/fruits/fruits.pb.go index 059d4a2..ba6504b 100644 --- a/protocol/fruits/fruits.pb.go +++ b/protocol/fruits/fruits.pb.go @@ -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 diff --git a/protocol/gamehall/coinscene.pb.go b/protocol/gamehall/coinscene.pb.go index 61b9700..8076217 100644 --- a/protocol/gamehall/coinscene.pb.go +++ b/protocol/gamehall/coinscene.pb.go @@ -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 diff --git a/protocol/gamehall/game.pb.go b/protocol/gamehall/game.pb.go index 99c3eab..91c1443 100644 --- a/protocol/gamehall/game.pb.go +++ b/protocol/gamehall/game.pb.go @@ -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 diff --git a/protocol/gamehall/hallpacket.pb.go b/protocol/gamehall/hallpacket.pb.go index edce110..0d1c4fb 100644 --- a/protocol/gamehall/hallpacket.pb.go +++ b/protocol/gamehall/hallpacket.pb.go @@ -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 diff --git a/protocol/gamehall/hundredscene.pb.go b/protocol/gamehall/hundredscene.pb.go index 8fc4bdd..1a19cb0 100644 --- a/protocol/gamehall/hundredscene.pb.go +++ b/protocol/gamehall/hundredscene.pb.go @@ -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 diff --git a/protocol/hundredyxx/hundredyxx.pb.go b/protocol/hundredyxx/hundredyxx.pb.go index 7ddef01..ff984d1 100644 --- a/protocol/hundredyxx/hundredyxx.pb.go +++ b/protocol/hundredyxx/hundredyxx.pb.go @@ -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 diff --git a/protocol/iceage/iceage.pb.go b/protocol/iceage/iceage.pb.go index 32a0c33..6b912e1 100644 --- a/protocol/iceage/iceage.pb.go +++ b/protocol/iceage/iceage.pb.go @@ -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 diff --git a/protocol/islandsurvival/islandsurvival.pb.go b/protocol/islandsurvival/islandsurvival.pb.go index a3590b5..314d414 100644 --- a/protocol/islandsurvival/islandsurvival.pb.go +++ b/protocol/islandsurvival/islandsurvival.pb.go @@ -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 diff --git a/protocol/login/gate.pb.go b/protocol/login/gate.pb.go index 5f0afa0..13186db 100644 --- a/protocol/login/gate.pb.go +++ b/protocol/login/gate.pb.go @@ -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 diff --git a/protocol/login/login.pb.go b/protocol/login/login.pb.go index 55914b2..5f819c5 100644 --- a/protocol/login/login.pb.go +++ b/protocol/login/login.pb.go @@ -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 diff --git a/protocol/luckydice/luckydice.pb.go b/protocol/luckydice/luckydice.pb.go index ed7689e..8f88233 100644 --- a/protocol/luckydice/luckydice.pb.go +++ b/protocol/luckydice/luckydice.pb.go @@ -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 diff --git a/protocol/message/message.pb.go b/protocol/message/message.pb.go index f32b3a8..6937420 100644 --- a/protocol/message/message.pb.go +++ b/protocol/message/message.pb.go @@ -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 diff --git a/protocol/pets/pets.pb.go b/protocol/pets/pets.pb.go index 66eb1c1..c5992e3 100644 --- a/protocol/pets/pets.pb.go +++ b/protocol/pets/pets.pb.go @@ -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 diff --git a/protocol/player/player.pb.go b/protocol/player/player.pb.go index e7a41bf..a7d9844 100644 --- a/protocol/player/player.pb.go +++ b/protocol/player/player.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode int32 const ( @@ -247,7 +247,7 @@ func (OpResultCode) EnumDescriptor() ([]byte, []int) { return file_player_proto_rawDescGZIP(), []int{0} } -//获取玩家数据消息id +// 获取玩家数据消息id type PlayerPacketID int32 const ( @@ -1022,8 +1022,8 @@ func (x *SCSavePlayerInfo) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//获取玩家基本信息 -//PACKET_CS_PLAYERDATA +// 获取玩家基本信息 +// PACKET_CS_PLAYERDATA type CSPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1566,7 +1566,7 @@ func (x *PlayerData) GetAge() int32 { return 0 } -//断线重连小游戏中的数据 当前玩家在哪个房间 哪个游戏 对应的LogicId +// 断线重连小游戏中的数据 当前玩家在哪个房间 哪个游戏 对应的LogicId type MiniGameInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1630,7 +1630,7 @@ func (x *MiniGameInfo) GetLogicId() int32 { return 0 } -//PACKET_SC_PLAYERDATA +// PACKET_SC_PLAYERDATA type SCPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1726,7 +1726,7 @@ func (x *SCPlayerData) GetMiniGameArr() []*MiniGameInfo { return nil } -//PACKET_SC_PLAYERDATAUPDATE +// PACKET_SC_PLAYERDATAUPDATE type SCPlayerDataUpdate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1878,8 +1878,8 @@ func (x *SCPlayerDataUpdate) GetInviteScore() int64 { return 0 } -//获取第三方玩家信息 -//PACKET_CS_THIRDPLAYERDATA +// 获取第三方玩家信息 +// PACKET_CS_THIRDPLAYERDATA type CSThirdPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1927,7 +1927,7 @@ func (x *CSThirdPlayerData) GetId() int32 { return 0 } -//PACKET_SC_THIRDPLAYERDATA +// PACKET_SC_THIRDPLAYERDATA type SCThirdPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1975,8 +1975,8 @@ func (x *SCThirdPlayerData) GetData() *PlayerData { return nil } -//改昵称 -//PACKET_CS_CHANGENICK +// 改昵称 +// PACKET_CS_CHANGENICK type CSChangeNick struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2024,7 +2024,7 @@ func (x *CSChangeNick) GetNick() string { return "" } -//PACKET_SC_CHANGENICK +// PACKET_SC_CHANGENICK type SCChangeNick struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2080,8 +2080,8 @@ func (x *SCChangeNick) GetNick() string { return "" } -//改密码 -//PACKET_CS_CHANGEPASSWORD +// 改密码 +// PACKET_CS_CHANGEPASSWORD type CSChangePassword struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2153,7 +2153,7 @@ func (x *CSChangePassword) GetTimeStamp() int64 { return 0 } -//PACKET_SC_CHANGEPASSWORD +// PACKET_SC_CHANGEPASSWORD type SCChangePassword struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2209,8 +2209,8 @@ func (x *SCChangePassword) GetChangeType() int32 { return 0 } -//更换头像 -//PACKET_CS_CHANGEICON +// 更换头像 +// PACKET_CS_CHANGEICON type CSPlayerChangeIcon struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2258,7 +2258,7 @@ func (x *CSPlayerChangeIcon) GetIcon() int32 { return 0 } -//PACKET_SC_CHANGEICON +// PACKET_SC_CHANGEICON type SCPlayerChangeIcon struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2314,8 +2314,8 @@ func (x *SCPlayerChangeIcon) GetIcon() int32 { return 0 } -//更换头像框 -//PACKET_CS_HEADOUTLINE +// 更换头像框 +// PACKET_CS_HEADOUTLINE type CSPlayerChangeHeadOutLine struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2363,7 +2363,7 @@ func (x *CSPlayerChangeHeadOutLine) GetHeadOutLine() int32 { return 0 } -//PACKET_SC_HEADOUTLINE +// PACKET_SC_HEADOUTLINE type SCPlayerChangeHeadOutLine struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2419,8 +2419,8 @@ func (x *SCPlayerChangeHeadOutLine) GetHeadOutLine() int32 { return 0 } -//更换性别 -//PACKET_CS_CHANGESEX +// 更换性别 +// PACKET_CS_CHANGESEX type CSPlayerChangeSex struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2468,7 +2468,7 @@ func (x *CSPlayerChangeSex) GetSex() int32 { return 0 } -//PACKET_SC_CHANGESEX +// PACKET_SC_CHANGESEX type SCPlayerChangeSex struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2628,8 +2628,8 @@ func (x *SCHeadUrl) GetUrl() string { return "" } -//获取验证码 -//PACKET_CS_VERIFICATIONCODE +// 获取验证码 +// PACKET_CS_VERIFICATIONCODE type CSPlayerVerificationCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2725,7 +2725,7 @@ func (x *CSPlayerVerificationCode) GetDeviceInfo() string { return "" } -//PACKET_SC_VERIFICATIONCODE +// PACKET_SC_VERIFICATIONCODE type SCPlayerVerificationCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2781,8 +2781,8 @@ func (x *SCPlayerVerificationCode) GetVerificationCode() int32 { return 0 } -//注册帐号 -//PACKET_CS_REGISTER +// 注册帐号 +// PACKET_CS_REGISTER type CSRegister struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2974,7 +2974,7 @@ func (x *CSRegister) GetRegistType() int32 { return 0 } -//PACKET_SC_REGISTER +// PACKET_SC_REGISTER type SCRegister struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3038,8 +3038,8 @@ func (x *SCRegister) GetSrvTs() int64 { return 0 } -//账号升级,绑定手机,找回密码 -//PACKET_CS_UPGRADEACCOUNT +// 账号升级,绑定手机,找回密码 +// PACKET_CS_UPGRADEACCOUNT type CSUpgradeAccount struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3127,7 +3127,7 @@ func (x *CSUpgradeAccount) GetPlatformTag() string { return "" } -//PACKET_SC_UPGRADEACCOUNT +// PACKET_SC_UPGRADEACCOUNT type SCUpgradeAccount struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3191,8 +3191,8 @@ func (x *SCUpgradeAccount) GetChangeType() int32 { return 0 } -//绑定支付宝账号 -//PACKET_CS_BINDALIPAY +// 绑定支付宝账号 +// PACKET_CS_BINDALIPAY type CSBindAlipay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3264,7 +3264,7 @@ func (x *CSBindAlipay) GetPassword() string { return "" } -//PACKET_SC_BINDALIPAY +// PACKET_SC_BINDALIPAY type SCBindAlipay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3328,8 +3328,8 @@ func (x *SCBindAlipay) GetAlipayAccName() string { return "" } -//绑定银行卡账号 -//PACKET_CS_BINDBANK +// 绑定银行卡账号 +// PACKET_CS_BINDBANK type CSBindBank struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3409,7 +3409,7 @@ func (x *CSBindBank) GetPassword() string { return "" } -//PACKET_SC_BINDBANK +// PACKET_SC_BINDBANK type SCBindBank struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3481,8 +3481,8 @@ func (x *SCBindBank) GetBankAccName() string { return "" } -//PACKET_SC_PLAYERFLAG -//玩家状态标记同步 +// PACKET_SC_PLAYERFLAG +// 玩家状态标记同步 type SCPlayerFlag struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3538,7 +3538,7 @@ func (x *SCPlayerFlag) GetFlag() int32 { return 0 } -//PACKET_SC_PLAYERCOINCHANGE +// PACKET_SC_PLAYERCOINCHANGE type SCPlayerCoinChange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3602,7 +3602,7 @@ func (x *SCPlayerCoinChange) GetRestCoin() int64 { return 0 } -//PACKET_SC_PLAYERRECHARGEANSWER +// PACKET_SC_PLAYERRECHARGEANSWER type SCPlayerRechargeAnswer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3674,7 +3674,7 @@ func (x *SCPlayerRechargeAnswer) GetSafeBoxCoin() int64 { return 0 } -//数据日志 +// 数据日志 type DataLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3754,7 +3754,7 @@ func (x *DataLog) GetRemark() string { return "" } -//PACKET_CS_GETDATALOG +// PACKET_CS_GETDATALOG type CSGetDataLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3810,7 +3810,7 @@ func (x *CSGetDataLog) GetVer() int32 { return 0 } -//PACKET_SC_GETDATALOG +// PACKET_SC_GETDATALOG type SCGetDataLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3874,7 +3874,7 @@ func (x *SCGetDataLog) GetDatas() []*DataLog { return nil } -//游戏金币日志 +// 游戏金币日志 type GameCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3954,7 +3954,7 @@ func (x *GameCoinLog) GetLeaveTs() int64 { return 0 } -//PACKET_CS_GETGAMECOINLOG +// PACKET_CS_GETGAMECOINLOG type CSGetGameCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4002,7 +4002,7 @@ func (x *CSGetGameCoinLog) GetTs() int64 { return 0 } -//PACKET_SC_GETGAMECOINLOG +// PACKET_SC_GETGAMECOINLOG type SCGetGameCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4058,8 +4058,8 @@ func (x *SCGetGameCoinLog) GetLogs() []*GameCoinLog { return nil } -//保险箱存取款 -//PACKET_CS_PLAYEROPCOIN +// 保险箱存取款 +// PACKET_CS_PLAYEROPCOIN type CSPlayerOpCoin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4131,7 +4131,7 @@ func (x *CSPlayerOpCoin) GetTimeStamp() int64 { return 0 } -//PACKET_SC_PLAYEROPCOIN +// PACKET_SC_PLAYEROPCOIN type SCPlayerOpCoin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4203,7 +4203,7 @@ func (x *SCPlayerOpCoin) GetSafeBoxCoin() int64 { return 0 } -//保险箱金币日志 +// 保险箱金币日志 type SafeBoxCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4283,7 +4283,7 @@ func (x *SafeBoxCoinLog) GetTs() int64 { return 0 } -//PACKET_CS_GETSAFEBOXCOINLOG +// PACKET_CS_GETSAFEBOXCOINLOG type CSGetSafeBoxCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4331,7 +4331,7 @@ func (x *CSGetSafeBoxCoinLog) GetTs() int64 { return 0 } -//PACKET_SC_GETSAFEBOXCOINLOG +// PACKET_SC_GETSAFEBOXCOINLOG type SCGetSafeBoxCoinLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4387,8 +4387,8 @@ func (x *SCGetSafeBoxCoinLog) GetLogs() []*SafeBoxCoinLog { return nil } -//领取邀请码奖励 -//PACKET_CS_INVITECODE +// 领取邀请码奖励 +// PACKET_CS_INVITECODE type CSPlayerInviteCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4436,7 +4436,7 @@ func (x *CSPlayerInviteCode) GetCode() string { return "" } -//PACKET_SC_INVITECODE +// PACKET_SC_INVITECODE type SCPlayerInviteCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4484,8 +4484,8 @@ func (x *SCPlayerInviteCode) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//玩家API透传 -//PACKET_CS_WEBAPI_PLAYERPASS +// 玩家API透传 +// PACKET_CS_WEBAPI_PLAYERPASS type CSWebAPIPlayerPass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4549,7 +4549,7 @@ func (x *CSWebAPIPlayerPass) GetCBData() string { return "" } -//PACKET_SC_WEBAPI_PLAYERPASS +// PACKET_SC_WEBAPI_PLAYERPASS type SCWebAPIPlayerPass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4621,8 +4621,8 @@ func (x *SCWebAPIPlayerPass) GetResponse() string { return "" } -//系统API透传 -//PACKET_CS_WEBAPI_SYSTEMPASS +// 系统API透传 +// PACKET_CS_WEBAPI_SYSTEMPASS type CSWebAPISystemPass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4686,7 +4686,7 @@ func (x *CSWebAPISystemPass) GetCBData() string { return "" } -//PACKET_SC_WEBAPI_SYSTEMPASS +// PACKET_SC_WEBAPI_SYSTEMPASS type SCWebAPISystemPass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4758,8 +4758,8 @@ func (x *SCWebAPISystemPass) GetResponse() string { return "" } -//绑定推广关系 -//PACKET_CS_SPREADBIND +// 绑定推广关系 +// PACKET_CS_SPREADBIND type CSSpreadBind struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4807,8 +4807,8 @@ func (x *CSSpreadBind) GetParentId() int32 { return 0 } -//绑定推广关系 -//PACKET_SC_SPREADBIND +// 绑定推广关系 +// PACKET_SC_SPREADBIND type SCSpreadBind struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4864,8 +4864,8 @@ func (x *SCSpreadBind) GetParentId() int32 { return 0 } -//绑定推广员 -//PACKET_CS_BINDPROMOTER +// 绑定推广员 +// PACKET_CS_BINDPROMOTER type CSBindPromoter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4913,8 +4913,8 @@ func (x *CSBindPromoter) GetPromoter() string { return "" } -//绑定推广员 -//PACKET_SC_BINDPROMOTER +// 绑定推广员 +// PACKET_SC_BINDPROMOTER type SCBindPromoter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4970,8 +4970,8 @@ func (x *SCBindPromoter) GetPromoter() string { return "" } -//通知是否显示推广员绑定信息 -//PACKET_SC_BINDPROMOTERSTATE +// 通知是否显示推广员绑定信息 +// PACKET_SC_BINDPROMOTERSTATE type SCBindPromoterState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5019,8 +5019,8 @@ func (x *SCBindPromoterState) GetBindState() int32 { return 0 } -//生成客服会话token -//PACKET_CS_GENCUSTOMTOKEN +// 生成客服会话token +// PACKET_CS_GENCUSTOMTOKEN type CSGenCustomerToken struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5059,8 +5059,8 @@ func (*CSGenCustomerToken) Descriptor() ([]byte, []int) { return file_player_proto_rawDescGZIP(), []int{59} } -//生成客服会话token -//PACKET_SC_GENCUSTOMTOKEN +// 生成客服会话token +// PACKET_SC_GENCUSTOMTOKEN type SCGenCustomerToken struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5163,8 +5163,8 @@ func (x *CustomerMsg) GetData() string { return "" } -//客服新消息提醒 -//PACKET_SC_CUSTOMNEWMSG +// 客服新消息提醒 +// PACKET_SC_CUSTOMNEWMSG type SCCustomerNewMsg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5212,7 +5212,7 @@ func (x *SCCustomerNewMsg) GetData() []*CustomerMsg { return nil } -//PACKET_CS_CUSTOMNEWMSGACK +// PACKET_CS_CUSTOMNEWMSGACK type CSCustomerNewMsgAck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5260,8 +5260,8 @@ func (x *CSCustomerNewMsgAck) GetMsgIds() []string { return nil } -//获取图片验证码 -//PACKET_CS_GETIMAGEVERIFYCODE +// 获取图片验证码 +// PACKET_CS_GETIMAGEVERIFYCODE type CSGetImageVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5300,7 +5300,7 @@ func (*CSGetImageVerifyCode) Descriptor() ([]byte, []int) { return file_player_proto_rawDescGZIP(), []int{64} } -//PACKET_SC_GETIMAGEVERIFYCODE +// PACKET_SC_GETIMAGEVERIFYCODE type SCGetImageVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5357,7 +5357,7 @@ func (x *SCGetImageVerifyCode) GetImageData() string { } // 验证图片验证码 -//PACKET_CS_ImageVerifyCode +// PACKET_CS_ImageVerifyCode type CSImageVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5405,7 +5405,7 @@ func (x *CSImageVerifyCode) GetCode() string { return "" } -//PACKET_SC_ImageVerifyCode +// PACKET_SC_ImageVerifyCode type SCImageVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5453,8 +5453,8 @@ func (x *SCImageVerifyCode) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//玩家托管 -//PACKET_SC_TRUSTEESHIPTIPS +// 玩家托管 +// PACKET_SC_TRUSTEESHIPTIPS type SCTrusteeshipTips struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5526,8 +5526,8 @@ func (x *SCTrusteeshipTips) GetOpParams() []int32 { return nil } -//获取滑块验证码 -//PACKET_CS_GETSLIDERVERIFYCODE +// 获取滑块验证码 +// PACKET_CS_GETSLIDERVERIFYCODE type CSGetSliderVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5575,8 +5575,8 @@ func (x *CSGetSliderVerifyCode) GetTel() string { return "" } -//获取滑块验证码 -//PACKET_SC_GETSLIDERVERIFYCODE +// 获取滑块验证码 +// PACKET_SC_GETSLIDERVERIFYCODE type SCGetSliderVerifyCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5632,8 +5632,8 @@ func (x *SCGetSliderVerifyCode) GetPos() int32 { return 0 } -//标注ios用户准备升级稳定版本 -//PACKET_CS_IOSINSTALLSTABLE +// 标注ios用户准备升级稳定版本 +// PACKET_CS_IOSINSTALLSTABLE type CSIosInstallStable struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5689,8 +5689,8 @@ func (x *CSIosInstallStable) GetTel() string { return "" } -//标注ios用户准备升级稳定版本 -//PACKET_SC_IOSINSTALLSTABLE +// 标注ios用户准备升级稳定版本 +// PACKET_SC_IOSINSTALLSTABLE type SCIosInstallStable struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5793,7 +5793,7 @@ func (x *SrvMsgParam) GetStrParam() string { return "" } -//服务端消息提示 +// 服务端消息提示 type SCSrvMsg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6103,7 +6103,7 @@ func (x *SCFishJackpotCoin) GetCoin() int64 { return 0 } -//PACKET_SC_NICEIDREBIND +// PACKET_SC_NICEIDREBIND type SCNiceIdRebind struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6159,8 +6159,8 @@ func (x *SCNiceIdRebind) GetNiceId() int32 { return 0 } -//请求客损功能是否打开 -//PACKET_CS_GetSpreadLWIsOpen +// 请求客损功能是否打开 +// PACKET_CS_GetSpreadLWIsOpen type CSGetSpreadLWIsOpen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6199,8 +6199,8 @@ func (*CSGetSpreadLWIsOpen) Descriptor() ([]byte, []int) { return file_player_proto_rawDescGZIP(), []int{81} } -//获取滑块验证码 -//PACKET_SC_GETSLIDERVERIFYCODE +// 获取滑块验证码 +// PACKET_SC_GETSLIDERVERIFYCODE type SCGetSpreadLWIsOpen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6335,7 +6335,7 @@ func (x *PayActInfo) GetState() int32 { return 0 } -//PACKET_SC_PayAct_State +// PACKET_SC_PayAct_State type SCPayActState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6383,7 +6383,7 @@ func (x *SCPayActState) GetPayState() []*PayActInfo { return nil } -//PACKET_CS_QUERYPLAYER +// PACKET_CS_QUERYPLAYER type CSQueryPlayer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6494,7 +6494,7 @@ func (x *RoleOrPet) GetName() string { return "" } -//PACKET_SC_QUERYPLAYER +// PACKET_SC_QUERYPLAYER type SCQueryPlayer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6670,7 +6670,7 @@ func (x *SCQueryPlayer) GetGameID() []int32 { return nil } -//PACKET_CS_PMCMD +// PACKET_CS_PMCMD type CSPMCmd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6718,8 +6718,8 @@ func (x *CSPMCmd) GetCmd() string { return "" } -//PACKET_CS_ROBOTCHGDATA -//获取玩家基本信息 +// PACKET_CS_ROBOTCHGDATA +// 获取玩家基本信息 type CSRobotChgData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6767,7 +6767,7 @@ func (x *CSRobotChgData) GetParams() []string { return nil } -//物品信息 后续精简 +// 物品信息 后续精简 type ItemInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6975,8 +6975,8 @@ func (x *JybInfoAward) GetDiamond() int64 { return 0 } -// PACKET_ALL_SETTING -// 设置界面的相关操作 +// PACKET_ALL_SETTING +// 设置界面的相关操作 type CSPlayerSetting struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7087,7 +7087,7 @@ func (x *SCPlayerSetting) GetGainItem() *JybInfoAward { return nil } -//PACKET_SCGAMEEXDROPITEMS +// PACKET_SCGAMEEXDROPITEMS type SCGameExDropItems struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7135,8 +7135,8 @@ func (x *SCGameExDropItems) GetItems() map[int32]int32 { return nil } -//VIP充值 假充值 后续走三方回调 -//PACKET_CS_VIPBUY +// VIP充值 假充值 后续走三方回调 +// PACKET_CS_VIPBUY type CSVIPBuy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7184,8 +7184,8 @@ func (x *CSVIPBuy) GetMoney() int32 { return 0 } -//VIP充值 -//PACKET_SC_VIPBUY +// VIP充值 +// PACKET_SC_VIPBUY type SCVIPBuy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7257,8 +7257,8 @@ func (x *SCVIPBuy) GetTolVipExp() int64 { return 0 } -//VIP领取 -//PACKET_CS_DRAWVIPGIFT +// VIP领取 +// PACKET_CS_DRAWVIPGIFT type CSVIPDraw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7306,8 +7306,8 @@ func (x *CSVIPDraw) GetId() int32 { return 0 } -//VIP领取 -//PACKET_SC_DRAWVIPGIFT +// VIP领取 +// PACKET_SC_DRAWVIPGIFT type SCVIPDraw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7371,8 +7371,8 @@ func (x *SCVIPDraw) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//VIP信息 -//PACKET_CS_VIPINFO +// VIP信息 +// PACKET_CS_VIPINFO type CSVIPInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7586,8 +7586,8 @@ func (x *VIPcfg) GetBagStatus() []int32 { return nil } -//VIP信息 -//PACKET_SC_VIPINFO +// VIP信息 +// PACKET_SC_VIPINFO type SCVIPInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7683,8 +7683,7 @@ func (x *SCVIPInfo) GetMoneyRatio() int32 { return 0 } -// -//PACKET_SC_SWELFAREINFO +// PACKET_SC_SWELFAREINFO type SCEasyWelfaredInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7779,7 +7778,7 @@ func (x *CSVIPPrivilegeInfo) GetCode() int32 { return 0 } -//PACKET_SC_VIPPrivilegeInfo +// PACKET_SC_VIPPrivilegeInfo type SCVIPPrivilegeInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7906,8 +7905,8 @@ func (x *PayItem) GetItemNum() int64 { return 0 } -//支付掉落 -//PACKET_SC_PAYGOODSINFO +// 支付掉落 +// PACKET_SC_PAYGOODSINFO type SCPayGoodsInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7964,7 +7963,7 @@ func (x *SCPayGoodsInfo) GetItem() []*PayItem { } // 资源更新 -//PACKET_SC_RESOURCE +// PACKET_SC_RESOURCE type SCResource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8012,7 +8011,7 @@ func (x *SCResource) GetMsg() string { return "" } -//PACKET_CS_CLIENT_LOG +// PACKET_CS_CLIENT_LOG type CSClientLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8060,7 +8059,7 @@ func (x *CSClientLog) GetData() string { return "" } -//PACKET_SC_CLIENT_LOG +// PACKET_SC_CLIENT_LOG type SCClientLog struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8108,8 +8107,8 @@ func (x *SCClientLog) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//捕鱼解锁炮倍 -//PACKET_SC_PlayerUnPower +// 捕鱼解锁炮倍 +// PACKET_SC_PlayerUnPower type SCPlayerUnPower struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8157,8 +8156,8 @@ func (x *SCPlayerUnPower) GetUnMaxpower() int64 { return 0 } -//捕鱼解锁炮台 -//PACKET_SC_PlayerUnPowerList +// 捕鱼解锁炮台 +// PACKET_SC_PlayerUnPowerList type SCPlayerUnPowerList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8206,8 +8205,8 @@ func (x *SCPlayerUnPowerList) GetUnPowerList() int32 { return 0 } -//玩家升级 -//PACKET_SC_PlayerUpLevel +// 玩家升级 +// PACKET_SC_PlayerUpLevel type SCPlayerUpLevel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8745,8 +8744,8 @@ func (x *SCHttpPass) GetResponse() string { return "" } -//抽手机 请求抽奖数据 -//PACKET_CS_PhoneLotteryInfo +// 抽手机 请求抽奖数据 +// PACKET_CS_PhoneLotteryInfo type CSPhoneLotteryInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8785,8 +8784,8 @@ func (*CSPhoneLotteryInfo) Descriptor() ([]byte, []int) { return file_player_proto_rawDescGZIP(), []int{121} } -//抽手机 返回抽奖数据 -//PACKET_SC_PhoneLotteryInfo +// 抽手机 返回抽奖数据 +// PACKET_SC_PhoneLotteryInfo type SCPhoneLotteryInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8850,8 +8849,8 @@ func (x *SCPhoneLotteryInfo) GetItem() []*LotteryItem { return nil } -//请求抽奖 -//PACKET_CS_PhoneLottery +// 请求抽奖 +// PACKET_CS_PhoneLottery type CSPhoneLottery struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8899,8 +8898,8 @@ func (x *CSPhoneLottery) GetLotteryType() int32 { return 0 } -//请求抽奖返回 -//PACKET_SC_PhoneLottery +// 请求抽奖返回 +// PACKET_SC_PhoneLottery type SCPhoneLottery struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9027,8 +9026,8 @@ func (x *LotteryItem) GetItemNum() int64 { return 0 } -//通知抽奖剩余次数 -//PACKET_SC_PhoneLotteryCount +// 通知抽奖剩余次数 +// PACKET_SC_PhoneLotteryCount type SCPhoneLotteryCount struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/qpapi/qpapi.pb.go b/protocol/qpapi/qpapi.pb.go index 87ab3d7..6235473 100644 --- a/protocol/qpapi/qpapi.pb.go +++ b/protocol/qpapi/qpapi.pb.go @@ -77,7 +77,7 @@ func (TagCode) EnumDescriptor() ([]byte, []int) { return file_qpapi_proto_rawDescGZIP(), []int{0} } -//[action] /api/Member/QPAPIRegisterOrLogin +// [action] /api/Member/QPAPIRegisterOrLogin type ASLogin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -220,7 +220,7 @@ func (x *SALogin) GetSnid() int32 { return 0 } -//加币 +// 加币 // [action] /api/game/QPAPIAddSubCoinById type ASAddCoinById struct { state protoimpl.MessageState @@ -428,7 +428,7 @@ func (x *PlayerCoinData) GetBank() int64 { return 0 } -//查用户金币 /api/Member/QPGetMemberGoldById +// 查用户金币 /api/Member/QPGetMemberGoldById type ASMemberGold struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -755,7 +755,7 @@ func (x *PlayerHistoryInfo) GetUserName() string { return "" } -//获取用户注单记录游戏记录 /api/Member/QPGetGameHistory +// 获取用户注单记录游戏记录 /api/Member/QPGetGameHistory type SAPlayerHistory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/richblessed/richblessed.pb.go b/protocol/richblessed/richblessed.pb.go index dd3a491..8096dfc 100644 --- a/protocol/richblessed/richblessed.pb.go +++ b/protocol/richblessed/richblessed.pb.go @@ -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 diff --git a/protocol/rollpoint/rollpoint.pb.go b/protocol/rollpoint/rollpoint.pb.go index 4f43ba0..2bea81a 100644 --- a/protocol/rollpoint/rollpoint.pb.go +++ b/protocol/rollpoint/rollpoint.pb.go @@ -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 diff --git a/protocol/rollteam/rollteam.pb.go b/protocol/rollteam/rollteam.pb.go index 1237463..9931e77 100644 --- a/protocol/rollteam/rollteam.pb.go +++ b/protocol/rollteam/rollteam.pb.go @@ -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 diff --git a/protocol/roulette/roulette.pb.go b/protocol/roulette/roulette.pb.go index 1001ac4..064d3c3 100644 --- a/protocol/roulette/roulette.pb.go +++ b/protocol/roulette/roulette.pb.go @@ -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 diff --git a/protocol/samloc/samloc.pb.go b/protocol/samloc/samloc.pb.go index e054a0f..11d4054 100644 --- a/protocol/samloc/samloc.pb.go +++ b/protocol/samloc/samloc.pb.go @@ -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 diff --git a/protocol/server/server.pb.go b/protocol/server/server.pb.go index 5d36cf4..92ab767 100644 --- a/protocol/server/server.pb.go +++ b/protocol/server/server.pb.go @@ -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 diff --git a/protocol/server/transmit.pb.go b/protocol/server/transmit.pb.go index 52f52aa..254175f 100644 --- a/protocol/server/transmit.pb.go +++ b/protocol/server/transmit.pb.go @@ -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 diff --git a/protocol/shop/shop.pb.go b/protocol/shop/shop.pb.go index 37a4436..1f60429 100644 --- a/protocol/shop/shop.pb.go +++ b/protocol/shop/shop.pb.go @@ -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 diff --git a/protocol/smallrocket/smallrocket.pb.go b/protocol/smallrocket/smallrocket.pb.go index 4020ef5..69519b1 100644 --- a/protocol/smallrocket/smallrocket.pb.go +++ b/protocol/smallrocket/smallrocket.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//小火箭 +// 小火箭 type SmallRocketPacketID int32 const ( @@ -94,7 +94,7 @@ func (SmallRocketPacketID) EnumDescriptor() ([]byte, []int) { return file_smallrocket_proto_rawDescGZIP(), []int{0} } -//操作结果 +// 操作结果 type OpResultCode int32 const ( @@ -362,7 +362,7 @@ func (x *SmallRocketPlayerData) GetParams() []string { return nil } -//房间信息 +// 房间信息 type SCSmallRocketRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -530,7 +530,7 @@ func (x *SCSmallRocketRoomInfo) GetBaseScore() int32 { return 0 } -//玩家操作 +// 玩家操作 type CSSmallRocketOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -586,7 +586,7 @@ func (x *CSSmallRocketOp) GetParams() []int64 { return nil } -//玩家操作返回 +// 玩家操作返回 type SCSmallRocketOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -666,7 +666,7 @@ func (x *SCSmallRocketOp) GetBetDataArr() []*BetDataInfo { return nil } -//房间人数变化 +// 房间人数变化 type SCSmallRocketBetPlayerChange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -714,7 +714,7 @@ func (x *SCSmallRocketBetPlayerChange) GetTotalBetPlayerCnt() int32 { return 0 } -//历史倍数记录 +// 历史倍数记录 type SCSmallRoundBoomMuHistory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -762,7 +762,7 @@ func (x *SCSmallRoundBoomMuHistory) GetRoundBoomMuHistory() []float32 { return nil } -//玩家获取收益跳伞 +// 玩家获取收益跳伞 type SCSmallRocketPlayerTakeGain struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -818,7 +818,7 @@ func (x *SCSmallRocketPlayerTakeGain) GetLeaveTime() float32 { return 0 } -//发送给客户端的数据 单局结算 +// 发送给客户端的数据 单局结算 type SCSmallRocketRoundGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -898,7 +898,7 @@ func (x *SCSmallRocketRoundGameBilled) GetRoundBoomMuHistory() []float32 { return nil } -//房间状态 +// 房间状态 type SCSmallRocketRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -954,7 +954,7 @@ func (x *SCSmallRocketRoomState) GetParams() []float32 { return nil } -//玩家信息 +// 玩家信息 type SCSmallRocketPlayerInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1122,8 +1122,8 @@ func (x *SCSmallRocketResumePlayerInfo) GetBetDataArr() []*BetDataInfo { return nil } -//玩家进入 -//PACKET_SCSmallRocketPlayerEnter +// 玩家进入 +// PACKET_SCSmallRocketPlayerEnter type SCSmallRocketPlayerEnter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1171,8 +1171,8 @@ func (x *SCSmallRocketPlayerEnter) GetData() *SmallRocketPlayerData { return nil } -//玩家离开 -//PACKET_SCSmallRocketPlayerLeave +// 玩家离开 +// PACKET_SCSmallRocketPlayerLeave type SCSmallRocketPlayerLeave struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/tala/tala.pb.go b/protocol/tala/tala.pb.go index 1814429..ee233c7 100644 --- a/protocol/tala/tala.pb.go +++ b/protocol/tala/tala.pb.go @@ -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_tala_proto_rawDescGZIP(), []int{0} } -//tala +// tala type TaLaPacketID int32 const ( @@ -162,7 +162,7 @@ func (TaLaPacketID) EnumDescriptor() ([]byte, []int) { return file_tala_proto_rawDescGZIP(), []int{1} } -//玩家信息 +// 玩家信息 type TaLaPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -433,7 +433,7 @@ func (x *LastDelCard) GetCards() []int32 { return nil } -//房间信息 +// 房间信息 type SCTaLaRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -625,7 +625,7 @@ func (x *SCTaLaRoomInfo) GetIsLast() bool { return false } -//房间状态更新 +// 房间状态更新 type SCTaLaRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -681,7 +681,7 @@ func (x *SCTaLaRoomState) GetParams() []int64 { return nil } -//玩家操作 +// 玩家操作 type CSTaLaPlayerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -808,7 +808,7 @@ func (x *SCTaLaPlayerOp) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//玩家进入 +// 玩家进入 type SCTaLaPlayerEnter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -856,7 +856,7 @@ func (x *SCTaLaPlayerEnter) GetData() *TaLaPlayerData { return nil } -//玩家离开 +// 玩家离开 type SCTaLaPlayerLeave struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -904,7 +904,7 @@ func (x *SCTaLaPlayerLeave) GetPos() int32 { return 0 } -//结算结果 +// 结算结果 type TaLaPlayerGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1047,7 +1047,7 @@ func (x *SCTaLaGameBilled) GetDatas() []*TaLaPlayerGameBilled { return nil } -//小结算结果 +// 小结算结果 type SCTaLaSmallGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1135,7 +1135,7 @@ func (x *SCTaLaSmallGameBilled) GetLoseCoin() int64 { return 0 } -//发手牌 +// 发手牌 type SCTaLaHandCard struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1230,7 +1230,7 @@ func (x *Phoms) GetPhom() []int32 { return nil } -//ShowPhom +// ShowPhom type SCTaLaShowPhom struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1349,7 +1349,7 @@ func (x *MapSnidCards) GetSnidCard() map[int32]int32 { return nil } -//组Phom +// 组Phom type SCTaLaOpPhom struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1633,7 +1633,7 @@ func (x *SCTaLaMoveCard) GetCard() int32 { return 0 } -//RecommendPhom +// RecommendPhom type SCTaLaRecommendPhom struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1689,7 +1689,7 @@ func (x *SCTaLaRecommendPhom) GetCards() []int32 { return nil } -//PACKET_SCTaLaFirstOpPos +// PACKET_SCTaLaFirstOpPos type SCTaLaFirstOpPos struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/tamquoc/tamquoc.pb.go b/protocol/tamquoc/tamquoc.pb.go index 9b09707..a716d5f 100644 --- a/protocol/tamquoc/tamquoc.pb.go +++ b/protocol/tamquoc/tamquoc.pb.go @@ -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_tamquoc_proto_rawDescGZIP(), []int{0} } -//百战成神 +// 百战成神 type TamQuocPacketID int32 const ( @@ -241,7 +241,7 @@ func (x *TamQuocPlayerData) GetParams() []string { return nil } -//小游戏信息 +// 小游戏信息 type TamQuocBonusGameInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -313,7 +313,7 @@ func (x *TamQuocBonusGameInfo) GetDataMultiplier() int64 { return 0 } -//房间信息 +// 房间信息 type SCTamQuocRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -489,7 +489,7 @@ func (x *SCTamQuocRoomInfo) GetBilledData() *GameBilledData { return nil } -//玩家操作 +// 玩家操作 type CSTamQuocOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -545,7 +545,7 @@ func (x *CSTamQuocOp) GetParams() []int64 { return nil } -//玩家操作返回 +// 玩家操作返回 type SCTamQuocOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -617,7 +617,7 @@ func (x *SCTamQuocOp) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//每条线的结算数据 +// 每条线的结算数据 type TamQuocLinesInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -840,7 +840,7 @@ func (x *GameBilledData) GetResponseStatus() int64 { return 0 } -//发送给客户端的数据 结算 +// 发送给客户端的数据 结算 type SCTamQuocGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1144,7 +1144,7 @@ func (x *SCTamQuocBurstHistory) GetBurstLog() []*TamQuocBurstHistoryInfo { return nil } -//房间状态 +// 房间状态 type SCTamQuocRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/task/task.pb.go b/protocol/task/task.pb.go index ded6ef6..caa27f2 100644 --- a/protocol/task/task.pb.go +++ b/protocol/task/task.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode int32 const ( diff --git a/protocol/telegramapi/telegramapi.pb.go b/protocol/telegramapi/telegramapi.pb.go index b74045a..8fa26f0 100644 --- a/protocol/telegramapi/telegramapi.pb.go +++ b/protocol/telegramapi/telegramapi.pb.go @@ -77,7 +77,7 @@ func (TagCode) EnumDescriptor() ([]byte, []int) { return file_telegramapi_proto_rawDescGZIP(), []int{0} } -//[action] /api/Member/APIMemberRegisterOrLogin +// [action] /api/Member/APIMemberRegisterOrLogin type ASLogin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -228,7 +228,7 @@ func (x *SALogin) GetSnid() int32 { return 0 } -//加币 +// 加币 // [action] /api/game/APIAddCoinById type ASAddCoinById struct { state protoimpl.MessageState @@ -476,7 +476,7 @@ func (x *PlayerCoinData) GetBank() int64 { return 0 } -//查用户金币 /api/Member/GetMemberGoldById +// 查用户金币 /api/Member/GetMemberGoldById type ASMemberGold struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -595,7 +595,7 @@ func (x *SAMemberGold) GetData() *PlayerCoinData { return nil } -//校验碰撞游戏Hash /api/game/CrashVerifier +// 校验碰撞游戏Hash /api/game/CrashVerifier type ASCrachHash struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -882,7 +882,7 @@ func (x *PlayerHistoryInfo) GetMultiple() int64 { return 0 } -//获取用户注单记录游戏记录 /api/Member/GetGameHistory +// 获取用户注单记录游戏记录 /api/Member/GetGameHistory type SAPlayerHistory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -954,7 +954,7 @@ func (x *SAPlayerHistory) GetGameHistory() []*GameHistoryInfo { return nil } -//获取用户注单记录游戏记录 /api/Member/GetGameHistory +// 获取用户注单记录游戏记录 /api/Member/GetGameHistory type ASPlayerHistory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/thirteen/thirteen.pb.go b/protocol/thirteen/thirteen.pb.go index 3fae835..c2447e7 100644 --- a/protocol/thirteen/thirteen.pb.go +++ b/protocol/thirteen/thirteen.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//十三水 +// 十三水 type TWMmoPacketID int32 const ( @@ -315,7 +315,7 @@ func (x *Poker) GetCards() []int32 { return nil } -//PACKET_SCThirteenPlayerCards +// PACKET_SCThirteenPlayerCards type SCThirteenPlayerCards struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -379,8 +379,8 @@ func (x *SCThirteenPlayerCards) GetAllCardsO() []*Poker { return nil } -//玩家操作 -//PACKET_CSThirteenPlayerOp +// 玩家操作 +// PACKET_CSThirteenPlayerOp type CSThirteenPlayerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -440,7 +440,7 @@ func (x *CSThirteenPlayerOp) GetOpParam() []int64 { return nil } -//PACKET_SCThirteenPlayerOp +// PACKET_SCThirteenPlayerOp type SCThirteenPlayerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -520,7 +520,7 @@ func (x *SCThirteenPlayerOp) GetCards() *Poker { return nil } -//玩家信息 +// 玩家信息 type ThirteenPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -776,8 +776,8 @@ func (x *ThirteenPlayerData) GetRoleId() int32 { return 0 } -//玩家进入 -//PACKET_SCThirteenPlayerEnter +// 玩家进入 +// PACKET_SCThirteenPlayerEnter type SCThirteenPlayerEnter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -825,8 +825,8 @@ func (x *SCThirteenPlayerEnter) GetData() *ThirteenPlayerData { return nil } -//玩家离开 -//PACKET_SCThirteenPlayerLeave +// 玩家离开 +// PACKET_SCThirteenPlayerLeave type SCThirteenPlayerLeave struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -874,8 +874,8 @@ func (x *SCThirteenPlayerLeave) GetPos() int32 { return 0 } -//房间信息 -//PACKET_SCThirteenRoomInfo +// 房间信息 +// PACKET_SCThirteenRoomInfo type SCThirteenRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1067,8 +1067,8 @@ func (x *SCThirteenRoomInfo) GetLeaveCombat() int32 { return 0 } -//房间状态更新 -//PACKET_SCThirteenRoomState +// 房间状态更新 +// PACKET_SCThirteenRoomState type SCThirteenRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1125,7 +1125,7 @@ func (x *SCThirteenRoomState) GetParams() []int32 { return nil } -//PACKET_SCThirteenShowCards +// PACKET_SCThirteenShowCards type SCThirteenShowCards struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1252,7 +1252,7 @@ func (x *Billed) GetCombatCoin() int64 { return 0 } -//PACKET_SCThirteenBilled +// PACKET_SCThirteenBilled type SCThirteenBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/tienlen/tienlen.pb.go b/protocol/tienlen/tienlen.pb.go index 2bab494..fb25470 100644 --- a/protocol/tienlen/tienlen.pb.go +++ b/protocol/tienlen/tienlen.pb.go @@ -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_tienlen_proto_rawDescGZIP(), []int{0} } -//tienlen +// tienlen type TienLenPacketID int32 const ( @@ -162,7 +162,7 @@ func (TienLenPacketID) EnumDescriptor() ([]byte, []int) { return file_tienlen_proto_rawDescGZIP(), []int{1} } -//玩家信息 +// 玩家信息 type TienLenPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -457,7 +457,7 @@ func (x *LastDelCard) GetCards() []int32 { return nil } -//房间信息 +// 房间信息 type SCTienLenRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -707,7 +707,7 @@ func (x *SCTienLenRoomInfo) GetRecordId() string { return "" } -//房间状态更新 +// 房间状态更新 type SCTienLenRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -763,7 +763,7 @@ func (x *SCTienLenRoomState) GetParams() []int64 { return nil } -//玩家操作 +// 玩家操作 type CSTienLenPlayerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -890,7 +890,7 @@ func (x *SCTienLenPlayerOp) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//玩家进入 +// 玩家进入 type SCTienLenPlayerEnter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -938,7 +938,7 @@ func (x *SCTienLenPlayerEnter) GetData() *TienLenPlayerData { return nil } -//玩家离开 +// 玩家离开 type SCTienLenPlayerLeave struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1057,7 +1057,7 @@ func (x *AddItem) GetScore() int64 { return 0 } -//结算结果 +// 结算结果 type TienLenPlayerGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1224,7 +1224,7 @@ func (x *SCTienLenGameBilled) GetDatas() []*TienLenPlayerGameBilled { return nil } -//小结算结果(炸的分) +// 小结算结果(炸的分) type SCTienLenSmallGameBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1312,7 +1312,7 @@ func (x *SCTienLenSmallGameBilled) GetLoseCoin() int64 { return 0 } -//发牌 +// 发牌 type SCTienLenCard struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1360,7 +1360,7 @@ func (x *SCTienLenCard) GetCards() []int32 { return nil } -//测试数据 +// 测试数据 type SCTienLenCardTest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1574,7 +1574,7 @@ func (x *SCTienLenUpdateMasterSnid) GetMasterSnid() int32 { return 0 } -//PACKET_SCTienLenUpdateAudienceNum +// PACKET_SCTienLenUpdateAudienceNum type SCTienLenUpdateAudienceNum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1877,7 +1877,7 @@ func (x *SCTienLenAIData) GetIsWin() bool { return false } -//PACKET_SCTienLenFirstOpPos +// PACKET_SCTienLenFirstOpPos type SCTienLenFirstOpPos struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1925,7 +1925,7 @@ func (x *SCTienLenFirstOpPos) GetPos() int32 { return 0 } -//PACKET_SCTienLenThinkLongCnt +// PACKET_SCTienLenThinkLongCnt type SCTienLenPlayerThinkLongCnt struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/tournament/tournament.pb.go b/protocol/tournament/tournament.pb.go index d24ff5b..8bc5b8b 100644 --- a/protocol/tournament/tournament.pb.go +++ b/protocol/tournament/tournament.pb.go @@ -108,7 +108,7 @@ func (TOURNAMENTID) EnumDescriptor() ([]byte, []int) { return file_tournament_proto_rawDescGZIP(), []int{0} } -//操作结果 +// 操作结果 // 0成功 1重复报名 2比赛没有开启 3道具不足 4不在报名时间段 5金币不足 6钻石不足 7免费次数不足 type SignRaceCode int32 @@ -174,8 +174,8 @@ func (SignRaceCode) EnumDescriptor() ([]byte, []int) { return file_tournament_proto_rawDescGZIP(), []int{1} } -//比赛场场次 -//PACKET_TM_CSTMInfo +// 比赛场场次 +// PACKET_TM_CSTMInfo type CSTMInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -579,8 +579,8 @@ func (x *TMInfo) GetOnChannelName() []string { return nil } -//比赛场场次 激战人数刷新也走这个 -//PACKET_TM_SCTMInfos +// 比赛场场次 激战人数刷新也走这个 +// PACKET_TM_SCTMInfos type SCTMInfos struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -628,8 +628,8 @@ func (x *SCTMInfos) GetTMInfo() []*TMInfo { return nil } -//单场次排行榜 -//PACKET_TM_CSTMRankList +// 单场次排行榜 +// PACKET_TM_CSTMRankList type CSTMRankList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -740,7 +740,7 @@ func (x *TMRank) GetWinnerNum() int32 { return 0 } -//PACKET_TM_CSTMRankList +// PACKET_TM_CSTMRankList type SCTMRankList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -804,8 +804,8 @@ func (x *SCTMRankList) GetTMRank() []*TMRank { return nil } -//报名 -//PACKET_TM_CSSignRace +// 报名 +// PACKET_TM_CSSignRace type CSSignRace struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -861,7 +861,7 @@ func (x *CSSignRace) GetTMId() int32 { return 0 } -//PACKET_TM_SCSignRace +// PACKET_TM_SCSignRace type SCSignRace struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -925,8 +925,8 @@ func (x *SCSignRace) GetWaitStartTime() int64 { return 0 } -//报名人数更新 --报名那个场次通知那个 暂时只能报名一个场次 -//PACKET_TM_SCSyncSignNum +// 报名人数更新 --报名那个场次通知那个 暂时只能报名一个场次 +// PACKET_TM_SCSyncSignNum type SCSyncSignNum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -982,8 +982,8 @@ func (x *SCSyncSignNum) GetMaxSignNum() int32 { return 0 } -//比赛开始 -//PACKET_TM_SCTMStart +// 比赛开始 +// PACKET_TM_SCTMStart type SCTMStart struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1094,8 +1094,8 @@ func (x *RankAward) GetDiamond() int64 { return 0 } -//晋级数据更新 -//PACKET_TM_SCPromotionInfo +// 晋级数据更新 +// PACKET_TM_SCPromotionInfo type SCPromotionInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1207,7 +1207,7 @@ func (x *SCPromotionInfo) GetMatchName() string { return "" } -//赛季信息 +// 赛季信息 type CSTMSeasonInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1325,7 +1325,7 @@ func (x *SCTMSeasonInfo) GetIsAward() bool { return false } -//赛季排行榜 +// 赛季排行榜 type SeasonRank struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1482,7 +1482,7 @@ func (x *SCTMSeasonRank) GetReasonRanks() []*SeasonRank { return nil } -//领取赛季奖励 +// 领取赛季奖励 type CSTMSeasonAward struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/webapi/common.pb.go b/protocol/webapi/common.pb.go index 79893e4..445ecf3 100644 --- a/protocol/webapi/common.pb.go +++ b/protocol/webapi/common.pb.go @@ -285,7 +285,7 @@ func (x *RankSwitch) GetProfit() int32 { return 0 } -//俱乐部配置 +// 俱乐部配置 type ClubConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1061,7 +1061,7 @@ func (x *PlatformDbConfig) GetMongoDbLog() *MongoDbSetting { return nil } -//游戏分组配置 +// 游戏分组配置 type GameConfigGroup struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2371,7 +2371,7 @@ func (x *CoinPoolSetting) GetProfitPool() int64 { return 0 } -//邮件 +// 邮件 type MessageInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2658,7 +2658,7 @@ func (x *HorseRaceLamp) GetStandSec() int32 { return 0 } -//在线统计 +// 在线统计 type OnlineGameCnt struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3134,7 +3134,7 @@ func (x *ExchangeShop) GetTelCharge() int32 { return 0 } -//兑换类型 +// 兑换类型 type ExchangeType struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3533,7 +3533,7 @@ func (x *ItemShopList) GetPlatform() string { return "" } -//物品信息 +// 物品信息 type ItemInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/webapi/webapi.pb.go b/protocol/webapi/webapi.pb.go index f8c0415..d2251ef 100644 --- a/protocol/webapi/webapi.pb.go +++ b/protocol/webapi/webapi.pb.go @@ -679,7 +679,7 @@ func (x *SAUpdatePlatform) GetMsg() string { } // 更新全局游戏开关 -//[action] /game_srv/update_global_game_status +// [action] /game_srv/update_global_game_status type ASUpdateGameConfigGlobal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -784,7 +784,7 @@ func (x *SAUpdateGameConfigGlobal) GetMsg() string { } // 更新游戏配置 -//[action] /game_srv/update_game_configs +// [action] /game_srv/update_game_configs type ASUpdateGameConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -993,8 +993,8 @@ func (x *SAUpdateGameConfigGroup) GetMsg() string { return "" } -/////////////////////////////////////////////////////////////////////////////////////// -//加币 +// ///////////////////////////////////////////////////////////////////////////////////// +// 加币 // [action] /api/game/AddCoinById type ASAddCoinById struct { state protoimpl.MessageState @@ -1179,7 +1179,7 @@ func (x *SAAddCoinById) GetMsg() string { return "" } -//重置水池 +// 重置水池 // [action] /api/game/ResetGamePool type ASResetGamePool struct { state protoimpl.MessageState @@ -1323,7 +1323,7 @@ func (x *SAResetGamePool) GetMsg() string { return "" } -//更新水池 +// 更新水池 // [action] /api/game/UpdateGamePool type ASUpdateGamePool struct { state protoimpl.MessageState @@ -1459,34 +1459,34 @@ func (x *SAUpdateGamePool) GetMsg() string { return "" } -//可以更新的字段 -//InitValue -//LowerLimit -//UpperLimit -//UpperOffsetLimit -//MaxOutValue -//ChangeRate -//MinOutPlayerNum -//BaseRate -//CtroRate -//HardTimeMin -//HardTimeMax -//NormalTimeMin -//NormalTimeMax -//EasyTimeMin -//EasyTimeMax -//EasrierTimeMin -//EasrierTimeMax -//CpCangeType -//CpChangeInterval -//CpChangeTotle -//CpChangeLower -//CpChangeUpper -//ProfitRate -//CoinPoolMode -//ResetTime -//////////////////////////////////////////////////// -//查询水池gameid +// 可以更新的字段 +// InitValue +// LowerLimit +// UpperLimit +// UpperOffsetLimit +// MaxOutValue +// ChangeRate +// MinOutPlayerNum +// BaseRate +// CtroRate +// HardTimeMin +// HardTimeMax +// NormalTimeMin +// NormalTimeMax +// EasyTimeMin +// EasyTimeMax +// EasrierTimeMin +// EasrierTimeMax +// CpCangeType +// CpChangeInterval +// CpChangeTotle +// CpChangeLower +// CpChangeUpper +// ProfitRate +// CoinPoolMode +// ResetTime +// ////////////////////////////////////////////////// +// 查询水池gameid // [action] /api/game/QueryGamePoolByGameId type ASQueryGamePoolByGameId struct { state protoimpl.MessageState @@ -1622,7 +1622,7 @@ func (x *SAQueryGamePoolByGameId) GetCoinPoolSetting() []*CoinPoolSetting { return nil } -//查询水池 +// 查询水池 // [action] /api/game/QueryAllGamePool type ASQueryAllGamePool struct { state protoimpl.MessageState @@ -1797,7 +1797,7 @@ func (x *SAQueryAllGamePool) GetCoinPoolStatesInfo() []*CoinPoolStatesInfo { return nil } -//房间 +// 房间 // [action] /api/Cache/ListRoom type ASListRoom struct { state protoimpl.MessageState @@ -2132,7 +2132,7 @@ func (x *SAGetRoom) GetRoomInfo() *RoomInfo { return nil } -//销毁房间 +// 销毁房间 // [action] /api/Cache/DestroyRoom type ASDestroyRoom struct { state protoimpl.MessageState @@ -2252,9 +2252,9 @@ func (x *SADestroyRoom) GetMsg() string { return "" } -//单控 +// 单控 // [action] /api/game/SinglePlayerAdjust -//PACKET_WG_SINGLEADJUST +// PACKET_WG_SINGLEADJUST type ASSinglePlayerAdjust struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2373,8 +2373,8 @@ func (x *SASinglePlayerAdjust) GetPlayerSingleAdjust() *PlayerSingleAdjust { return nil } -//玩家信息 -//获取玩家信息 +// 玩家信息 +// 获取玩家信息 // [action] /api/Player/PlayerData type ASGetPlayerData struct { state protoimpl.MessageState @@ -2732,7 +2732,7 @@ func (x *SAKickPlayer) GetMsg() string { return "" } -///////////////////////////////////////////////// +// /////////////////////////////////////////////// type PlayerEleArgs struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2907,7 +2907,7 @@ func (x *SAUpdatePlayerElement) GetMsg() string { return "" } -//黑白名单 +// 黑白名单 // [action] /api/Player/WhiteBlackControl type ASWhiteBlackControl struct { state protoimpl.MessageState @@ -3067,7 +3067,7 @@ func (x *SAWhiteBlackControl) GetMsg() string { return "" } -//跑马灯 +// 跑马灯 // [action] /api/Message/QueryHorseRaceLampList type ASQueryHorseRaceLampList struct { state protoimpl.MessageState @@ -3735,7 +3735,7 @@ func (x *SARemoveHorseRaceLampById) GetMsg() string { return "" } -//通过SnId设置黑名单 +// 通过SnId设置黑名单 // [action] /api/Player/BlackBySnId type ASBlackBySnId struct { state protoimpl.MessageState @@ -3855,7 +3855,7 @@ func (x *SABlackBySnId) GetMsg() string { return "" } -//邮件 +// 邮件 // [action] /api/game/CreateShortMessage type ASCreateShortMessage struct { state protoimpl.MessageState @@ -4309,7 +4309,7 @@ func (x *SADeleteShortMessage) GetMsg() string { return "" } -//在线列表 +// 在线列表 // [action] /api/Report/QueryOnlineReportList type ASQueryOnlineReportList struct { state protoimpl.MessageState @@ -4501,7 +4501,7 @@ func (x *SAQueryOnlineReportList) GetPageSize() int32 { return 0 } -//关闭服务 +// 关闭服务 // [action] /api/Ctrl/SrvCtrlClose type ASSrvCtrlClose struct { state protoimpl.MessageState @@ -4605,7 +4605,7 @@ func (x *SASrvCtrlClose) GetMsg() string { return "" } -//发送公告 +// 发送公告 // [action] /api/Ctrl/SrvCtrlNotice type ASSrvCtrlNotice struct { state protoimpl.MessageState @@ -4733,7 +4733,7 @@ func (x *SASrvCtrlNotice) GetMsg() string { return "" } -//执行脚本 +// 执行脚本 // [action] /api/Ctrl/SrvCtrlStartScript type ASSrvCtrlStartScript struct { state protoimpl.MessageState @@ -4828,7 +4828,7 @@ func (x *SASrvCtrlStartScript) GetMsg() string { return "" } -//显示各个服务器状态 +// 显示各个服务器状态 // [action] /api/Ctrl/ListServerStates type ASListServerStates struct { state protoimpl.MessageState @@ -4948,7 +4948,7 @@ func (x *SAListServerStates) GetServerInfo() []*ServerInfo { return nil } -//切换状态 +// 切换状态 // [action] /api/Ctrl/ServerStateSwitch type ASServerStateSwitch struct { state protoimpl.MessageState @@ -5060,7 +5060,7 @@ func (x *SAServerStateSwitch) GetMsg() string { return "" } -//重置Etcd 连接和数据 +// 重置Etcd 连接和数据 // [action] /api/Ctrl/ResetEtcdData type ASResetEtcdData struct { state protoimpl.MessageState @@ -5155,8 +5155,8 @@ func (x *SAResetEtcdData) GetMsg() string { return "" } -//获取在线统计 -//[action] /api/Report/OnlineReportTotal +// 获取在线统计 +// [action] /api/Report/OnlineReportTotal type ASOnlineReportTotal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5283,8 +5283,8 @@ func (x *SAOnlineReportTotal) GetOnlineReport() *OnlineReport { return nil } -/////////////////////////////////////////////////////////////////////////////////////// -//加币 +// ///////////////////////////////////////////////////////////////////////////////////// +// 加币 // [action] /api/game/AddCoinByIdAndPT type ASAddCoinByIdAndPT struct { state protoimpl.MessageState @@ -5516,7 +5516,7 @@ func (x *JybInfoAward) GetDiamond() int64 { return 0 } -//生成兑换码 +// 生成兑换码 // [action] /api/game/CreateJYB type ASCreateJYB struct { state protoimpl.MessageState @@ -5701,7 +5701,7 @@ func (x *SACreateJYB) GetMsg() string { return "" } -//操作兑换码 删除 修改 +// 操作兑换码 删除 修改 // [action] /api/game/UpdateJYB type ASUpdateJYB struct { state protoimpl.MessageState @@ -5822,7 +5822,7 @@ func (x *SAUpdateJYB) GetMsg() string { return "" } -//创建订单 +// 创建订单 type ASCreatePayOrder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6044,7 +6044,7 @@ func (x *SACreatePayOrder) GetReturnCPO() *ReturnCPO { return nil } -//创建交易订单game_srv/create_exchange_order +// 创建交易订单game_srv/create_exchange_order type ASCreateExchangeOrder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6243,7 +6243,7 @@ func (x *SACreateExchangeOrder) GetReturnCPO() *ReturnCPO { return nil } -//获取交易订单game_srv/get_exchange_order +// 获取交易订单game_srv/get_exchange_order type ASGetExchangeOrder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6513,7 +6513,7 @@ func (x *SAGetExchangeOrder) GetOrderList() []*ExchangeOrderInfo { return nil } -//兑换确认 +// 兑换确认 // [action] /api/Customer/UpExchangeStatus type ASUpExchangeStatus struct { state protoimpl.MessageState @@ -6675,7 +6675,7 @@ func (x *SAUpExchangeStatus) GetMsg() string { } // /game_srv/get_exchange_shop -//获取兑换商品信息 +// 获取兑换商品信息 type ASGetExchangeShop struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6786,7 +6786,7 @@ func (x *SAGetExchangeShop) GetList() []*ExchangeShop { return nil } -//登录rocket/game_srv_third/register_or_login +// 登录rocket/game_srv_third/register_or_login type SARocketLogin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6913,7 +6913,7 @@ func (x *ASRocketLogin) GetUrl() string { return "" } -//退出rocket/game_srv_third/login_out +// 退出rocket/game_srv_third/login_out type SARocketLoginOut struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7032,7 +7032,7 @@ func (x *ASRocketLoginOut) GetMsg() string { return "" } -// /api/thd/UpdatePlayerCoin +// /api/thd/UpdatePlayerCoin type ASThdUpdatePlayerCoin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7152,7 +7152,7 @@ func (x *SAThdUpdatePlayerCoin) GetMsg() string { return "" } -//订单 +// 订单 type SACreateOrder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7367,7 +7367,7 @@ func (x *ASCreateOrder) GetUrl() string { return "" } -//系统透传 +// 系统透传 type SAWebAPISystemPass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7494,7 +7494,7 @@ func (x *ASWebAPISystemPass) GetResponse() string { return "" } -//支付回调 [/api/pay/CallbackPayment] +// 支付回调 [/api/pay/CallbackPayment] type ASCallbackPayment struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7613,7 +7613,7 @@ func (x *SACallbackPayment) GetMsg() string { return "" } -//资源更新通知 [/api/game/resource] +// 资源更新通知 [/api/game/resource] type ASResource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7716,7 +7716,7 @@ func (x *SAResource) GetMsg() string { return "" } -//发送短信验证码 [/send_sms] +// 发送短信验证码 [/send_sms] type ASSendSms struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7851,7 +7851,7 @@ func (x *SASendSms) GetMsg() string { return "" } -//获取比赛奖品话费兑换码 [/get_match_award_code] +// 获取比赛奖品话费兑换码 [/get_match_award_code] type ASGetMatchAwardCode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8002,7 +8002,7 @@ func (x *SAGetMatchAwardCode) GetMsg() string { return "" } -//修改手机号 [/api/player/update_tel] +// 修改手机号 [/api/player/update_tel] type ASUpdateTel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8121,7 +8121,7 @@ func (x *SAUpdateTel) GetMsg() string { return "" } -//获取图片验证码 [/get_img_verify] +// 获取图片验证码 [/get_img_verify] type ASGetImgVerify struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/protocol/welfare/welfare.pb.go b/protocol/welfare/welfare.pb.go index 36ac51a..236f1c9 100644 --- a/protocol/welfare/welfare.pb.go +++ b/protocol/welfare/welfare.pb.go @@ -20,7 +20,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -//操作结果 +// 操作结果 type OpResultCode int32 const ( @@ -212,8 +212,8 @@ func (SPacketID) EnumDescriptor() ([]byte, []int) { return file_welfare_proto_rawDescGZIP(), []int{1} } -//救济金领取 -//PACKET_CS_WELF_GETRELIEFFUND +// 救济金领取 +// PACKET_CS_WELF_GETRELIEFFUND type CSGetReliefFund struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -261,7 +261,7 @@ func (x *CSGetReliefFund) GetIsVideo() bool { return false } -//PACKET_SC_WELF_GETRELIEFFUND +// PACKET_SC_WELF_GETRELIEFFUND type SCGetReliefFund struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -396,8 +396,8 @@ func (x *WelfareDate) GetItem_Id() int32 { return 0 } -//转动转盘 -//PACKET_CS_WELF_GETTURNPLATE +// 转动转盘 +// PACKET_CS_WELF_GETTURNPLATE type CSGetTurnplate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -445,7 +445,7 @@ func (x *CSGetTurnplate) GetIsVideo() bool { return false } -//PACKET_SC_WELF_GETTURNPLATE +// PACKET_SC_WELF_GETTURNPLATE type SCGetTurnplate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -580,8 +580,8 @@ func (x *AddUpWelfareDate) GetAddUpDate() []*WelfareDate { return nil } -//累计签到 -//PACKET_CS_WELF_GETADDUPSIGN +// 累计签到 +// PACKET_CS_WELF_GETADDUPSIGN type CSGetAddupSign struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -629,7 +629,7 @@ func (x *CSGetAddupSign) GetAddUpDay() int32 { return 0 } -//PACKET_SC_WELF_GETADDUPSIGN +// PACKET_SC_WELF_GETADDUPSIGN type SCGetAddupSign struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -693,8 +693,8 @@ func (x *SCGetAddupSign) GetAddUpSignDay() []int32 { return nil } -//福利信息 -//PACKET_CS_WELF_WELFAREINFO +// 福利信息 +// PACKET_CS_WELF_WELFAREINFO type CSWelfaredInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -851,7 +851,7 @@ func (x *Welfare7SignDate) GetAddUpDate() []*AddUpWelfareDate { return nil } -//PACKET_SC_WELF_WELFAREINFO +// PACKET_SC_WELF_WELFAREINFO type SCWelfaredInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1058,8 +1058,8 @@ func (x *BlindBoxData) GetItem_Id() int32 { return 0 } -//查看盲盒 -//PACKET_CS_WELF_BLINBOXINFO +// 查看盲盒 +// PACKET_CS_WELF_BLINBOXINFO type CSBlindBoxInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1107,7 +1107,7 @@ func (x *CSBlindBoxInfo) GetId() int32 { return 0 } -//PACKET_SC_WELF_BLINBOXINFO +// PACKET_SC_WELF_BLINBOXINFO type SCBlindBoxInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1187,8 +1187,8 @@ func (x *SCBlindBoxInfo) GetCycle() int32 { return 0 } -//领取盲盒 -//PACKET_CS_WELF_GETBLINBOX +// 领取盲盒 +// PACKET_CS_WELF_GETBLINBOX type CSGetBlindBox struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1236,7 +1236,7 @@ func (x *CSGetBlindBox) GetId() int32 { return 0 } -//PACKET_SC_WELF_GETBLINBOX +// PACKET_SC_WELF_GETBLINBOX type SCGetBlindBox struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1379,7 +1379,7 @@ func (x *WelfareSpree) GetDiscount() float64 { return 0 } -//PACKET_CS_WELF_FIRSTPAYINFO +// PACKET_CS_WELF_FIRSTPAYINFO type CSWelfareFirstPayData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1418,7 +1418,7 @@ func (*CSWelfareFirstPayData) Descriptor() ([]byte, []int) { return file_welfare_proto_rawDescGZIP(), []int{18} } -//PACKET_SC_WELF_FIRSTPAYINFO +// PACKET_SC_WELF_FIRSTPAYINFO type SCWelfareFirstPayData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1498,7 +1498,7 @@ func (x *SCWelfareFirstPayData) GetDraw() int32 { return 0 } -//PACKET_CS_WELF_FIRSTPAY +// PACKET_CS_WELF_FIRSTPAY type CSWelfareFirstPay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1537,7 +1537,7 @@ func (*CSWelfareFirstPay) Descriptor() ([]byte, []int) { return file_welfare_proto_rawDescGZIP(), []int{20} } -//PACKET_SC_WELF_FIRSTPAY +// PACKET_SC_WELF_FIRSTPAY type SCWelfareFirstPay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1585,7 +1585,7 @@ func (x *SCWelfareFirstPay) GetOpRetCode() OpResultCode { return OpResultCode_OPRC_Sucess } -//PACKET_CS_WELF_CONTINPAYINFO +// PACKET_CS_WELF_CONTINPAYINFO type CSWelfareContinuousPayData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1624,7 +1624,7 @@ func (*CSWelfareContinuousPayData) Descriptor() ([]byte, []int) { return file_welfare_proto_rawDescGZIP(), []int{22} } -//PACKET_SC_WELF_CONTINPAYINFO +// PACKET_SC_WELF_CONTINPAYINFO type SCWelfareContinuousPayData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1712,7 +1712,7 @@ func (x *SCWelfareContinuousPayData) GetDay() int32 { return 0 } -//PACKET_CS_WELF_CONTINPAY +// PACKET_CS_WELF_CONTINPAY type CSWelfareContinuousPay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1751,7 +1751,7 @@ func (*CSWelfareContinuousPay) Descriptor() ([]byte, []int) { return file_welfare_proto_rawDescGZIP(), []int{24} } -//PACKET_SC_WELF_CONTINPAY +// PACKET_SC_WELF_CONTINPAY type SCWelfareContinuousPay struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache