From 9ef345a00df3579995a781f7846a25f6b6dd2dce Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Tue, 16 Apr 2024 17:44:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/bag/bag.pb.go | 2 +- protocol/bag/bag.proto | 2 +- protocol/player/player.pb.go | 299 +++++++++++++++++------------------ protocol/player/player.proto | 2 +- 4 files changed, 152 insertions(+), 153 deletions(-) diff --git a/protocol/bag/bag.pb.go b/protocol/bag/bag.pb.go index b3dc67a..a7e67bb 100644 --- a/protocol/bag/bag.pb.go +++ b/protocol/bag/bag.pb.go @@ -230,7 +230,7 @@ type CSBagInfo struct { unknownFields protoimpl.UnknownFields NowLocation int32 `protobuf:"varint,1,opt,name=NowLocation,proto3" json:"NowLocation,omitempty"` //0.通用 1.大厅 2.Tienlen 3.捕鱼 - Tp int32 `protobuf:"varint,2,opt,name=Tp,proto3" json:"Tp,omitempty"` // 道具类型 + Tp int32 `protobuf:"varint,2,opt,name=Tp,proto3" json:"Tp,omitempty"` // 道具类型,道具表中的道具类型 } func (x *CSBagInfo) Reset() { diff --git a/protocol/bag/bag.proto b/protocol/bag/bag.proto index ee6ba1a..f451c94 100644 --- a/protocol/bag/bag.proto +++ b/protocol/bag/bag.proto @@ -46,7 +46,7 @@ message ItemInfo{ //PACKET_ALL_BAG_INFO message CSBagInfo { int32 NowLocation = 1;//0.通用 1.大厅 2.Tienlen 3.捕鱼 - int32 Tp = 2;// 道具类型 + int32 Tp = 2;// 道具类型,道具表中的道具类型 } //PACKET_ALL_BAG_INFO message SCBagInfo { diff --git a/protocol/player/player.pb.go b/protocol/player/player.pb.go index faa479f..074c57e 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,14 +7683,13 @@ func (x *SCVIPInfo) GetMoneyRatio() int32 { return 0 } -// -//PACKET_SC_SWELFAREINFO +// PACKET_SC_SWELFAREINFO type SCEasyWelfaredInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - WelfareSwitch []int32 `protobuf:"varint,1,rep,packed,name=WelfareSwitch,proto3" json:"WelfareSwitch,omitempty"` // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动 1显示 2不显示 + WelfareSwitch []int32 `protobuf:"varint,1,rep,packed,name=WelfareSwitch,proto3" json:"WelfareSwitch,omitempty"` // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动5集卡活动 1显示 2不显示 } func (x *SCEasyWelfaredInfo) Reset() { @@ -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/player/player.proto b/protocol/player/player.proto index 1da9a7e..a22636c 100644 --- a/protocol/player/player.proto +++ b/protocol/player/player.proto @@ -996,7 +996,7 @@ message SCVIPInfo { // //PACKET_SC_SWELFAREINFO message SCEasyWelfaredInfo{ - repeated int32 WelfareSwitch = 1; // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动 1显示 2不显示 + repeated int32 WelfareSwitch = 1; // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动5集卡活动 1显示 2不显示 } message CSVIPPrivilegeInfo {