update
This commit is contained in:
parent
1b4684e7f0
commit
2ade25666d
Binary file not shown.
|
@ -6272,6 +6272,7 @@
|
|||
"SaleType": 1,
|
||||
"SaleGold": 5000,
|
||||
"CompositionMax": 1,
|
||||
"Time": 360,
|
||||
"Location": "0",
|
||||
"Describe": "可联系客服兑换实物奖励",
|
||||
"Gain": {
|
||||
|
@ -6309,6 +6310,7 @@
|
|||
"SaleType": 1,
|
||||
"SaleGold": 5000,
|
||||
"CompositionMax": 1,
|
||||
"Time": 360,
|
||||
"Location": "0",
|
||||
"Describe": "可联系客服兑换实物奖励",
|
||||
"Gain": {
|
||||
|
|
Binary file not shown.
Binary file not shown.
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
@ -38,8 +38,6 @@ const (
|
|||
CLAWDOLLPacketID_PACKET_CS_WAITPLAYERS CLAWDOLLPacketID = 5611 // 获取等待玩家信息 (客户->服务)
|
||||
CLAWDOLLPacketID_PACKET_SC_WAITPLAYERS CLAWDOLLPacketID = 5612 // 获取等待玩家信息 (服务->客户)
|
||||
CLAWDOLLPacketID_PACKET_SC_PLAYINGINFO CLAWDOLLPacketID = 5613 // 正在控制娃娃机的玩家信息 (服务->客户)
|
||||
CLAWDOLLPacketID_PACKET_CS_DollConfig CLAWDOLLPacketID = 5614 //获取娃娃机配置信息
|
||||
CLAWDOLLPacketID_PACKET_SC_DollConfig CLAWDOLLPacketID = 5615 //返回娃娃机配置信息
|
||||
)
|
||||
|
||||
// Enum value maps for CLAWDOLLPacketID.
|
||||
|
@ -59,8 +57,6 @@ var (
|
|||
5611: "PACKET_CS_WAITPLAYERS",
|
||||
5612: "PACKET_SC_WAITPLAYERS",
|
||||
5613: "PACKET_SC_PLAYINGINFO",
|
||||
5614: "PACKET_CS_DollConfig",
|
||||
5615: "PACKET_SC_DollConfig",
|
||||
}
|
||||
CLAWDOLLPacketID_value = map[string]int32{
|
||||
"PACKET_ZERO": 0,
|
||||
|
@ -77,8 +73,6 @@ var (
|
|||
"PACKET_CS_WAITPLAYERS": 5611,
|
||||
"PACKET_SC_WAITPLAYERS": 5612,
|
||||
"PACKET_SC_PLAYINGINFO": 5613,
|
||||
"PACKET_CS_DollConfig": 5614,
|
||||
"PACKET_SC_DollConfig": 5615,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -1080,123 +1074,6 @@ func (x *CLAWDOLLPlayerDigestInfo) GetStat() int32 {
|
|||
return 0
|
||||
}
|
||||
|
||||
type CSCLAWDOLLConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) Reset() {
|
||||
*x = CSCLAWDOLLConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_clawdoll_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CSCLAWDOLLConfig) ProtoMessage() {}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_clawdoll_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CSCLAWDOLLConfig.ProtoReflect.Descriptor instead.
|
||||
func (*CSCLAWDOLLConfig) Descriptor() ([]byte, []int) {
|
||||
return file_clawdoll_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
type SCCLAWDOLLConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
IconAddr string `protobuf:"bytes,1,opt,name=IconAddr,proto3" json:"IconAddr,omitempty"` //图片地址
|
||||
CostItemNum int32 `protobuf:"varint,2,opt,name=CostItemNum,proto3" json:"CostItemNum,omitempty"` //消耗道具数量
|
||||
ItemId int32 `protobuf:"varint,3,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //获得道具ID
|
||||
ItemNum int32 `protobuf:"varint,4,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //获得道具数量
|
||||
GameId int32 `protobuf:"varint,5,opt,name=GameId,proto3" json:"GameId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) Reset() {
|
||||
*x = SCCLAWDOLLConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_clawdoll_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCCLAWDOLLConfig) ProtoMessage() {}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_clawdoll_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SCCLAWDOLLConfig.ProtoReflect.Descriptor instead.
|
||||
func (*SCCLAWDOLLConfig) Descriptor() ([]byte, []int) {
|
||||
return file_clawdoll_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetIconAddr() string {
|
||||
if x != nil {
|
||||
return x.IconAddr
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetCostItemNum() int32 {
|
||||
if x != nil {
|
||||
return x.CostItemNum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetItemId() int32 {
|
||||
if x != nil {
|
||||
return x.ItemId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetItemNum() int32 {
|
||||
if x != nil {
|
||||
return x.ItemNum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetGameId() int32 {
|
||||
if x != nil {
|
||||
return x.GameId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_clawdoll_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_clawdoll_proto_rawDesc = []byte{
|
||||
|
@ -1306,55 +1183,40 @@ var file_clawdoll_proto_rawDesc = []byte{
|
|||
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x48, 0x65, 0x61, 0x64, 0x55, 0x72, 0x6c,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x53, 0x74, 0x61, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x53, 0x43, 0x4c,
|
||||
0x41, 0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x9a, 0x01, 0x0a,
|
||||
0x10, 0x53, 0x43, 0x43, 0x4c, 0x41, 0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x49, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x0b, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e,
|
||||
0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75,
|
||||
0x6d, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x2a, 0xb3, 0x03, 0x0a, 0x10, 0x43, 0x4c,
|
||||
0x41, 0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x0f,
|
||||
0x0a, 0x0b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12,
|
||||
0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x52, 0x4f, 0x4f,
|
||||
0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xe1, 0x2b, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b,
|
||||
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xe2,
|
||||
0x2b, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50,
|
||||
0x4c, 0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xe3, 0x2b, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41,
|
||||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54,
|
||||
0x45, 0x10, 0xe4, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
||||
0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0xe5, 0x2b, 0x12,
|
||||
0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x6c, 0x61,
|
||||
0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x10, 0xe6, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50,
|
||||
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c,
|
||||
0x65, 0x61, 0x76, 0x65, 0x10, 0xe7, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
||||
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x49, 0x4e, 0x46, 0x4f, 0x10,
|
||||
0xe8, 0x2b, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f,
|
||||
0x47, 0x45, 0x54, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0xe9, 0x2b, 0x12, 0x18, 0x0a, 0x13, 0x50,
|
||||
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x54, 0x4f, 0x4b,
|
||||
0x45, 0x4e, 0x10, 0xea, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||||
0x43, 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x53, 0x10, 0xeb,
|
||||
0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57,
|
||||
0x41, 0x49, 0x54, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x53, 0x10, 0xec, 0x2b, 0x12, 0x1a, 0x0a,
|
||||
0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x49,
|
||||
0x4e, 0x47, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xed, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43,
|
||||
0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x44, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x10, 0xee, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
|
||||
0x43, 0x5f, 0x44, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xef, 0x2b, 0x2a,
|
||||
0x64, 0x0a, 0x0c, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||||
0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10,
|
||||
0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10,
|
||||
0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f,
|
||||
0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x50, 0x52,
|
||||
0x43, 0x5f, 0x50, 0x6f, 0x73, 0x41, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x50, 0x6c, 0x61, 0x79,
|
||||
0x69, 0x6e, 0x67, 0x10, 0x03, 0x42, 0x28, 0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67,
|
||||
0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c, 0x6c, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x28, 0x05, 0x52, 0x04, 0x53, 0x74, 0x61, 0x74, 0x2a, 0xfd, 0x02, 0x0a, 0x10, 0x43, 0x4c, 0x41,
|
||||
0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x0f, 0x0a,
|
||||
0x0b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x17,
|
||||
0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x52, 0x4f, 0x4f, 0x4d,
|
||||
0x49, 0x4e, 0x46, 0x4f, 0x10, 0xe1, 0x2b, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45,
|
||||
0x54, 0x5f, 0x43, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xe2, 0x2b,
|
||||
0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c,
|
||||
0x41, 0x59, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xe3, 0x2b, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43,
|
||||
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45,
|
||||
0x10, 0xe4, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43,
|
||||
0x5f, 0x47, 0x41, 0x4d, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0xe5, 0x2b, 0x12, 0x1a,
|
||||
0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x6c, 0x61, 0x79,
|
||||
0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x10, 0xe6, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41,
|
||||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65,
|
||||
0x61, 0x76, 0x65, 0x10, 0xe7, 0x2b, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||||
0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xe8,
|
||||
0x2b, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x47,
|
||||
0x45, 0x54, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0xe9, 0x2b, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41,
|
||||
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x54, 0x4f, 0x4b, 0x45,
|
||||
0x4e, 0x10, 0xea, 0x2b, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
|
||||
0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x53, 0x10, 0xeb, 0x2b,
|
||||
0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x41,
|
||||
0x49, 0x54, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x53, 0x10, 0xec, 0x2b, 0x12, 0x1a, 0x0a, 0x15,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x49, 0x4e,
|
||||
0x47, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xed, 0x2b, 0x2a, 0x64, 0x0a, 0x0c, 0x4f, 0x70, 0x52, 0x65,
|
||||
0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x52, 0x43,
|
||||
0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50,
|
||||
0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50,
|
||||
0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68,
|
||||
0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x6f, 0x73, 0x41, 0x6c,
|
||||
0x52, 0x65, 0x61, 0x64, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x69, 0x6e, 0x67, 0x10, 0x03, 0x42, 0x28,
|
||||
0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
|
||||
0x63, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -1370,7 +1232,7 @@ func file_clawdoll_proto_rawDescGZIP() []byte {
|
|||
}
|
||||
|
||||
var file_clawdoll_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_clawdoll_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||
var file_clawdoll_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_clawdoll_proto_goTypes = []interface{}{
|
||||
(CLAWDOLLPacketID)(0), // 0: clawdoll.CLAWDOLLPacketID
|
||||
(OpResultCode)(0), // 1: clawdoll.OpResultCode
|
||||
|
@ -1387,8 +1249,6 @@ var file_clawdoll_proto_goTypes = []interface{}{
|
|||
(*SCCLAWDOLLSendToken)(nil), // 12: clawdoll.SCCLAWDOLLSendToken
|
||||
(*CLAWDOLLWaitPlayers)(nil), // 13: clawdoll.CLAWDOLLWaitPlayers
|
||||
(*CLAWDOLLPlayerDigestInfo)(nil), // 14: clawdoll.CLAWDOLLPlayerDigestInfo
|
||||
(*CSCLAWDOLLConfig)(nil), // 15: clawdoll.CSCLAWDOLLConfig
|
||||
(*SCCLAWDOLLConfig)(nil), // 16: clawdoll.SCCLAWDOLLConfig
|
||||
}
|
||||
var file_clawdoll_proto_depIdxs = []int32{
|
||||
2, // 0: clawdoll.SCCLAWDOLLRoomInfo.Players:type_name -> clawdoll.CLAWDOLLPlayerData
|
||||
|
@ -1564,30 +1424,6 @@ func file_clawdoll_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_clawdoll_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CSCLAWDOLLConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_clawdoll_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCCLAWDOLLConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
|
@ -1595,7 +1431,7 @@ func file_clawdoll_proto_init() {
|
|||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_clawdoll_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 15,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
|
|
@ -18,8 +18,6 @@ enum CLAWDOLLPacketID {
|
|||
PACKET_CS_WAITPLAYERS = 5611; // 获取等待玩家信息 (客户->服务)
|
||||
PACKET_SC_WAITPLAYERS = 5612; // 获取等待玩家信息 (服务->客户)
|
||||
PACKET_SC_PLAYINGINFO = 5613; // 正在控制娃娃机的玩家信息 (服务->客户)
|
||||
PACKET_CS_DollConfig = 5614; //获取娃娃机配置信息
|
||||
PACKET_SC_DollConfig = 5615; //返回娃娃机配置信息
|
||||
}
|
||||
|
||||
//操作结果
|
||||
|
@ -133,13 +131,4 @@ message CLAWDOLLPlayerDigestInfo {
|
|||
string HeadUrl = 3; //头像
|
||||
string Name = 4; //名字
|
||||
int32 Stat = 5; //玩家状态 0:排队状态 5:大厅观众状态
|
||||
}
|
||||
message CSCLAWDOLLConfig{
|
||||
}
|
||||
message SCCLAWDOLLConfig{
|
||||
string IconAddr =1; //图片地址
|
||||
int32 CostItemNum = 2; //消耗道具数量
|
||||
int32 ItemId = 3; //获得道具ID
|
||||
int32 ItemNum = 4;//获得道具数量
|
||||
int32 GameId = 5;
|
||||
}
|
||||
}
|
|
@ -415,6 +415,8 @@ const (
|
|||
PlayerPacketID_PACKET_SCDataConfig PlayerPacketID = 2843 //通知配置更新
|
||||
PlayerPacketID_PACKET_CSClawdollItemLog PlayerPacketID = 2844 //请求娃娃卡道具记录
|
||||
PlayerPacketID_PACKET_SCClawdollItemLog PlayerPacketID = 2845 //返回娃娃卡道具记录
|
||||
PlayerPacketID_PACKET_CSDollConfig PlayerPacketID = 2846 //获取娃娃机配置信息
|
||||
PlayerPacketID_PACKET_SCDollConfig PlayerPacketID = 2847 //返回娃娃机配置信息
|
||||
)
|
||||
|
||||
// Enum value maps for PlayerPacketID.
|
||||
|
@ -564,6 +566,8 @@ var (
|
|||
2843: "PACKET_SCDataConfig",
|
||||
2844: "PACKET_CSClawdollItemLog",
|
||||
2845: "PACKET_SCClawdollItemLog",
|
||||
2846: "PACKET_CSDollConfig",
|
||||
2847: "PACKET_SCDollConfig",
|
||||
}
|
||||
PlayerPacketID_value = map[string]int32{
|
||||
"PACKET_PLAYERPACKET_ZERO": 0,
|
||||
|
@ -710,6 +714,8 @@ var (
|
|||
"PACKET_SCDataConfig": 2843,
|
||||
"PACKET_CSClawdollItemLog": 2844,
|
||||
"PACKET_SCClawdollItemLog": 2845,
|
||||
"PACKET_CSDollConfig": 2846,
|
||||
"PACKET_SCDollConfig": 2847,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -11183,10 +11189,11 @@ type ClawdollItemLogData struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ItemLogType int32 `protobuf:"varint,1,opt,name=ItemLogType,proto3" json:"ItemLogType,omitempty"` //道具记录类型
|
||||
ItemId int32 `protobuf:"varint,2,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //道具ID
|
||||
Num int64 `protobuf:"varint,3,opt,name=Num,proto3" json:"Num,omitempty"` //数量
|
||||
Time int64 `protobuf:"varint,4,opt,name=Time,proto3" json:"Time,omitempty"` //时间
|
||||
TypeId int32 `protobuf:"varint,1,opt,name=TypeId,proto3" json:"TypeId,omitempty"` //道具记录类型
|
||||
ItemId int32 `protobuf:"varint,2,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //道具ID
|
||||
Num int64 `protobuf:"varint,3,opt,name=Num,proto3" json:"Num,omitempty"` //数量
|
||||
Time int64 `protobuf:"varint,4,opt,name=Time,proto3" json:"Time,omitempty"` //时间
|
||||
LogType int32 `protobuf:"varint,5,opt,name=LogType,proto3" json:"LogType,omitempty"` //记录类型 0.获取 1.消耗
|
||||
}
|
||||
|
||||
func (x *ClawdollItemLogData) Reset() {
|
||||
|
@ -11221,9 +11228,9 @@ func (*ClawdollItemLogData) Descriptor() ([]byte, []int) {
|
|||
return file_player_proto_rawDescGZIP(), []int{160}
|
||||
}
|
||||
|
||||
func (x *ClawdollItemLogData) GetItemLogType() int32 {
|
||||
func (x *ClawdollItemLogData) GetTypeId() int32 {
|
||||
if x != nil {
|
||||
return x.ItemLogType
|
||||
return x.TypeId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
@ -11249,6 +11256,177 @@ func (x *ClawdollItemLogData) GetTime() int64 {
|
|||
return 0
|
||||
}
|
||||
|
||||
func (x *ClawdollItemLogData) GetLogType() int32 {
|
||||
if x != nil {
|
||||
return x.LogType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CSCLAWDOLLConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) Reset() {
|
||||
*x = CSCLAWDOLLConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_player_proto_msgTypes[161]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CSCLAWDOLLConfig) ProtoMessage() {}
|
||||
|
||||
func (x *CSCLAWDOLLConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_player_proto_msgTypes[161]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CSCLAWDOLLConfig.ProtoReflect.Descriptor instead.
|
||||
func (*CSCLAWDOLLConfig) Descriptor() ([]byte, []int) {
|
||||
return file_player_proto_rawDescGZIP(), []int{161}
|
||||
}
|
||||
|
||||
type SCCLAWDOLLConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Info []*MachineInfo `protobuf:"bytes,1,rep,name=Info,proto3" json:"Info,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) Reset() {
|
||||
*x = SCCLAWDOLLConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_player_proto_msgTypes[162]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SCCLAWDOLLConfig) ProtoMessage() {}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_player_proto_msgTypes[162]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SCCLAWDOLLConfig.ProtoReflect.Descriptor instead.
|
||||
func (*SCCLAWDOLLConfig) Descriptor() ([]byte, []int) {
|
||||
return file_player_proto_rawDescGZIP(), []int{162}
|
||||
}
|
||||
|
||||
func (x *SCCLAWDOLLConfig) GetInfo() []*MachineInfo {
|
||||
if x != nil {
|
||||
return x.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MachineInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
IconAddr string `protobuf:"bytes,1,opt,name=IconAddr,proto3" json:"IconAddr,omitempty"` //图片地址
|
||||
CostItemNum int32 `protobuf:"varint,2,opt,name=CostItemNum,proto3" json:"CostItemNum,omitempty"` //消耗道具数量
|
||||
ItemId int32 `protobuf:"varint,3,opt,name=ItemId,proto3" json:"ItemId,omitempty"` //获得道具ID
|
||||
ItemNum int32 `protobuf:"varint,4,opt,name=ItemNum,proto3" json:"ItemNum,omitempty"` //获得道具数量
|
||||
MachineId int32 `protobuf:"varint,5,opt,name=MachineId,proto3" json:"MachineId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MachineInfo) Reset() {
|
||||
*x = MachineInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_player_proto_msgTypes[163]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MachineInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MachineInfo) ProtoMessage() {}
|
||||
|
||||
func (x *MachineInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_player_proto_msgTypes[163]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MachineInfo.ProtoReflect.Descriptor instead.
|
||||
func (*MachineInfo) Descriptor() ([]byte, []int) {
|
||||
return file_player_proto_rawDescGZIP(), []int{163}
|
||||
}
|
||||
|
||||
func (x *MachineInfo) GetIconAddr() string {
|
||||
if x != nil {
|
||||
return x.IconAddr
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MachineInfo) GetCostItemNum() int32 {
|
||||
if x != nil {
|
||||
return x.CostItemNum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MachineInfo) GetItemId() int32 {
|
||||
if x != nil {
|
||||
return x.ItemId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MachineInfo) GetItemNum() int32 {
|
||||
if x != nil {
|
||||
return x.ItemNum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MachineInfo) GetMachineId() int32 {
|
||||
if x != nil {
|
||||
return x.MachineId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_player_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_player_proto_rawDesc = []byte{
|
||||
|
@ -12400,14 +12578,30 @@ var file_player_proto_rawDesc = []byte{
|
|||
0x6d, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6c,
|
||||
0x61, 0x79, 0x65, 0x72, 0x2e, 0x43, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c, 0x6c, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x6f,
|
||||
0x67, 0x73, 0x22, 0x75, 0x0a, 0x13, 0x43, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c, 0x6c, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x03, 0x4e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x87, 0x0f, 0x0a, 0x0c, 0x4f, 0x70,
|
||||
0x67, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c, 0x6c, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79,
|
||||
0x70, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65,
|
||||
0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75,
|
||||
0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x4e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x07, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x53,
|
||||
0x43, 0x4c, 0x41, 0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3b,
|
||||
0x0a, 0x10, 0x53, 0x43, 0x43, 0x4c, 0x41, 0x57, 0x44, 0x4f, 0x4c, 0x4c, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x12, 0x27, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x13, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e,
|
||||
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x0b,
|
||||
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x49,
|
||||
0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x49,
|
||||
0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x73, 0x74, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x43, 0x6f,
|
||||
0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49,
|
||||
0x64, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x07, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x4d,
|
||||
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
||||
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x2a, 0x87, 0x0f, 0x0a, 0x0c, 0x4f, 0x70,
|
||||
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50,
|
||||
0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f,
|
||||
0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x10, 0x4f,
|
||||
|
@ -12528,7 +12722,7 @@ var file_player_proto_rawDesc = []byte{
|
|||
0xc4, 0x3e, 0x12, 0x14, 0x0a, 0x0f, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x47, 0x75, 0x69, 0x64, 0x65,
|
||||
0x5f, 0x53, 0x6b, 0x69, 0x70, 0x10, 0xc5, 0x3e, 0x12, 0x19, 0x0a, 0x14, 0x4f, 0x50, 0x52, 0x43,
|
||||
0x5f, 0x47, 0x75, 0x69, 0x64, 0x65, 0x5f, 0x53, 0x6b, 0x69, 0x70, 0x43, 0x6c, 0x6f, 0x73, 0x65,
|
||||
0x10, 0xc6, 0x3e, 0x2a, 0x85, 0x21, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x61,
|
||||
0x10, 0xc6, 0x3e, 0x2a, 0xb9, 0x21, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x61,
|
||||
0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
|
||||
0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x5a, 0x45,
|
||||
0x52, 0x4f, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
|
||||
|
@ -12792,10 +12986,13 @@ var file_player_proto_rawDesc = []byte{
|
|||
0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x43, 0x6c, 0x61, 0x77, 0x64, 0x6f,
|
||||
0x6c, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x10, 0x9c, 0x16, 0x12, 0x1d, 0x0a, 0x18,
|
||||
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x43, 0x6c, 0x61, 0x77, 0x64, 0x6f, 0x6c,
|
||||
0x6c, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x10, 0x9d, 0x16, 0x42, 0x26, 0x5a, 0x24, 0x6d,
|
||||
0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
|
||||
0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x6c, 0x61,
|
||||
0x79, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x6c, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x6f, 0x67, 0x10, 0x9d, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50,
|
||||
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x44, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x10, 0x9e, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
|
||||
0x53, 0x43, 0x44, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0x9f, 0x16, 0x42,
|
||||
0x26, 0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
||||
0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -12811,7 +13008,7 @@ func file_player_proto_rawDescGZIP() []byte {
|
|||
}
|
||||
|
||||
var file_player_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_player_proto_msgTypes = make([]protoimpl.MessageInfo, 170)
|
||||
var file_player_proto_msgTypes = make([]protoimpl.MessageInfo, 173)
|
||||
var file_player_proto_goTypes = []interface{}{
|
||||
(OpResultCode)(0), // 0: player.OpResultCode
|
||||
(PlayerPacketID)(0), // 1: player.PlayerPacketID
|
||||
|
@ -12976,26 +13173,29 @@ var file_player_proto_goTypes = []interface{}{
|
|||
(*CSClawdollItemLog)(nil), // 160: player.CSClawdollItemLog
|
||||
(*SCClawdollItemLog)(nil), // 161: player.SCClawdollItemLog
|
||||
(*ClawdollItemLogData)(nil), // 162: player.ClawdollItemLogData
|
||||
nil, // 163: player.PlayerData.RankScoreEntry
|
||||
nil, // 164: player.SCPlayerDataUpdate.RankScoreEntry
|
||||
nil, // 165: player.SCGameExDropItems.ItemsEntry
|
||||
nil, // 166: player.SCVIPDraw.AwardEntry
|
||||
nil, // 167: player.VIPcfg.Privilege1Entry
|
||||
nil, // 168: player.VIPcfg.Privilege9Entry
|
||||
nil, // 169: player.SCBindTelInfo.BindTelRewardEntry
|
||||
nil, // 170: player.Config.MapEntry
|
||||
nil, // 171: player.Config.MapStrEntry
|
||||
(*server.DB_GameItem)(nil), // 172: server.DB_GameItem
|
||||
(*CSCLAWDOLLConfig)(nil), // 163: player.CSCLAWDOLLConfig
|
||||
(*SCCLAWDOLLConfig)(nil), // 164: player.SCCLAWDOLLConfig
|
||||
(*MachineInfo)(nil), // 165: player.MachineInfo
|
||||
nil, // 166: player.PlayerData.RankScoreEntry
|
||||
nil, // 167: player.SCPlayerDataUpdate.RankScoreEntry
|
||||
nil, // 168: player.SCGameExDropItems.ItemsEntry
|
||||
nil, // 169: player.SCVIPDraw.AwardEntry
|
||||
nil, // 170: player.VIPcfg.Privilege1Entry
|
||||
nil, // 171: player.VIPcfg.Privilege9Entry
|
||||
nil, // 172: player.SCBindTelInfo.BindTelRewardEntry
|
||||
nil, // 173: player.Config.MapEntry
|
||||
nil, // 174: player.Config.MapStrEntry
|
||||
(*server.DB_GameItem)(nil), // 175: server.DB_GameItem
|
||||
}
|
||||
var file_player_proto_depIdxs = []int32{
|
||||
4, // 0: player.SCBillList.Items:type_name -> player.BillItem
|
||||
0, // 1: player.SCSavePlayerInfo.OpRetCode:type_name -> player.OpResultCode
|
||||
163, // 2: player.PlayerData.RankScore:type_name -> player.PlayerData.RankScoreEntry
|
||||
166, // 2: player.PlayerData.RankScore:type_name -> player.PlayerData.RankScoreEntry
|
||||
9, // 3: player.PlayerData.WeekCard:type_name -> player.WeekInfo
|
||||
0, // 4: player.SCPlayerData.OpRetCode:type_name -> player.OpResultCode
|
||||
8, // 5: player.SCPlayerData.Data:type_name -> player.PlayerData
|
||||
10, // 6: player.SCPlayerData.MiniGameArr:type_name -> player.MiniGameInfo
|
||||
164, // 7: player.SCPlayerDataUpdate.RankScore:type_name -> player.SCPlayerDataUpdate.RankScoreEntry
|
||||
167, // 7: player.SCPlayerDataUpdate.RankScore:type_name -> player.SCPlayerDataUpdate.RankScoreEntry
|
||||
8, // 8: player.SCThirdPlayerData.Data:type_name -> player.PlayerData
|
||||
0, // 9: player.SCChangeNick.OpRetCode:type_name -> player.OpResultCode
|
||||
0, // 10: player.SCChangePassword.OpRetCode:type_name -> player.OpResultCode
|
||||
|
@ -13032,19 +13232,19 @@ var file_player_proto_depIdxs = []int32{
|
|||
93, // 41: player.JybInfoAward.ItemId:type_name -> player.ItemInfo
|
||||
0, // 42: player.SCPlayerSetting.OpRetCode:type_name -> player.OpResultCode
|
||||
94, // 43: player.SCPlayerSetting.GainItem:type_name -> player.JybInfoAward
|
||||
165, // 44: player.SCGameExDropItems.Items:type_name -> player.SCGameExDropItems.ItemsEntry
|
||||
168, // 44: player.SCGameExDropItems.Items:type_name -> player.SCGameExDropItems.ItemsEntry
|
||||
0, // 45: player.SCVIPBuy.OpRetCode:type_name -> player.OpResultCode
|
||||
0, // 46: player.SCVIPDraw.OpRetCode:type_name -> player.OpResultCode
|
||||
166, // 47: player.SCVIPDraw.Award:type_name -> player.SCVIPDraw.AwardEntry
|
||||
169, // 47: player.SCVIPDraw.Award:type_name -> player.SCVIPDraw.AwardEntry
|
||||
93, // 48: player.VIPcfg.Item:type_name -> player.ItemInfo
|
||||
167, // 49: player.VIPcfg.Privilege1:type_name -> player.VIPcfg.Privilege1Entry
|
||||
170, // 49: player.VIPcfg.Privilege1:type_name -> player.VIPcfg.Privilege1Entry
|
||||
93, // 50: player.VIPcfg.Privilege7:type_name -> player.ItemInfo
|
||||
168, // 51: player.VIPcfg.Privilege9:type_name -> player.VIPcfg.Privilege9Entry
|
||||
171, // 51: player.VIPcfg.Privilege9:type_name -> player.VIPcfg.Privilege9Entry
|
||||
0, // 52: player.SCVIPInfo.OpRetCode:type_name -> player.OpResultCode
|
||||
103, // 53: player.SCVIPInfo.List:type_name -> player.VIPcfg
|
||||
108, // 54: player.SCPayGoodsInfo.Item:type_name -> player.PayItem
|
||||
0, // 55: player.SCClientLog.OpRetCode:type_name -> player.OpResultCode
|
||||
169, // 56: player.SCBindTelInfo.BindTelReward:type_name -> player.SCBindTelInfo.BindTelRewardEntry
|
||||
172, // 56: player.SCBindTelInfo.BindTelReward:type_name -> player.SCBindTelInfo.BindTelRewardEntry
|
||||
0, // 57: player.SCPlayerSMSCode.Code:type_name -> player.OpResultCode
|
||||
0, // 58: player.SCBindTel.Code:type_name -> player.OpResultCode
|
||||
0, // 59: player.SCHttpPass.OpRetCode:type_name -> player.OpResultCode
|
||||
|
@ -13057,21 +13257,22 @@ var file_player_proto_depIdxs = []int32{
|
|||
128, // 66: player.SCDiamondLotteryInfo.Item:type_name -> player.LotteryItem
|
||||
128, // 67: player.SCDiamondLottery.Item:type_name -> player.LotteryItem
|
||||
128, // 68: player.SCDiamondLotteryLuckyAward.Item:type_name -> player.LotteryItem
|
||||
172, // 69: player.SCItem.Items:type_name -> server.DB_GameItem
|
||||
175, // 69: player.SCItem.Items:type_name -> server.DB_GameItem
|
||||
149, // 70: player.SCAwardLog.AwardLog:type_name -> player.AwardLogData
|
||||
151, // 71: player.SCAwardLog.AnnouncerLog:type_name -> player.AnnouncerLogInfo
|
||||
150, // 72: player.AwardLogData.AwardLog:type_name -> player.AwardLogInfo
|
||||
154, // 73: player.SCPopUpWindowsConfig.Info:type_name -> player.WindowsInfo
|
||||
0, // 74: player.SCUpdateAttribute.OpRetCode:type_name -> player.OpResultCode
|
||||
170, // 75: player.Config.Map:type_name -> player.Config.MapEntry
|
||||
171, // 76: player.Config.MapStr:type_name -> player.Config.MapStrEntry
|
||||
173, // 75: player.Config.Map:type_name -> player.Config.MapEntry
|
||||
174, // 76: player.Config.MapStr:type_name -> player.Config.MapStrEntry
|
||||
158, // 77: player.SCDataConfig.Cfg:type_name -> player.Config
|
||||
162, // 78: player.SCClawdollItemLog.ItemLogs:type_name -> player.ClawdollItemLogData
|
||||
79, // [79:79] is the sub-list for method output_type
|
||||
79, // [79:79] is the sub-list for method input_type
|
||||
79, // [79:79] is the sub-list for extension type_name
|
||||
79, // [79:79] is the sub-list for extension extendee
|
||||
0, // [0:79] is the sub-list for field type_name
|
||||
165, // 79: player.SCCLAWDOLLConfig.Info:type_name -> player.MachineInfo
|
||||
80, // [80:80] is the sub-list for method output_type
|
||||
80, // [80:80] is the sub-list for method input_type
|
||||
80, // [80:80] is the sub-list for extension type_name
|
||||
80, // [80:80] is the sub-list for extension extendee
|
||||
0, // [0:80] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_player_proto_init() }
|
||||
|
@ -15012,6 +15213,42 @@ func file_player_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_player_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CSCLAWDOLLConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_player_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SCCLAWDOLLConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_player_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MachineInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
|
@ -15019,7 +15256,7 @@ func file_player_proto_init() {
|
|||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_player_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 170,
|
||||
NumMessages: 173,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
|
|
@ -234,6 +234,8 @@ enum PlayerPacketID {
|
|||
PACKET_SCDataConfig = 2843;//通知配置更新
|
||||
PACKET_CSClawdollItemLog = 2844;//请求娃娃卡道具记录
|
||||
PACKET_SCClawdollItemLog = 2845;//返回娃娃卡道具记录
|
||||
PACKET_CSDollConfig = 2846; //获取娃娃机配置信息
|
||||
PACKET_SCDollConfig = 2847; //返回娃娃机配置信息
|
||||
}
|
||||
|
||||
// 账变记录
|
||||
|
@ -1384,9 +1386,21 @@ message SCClawdollItemLog{
|
|||
}
|
||||
|
||||
message ClawdollItemLogData{
|
||||
int32 ItemLogType = 1; //道具记录类型
|
||||
int32 TypeId = 1; //道具记录类型
|
||||
int32 ItemId = 2; //道具ID
|
||||
int64 Num = 3; //数量
|
||||
int64 Time = 4; //时间
|
||||
int32 LogType = 5; //记录类型 0.获取 1.消耗
|
||||
}
|
||||
|
||||
message CSCLAWDOLLConfig{
|
||||
}
|
||||
message SCCLAWDOLLConfig{
|
||||
repeated MachineInfo Info =1;
|
||||
}
|
||||
message MachineInfo{
|
||||
string IconAddr =1; //图片地址
|
||||
int32 CostItemNum = 2; //消耗道具数量
|
||||
int32 ItemId = 3; //获得道具ID
|
||||
int32 ItemNum = 4;//获得道具数量
|
||||
int32 MachineId = 5;
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue