diff --git a/src/server/game/GameLogic.go b/src/server/game/GameLogic.go index 31911f0f..2f7fabd1 100644 --- a/src/server/game/GameLogic.go +++ b/src/server/game/GameLogic.go @@ -813,6 +813,19 @@ func (ad *GameLogic) NotifyAll(m *MsgMod.Msg) { }) } +func (ad *GameLogic) GetPlayerNum() int { + length := 0 + ad.M_Players.Range(func(_, _ interface{}) bool { + length++ + return true + }) + return length +} + +func (ad *GameLogic) GetStartTime() int64 { + return ad.StartTime +} + func NotifyPlayer(Uid int, m *MsgMod.Msg) { p := G_GameLogicPtr.GetPlayer(int64(Uid)) if p == nil || p.stop { diff --git a/src/server/game/admin.go b/src/server/game/admin.go index f288de94..81b76320 100644 --- a/src/server/game/admin.go +++ b/src/server/game/admin.go @@ -11,7 +11,8 @@ import ( ) var AdminFuncMap = map[string]func([]interface{}) error{ - "ReqAdminInfo": AdminPlayerInfo, + "ReqAdminInfo": AdminPlayerInfo, + "ReqServerInfo": ReqServerInfo, } func AdminProcess(Func string, args []interface{}) { @@ -78,3 +79,16 @@ func AdminPlayerBack(a gate.Agent, buf []byte) { response.Info = buf a.WriteMsg(response) } + +func ReqServerInfo(args []interface{}) error { + a, _ := ParseAdminArgs(args) + res := make(map[string]interface{}) + res["PlayerNum"] = G_GameLogicPtr.GetPlayerNum() + res["StartTime"] = G_GameLogicPtr.GetStartTime() + 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 ab5cee4a..5bb06c3f 100644 --- a/src/server/msg/Gameapi.pb.go +++ b/src/server/msg/Gameapi.pb.go @@ -18355,6 +18355,87 @@ func (x *ResAdminInfo) GetInfo() string { return "" } +type ReqServerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReqServerInfo) Reset() { + *x = ReqServerInfo{} + mi := &file_Gameapi_proto_msgTypes[327] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReqServerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReqServerInfo) ProtoMessage() {} + +func (x *ReqServerInfo) ProtoReflect() protoreflect.Message { + mi := &file_Gameapi_proto_msgTypes[327] + 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 ReqServerInfo.ProtoReflect.Descriptor instead. +func (*ReqServerInfo) Descriptor() ([]byte, []int) { + return file_Gameapi_proto_rawDescGZIP(), []int{327} +} + +type ResServerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *ResServerInfo) Reset() { + *x = ResServerInfo{} + mi := &file_Gameapi_proto_msgTypes[328] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ResServerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResServerInfo) ProtoMessage() {} + +func (x *ResServerInfo) ProtoReflect() protoreflect.Message { + mi := &file_Gameapi_proto_msgTypes[328] + 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 ResServerInfo.ProtoReflect.Descriptor instead. +func (*ResServerInfo) Descriptor() ([]byte, []int) { + return file_Gameapi_proto_rawDescGZIP(), []int{328} +} + +func (x *ResServerInfo) GetInfo() string { + if x != nil { + return x.Info + } + return "" +} + var File_Gameapi_proto protoreflect.FileDescriptor var file_Gameapi_proto_rawDesc = []byte{ @@ -20275,78 +20356,81 @@ var file_Gameapi_proto_rawDesc = []byte{ 0x03, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, - 0x6e, 0x66, 0x6f, 0x2a, 0xca, 0x07, 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, - 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, + 0x6e, 0x66, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x2a, 0xca, 0x07, 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, 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 ( @@ -20362,7 +20446,7 @@ func file_Gameapi_proto_rawDescGZIP() []byte { } var file_Gameapi_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 372) +var file_Gameapi_proto_msgTypes = make([]protoimpl.MessageInfo, 374) var file_Gameapi_proto_goTypes = []any{ (ITEM_POP_LABEL)(0), // 0: tutorial.ITEM_POP_LABEL (HANDLE_TYPE)(0), // 1: tutorial.HANDLE_TYPE @@ -20695,73 +20779,75 @@ var file_Gameapi_proto_goTypes = []any{ (*AdminRes)(nil), // 328: tutorial.AdminRes (*ReqAdminInfo)(nil), // 329: tutorial.ReqAdminInfo (*ResAdminInfo)(nil), // 330: tutorial.ResAdminInfo - nil, // 331: tutorial.ResChessColorData.MChessColorDataEntry - nil, // 332: tutorial.UpdateBaseItemInfo.MUpdateItemEntry - nil, // 333: tutorial.ResPlayerChessData.MChessDataEntry - nil, // 334: tutorial.UpdatePlayerChessData.MChessDataEntry - nil, // 335: tutorial.ReqGetChessFromBuff.MChessDataEntry - nil, // 336: tutorial.ReqChessEx.MChessDataEntry - nil, // 337: tutorial.ReqSourceChest.MChessDataEntry - nil, // 338: tutorial.ReqPlayroomOutline.MChessDataEntry - nil, // 339: tutorial.ReqPutChessInBag.MChessDataEntry - nil, // 340: tutorial.ReqTakeChessOutBag.MChessDataEntry - nil, // 341: tutorial.ReqRewardOrder.MChessDataEntry - nil, // 342: tutorial.ResCardInfo.AllCardEntry - nil, // 343: tutorial.ResCardInfo.HandbookEntry - nil, // 344: tutorial.ResGuildInfo.RewardEntry - nil, // 345: tutorial.ResDailyTask.WeekRewardEntry - nil, // 346: tutorial.ResDailyTask.DailyTaskEntry - nil, // 347: tutorial.ResLimitEvent.LimitEventListEntry - nil, // 348: tutorial.ResLimitEventProgress.ProgressRewardEntry - nil, // 349: tutorial.ResKv.KvEntry - nil, // 350: tutorial.ResRank.RankListEntry - nil, // 351: tutorial.ResMailList.MailListEntry - nil, // 352: tutorial.ResCharge.SpecialShopEntry - nil, // 353: tutorial.ResCharge.ChessShopEntry - nil, // 354: tutorial.ResCharge.GiftEntry - nil, // 355: tutorial.ReqBuyChessShop2.MChessDataEntry - nil, // 356: tutorial.ResEndless.EndlessListEntry - nil, // 357: tutorial.ResChampshipRank.RankListEntry - nil, // 358: tutorial.ResChampshipPreRank.RankListEntry - nil, // 359: tutorial.ResNotifyCard.CardEntry - nil, // 360: tutorial.ResNotifyCard.MasterEntry - nil, // 361: tutorial.ResNotifyCard.HandbookEntry - nil, // 362: tutorial.ResMining.MapEntry - nil, // 363: tutorial.ReqMiningTake.MapEntry - nil, // 364: tutorial.ResActRed.RedEntry - nil, // 365: tutorial.ResItem.ItemEntry - nil, // 366: tutorial.ItemNotify.ItemEntry - nil, // 367: tutorial.ReqGuessColorTake.MapEntry - nil, // 368: tutorial.ResPlayroom.PlayroomEntry - nil, // 369: tutorial.ResPlayroom.MoodEntry - nil, // 370: tutorial.NotifyPlayroomMood.MoodEntry - nil, // 371: tutorial.ResPlayroomInfo.PlayroomEntry - nil, // 372: tutorial.ResPlayroomInfo.ItemsEntry - nil, // 373: tutorial.ResPlayroomInfo.FlipEntry - nil, // 374: tutorial.ResPlayroomGame.ItemsEntry - nil, // 375: tutorial.ReqPlayroomSetRoom.PlayroomEntry + (*ReqServerInfo)(nil), // 331: tutorial.ReqServerInfo + (*ResServerInfo)(nil), // 332: tutorial.ResServerInfo + nil, // 333: tutorial.ResChessColorData.MChessColorDataEntry + nil, // 334: tutorial.UpdateBaseItemInfo.MUpdateItemEntry + nil, // 335: tutorial.ResPlayerChessData.MChessDataEntry + nil, // 336: tutorial.UpdatePlayerChessData.MChessDataEntry + nil, // 337: tutorial.ReqGetChessFromBuff.MChessDataEntry + nil, // 338: tutorial.ReqChessEx.MChessDataEntry + nil, // 339: tutorial.ReqSourceChest.MChessDataEntry + nil, // 340: tutorial.ReqPlayroomOutline.MChessDataEntry + nil, // 341: tutorial.ReqPutChessInBag.MChessDataEntry + nil, // 342: tutorial.ReqTakeChessOutBag.MChessDataEntry + nil, // 343: tutorial.ReqRewardOrder.MChessDataEntry + nil, // 344: tutorial.ResCardInfo.AllCardEntry + nil, // 345: tutorial.ResCardInfo.HandbookEntry + nil, // 346: tutorial.ResGuildInfo.RewardEntry + nil, // 347: tutorial.ResDailyTask.WeekRewardEntry + nil, // 348: tutorial.ResDailyTask.DailyTaskEntry + nil, // 349: tutorial.ResLimitEvent.LimitEventListEntry + nil, // 350: tutorial.ResLimitEventProgress.ProgressRewardEntry + nil, // 351: tutorial.ResKv.KvEntry + nil, // 352: tutorial.ResRank.RankListEntry + nil, // 353: tutorial.ResMailList.MailListEntry + nil, // 354: tutorial.ResCharge.SpecialShopEntry + nil, // 355: tutorial.ResCharge.ChessShopEntry + nil, // 356: tutorial.ResCharge.GiftEntry + nil, // 357: tutorial.ReqBuyChessShop2.MChessDataEntry + nil, // 358: tutorial.ResEndless.EndlessListEntry + nil, // 359: tutorial.ResChampshipRank.RankListEntry + nil, // 360: tutorial.ResChampshipPreRank.RankListEntry + nil, // 361: tutorial.ResNotifyCard.CardEntry + nil, // 362: tutorial.ResNotifyCard.MasterEntry + nil, // 363: tutorial.ResNotifyCard.HandbookEntry + nil, // 364: tutorial.ResMining.MapEntry + nil, // 365: tutorial.ReqMiningTake.MapEntry + nil, // 366: tutorial.ResActRed.RedEntry + nil, // 367: tutorial.ResItem.ItemEntry + nil, // 368: tutorial.ItemNotify.ItemEntry + nil, // 369: tutorial.ReqGuessColorTake.MapEntry + nil, // 370: tutorial.ResPlayroom.PlayroomEntry + nil, // 371: tutorial.ResPlayroom.MoodEntry + nil, // 372: tutorial.NotifyPlayroomMood.MoodEntry + nil, // 373: tutorial.ResPlayroomInfo.PlayroomEntry + nil, // 374: tutorial.ResPlayroomInfo.ItemsEntry + nil, // 375: tutorial.ResPlayroomInfo.FlipEntry + nil, // 376: tutorial.ResPlayroomGame.ItemsEntry + nil, // 377: tutorial.ReqPlayroomSetRoom.PlayroomEntry } var file_Gameapi_proto_depIdxs = []int32{ - 331, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry - 332, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry - 333, // 2: tutorial.ResPlayerChessData.mChessData:type_name -> tutorial.ResPlayerChessData.MChessDataEntry + 333, // 0: tutorial.ResChessColorData.mChessColorData:type_name -> tutorial.ResChessColorData.MChessColorDataEntry + 334, // 1: tutorial.UpdateBaseItemInfo.mUpdateItem:type_name -> tutorial.UpdateBaseItemInfo.MUpdateItemEntry + 335, // 2: tutorial.ResPlayerChessData.mChessData:type_name -> tutorial.ResPlayerChessData.MChessDataEntry 47, // 3: tutorial.ResPlayerChessInfo.ChessBag:type_name -> tutorial.ChessBag 1, // 4: tutorial.ChessHandle.type:type_name -> tutorial.HANDLE_TYPE - 334, // 5: tutorial.UpdatePlayerChessData.mChessData:type_name -> tutorial.UpdatePlayerChessData.MChessDataEntry + 336, // 5: tutorial.UpdatePlayerChessData.mChessData:type_name -> tutorial.UpdatePlayerChessData.MChessDataEntry 36, // 6: tutorial.UpdatePlayerChessData.mChessHandle:type_name -> tutorial.ChessHandle 2, // 7: tutorial.ResUpdatePlayerChessData.code:type_name -> tutorial.RES_CODE - 335, // 8: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry + 337, // 8: tutorial.ReqGetChessFromBuff.mChessData:type_name -> tutorial.ReqGetChessFromBuff.MChessDataEntry 2, // 9: tutorial.ResGetChessFromBuff.code:type_name -> tutorial.RES_CODE - 336, // 10: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry + 338, // 10: tutorial.ReqChessEx.mChessData:type_name -> tutorial.ReqChessEx.MChessDataEntry 2, // 11: tutorial.ResChessEx.code:type_name -> tutorial.RES_CODE - 337, // 12: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry + 339, // 12: tutorial.ReqSourceChest.mChessData:type_name -> tutorial.ReqSourceChest.MChessDataEntry 2, // 13: tutorial.ResSourceChest.code:type_name -> tutorial.RES_CODE - 338, // 14: tutorial.ReqPlayroomOutline.mChessData:type_name -> tutorial.ReqPlayroomOutline.MChessDataEntry + 340, // 14: tutorial.ReqPlayroomOutline.mChessData:type_name -> tutorial.ReqPlayroomOutline.MChessDataEntry 2, // 15: tutorial.ResPlayroomOutline.code:type_name -> tutorial.RES_CODE 48, // 16: tutorial.ChessBag.ChessBagGrids:type_name -> tutorial.ChessBagGrid - 339, // 17: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry + 341, // 17: tutorial.ReqPutChessInBag.mChessData:type_name -> tutorial.ReqPutChessInBag.MChessDataEntry 2, // 18: tutorial.ResPutChessInBag.code:type_name -> tutorial.RES_CODE - 340, // 19: tutorial.ReqTakeChessOutBag.mChessData:type_name -> tutorial.ReqTakeChessOutBag.MChessDataEntry + 342, // 19: tutorial.ReqTakeChessOutBag.mChessData:type_name -> tutorial.ReqTakeChessOutBag.MChessDataEntry 2, // 20: tutorial.ResTakeChessOutBag.code:type_name -> tutorial.RES_CODE 2, // 21: tutorial.ResBuyChessBagGrid.code:type_name -> tutorial.RES_CODE 2, // 22: tutorial.ResSetEnergyMul.ResultCode:type_name -> tutorial.RES_CODE @@ -20773,14 +20859,14 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 28: tutorial.ResGetEnergyByAD.Code:type_name -> tutorial.RES_CODE 73, // 29: tutorial.Handbook.Handbooks:type_name -> tutorial.HandbookInfo 2, // 30: tutorial.ResGetHandbookReward.Code:type_name -> tutorial.RES_CODE - 341, // 31: tutorial.ReqRewardOrder.mChessData:type_name -> tutorial.ReqRewardOrder.MChessDataEntry + 343, // 31: tutorial.ReqRewardOrder.mChessData:type_name -> tutorial.ReqRewardOrder.MChessDataEntry 2, // 32: tutorial.ResRewardOrder.Code:type_name -> tutorial.RES_CODE 78, // 33: tutorial.ResOrderList.OrderList:type_name -> tutorial.Order 2, // 34: tutorial.ResDecorate.Code:type_name -> tutorial.RES_CODE 2, // 35: tutorial.ResDecorateAll.Code:type_name -> tutorial.RES_CODE 86, // 36: tutorial.ResCardInfo.CardList:type_name -> tutorial.Card - 342, // 37: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry - 343, // 38: tutorial.ResCardInfo.Handbook:type_name -> tutorial.ResCardInfo.HandbookEntry + 344, // 37: tutorial.ResCardInfo.AllCard:type_name -> tutorial.ResCardInfo.AllCardEntry + 345, // 38: tutorial.ResCardInfo.Handbook:type_name -> tutorial.ResCardInfo.HandbookEntry 2, // 39: tutorial.ResCardHandbookReward.Code:type_name -> tutorial.RES_CODE 2, // 40: tutorial.ResMasterCard.Code:type_name -> tutorial.RES_CODE 2, // 41: tutorial.ResCardCollectReward.Code:type_name -> tutorial.RES_CODE @@ -20797,11 +20883,11 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 52: tutorial.ResRefuseCardExchange.Code:type_name -> tutorial.RES_CODE 2, // 53: tutorial.ResGetFriendCard.Code:type_name -> tutorial.RES_CODE 2, // 54: tutorial.ResGuideReward.Code:type_name -> tutorial.RES_CODE - 344, // 55: tutorial.ResGuildInfo.Reward:type_name -> tutorial.ResGuildInfo.RewardEntry + 346, // 55: tutorial.ResGuildInfo.Reward:type_name -> tutorial.ResGuildInfo.RewardEntry 126, // 56: tutorial.ResItemPop.Items:type_name -> tutorial.ItemInfo 127, // 57: tutorial.ResItemPop.CardPacks:type_name -> tutorial.CardPack - 345, // 58: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry - 346, // 59: tutorial.ResDailyTask.DailyTask:type_name -> tutorial.ResDailyTask.DailyTaskEntry + 347, // 58: tutorial.ResDailyTask.WeekReward:type_name -> tutorial.ResDailyTask.WeekRewardEntry + 348, // 59: tutorial.ResDailyTask.DailyTask:type_name -> tutorial.ResDailyTask.DailyTaskEntry 126, // 60: tutorial.DailyWeek.Items:type_name -> tutorial.ItemInfo 131, // 61: tutorial.DailyTask.Progress:type_name -> tutorial.QuestProgress 126, // 62: tutorial.DailyTask.Items:type_name -> tutorial.ItemInfo @@ -20820,8 +20906,8 @@ var file_Gameapi_proto_depIdxs = []int32{ 2, // 75: tutorial.ResGetSevenLoginReward.Code:type_name -> tutorial.RES_CODE 2, // 76: tutorial.ResGetMonthLoginReward.Code:type_name -> tutorial.RES_CODE 153, // 77: tutorial.ResActivity.ActiveList:type_name -> tutorial.ActivityInfo - 347, // 78: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry - 348, // 79: tutorial.ResLimitEventProgress.ProgressReward:type_name -> tutorial.ResLimitEventProgress.ProgressRewardEntry + 349, // 78: tutorial.ResLimitEvent.LimitEventList:type_name -> tutorial.ResLimitEvent.LimitEventListEntry + 350, // 79: tutorial.ResLimitEventProgress.ProgressReward:type_name -> tutorial.ResLimitEventProgress.ProgressRewardEntry 2, // 80: tutorial.ResLimitEventReward.Code:type_name -> tutorial.RES_CODE 2, // 81: tutorial.ResSelectLimitEvent.Code:type_name -> tutorial.RES_CODE 2, // 82: tutorial.ResLimitSenceReward.Code:type_name -> tutorial.RES_CODE @@ -20831,7 +20917,7 @@ var file_Gameapi_proto_depIdxs = []int32{ 170, // 86: tutorial.ResFriendLog.Player:type_name -> tutorial.ResPlayerSimple 172, // 87: tutorial.NotifyFriendLog.info:type_name -> tutorial.ResFriendLog 175, // 88: tutorial.NotifyFriendCard.Info:type_name -> tutorial.ResFriendCard - 349, // 89: tutorial.ResKv.kv:type_name -> tutorial.ResKv.KvEntry + 351, // 89: tutorial.ResKv.kv:type_name -> tutorial.ResKv.KvEntry 170, // 90: tutorial.ResFriendRecommend.List:type_name -> tutorial.ResPlayerSimple 2, // 91: tutorial.ResFriendIgnore.Code:type_name -> tutorial.RES_CODE 170, // 92: tutorial.ResFriendList.FriendList:type_name -> tutorial.ResPlayerSimple @@ -20845,44 +20931,44 @@ var file_Gameapi_proto_depIdxs = []int32{ 170, // 100: tutorial.ResAgreeFriend.Player:type_name -> tutorial.ResPlayerSimple 2, // 101: tutorial.ResRefuseFriend.Code:type_name -> tutorial.RES_CODE 2, // 102: tutorial.ResDelFriend.Code:type_name -> tutorial.RES_CODE - 350, // 103: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry - 351, // 104: tutorial.ResMailList.MailList:type_name -> tutorial.ResMailList.MailListEntry + 352, // 103: tutorial.ResRank.RankList:type_name -> tutorial.ResRank.RankListEntry + 353, // 104: tutorial.ResMailList.MailList:type_name -> tutorial.ResMailList.MailListEntry 126, // 105: tutorial.MailInfo.Items:type_name -> tutorial.ItemInfo 204, // 106: tutorial.MailNotify.Info:type_name -> tutorial.MailInfo 2, // 107: tutorial.ResReadMail.Code:type_name -> tutorial.RES_CODE 2, // 108: tutorial.ResGetMailReward.Code:type_name -> tutorial.RES_CODE 2, // 109: tutorial.ResDeleteMail.Code:type_name -> tutorial.RES_CODE - 352, // 110: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry - 353, // 111: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry - 354, // 112: tutorial.ResCharge.Gift:type_name -> tutorial.ResCharge.GiftEntry + 354, // 110: tutorial.ResCharge.SpecialShop:type_name -> tutorial.ResCharge.SpecialShopEntry + 355, // 111: tutorial.ResCharge.ChessShop:type_name -> tutorial.ResCharge.ChessShopEntry + 356, // 112: tutorial.ResCharge.Gift:type_name -> tutorial.ResCharge.GiftEntry 2, // 113: tutorial.ResFreeShop.Code:type_name -> tutorial.RES_CODE 2, // 114: tutorial.ResBuyChessShop.Code:type_name -> tutorial.RES_CODE - 355, // 115: tutorial.ReqBuyChessShop2.mChessData:type_name -> tutorial.ReqBuyChessShop2.MChessDataEntry + 357, // 115: tutorial.ReqBuyChessShop2.mChessData:type_name -> tutorial.ReqBuyChessShop2.MChessDataEntry 2, // 116: tutorial.ResBuyChessShop2.Code:type_name -> tutorial.RES_CODE 2, // 117: tutorial.ResRefreshChessShop.Code:type_name -> tutorial.RES_CODE - 356, // 118: tutorial.ResEndless.EndlessList:type_name -> tutorial.ResEndless.EndlessListEntry + 358, // 118: tutorial.ResEndless.EndlessList:type_name -> tutorial.ResEndless.EndlessListEntry 126, // 119: tutorial.ResEndlessInfo.Items:type_name -> tutorial.ItemInfo 2, // 120: tutorial.ResEndlessReward.Code:type_name -> tutorial.RES_CODE 2, // 121: tutorial.ResPiggyBankReward.Code:type_name -> tutorial.RES_CODE 2, // 122: tutorial.ResShippingOrder.Code:type_name -> tutorial.RES_CODE 2, // 123: tutorial.ResChampshipReward.Code:type_name -> tutorial.RES_CODE 2, // 124: tutorial.ResChampshipRankReward.Code:type_name -> tutorial.RES_CODE - 357, // 125: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry - 358, // 126: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry - 359, // 127: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry - 360, // 128: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry - 361, // 129: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry + 359, // 125: tutorial.ResChampshipRank.RankList:type_name -> tutorial.ResChampshipRank.RankListEntry + 360, // 126: tutorial.ResChampshipPreRank.RankList:type_name -> tutorial.ResChampshipPreRank.RankListEntry + 361, // 127: tutorial.ResNotifyCard.Card:type_name -> tutorial.ResNotifyCard.CardEntry + 362, // 128: tutorial.ResNotifyCard.Master:type_name -> tutorial.ResNotifyCard.MasterEntry + 363, // 129: tutorial.ResNotifyCard.Handbook:type_name -> tutorial.ResNotifyCard.HandbookEntry 2, // 130: tutorial.ResSetFacebookUrl.Code:type_name -> tutorial.RES_CODE - 362, // 131: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry - 363, // 132: tutorial.ReqMiningTake.Map:type_name -> tutorial.ReqMiningTake.MapEntry + 364, // 131: tutorial.ResMining.Map:type_name -> tutorial.ResMining.MapEntry + 365, // 132: tutorial.ReqMiningTake.Map:type_name -> tutorial.ReqMiningTake.MapEntry 2, // 133: tutorial.ResMiningTake.Code:type_name -> tutorial.RES_CODE 2, // 134: tutorial.ResMiningReward.Code:type_name -> tutorial.RES_CODE - 364, // 135: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry + 366, // 135: tutorial.ResActRed.Red:type_name -> tutorial.ResActRed.RedEntry 153, // 136: tutorial.ActivityNotify.Info:type_name -> tutorial.ActivityInfo - 365, // 137: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry - 366, // 138: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry + 367, // 137: tutorial.ResItem.Item:type_name -> tutorial.ResItem.ItemEntry + 368, // 138: tutorial.ItemNotify.Item:type_name -> tutorial.ItemNotify.ItemEntry 270, // 139: tutorial.ResGuessColor.Opponent:type_name -> tutorial.opponent - 367, // 140: tutorial.ReqGuessColorTake.Map:type_name -> tutorial.ReqGuessColorTake.MapEntry + 369, // 140: tutorial.ReqGuessColorTake.Map:type_name -> tutorial.ReqGuessColorTake.MapEntry 2, // 141: tutorial.ResGuessColorTake.Code:type_name -> tutorial.RES_CODE 2, // 142: tutorial.ResGuessColorReward.Code:type_name -> tutorial.RES_CODE 277, // 143: tutorial.ResRace.Opponent:type_name -> tutorial.raceopponent @@ -20891,21 +20977,21 @@ var file_Gameapi_proto_depIdxs = []int32{ 126, // 146: tutorial.ResPlayroom.Items:type_name -> tutorial.ItemInfo 291, // 147: tutorial.ResPlayroom.Opponent:type_name -> tutorial.RoomOpponent 290, // 148: tutorial.ResPlayroom.Friend:type_name -> tutorial.FriendRoom - 368, // 149: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry - 369, // 150: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry + 370, // 149: tutorial.ResPlayroom.Playroom:type_name -> tutorial.ResPlayroom.PlayroomEntry + 371, // 150: tutorial.ResPlayroom.Mood:type_name -> tutorial.ResPlayroom.MoodEntry 126, // 151: tutorial.ResPlayroom.LoseItem:type_name -> tutorial.ItemInfo 2, // 152: tutorial.ResPlayroomWrokOutline.Code:type_name -> tutorial.RES_CODE 126, // 153: tutorial.NotifyPlayroomLose.LoseItem:type_name -> tutorial.ItemInfo - 370, // 154: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry - 371, // 155: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry - 372, // 156: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry - 373, // 157: tutorial.ResPlayroomInfo.flip:type_name -> tutorial.ResPlayroomInfo.FlipEntry + 372, // 154: tutorial.NotifyPlayroomMood.Mood:type_name -> tutorial.NotifyPlayroomMood.MoodEntry + 373, // 155: tutorial.ResPlayroomInfo.Playroom:type_name -> tutorial.ResPlayroomInfo.PlayroomEntry + 374, // 156: tutorial.ResPlayroomInfo.Items:type_name -> tutorial.ResPlayroomInfo.ItemsEntry + 375, // 157: tutorial.ResPlayroomInfo.flip:type_name -> tutorial.ResPlayroomInfo.FlipEntry 2, // 158: tutorial.ResPlayroomFlip.Code:type_name -> tutorial.RES_CODE 2, // 159: tutorial.ResPlayroomFlipReward.Code:type_name -> tutorial.RES_CODE 2, // 160: tutorial.ResPlayroomGame.Code:type_name -> tutorial.RES_CODE - 374, // 161: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry + 376, // 161: tutorial.ResPlayroomGame.Items:type_name -> tutorial.ResPlayroomGame.ItemsEntry 2, // 162: tutorial.ResPlayroomInteract.Code:type_name -> tutorial.RES_CODE - 375, // 163: tutorial.ReqPlayroomSetRoom.Playroom:type_name -> tutorial.ReqPlayroomSetRoom.PlayroomEntry + 377, // 163: tutorial.ReqPlayroomSetRoom.Playroom:type_name -> tutorial.ReqPlayroomSetRoom.PlayroomEntry 2, // 164: tutorial.ResPlayroomSetRoom.Code:type_name -> tutorial.RES_CODE 2, // 165: tutorial.ResPlayroomSelectReward.Code:type_name -> tutorial.RES_CODE 2, // 166: tutorial.ResPlayroomLose.Code:type_name -> tutorial.RES_CODE @@ -20948,7 +21034,7 @@ func file_Gameapi_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_Gameapi_proto_rawDesc, NumEnums: 4, - NumMessages: 372, + NumMessages: 374, NumExtensions: 0, NumServices: 0, },