From 4b6920be1d1d4ebbd32e451bf990df055cdb1dbd Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Fri, 14 Feb 2025 11:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0GM=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/Gm.go | 10 +- src/server/game/admin.go | 26 +++ src/server/msg/Gameapi.pb.go | 406 ++++++++++++++++++++--------------- 3 files changed, 266 insertions(+), 176 deletions(-) diff --git a/src/server/game/Gm.go b/src/server/game/Gm.go index f0953d40..74639834 100644 --- a/src/server/game/Gm.go +++ b/src/server/game/Gm.go @@ -26,8 +26,10 @@ func ReqGmCommand(args []interface{}) error { _, player, buf := ParseArgs(args) detail := &msg.ReqGmCommand{} proto.Unmarshal(buf, detail) - arg := strings.Split(detail.Command, " ") - log.Debug("Player %d ReqGmCommand:%v", player.M_DwUin, arg) + return ReqGmCommand_(player, detail.Command) +} +func ReqGmCommand_(player *Player, Command string) error { + arg := strings.Split(Command, " ") switch arg[0] { case "additem": id, _ := strconv.Atoi(arg[1]) @@ -282,7 +284,11 @@ func ReqGmCommand(args []interface{}) error { } BaseMod := player.PlayMod.getBaseMod() BaseMod.Uid = Uid + default: + return fmt.Errorf("Player %d ReqGmCommand:%v not found", player.M_DwUin, arg) } + log.Debug("Player %d ReqGmCommand:%v", player.M_DwUin, arg) + player.PlayMod.save() return nil } diff --git a/src/server/game/admin.go b/src/server/game/admin.go index 4449a2d1..77a29ba0 100644 --- a/src/server/game/admin.go +++ b/src/server/game/admin.go @@ -115,3 +115,29 @@ func ReqReload(args []interface{}) error { AdminPlayerBack(a, JsonBuff) return nil } + +func ReqAdminGm(args []interface{}) error { + a, buf := ParseAdminArgs(args) + req := &msg.ReqAdminGm{} + proto.Unmarshal(buf, req) + player := G_GameLogicPtr.GetPlayer(req.Uid) + if player == nil { + return nil + } + player.lock.Lock() + defer player.lock.Unlock() + err := ReqGmCommand_(player, req.Command) + res := make(map[string]interface{}) + res["Code"] = 0 + res["Msg"] = "ok" + if err != nil { + res["Code"] = 1 + res["Msg"] = err.Error() + } + JsonBuff, err := json.Marshal(res) + if err != nil { + return err + } + AdminPlayerBack(a, JsonBuff) + return nil +} diff --git a/src/server/msg/Gameapi.pb.go b/src/server/msg/Gameapi.pb.go index 99863f0d..b74281fd 100644 --- a/src/server/msg/Gameapi.pb.go +++ b/src/server/msg/Gameapi.pb.go @@ -18985,6 +18985,59 @@ func (*ReqReload) Descriptor() ([]byte, []int) { return file_Gameapi_proto_rawDescGZIP(), []int{339} } +type ReqAdminGm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"Uid,omitempty"` // uid + Command string `protobuf:"bytes,2,opt,name=Command,proto3" json:"Command,omitempty"` // 命令 +} + +func (x *ReqAdminGm) Reset() { + *x = ReqAdminGm{} + mi := &file_Gameapi_proto_msgTypes[340] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReqAdminGm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReqAdminGm) ProtoMessage() {} + +func (x *ReqAdminGm) ProtoReflect() protoreflect.Message { + mi := &file_Gameapi_proto_msgTypes[340] + 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 ReqAdminGm.ProtoReflect.Descriptor instead. +func (*ReqAdminGm) Descriptor() ([]byte, []int) { + return file_Gameapi_proto_rawDescGZIP(), []int{340} +} + +func (x *ReqAdminGm) GetUid() int64 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *ReqAdminGm) GetCommand() string { + if x != nil { + return x.Command + } + return "" +} + var File_Gameapi_proto protoreflect.FileDescriptor var file_Gameapi_proto_rawDesc = []byte{ @@ -20974,82 +21027,86 @@ var file_Gameapi_proto_rawDesc = []byte{ 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, 0x22, 0x0b, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x52, 0x65, 0x6c, 0x6f, 0x61, - 0x64, 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, 0x22, 0x38, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x47, 0x6d, 0x12, + 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x69, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 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 ( @@ -21065,7 +21122,7 @@ func file_Gameapi_proto_rawDescGZIP() []byte { } var file_Gameapi_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 388) +var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 389) var file_Gameapi_proto_goTypes = []any{ (ITEM_POP_LABEL)(0), // 0: tutorial.ITEM_POP_LABEL (HANDLE_TYPE)(0), // 1: tutorial.HANDLE_TYPE @@ -21411,78 +21468,79 @@ var file_Gameapi_proto_goTypes = []any{ (*ReqReloadServerMail)(nil), // 341: tutorial.ReqReloadServerMail (*ReqServerInfo)(nil), // 342: tutorial.ReqServerInfo (*ReqReload)(nil), // 343: tutorial.ReqReload - nil, // 344: tutorial.ResChessColorData.MChessColorDataEntry - nil, // 345: tutorial.UpdateBaseItemInfo.MUpdateItemEntry - nil, // 346: tutorial.ResPlayerChessData.MChessDataEntry - nil, // 347: tutorial.UpdatePlayerChessData.MChessDataEntry - nil, // 348: tutorial.ReqSeparateChess.MChessDataEntry - nil, // 349: tutorial.ReqGetChessFromBuff.MChessDataEntry - nil, // 350: tutorial.ReqChessEx.MChessDataEntry - nil, // 351: tutorial.ReqSourceChest.MChessDataEntry - nil, // 352: tutorial.ReqPlayroomOutline.MChessDataEntry - nil, // 353: tutorial.ReqPutChessInBag.MChessDataEntry - nil, // 354: tutorial.ReqTakeChessOutBag.MChessDataEntry - nil, // 355: tutorial.ReqRewardOrder.MChessDataEntry - nil, // 356: tutorial.ResCardInfo.AllCardEntry - nil, // 357: tutorial.ResCardInfo.HandbookEntry - nil, // 358: tutorial.ResGuildInfo.RewardEntry - nil, // 359: tutorial.ResDailyTask.WeekRewardEntry - nil, // 360: tutorial.ResDailyTask.DailyTaskEntry - nil, // 361: tutorial.ResLimitEvent.LimitEventListEntry - nil, // 362: tutorial.ResLimitEventProgress.ProgressRewardEntry - nil, // 363: tutorial.ResKv.KvEntry - nil, // 364: tutorial.ResRank.RankListEntry - nil, // 365: tutorial.ResMailList.MailListEntry - nil, // 366: tutorial.ResCharge.SpecialShopEntry - nil, // 367: tutorial.ResCharge.ChessShopEntry - nil, // 368: tutorial.ResCharge.GiftEntry - nil, // 369: tutorial.ReqBuyChessShop2.MChessDataEntry - nil, // 370: tutorial.ResEndless.EndlessListEntry - nil, // 371: tutorial.ResChampshipRank.RankListEntry - nil, // 372: tutorial.ResChampshipPreRank.RankListEntry - nil, // 373: tutorial.ResNotifyCard.CardEntry - nil, // 374: tutorial.ResNotifyCard.MasterEntry - nil, // 375: tutorial.ResNotifyCard.HandbookEntry - nil, // 376: tutorial.ResMining.MapEntry - nil, // 377: tutorial.ReqMiningTake.MapEntry - nil, // 378: tutorial.ResActRed.RedEntry - nil, // 379: tutorial.ResItem.ItemEntry - nil, // 380: tutorial.ItemNotify.ItemEntry - nil, // 381: tutorial.ReqGuessColorTake.MapEntry - nil, // 382: tutorial.ResPlayroom.PlayroomEntry - nil, // 383: tutorial.ResPlayroom.MoodEntry - nil, // 384: tutorial.ResPlayroom.PhysiologyEntry - nil, // 385: tutorial.NotifyPlayroomMood.MoodEntry - nil, // 386: tutorial.NotifyPlayroomMood.PhysiologyEntry - nil, // 387: tutorial.ResPlayroomInfo.PlayroomEntry - nil, // 388: tutorial.ResPlayroomInfo.ItemsEntry - nil, // 389: tutorial.ResPlayroomInfo.FlipEntry - nil, // 390: tutorial.ResPlayroomGame.ItemsEntry - nil, // 391: tutorial.ReqPlayroomSetRoom.PlayroomEntry + (*ReqAdminGm)(nil), // 344: tutorial.ReqAdminGm + nil, // 345: tutorial.ResChessColorData.MChessColorDataEntry + nil, // 346: tutorial.UpdateBaseItemInfo.MUpdateItemEntry + nil, // 347: tutorial.ResPlayerChessData.MChessDataEntry + nil, // 348: tutorial.UpdatePlayerChessData.MChessDataEntry + nil, // 349: tutorial.ReqSeparateChess.MChessDataEntry + nil, // 350: tutorial.ReqGetChessFromBuff.MChessDataEntry + nil, // 351: tutorial.ReqChessEx.MChessDataEntry + nil, // 352: tutorial.ReqSourceChest.MChessDataEntry + nil, // 353: tutorial.ReqPlayroomOutline.MChessDataEntry + nil, // 354: tutorial.ReqPutChessInBag.MChessDataEntry + nil, // 355: tutorial.ReqTakeChessOutBag.MChessDataEntry + nil, // 356: tutorial.ReqRewardOrder.MChessDataEntry + nil, // 357: tutorial.ResCardInfo.AllCardEntry + nil, // 358: tutorial.ResCardInfo.HandbookEntry + nil, // 359: tutorial.ResGuildInfo.RewardEntry + nil, // 360: tutorial.ResDailyTask.WeekRewardEntry + nil, // 361: tutorial.ResDailyTask.DailyTaskEntry + nil, // 362: tutorial.ResLimitEvent.LimitEventListEntry + nil, // 363: tutorial.ResLimitEventProgress.ProgressRewardEntry + nil, // 364: tutorial.ResKv.KvEntry + nil, // 365: tutorial.ResRank.RankListEntry + nil, // 366: tutorial.ResMailList.MailListEntry + nil, // 367: tutorial.ResCharge.SpecialShopEntry + nil, // 368: tutorial.ResCharge.ChessShopEntry + nil, // 369: tutorial.ResCharge.GiftEntry + nil, // 370: tutorial.ReqBuyChessShop2.MChessDataEntry + nil, // 371: tutorial.ResEndless.EndlessListEntry + nil, // 372: tutorial.ResChampshipRank.RankListEntry + nil, // 373: tutorial.ResChampshipPreRank.RankListEntry + nil, // 374: tutorial.ResNotifyCard.CardEntry + nil, // 375: tutorial.ResNotifyCard.MasterEntry + nil, // 376: tutorial.ResNotifyCard.HandbookEntry + nil, // 377: tutorial.ResMining.MapEntry + nil, // 378: tutorial.ReqMiningTake.MapEntry + nil, // 379: tutorial.ResActRed.RedEntry + nil, // 380: tutorial.ResItem.ItemEntry + nil, // 381: tutorial.ItemNotify.ItemEntry + nil, // 382: tutorial.ReqGuessColorTake.MapEntry + nil, // 383: tutorial.ResPlayroom.PlayroomEntry + nil, // 384: tutorial.ResPlayroom.MoodEntry + nil, // 385: tutorial.ResPlayroom.PhysiologyEntry + nil, // 386: tutorial.NotifyPlayroomMood.MoodEntry + nil, // 387: tutorial.NotifyPlayroomMood.PhysiologyEntry + nil, // 388: tutorial.ResPlayroomInfo.PlayroomEntry + nil, // 389: tutorial.ResPlayroomInfo.ItemsEntry + nil, // 390: tutorial.ResPlayroomInfo.FlipEntry + nil, // 391: tutorial.ResPlayroomGame.ItemsEntry + nil, // 392: tutorial.ReqPlayroomSetRoom.PlayroomEntry } var file_Gameapi_proto_depIdxs = []int32{ - 344, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry - 345, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry - 346, // 2: tutorial.ResPlayerChessData.mChessData:type_name -> tutorial.ResPlayerChessData.MChessDataEntry + 345, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry + 346, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry + 347, // 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 - 347, // 5: tutorial.UpdatePlayerChessData.mChessData:type_name -> tutorial.UpdatePlayerChessData.MChessDataEntry + 348, // 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 - 348, // 8: tutorial.ReqSeparateChess.mChessData:type_name -> tutorial.ReqSeparateChess.MChessDataEntry + 349, // 8: tutorial.ReqSeparateChess.mChessData:type_name -> tutorial.ReqSeparateChess.MChessDataEntry 2, // 9: tutorial.ResSeparateChess.code:type_name -> tutorial.RES_CODE - 349, // 10: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry + 350, // 10: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry 2, // 11: tutorial.ResGetChessFromBuff.code:type_name -> tutorial.RES_CODE - 350, // 12: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry + 351, // 12: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry 2, // 13: tutorial.ResChessEx.code:type_name -> tutorial.RES_CODE - 351, // 14: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry + 352, // 14: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry 2, // 15: tutorial.ResSourceChest.code:type_name -> tutorial.RES_CODE - 352, // 16: tutorial.ReqPlayroomOutline.mChessData:type_name -> tutorial.ReqPlayroomOutline.MChessDataEntry + 353, // 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 - 353, // 19: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry + 354, // 19: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry 2, // 20: tutorial.ResPutChessInBag.code:type_name -> tutorial.RES_CODE - 354, // 21: tutorial.ReqTakeChessOutBag.mChessData:type_name -> tutorial.ReqTakeChessOutBag.MChessDataEntry + 355, // 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 @@ -21494,15 +21552,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 - 355, // 33: tutorial.ReqRewardOrder.mChessData:type_name -> tutorial.ReqRewardOrder.MChessDataEntry + 356, // 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 - 356, // 40: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry - 357, // 41: tutorial.ResCardInfo.Handbook:type_name -> tutorial.ResCardInfo.HandbookEntry + 357, // 40: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry + 358, // 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 @@ -21520,11 +21578,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 - 358, // 59: tutorial.ResGuildInfo.Reward:type_name -> tutorial.ResGuildInfo.RewardEntry + 359, // 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 - 359, // 62: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry - 360, // 63: tutorial.ResDailyTask.DailyTask:type_name -> tutorial.ResDailyTask.DailyTaskEntry + 360, // 62: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry + 361, // 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 @@ -21543,8 +21601,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 - 361, // 82: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry - 362, // 83: tutorial.ResLimitEventProgress.ProgressReward:type_name -> tutorial.ResLimitEventProgress.ProgressRewardEntry + 362, // 82: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry + 363, // 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 @@ -21554,7 +21612,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 - 363, // 93: tutorial.ResKv.kv:type_name -> tutorial.ResKv.KvEntry + 364, // 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 @@ -21568,44 +21626,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 - 364, // 107: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry - 365, // 108: tutorial.ResMailList.MailList:type_name -> tutorial.ResMailList.MailListEntry + 365, // 107: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry + 366, // 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 - 366, // 114: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry - 367, // 115: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry - 368, // 116: tutorial.ResCharge.Gift:type_name -> tutorial.ResCharge.GiftEntry + 367, // 114: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry + 368, // 115: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry + 369, // 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 - 369, // 119: tutorial.ReqBuyChessShop2.mChessData:type_name -> tutorial.ReqBuyChessShop2.MChessDataEntry + 370, // 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 - 370, // 122: tutorial.ResEndless.EndlessList:type_name -> tutorial.ResEndless.EndlessListEntry + 371, // 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 - 371, // 129: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry - 372, // 130: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry - 373, // 131: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry - 374, // 132: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry - 375, // 133: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry + 372, // 129: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry + 373, // 130: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry + 374, // 131: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry + 375, // 132: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry + 376, // 133: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry 2, // 134: tutorial.ResSetFacebookUrl.Code:type_name -> tutorial.RES_CODE - 376, // 135: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry - 377, // 136: tutorial.ReqMiningTake.Map:type_name -> tutorial.ReqMiningTake.MapEntry + 377, // 135: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry + 378, // 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 - 378, // 139: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry + 379, // 139: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry 160, // 140: tutorial.ActivityNotify.Info:type_name -> tutorial.ActivityInfo - 379, // 141: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry - 380, // 142: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry + 380, // 141: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry + 381, // 142: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry 279, // 143: tutorial.ResGuessColor.Opponent:type_name -> tutorial.opponent - 381, // 144: tutorial.ReqGuessColorTake.Map:type_name -> tutorial.ReqGuessColorTake.MapEntry + 382, // 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 @@ -21614,23 +21672,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 - 382, // 153: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry - 383, // 154: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry + 383, // 153: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry + 384, // 154: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry 133, // 155: tutorial.ResPlayroom.LoseItem:type_name -> tutorial.ItemInfo - 384, // 156: tutorial.ResPlayroom.Physiology:type_name -> tutorial.ResPlayroom.PhysiologyEntry + 385, // 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 - 385, // 159: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry - 386, // 160: tutorial.NotifyPlayroomMood.Physiology:type_name -> tutorial.NotifyPlayroomMood.PhysiologyEntry - 387, // 161: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry - 388, // 162: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry - 389, // 163: tutorial.ResPlayroomInfo.flip:type_name -> tutorial.ResPlayroomInfo.FlipEntry + 386, // 159: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry + 387, // 160: tutorial.NotifyPlayroomMood.Physiology:type_name -> tutorial.NotifyPlayroomMood.PhysiologyEntry + 388, // 161: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry + 389, // 162: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry + 390, // 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 - 390, // 167: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry + 391, // 167: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry 2, // 168: tutorial.ResPlayroomInteract.Code:type_name -> tutorial.RES_CODE - 391, // 169: tutorial.ReqPlayroomSetRoom.Playroom:type_name -> tutorial.ReqPlayroomSetRoom.PlayroomEntry + 392, // 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 @@ -21674,7 +21732,7 @@ func file_Gameapi_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_Gameapi_proto_rawDesc, NumEnums: 4, - NumMessages: 388, + NumMessages: 389, NumExtensions: 0, NumServices: 0, },