diff --git a/src/server/game/MailMgr.go b/src/server/game/MailMgr.go index c36d50af..eeda25ff 100644 --- a/src/server/game/MailMgr.go +++ b/src/server/game/MailMgr.go @@ -43,8 +43,9 @@ func (m *MailMgr) Init() { m.list = make(map[int]*ServerMail) // 注册处理函数 m.init() - m.LoadMail() + m.LoadMail(nil) m.RegisterHandler(msg.HANDLE_TYPE_MAIL_ADD, m.AddMail) + m.RegisterHandler(msg.HANDLE_TYPE_MAIL_RELOAD, m.LoadMail) } func (m *MailMgr) AddMail(msg *msg.Msg) error { @@ -53,7 +54,7 @@ func (m *MailMgr) AddMail(msg *msg.Msg) error { return nil } -func (r *MailMgr) LoadMail() { +func (r *MailMgr) LoadMail(msg *msg.Msg) error { // 从数据库加载邮件 data := make([]*db.SqlServerMailStruct, 0) db.GetServerMailData(&data) @@ -77,6 +78,7 @@ func (r *MailMgr) LoadMail() { To_uids: Uids, } } + return nil } func (r *MailMgr) Sync(Uid int, Register int64) []ServerMail { diff --git a/src/server/game/Player.go b/src/server/game/Player.go index c7331dd3..99ca1490 100644 --- a/src/server/game/Player.go +++ b/src/server/game/Player.go @@ -343,12 +343,12 @@ func (p *Player) Login() { // playroom触发 PlayroomMod := p.PlayMod.getPlayroomMod() PlayroomMod.UnLock(BaseMod.GetLevel()) - LimitedTimePlayroomTrigger(p) - LimitedTimePlayroomWorkTrigger(p) - LimitedTimeEnergyAdd(p) - ActivityLogin(p) - LoignBack(p) - + LimitedTimePlayroomTrigger(p) // playroom数值变化 + LimitedTimePlayroomWorkTrigger(p) // playroom打工 + LimitedTimeEnergyAdd(p) // 能量定时处理 + ActivityLogin(p) // 活动登录 + LoignBack(p) // 登录返回数据 + SyncMailMsg(p) // 同步邮件 BaseMod.Login() HandbookItem := p.PlayMod.getCardMod().Login(G_GameLogicPtr.SeverInfo.OpenTime) p.HandleItem(HandbookItem, msg.ITEM_POP_LABEL_AllCollectRewardHB.String()) diff --git a/src/server/game/PlayerFunc.go b/src/server/game/PlayerFunc.go index 603b9dda..e5ee844b 100644 --- a/src/server/game/PlayerFunc.go +++ b/src/server/game/PlayerFunc.go @@ -191,28 +191,7 @@ func handle(p *Player, m *msg.Msg) error { case msg.HANDLE_TYPE_CHAMPSHIP_NOTIFY: // # 锦标赛排名变动通知 BackChampship(p) case msg.HANDLE_TYPE_MAIL: // 邮件操作 - MailMod := p.PlayMod.getMailMod() - if m.Extra == nil { - return nil - } - mail := m.Extra.(*ServerMail) - Now := GoUtil.Now() - if mail.Mail_type == 1 { - if mail.Start_time > 0 && mail.Start_time > Now { - return nil - } - if mail.End_time > 0 && mail.End_time < Now { - return nil - } - - MailId := MailMod.Send(mail.Title, mail.Content, mail.Items) - p.PushClientRes(MailMod.NotifyMail(MailId)) - } else if mail.Mail_type == 2 { - if GoUtil.InArray(int(p.M_DwUin), mail.To_uids) { - MailId := MailMod.Send(mail.Title, mail.Content, mail.Items) - p.PushClientRes(MailMod.NotifyMail(MailId)) - } - } + SyncMailMsg(p) case msg.HANDLE_TYPE_PLAYROOM_LOSE: // # 玩家输了 PlayroomMod := p.PlayMod.getPlayroomMod() Items := make([]*item.Item, 0) diff --git a/src/server/game/admin.go b/src/server/game/admin.go index 81b76320..112c3ca6 100644 --- a/src/server/game/admin.go +++ b/src/server/game/admin.go @@ -3,6 +3,7 @@ package game import ( "encoding/json" "server/GoUtil" + Msg "server/game/mod/msg" "server/msg" "server/pkg/github.com/name5566/leaf/gate" "server/pkg/github.com/name5566/leaf/log" @@ -92,3 +93,9 @@ func ReqServerInfo(args []interface{}) error { AdminPlayerBack(a, JsonBuff) return nil } + +func ReqReloadServerMail(args []interface{}) error { + G_GameLogicPtr.MailMgrCall(&Msg.Msg{Type: Msg.HANDLE_TYPE_MAIL_RELOAD}) + G_GameLogicPtr.NotifyAll(&Msg.Msg{Type: Msg.HANDLE_TYPE_MAIL_RELOAD}) + return nil +} diff --git a/src/server/game/external.go b/src/server/game/external.go index 35a74d59..ea5e0dfb 100644 --- a/src/server/game/external.go +++ b/src/server/game/external.go @@ -80,7 +80,6 @@ func HandleClientReq(args []interface{}) { ResRegisterAccount.ResultCode = MergeConst.Protocol_Error_Account_OR_PWD_Short data, _ := proto.Marshal(ResRegisterAccount) gl.PackResInfo(a, "ResRegisterAccount", data) - break } gl.Db_AccountInfo.UserName = detail.UserName diff --git a/src/server/game/mod/msg/Msg.go b/src/server/game/mod/msg/Msg.go index 93e27d46..62869c5b 100644 --- a/src/server/game/mod/msg/Msg.go +++ b/src/server/game/mod/msg/Msg.go @@ -66,9 +66,9 @@ const ( HANDLE_TYPE_PLAYROOM_LOSE // playroom偷取物品 SERVER_NOON_UPDATE // 12点更新 - FRIEND_TREASURE_HANDLE //好友宝藏操作 - HANDLE_TYPE_MAIL_ADD //添加邮件 - + FRIEND_TREASURE_HANDLE //好友宝藏操作 + HANDLE_TYPE_MAIL_ADD //添加邮件 + HANDLE_TYPE_MAIL_RELOAD //重新加载邮件 ) const ( diff --git a/src/server/msg/Gameapi.pb.go b/src/server/msg/Gameapi.pb.go index 41288a6f..4d643146 100644 --- a/src/server/msg/Gameapi.pb.go +++ b/src/server/msg/Gameapi.pb.go @@ -18877,6 +18877,42 @@ func (x *ReqAdminInfo) GetUid() int64 { return 0 } +type ReqReloadServerMail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReqReloadServerMail) Reset() { + *x = ReqReloadServerMail{} + mi := &file_Gameapi_proto_msgTypes[337] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReqReloadServerMail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReqReloadServerMail) ProtoMessage() {} + +func (x *ReqReloadServerMail) ProtoReflect() protoreflect.Message { + mi := &file_Gameapi_proto_msgTypes[337] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReqReloadServerMail.ProtoReflect.Descriptor instead. +func (*ReqReloadServerMail) Descriptor() ([]byte, []int) { + return file_Gameapi_proto_rawDescGZIP(), []int{337} +} + type ReqServerInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18885,7 +18921,7 @@ type ReqServerInfo struct { func (x *ReqServerInfo) Reset() { *x = ReqServerInfo{} - mi := &file_Gameapi_proto_msgTypes[337] + mi := &file_Gameapi_proto_msgTypes[338] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18897,7 +18933,7 @@ func (x *ReqServerInfo) String() string { func (*ReqServerInfo) ProtoMessage() {} func (x *ReqServerInfo) ProtoReflect() protoreflect.Message { - mi := &file_Gameapi_proto_msgTypes[337] + mi := &file_Gameapi_proto_msgTypes[338] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18910,7 +18946,7 @@ func (x *ReqServerInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ReqServerInfo.ProtoReflect.Descriptor instead. func (*ReqServerInfo) Descriptor() ([]byte, []int) { - return file_Gameapi_proto_rawDescGZIP(), []int{337} + return file_Gameapi_proto_rawDescGZIP(), []int{338} } var File_Gameapi_proto protoreflect.FileDescriptor @@ -20898,84 +20934,86 @@ var file_Gameapi_proto_rawDesc = []byte{ 0x52, 0x04, 0x46, 0x75, 0x6e, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x69, 0x64, 0x22, 0x0f, 0x0a, 0x0d, - 0x52, 0x65, 0x71, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0x92, 0x08, - 0x0a, 0x0e, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x4f, 0x50, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, - 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x10, 0x00, 0x12, 0x0d, - 0x0a, 0x09, 0x50, 0x69, 0x67, 0x67, 0x79, 0x42, 0x61, 0x6e, 0x6b, 0x10, 0x01, 0x12, 0x0a, 0x0a, - 0x06, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x6e, 0x64, - 0x6c, 0x65, 0x73, 0x73, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x65, 0x76, 0x55, 0x70, 0x52, - 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x61, 0x6e, 0x64, 0x6c, - 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, - 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x07, 0x12, 0x10, 0x0a, - 0x0c, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x73, 0x74, 0x10, 0x08, 0x12, - 0x0f, 0x0a, 0x0b, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x10, 0x09, - 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x43, 0x68, 0x65, 0x73, 0x73, 0x42, 0x61, 0x67, 0x47, - 0x72, 0x69, 0x64, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x78, - 0x10, 0x0b, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x78, 0x53, - 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x0d, 0x12, 0x14, 0x0a, 0x10, 0x41, - 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, - 0x0e, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x75, 0x69, 0x64, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, - 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x10, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x61, 0x69, 0x6c, 0x79, - 0x57, 0x65, 0x65, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, - 0x42, 0x75, 0x79, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x10, 0x12, 0x12, 0x19, 0x0a, 0x15, 0x53, - 0x65, 0x76, 0x65, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x4c, - 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x14, 0x12, 0x15, 0x0a, 0x11, - 0x46, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, - 0x64, 0x10, 0x15, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x61, 0x69, - 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x17, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x72, 0x65, - 0x65, 0x53, 0x68, 0x6f, 0x70, 0x10, 0x18, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x68, 0x65, 0x73, 0x73, - 0x53, 0x68, 0x6f, 0x70, 0x10, 0x19, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, - 0x68, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x68, 0x6f, 0x70, 0x10, 0x1a, 0x12, 0x11, 0x0a, 0x0d, - 0x45, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1b, 0x12, - 0x13, 0x0a, 0x0f, 0x50, 0x69, 0x67, 0x67, 0x79, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x77, 0x61, - 0x72, 0x64, 0x10, 0x1c, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6d, 0x70, 0x73, 0x68, 0x69, - 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1d, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1e, 0x12, - 0x17, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6d, 0x70, 0x73, 0x68, 0x69, 0x70, 0x52, 0x61, 0x6e, 0x6b, - 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x10, 0x20, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x21, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x6b, 0x65, 0x10, 0x22, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x23, 0x12, 0x0e, 0x0a, 0x0a, - 0x47, 0x75, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x10, 0x24, 0x12, 0x14, 0x0a, 0x10, - 0x47, 0x75, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, - 0x10, 0x25, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, - 0x10, 0x26, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x47, 0x61, - 0x6d, 0x65, 0x10, 0x27, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, - 0x44, 0x72, 0x61, 0x77, 0x10, 0x28, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, - 0x6f, 0x6d, 0x43, 0x68, 0x69, 0x70, 0x10, 0x29, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, - 0x72, 0x6f, 0x6f, 0x6d, 0x46, 0x6c, 0x69, 0x70, 0x10, 0x2a, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x70, - 0x10, 0x2b, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, - 0x73, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x64, 0x10, 0x2c, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x4d, 0x10, - 0x2d, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, 0x73, - 0x75, 0x72, 0x65, 0x10, 0x2e, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x64, 0x48, 0x61, 0x6e, - 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x2f, 0x12, 0x17, 0x0a, - 0x13, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x73, 0x74, - 0x52, 0x61, 0x69, 0x6e, 0x10, 0x30, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x42, 0x79, 0x41, 0x44, 0x10, 0x31, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x73, 0x74, 0x10, 0x32, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x6c, - 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x75, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x10, 0x33, 0x12, - 0x19, 0x0a, 0x15, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x72, - 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x34, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x6c, - 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x48, 0x42, - 0x10, 0x35, 0x2a, 0x42, 0x0a, 0x0b, 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, - 0x4d, 0x50, 0x4f, 0x53, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x55, 0x59, 0x10, 0x02, - 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, - 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x04, 0x2a, 0x21, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x5f, 0x43, 0x4f, - 0x44, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, - 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x2a, 0x2e, 0x0a, 0x09, 0x49, 0x54, 0x45, - 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, - 0x44, 0x49, 0x41, 0x4d, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2e, 0x2f, - 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, + 0x52, 0x65, 0x71, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, + 0x61, 0x69, 0x6c, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0x92, 0x08, 0x0a, 0x0e, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x4f, + 0x50, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x72, + 0x6f, 0x6f, 0x6d, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x69, 0x67, 0x67, 0x79, 0x42, 0x61, + 0x6e, 0x6b, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x10, 0x02, + 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x10, 0x03, 0x12, 0x0f, 0x0a, + 0x0b, 0x4c, 0x65, 0x76, 0x55, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x04, 0x12, 0x0f, + 0x0a, 0x0b, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x10, 0x05, 0x12, + 0x12, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x73, 0x74, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, + 0x74, 0x65, 0x41, 0x64, 0x64, 0x10, 0x09, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x43, 0x68, + 0x65, 0x73, 0x73, 0x42, 0x61, 0x67, 0x47, 0x72, 0x69, 0x64, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, + 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x78, 0x10, 0x0b, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x61, 0x72, + 0x64, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x0c, + 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x78, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x10, 0x0d, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x0e, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x75, 0x69, 0x64, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x61, 0x69, + 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x10, 0x12, 0x13, + 0x0a, 0x0f, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x57, 0x65, 0x65, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x10, 0x12, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x10, 0x13, 0x12, 0x14, 0x0a, + 0x10, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x10, 0x14, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x15, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x53, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x16, + 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x17, + 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x53, 0x68, 0x6f, 0x70, 0x10, 0x18, 0x12, 0x0d, + 0x0a, 0x09, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x68, 0x6f, 0x70, 0x10, 0x19, 0x12, 0x14, 0x0a, + 0x10, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x68, 0x6f, + 0x70, 0x10, 0x1a, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x10, 0x1b, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x69, 0x67, 0x67, 0x79, 0x42, + 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1c, 0x12, 0x13, 0x0a, 0x0f, 0x43, + 0x68, 0x61, 0x6d, 0x70, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1d, + 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x10, 0x1e, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6d, 0x70, 0x73, + 0x68, 0x69, 0x70, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x1f, 0x12, + 0x0a, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0x20, 0x12, 0x14, 0x0a, 0x10, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, + 0x21, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x6b, 0x65, 0x10, + 0x22, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x10, 0x23, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x75, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6f, + 0x72, 0x10, 0x24, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x75, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6f, + 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x25, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, 0x26, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, + 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x47, 0x61, 0x6d, 0x65, 0x10, 0x27, 0x12, 0x10, 0x0a, 0x0c, 0x50, + 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x44, 0x72, 0x61, 0x77, 0x10, 0x28, 0x12, 0x10, 0x0a, + 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x43, 0x68, 0x69, 0x70, 0x10, 0x29, 0x12, + 0x10, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x46, 0x6c, 0x69, 0x70, 0x10, + 0x2a, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, 0x73, + 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x70, 0x10, 0x2b, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x64, 0x10, 0x2c, + 0x12, 0x06, 0x0a, 0x02, 0x47, 0x4d, 0x10, 0x2d, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x10, 0x2e, 0x12, 0x16, 0x0a, 0x12, + 0x43, 0x61, 0x72, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x10, 0x2f, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x43, 0x68, 0x65, 0x73, 0x74, 0x52, 0x61, 0x69, 0x6e, 0x10, 0x30, 0x12, 0x11, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x42, 0x79, 0x41, 0x44, 0x10, 0x31, + 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x65, 0x73, 0x74, 0x10, + 0x32, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x75, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x10, 0x33, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x10, + 0x34, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x48, 0x42, 0x10, 0x35, 0x2a, 0x42, 0x0a, 0x0b, 0x48, 0x41, 0x4e, + 0x44, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, + 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x53, 0x45, 0x10, 0x01, 0x12, 0x07, + 0x0a, 0x03, 0x42, 0x55, 0x59, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4c, 0x4c, 0x10, + 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x04, 0x2a, 0x21, 0x0a, + 0x08, 0x52, 0x45, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, + 0x4c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, + 0x2a, 0x2e, 0x0a, 0x09, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x12, 0x0a, 0x0a, + 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x41, + 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x41, 0x4d, 0x4f, 0x4e, 0x44, 0x10, 0x02, + 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2e, 0x2f, 0x6d, 0x73, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -20991,7 +21029,7 @@ func file_Gameapi_proto_rawDescGZIP() []byte { } var file_Gameapi_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 386) +var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 387) var file_Gameapi_proto_goTypes = []any{ (ITEM_POP_LABEL)(0), // 0: tutorial.ITEM_POP_LABEL (HANDLE_TYPE)(0), // 1: tutorial.HANDLE_TYPE @@ -21334,79 +21372,80 @@ var file_Gameapi_proto_goTypes = []any{ (*AdminReq)(nil), // 338: tutorial.AdminReq (*AdminRes)(nil), // 339: tutorial.AdminRes (*ReqAdminInfo)(nil), // 340: tutorial.ReqAdminInfo - (*ReqServerInfo)(nil), // 341: tutorial.ReqServerInfo - nil, // 342: tutorial.ResChessColorData.MChessColorDataEntry - nil, // 343: tutorial.UpdateBaseItemInfo.MUpdateItemEntry - nil, // 344: tutorial.ResPlayerChessData.MChessDataEntry - nil, // 345: tutorial.UpdatePlayerChessData.MChessDataEntry - nil, // 346: tutorial.ReqSeparateChess.MChessDataEntry - nil, // 347: tutorial.ReqGetChessFromBuff.MChessDataEntry - nil, // 348: tutorial.ReqChessEx.MChessDataEntry - nil, // 349: tutorial.ReqSourceChest.MChessDataEntry - nil, // 350: tutorial.ReqPlayroomOutline.MChessDataEntry - nil, // 351: tutorial.ReqPutChessInBag.MChessDataEntry - nil, // 352: tutorial.ReqTakeChessOutBag.MChessDataEntry - nil, // 353: tutorial.ReqRewardOrder.MChessDataEntry - nil, // 354: tutorial.ResCardInfo.AllCardEntry - nil, // 355: tutorial.ResCardInfo.HandbookEntry - nil, // 356: tutorial.ResGuildInfo.RewardEntry - nil, // 357: tutorial.ResDailyTask.WeekRewardEntry - nil, // 358: tutorial.ResDailyTask.DailyTaskEntry - nil, // 359: tutorial.ResLimitEvent.LimitEventListEntry - nil, // 360: tutorial.ResLimitEventProgress.ProgressRewardEntry - nil, // 361: tutorial.ResKv.KvEntry - nil, // 362: tutorial.ResRank.RankListEntry - nil, // 363: tutorial.ResMailList.MailListEntry - nil, // 364: tutorial.ResCharge.SpecialShopEntry - nil, // 365: tutorial.ResCharge.ChessShopEntry - nil, // 366: tutorial.ResCharge.GiftEntry - nil, // 367: tutorial.ReqBuyChessShop2.MChessDataEntry - nil, // 368: tutorial.ResEndless.EndlessListEntry - nil, // 369: tutorial.ResChampshipRank.RankListEntry - nil, // 370: tutorial.ResChampshipPreRank.RankListEntry - nil, // 371: tutorial.ResNotifyCard.CardEntry - nil, // 372: tutorial.ResNotifyCard.MasterEntry - nil, // 373: tutorial.ResNotifyCard.HandbookEntry - nil, // 374: tutorial.ResMining.MapEntry - nil, // 375: tutorial.ReqMiningTake.MapEntry - nil, // 376: tutorial.ResActRed.RedEntry - nil, // 377: tutorial.ResItem.ItemEntry - nil, // 378: tutorial.ItemNotify.ItemEntry - nil, // 379: tutorial.ReqGuessColorTake.MapEntry - nil, // 380: tutorial.ResPlayroom.PlayroomEntry - nil, // 381: tutorial.ResPlayroom.MoodEntry - nil, // 382: tutorial.ResPlayroom.PhysiologyEntry - nil, // 383: tutorial.NotifyPlayroomMood.MoodEntry - nil, // 384: tutorial.NotifyPlayroomMood.PhysiologyEntry - nil, // 385: tutorial.ResPlayroomInfo.PlayroomEntry - nil, // 386: tutorial.ResPlayroomInfo.ItemsEntry - nil, // 387: tutorial.ResPlayroomInfo.FlipEntry - nil, // 388: tutorial.ResPlayroomGame.ItemsEntry - nil, // 389: tutorial.ReqPlayroomSetRoom.PlayroomEntry + (*ReqReloadServerMail)(nil), // 341: tutorial.ReqReloadServerMail + (*ReqServerInfo)(nil), // 342: tutorial.ReqServerInfo + nil, // 343: tutorial.ResChessColorData.MChessColorDataEntry + nil, // 344: tutorial.UpdateBaseItemInfo.MUpdateItemEntry + nil, // 345: tutorial.ResPlayerChessData.MChessDataEntry + nil, // 346: tutorial.UpdatePlayerChessData.MChessDataEntry + nil, // 347: tutorial.ReqSeparateChess.MChessDataEntry + nil, // 348: tutorial.ReqGetChessFromBuff.MChessDataEntry + nil, // 349: tutorial.ReqChessEx.MChessDataEntry + nil, // 350: tutorial.ReqSourceChest.MChessDataEntry + nil, // 351: tutorial.ReqPlayroomOutline.MChessDataEntry + nil, // 352: tutorial.ReqPutChessInBag.MChessDataEntry + nil, // 353: tutorial.ReqTakeChessOutBag.MChessDataEntry + nil, // 354: tutorial.ReqRewardOrder.MChessDataEntry + nil, // 355: tutorial.ResCardInfo.AllCardEntry + nil, // 356: tutorial.ResCardInfo.HandbookEntry + nil, // 357: tutorial.ResGuildInfo.RewardEntry + nil, // 358: tutorial.ResDailyTask.WeekRewardEntry + nil, // 359: tutorial.ResDailyTask.DailyTaskEntry + nil, // 360: tutorial.ResLimitEvent.LimitEventListEntry + nil, // 361: tutorial.ResLimitEventProgress.ProgressRewardEntry + nil, // 362: tutorial.ResKv.KvEntry + nil, // 363: tutorial.ResRank.RankListEntry + nil, // 364: tutorial.ResMailList.MailListEntry + nil, // 365: tutorial.ResCharge.SpecialShopEntry + nil, // 366: tutorial.ResCharge.ChessShopEntry + nil, // 367: tutorial.ResCharge.GiftEntry + nil, // 368: tutorial.ReqBuyChessShop2.MChessDataEntry + nil, // 369: tutorial.ResEndless.EndlessListEntry + nil, // 370: tutorial.ResChampshipRank.RankListEntry + nil, // 371: tutorial.ResChampshipPreRank.RankListEntry + nil, // 372: tutorial.ResNotifyCard.CardEntry + nil, // 373: tutorial.ResNotifyCard.MasterEntry + nil, // 374: tutorial.ResNotifyCard.HandbookEntry + nil, // 375: tutorial.ResMining.MapEntry + nil, // 376: tutorial.ReqMiningTake.MapEntry + nil, // 377: tutorial.ResActRed.RedEntry + nil, // 378: tutorial.ResItem.ItemEntry + nil, // 379: tutorial.ItemNotify.ItemEntry + nil, // 380: tutorial.ReqGuessColorTake.MapEntry + nil, // 381: tutorial.ResPlayroom.PlayroomEntry + nil, // 382: tutorial.ResPlayroom.MoodEntry + nil, // 383: tutorial.ResPlayroom.PhysiologyEntry + nil, // 384: tutorial.NotifyPlayroomMood.MoodEntry + nil, // 385: tutorial.NotifyPlayroomMood.PhysiologyEntry + nil, // 386: tutorial.ResPlayroomInfo.PlayroomEntry + nil, // 387: tutorial.ResPlayroomInfo.ItemsEntry + nil, // 388: tutorial.ResPlayroomInfo.FlipEntry + nil, // 389: tutorial.ResPlayroomGame.ItemsEntry + nil, // 390: tutorial.ReqPlayroomSetRoom.PlayroomEntry } var file_Gameapi_proto_depIdxs = []int32{ - 342, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry - 343, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry - 344, // 2: tutorial.ResPlayerChessData.mChessData:type_name -> tutorial.ResPlayerChessData.MChessDataEntry + 343, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry + 344, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry + 345, // 2: tutorial.ResPlayerChessData.mChessData:type_name -> tutorial.ResPlayerChessData.MChessDataEntry 50, // 3: tutorial.ResPlayerChessInfo.ChessBag:type_name -> tutorial.ChessBag 1, // 4: tutorial.ChessHandle.type:type_name -> tutorial.HANDLE_TYPE - 345, // 5: tutorial.UpdatePlayerChessData.mChessData:type_name -> tutorial.UpdatePlayerChessData.MChessDataEntry + 346, // 5: tutorial.UpdatePlayerChessData.mChessData:type_name -> tutorial.UpdatePlayerChessData.MChessDataEntry 37, // 6: tutorial.UpdatePlayerChessData.mChessHandle:type_name -> tutorial.ChessHandle 2, // 7: tutorial.ResUpdatePlayerChessData.code:type_name -> tutorial.RES_CODE - 346, // 8: tutorial.ReqSeparateChess.mChessData:type_name -> tutorial.ReqSeparateChess.MChessDataEntry + 347, // 8: tutorial.ReqSeparateChess.mChessData:type_name -> tutorial.ReqSeparateChess.MChessDataEntry 2, // 9: tutorial.ResSeparateChess.code:type_name -> tutorial.RES_CODE - 347, // 10: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry + 348, // 10: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry 2, // 11: tutorial.ResGetChessFromBuff.code:type_name -> tutorial.RES_CODE - 348, // 12: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry + 349, // 12: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry 2, // 13: tutorial.ResChessEx.code:type_name -> tutorial.RES_CODE - 349, // 14: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry + 350, // 14: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry 2, // 15: tutorial.ResSourceChest.code:type_name -> tutorial.RES_CODE - 350, // 16: tutorial.ReqPlayroomOutline.mChessData:type_name -> tutorial.ReqPlayroomOutline.MChessDataEntry + 351, // 16: tutorial.ReqPlayroomOutline.mChessData:type_name -> tutorial.ReqPlayroomOutline.MChessDataEntry 2, // 17: tutorial.ResPlayroomOutline.code:type_name -> tutorial.RES_CODE 51, // 18: tutorial.ChessBag.ChessBagGrids:type_name -> tutorial.ChessBagGrid - 351, // 19: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry + 352, // 19: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry 2, // 20: tutorial.ResPutChessInBag.code:type_name -> tutorial.RES_CODE - 352, // 21: tutorial.ReqTakeChessOutBag.mChessData:type_name -> tutorial.ReqTakeChessOutBag.MChessDataEntry + 353, // 21: tutorial.ReqTakeChessOutBag.mChessData:type_name -> tutorial.ReqTakeChessOutBag.MChessDataEntry 2, // 22: tutorial.ResTakeChessOutBag.code:type_name -> tutorial.RES_CODE 2, // 23: tutorial.ResBuyChessBagGrid.code:type_name -> tutorial.RES_CODE 2, // 24: tutorial.ResSetEnergyMul.ResultCode:type_name -> tutorial.RES_CODE @@ -21418,15 +21457,15 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 30: tutorial.ResGetEnergyByAD.Code:type_name -> tutorial.RES_CODE 76, // 31: tutorial.Handbook.Handbooks:type_name -> tutorial.HandbookInfo 2, // 32: tutorial.ResGetHandbookReward.Code:type_name -> tutorial.RES_CODE - 353, // 33: tutorial.ReqRewardOrder.mChessData:type_name -> tutorial.ReqRewardOrder.MChessDataEntry + 354, // 33: tutorial.ReqRewardOrder.mChessData:type_name -> tutorial.ReqRewardOrder.MChessDataEntry 2, // 34: tutorial.ResRewardOrder.Code:type_name -> tutorial.RES_CODE 2, // 35: tutorial.ResDelOrder.Code:type_name -> tutorial.RES_CODE 83, // 36: tutorial.ResOrderList.OrderList:type_name -> tutorial.Order 2, // 37: tutorial.ResDecorate.Code:type_name -> tutorial.RES_CODE 2, // 38: tutorial.ResDecorateAll.Code:type_name -> tutorial.RES_CODE 91, // 39: tutorial.ResCardInfo.CardList:type_name -> tutorial.Card - 354, // 40: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry - 355, // 41: tutorial.ResCardInfo.Handbook:type_name -> tutorial.ResCardInfo.HandbookEntry + 355, // 40: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry + 356, // 41: tutorial.ResCardInfo.Handbook:type_name -> tutorial.ResCardInfo.HandbookEntry 2, // 42: tutorial.ResCardSeasonFirstReward.Code:type_name -> tutorial.RES_CODE 2, // 43: tutorial.ResCardHandbookReward.Code:type_name -> tutorial.RES_CODE 2, // 44: tutorial.ResMasterCard.Code:type_name -> tutorial.RES_CODE @@ -21444,11 +21483,11 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 56: tutorial.ResRefuseCardExchange.Code:type_name -> tutorial.RES_CODE 2, // 57: tutorial.ResGetFriendCard.Code:type_name -> tutorial.RES_CODE 2, // 58: tutorial.ResGuideReward.Code:type_name -> tutorial.RES_CODE - 356, // 59: tutorial.ResGuildInfo.Reward:type_name -> tutorial.ResGuildInfo.RewardEntry + 357, // 59: tutorial.ResGuildInfo.Reward:type_name -> tutorial.ResGuildInfo.RewardEntry 133, // 60: tutorial.ResItemPop.Items:type_name -> tutorial.ItemInfo 134, // 61: tutorial.ResItemPop.CardPacks:type_name -> tutorial.CardPack - 357, // 62: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry - 358, // 63: tutorial.ResDailyTask.DailyTask:type_name -> tutorial.ResDailyTask.DailyTaskEntry + 358, // 62: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry + 359, // 63: tutorial.ResDailyTask.DailyTask:type_name -> tutorial.ResDailyTask.DailyTaskEntry 133, // 64: tutorial.DailyWeek.Items:type_name -> tutorial.ItemInfo 138, // 65: tutorial.DailyTask.Progress:type_name -> tutorial.QuestProgress 133, // 66: tutorial.DailyTask.Items:type_name -> tutorial.ItemInfo @@ -21467,8 +21506,8 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 79: tutorial.ResGetSevenLoginReward.Code:type_name -> tutorial.RES_CODE 2, // 80: tutorial.ResGetMonthLoginReward.Code:type_name -> tutorial.RES_CODE 160, // 81: tutorial.ResActivity.ActiveList:type_name -> tutorial.ActivityInfo - 359, // 82: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry - 360, // 83: tutorial.ResLimitEventProgress.ProgressReward:type_name -> tutorial.ResLimitEventProgress.ProgressRewardEntry + 360, // 82: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry + 361, // 83: tutorial.ResLimitEventProgress.ProgressReward:type_name -> tutorial.ResLimitEventProgress.ProgressRewardEntry 2, // 84: tutorial.ResLimitEventReward.Code:type_name -> tutorial.RES_CODE 2, // 85: tutorial.ResSelectLimitEvent.Code:type_name -> tutorial.RES_CODE 2, // 86: tutorial.ResLimitSenceReward.Code:type_name -> tutorial.RES_CODE @@ -21478,7 +21517,7 @@ var file_Gameapi_proto_depIdxs = []int32{ 177, // 90: tutorial.ResFriendLog.Player:type_name -> tutorial.ResPlayerSimple 179, // 91: tutorial.NotifyFriendLog.info:type_name -> tutorial.ResFriendLog 182, // 92: tutorial.NotifyFriendCard.Info:type_name -> tutorial.ResFriendCard - 361, // 93: tutorial.ResKv.kv:type_name -> tutorial.ResKv.KvEntry + 362, // 93: tutorial.ResKv.kv:type_name -> tutorial.ResKv.KvEntry 177, // 94: tutorial.ResFriendRecommend.List:type_name -> tutorial.ResPlayerSimple 2, // 95: tutorial.ResFriendIgnore.Code:type_name -> tutorial.RES_CODE 177, // 96: tutorial.ResFriendList.FriendList:type_name -> tutorial.ResPlayerSimple @@ -21492,44 +21531,44 @@ var file_Gameapi_proto_depIdxs = []int32{ 177, // 104: tutorial.ResAgreeFriend.Player:type_name -> tutorial.ResPlayerSimple 2, // 105: tutorial.ResRefuseFriend.Code:type_name -> tutorial.RES_CODE 2, // 106: tutorial.ResDelFriend.Code:type_name -> tutorial.RES_CODE - 362, // 107: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry - 363, // 108: tutorial.ResMailList.MailList:type_name -> tutorial.ResMailList.MailListEntry + 363, // 107: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry + 364, // 108: tutorial.ResMailList.MailList:type_name -> tutorial.ResMailList.MailListEntry 133, // 109: tutorial.MailInfo.Items:type_name -> tutorial.ItemInfo 211, // 110: tutorial.MailNotify.Info:type_name -> tutorial.MailInfo 2, // 111: tutorial.ResReadMail.Code:type_name -> tutorial.RES_CODE 2, // 112: tutorial.ResGetMailReward.Code:type_name -> tutorial.RES_CODE 2, // 113: tutorial.ResDeleteMail.Code:type_name -> tutorial.RES_CODE - 364, // 114: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry - 365, // 115: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry - 366, // 116: tutorial.ResCharge.Gift:type_name -> tutorial.ResCharge.GiftEntry + 365, // 114: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry + 366, // 115: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry + 367, // 116: tutorial.ResCharge.Gift:type_name -> tutorial.ResCharge.GiftEntry 2, // 117: tutorial.ResFreeShop.Code:type_name -> tutorial.RES_CODE 2, // 118: tutorial.ResBuyChessShop.Code:type_name -> tutorial.RES_CODE - 367, // 119: tutorial.ReqBuyChessShop2.mChessData:type_name -> tutorial.ReqBuyChessShop2.MChessDataEntry + 368, // 119: tutorial.ReqBuyChessShop2.mChessData:type_name -> tutorial.ReqBuyChessShop2.MChessDataEntry 2, // 120: tutorial.ResBuyChessShop2.Code:type_name -> tutorial.RES_CODE 2, // 121: tutorial.ResRefreshChessShop.Code:type_name -> tutorial.RES_CODE - 368, // 122: tutorial.ResEndless.EndlessList:type_name -> tutorial.ResEndless.EndlessListEntry + 369, // 122: tutorial.ResEndless.EndlessList:type_name -> tutorial.ResEndless.EndlessListEntry 133, // 123: tutorial.ResEndlessInfo.Items:type_name -> tutorial.ItemInfo 2, // 124: tutorial.ResEndlessReward.Code:type_name -> tutorial.RES_CODE 2, // 125: tutorial.ResPiggyBankReward.Code:type_name -> tutorial.RES_CODE 2, // 126: tutorial.ResShippingOrder.Code:type_name -> tutorial.RES_CODE 2, // 127: tutorial.ResChampshipReward.Code:type_name -> tutorial.RES_CODE 2, // 128: tutorial.ResChampshipRankReward.Code:type_name -> tutorial.RES_CODE - 369, // 129: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry - 370, // 130: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry - 371, // 131: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry - 372, // 132: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry - 373, // 133: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry + 370, // 129: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry + 371, // 130: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry + 372, // 131: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry + 373, // 132: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry + 374, // 133: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry 2, // 134: tutorial.ResSetFacebookUrl.Code:type_name -> tutorial.RES_CODE - 374, // 135: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry - 375, // 136: tutorial.ReqMiningTake.Map:type_name -> tutorial.ReqMiningTake.MapEntry + 375, // 135: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry + 376, // 136: tutorial.ReqMiningTake.Map:type_name -> tutorial.ReqMiningTake.MapEntry 2, // 137: tutorial.ResMiningTake.Code:type_name -> tutorial.RES_CODE 2, // 138: tutorial.ResMiningReward.Code:type_name -> tutorial.RES_CODE - 376, // 139: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry + 377, // 139: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry 160, // 140: tutorial.ActivityNotify.Info:type_name -> tutorial.ActivityInfo - 377, // 141: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry - 378, // 142: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry + 378, // 141: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry + 379, // 142: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry 279, // 143: tutorial.ResGuessColor.Opponent:type_name -> tutorial.opponent - 379, // 144: tutorial.ReqGuessColorTake.Map:type_name -> tutorial.ReqGuessColorTake.MapEntry + 380, // 144: tutorial.ReqGuessColorTake.Map:type_name -> tutorial.ReqGuessColorTake.MapEntry 2, // 145: tutorial.ResGuessColorTake.Code:type_name -> tutorial.RES_CODE 2, // 146: tutorial.ResGuessColorReward.Code:type_name -> tutorial.RES_CODE 286, // 147: tutorial.ResRace.Opponent:type_name -> tutorial.raceopponent @@ -21538,23 +21577,23 @@ var file_Gameapi_proto_depIdxs = []int32{ 133, // 150: tutorial.ResPlayroom.Items:type_name -> tutorial.ItemInfo 300, // 151: tutorial.ResPlayroom.Opponent:type_name -> tutorial.RoomOpponent 299, // 152: tutorial.ResPlayroom.Friend:type_name -> tutorial.FriendRoom - 380, // 153: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry - 381, // 154: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry + 381, // 153: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry + 382, // 154: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry 133, // 155: tutorial.ResPlayroom.LoseItem:type_name -> tutorial.ItemInfo - 382, // 156: tutorial.ResPlayroom.Physiology:type_name -> tutorial.ResPlayroom.PhysiologyEntry + 383, // 156: tutorial.ResPlayroom.Physiology:type_name -> tutorial.ResPlayroom.PhysiologyEntry 2, // 157: tutorial.ResPlayroomWrokOutline.Code:type_name -> tutorial.RES_CODE 133, // 158: tutorial.NotifyPlayroomLose.LoseItem:type_name -> tutorial.ItemInfo - 383, // 159: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry - 384, // 160: tutorial.NotifyPlayroomMood.Physiology:type_name -> tutorial.NotifyPlayroomMood.PhysiologyEntry - 385, // 161: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry - 386, // 162: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry - 387, // 163: tutorial.ResPlayroomInfo.flip:type_name -> tutorial.ResPlayroomInfo.FlipEntry + 384, // 159: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry + 385, // 160: tutorial.NotifyPlayroomMood.Physiology:type_name -> tutorial.NotifyPlayroomMood.PhysiologyEntry + 386, // 161: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry + 387, // 162: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry + 388, // 163: tutorial.ResPlayroomInfo.flip:type_name -> tutorial.ResPlayroomInfo.FlipEntry 2, // 164: tutorial.ResPlayroomFlip.Code:type_name -> tutorial.RES_CODE 2, // 165: tutorial.ResPlayroomFlipReward.Code:type_name -> tutorial.RES_CODE 2, // 166: tutorial.ResPlayroomGame.Code:type_name -> tutorial.RES_CODE - 388, // 167: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry + 389, // 167: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry 2, // 168: tutorial.ResPlayroomInteract.Code:type_name -> tutorial.RES_CODE - 389, // 169: tutorial.ReqPlayroomSetRoom.Playroom:type_name -> tutorial.ReqPlayroomSetRoom.PlayroomEntry + 390, // 169: tutorial.ReqPlayroomSetRoom.Playroom:type_name -> tutorial.ReqPlayroomSetRoom.PlayroomEntry 2, // 170: tutorial.ResPlayroomSetRoom.Code:type_name -> tutorial.RES_CODE 2, // 171: tutorial.ResPlayroomSelectReward.Code:type_name -> tutorial.RES_CODE 2, // 172: tutorial.ResPlayroomLose.Code:type_name -> tutorial.RES_CODE @@ -21598,7 +21637,7 @@ func file_Gameapi_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_Gameapi_proto_rawDesc, NumEnums: 4, - NumMessages: 386, + NumMessages: 387, NumExtensions: 0, NumServices: 0, },