This commit is contained in:
sk 2025-01-18 11:27:10 +08:00
parent 012fa229d9
commit 04084153d8
11 changed files with 183 additions and 74 deletions

View File

@ -1,12 +1,12 @@
иб† иб†
о±к и±к
фв† ив†
 в† Рв†
иа† иа†
ив† Ь в†
Ь ±к Ь ±к
ъўЌ иўЌ
 жЩ  жЩ

View File

@ -9,21 +9,21 @@
}, },
{ {
"Id": 2, "Id": 2,
"Rate": 750, "Rate": 1000,
"Gain": { "Gain": {
"30001": 5 "30001": 5
} }
}, },
{ {
"Id": 3, "Id": 3,
"Rate": 500, "Rate": 1000,
"Gain": { "Gain": {
"50018": 20 "50018": 20
} }
}, },
{ {
"Id": 4, "Id": 4,
"Rate": 4000, "Rate": 2000,
"Gain": { "Gain": {
"50018": 5 "50018": 5
} }
@ -37,7 +37,7 @@
}, },
{ {
"Id": 6, "Id": 6,
"Rate": 1000, "Rate": 1500,
"Gain": { "Gain": {
"50018": 10 "50018": 10
} }
@ -51,7 +51,7 @@
}, },
{ {
"Id": 8, "Id": 8,
"Rate": 250, "Rate": 1000,
"Gain": { "Gain": {
"100002": 1 "100002": 1
} }

View File

@ -0,0 +1,10 @@
{
"GameName":"cashmania",
"GameId":313,
"GameMode":[0],
"SceneType":[1,2,3,4],
"CanForceStart":true,
"DefaultPlayerCnt":1,
"DependentPlayerCnt":true,
"EnterAfterStart":true
}

View File

@ -0,0 +1,10 @@
{
"GameName":"gatesofolympus",
"GameId":314,
"GameMode":[0],
"SceneType":[1,2,3,4],
"CanForceStart":true,
"DefaultPlayerCnt":1,
"DependentPlayerCnt":true,
"EnterAfterStart":true
}

View File

@ -30,6 +30,7 @@ const (
PushCoinPacketID_PACKET_SCPushCoinPlayerOp PushCoinPacketID = 2683 // 玩家操作返回 PushCoinPacketID_PACKET_SCPushCoinPlayerOp PushCoinPacketID = 2683 // 玩家操作返回
PushCoinPacketID_PACKET_NotifyPowerLine PushCoinPacketID = 2684 // 通知能量值 PushCoinPacketID_PACKET_NotifyPowerLine PushCoinPacketID = 2684 // 通知能量值
PushCoinPacketID_PACKET_NotifyDrawInfo PushCoinPacketID = 2685 // 抽奖信息 PushCoinPacketID_PACKET_NotifyDrawInfo PushCoinPacketID = 2685 // 抽奖信息
PushCoinPacketID_PACKET_NotifyAward PushCoinPacketID = 2686 // 广播中奖信息
) )
// Enum value maps for PushCoinPacketID. // Enum value maps for PushCoinPacketID.
@ -42,6 +43,7 @@ var (
2683: "PACKET_SCPushCoinPlayerOp", 2683: "PACKET_SCPushCoinPlayerOp",
2684: "PACKET_NotifyPowerLine", 2684: "PACKET_NotifyPowerLine",
2685: "PACKET_NotifyDrawInfo", 2685: "PACKET_NotifyDrawInfo",
2686: "PACKET_NotifyAward",
} }
PushCoinPacketID_value = map[string]int32{ PushCoinPacketID_value = map[string]int32{
"PACKET_PushCoin_ZERO": 0, "PACKET_PushCoin_ZERO": 0,
@ -51,6 +53,7 @@ var (
"PACKET_SCPushCoinPlayerOp": 2683, "PACKET_SCPushCoinPlayerOp": 2683,
"PACKET_NotifyPowerLine": 2684, "PACKET_NotifyPowerLine": 2684,
"PACKET_NotifyDrawInfo": 2685, "PACKET_NotifyDrawInfo": 2685,
"PACKET_NotifyAward": 2686,
} }
) )
@ -781,6 +784,63 @@ func (x *NotifyPowerLine) GetPowerLineMax() int64 {
return 0 return 0
} }
//广播中奖信息
//PACKET_NotifyAward
type NotifyAward struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Draw *DrawInfo `protobuf:"bytes,1,opt,name=Draw,proto3" json:"Draw,omitempty"` // 中奖信息
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 玩家名字
}
func (x *NotifyAward) Reset() {
*x = NotifyAward{}
if protoimpl.UnsafeEnabled {
mi := &file_protocol_activity_pushcoin_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotifyAward) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotifyAward) ProtoMessage() {}
func (x *NotifyAward) ProtoReflect() protoreflect.Message {
mi := &file_protocol_activity_pushcoin_proto_msgTypes[9]
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 NotifyAward.ProtoReflect.Descriptor instead.
func (*NotifyAward) Descriptor() ([]byte, []int) {
return file_protocol_activity_pushcoin_proto_rawDescGZIP(), []int{9}
}
func (x *NotifyAward) GetDraw() *DrawInfo {
if x != nil {
return x.Draw
}
return nil
}
func (x *NotifyAward) GetName() string {
if x != nil {
return x.Name
}
return ""
}
var File_protocol_activity_pushcoin_proto protoreflect.FileDescriptor var File_protocol_activity_pushcoin_proto protoreflect.FileDescriptor
var file_protocol_activity_pushcoin_proto_rawDesc = []byte{ var file_protocol_activity_pushcoin_proto_rawDesc = []byte{
@ -858,43 +918,50 @@ var file_protocol_activity_pushcoin_proto_rawDesc = []byte{
0x4c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x50, 0x6f, 0x77, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x50, 0x6f, 0x77, 0x65,
0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69,
0x6e, 0x65, 0x4d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x50, 0x6f, 0x77, 0x6e, 0x65, 0x4d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x50, 0x6f, 0x77,
0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x4d, 0x61, 0x78, 0x2a, 0xdd, 0x01, 0x0a, 0x10, 0x50, 0x75, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x4d, 0x61, 0x78, 0x22, 0x49, 0x0a, 0x0b, 0x4e, 0x6f, 0x74,
0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x18, 0x69, 0x66, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x72, 0x61, 0x77,
0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
0x6e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x79, 0x2e, 0x44, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x72, 0x61, 0x77,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6f, 0x10, 0xf8, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0xf6, 0x01, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69,
0x43, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xf9, 0x14, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x41, 0x43,
0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x75, 0x73, 0x4b, 0x45, 0x54, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x5a, 0x45, 0x52,
0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfa, 0x14, 0x4f, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53,
0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x75, 0x73, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xf8, 0x14, 0x12,
0x68, 0x43, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfb, 0x14, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x75, 0x73, 0x68,
0x12, 0x1b, 0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xf9, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50,
0x79, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x10, 0xfc, 0x14, 0x12, 0x1a, 0x0a, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e,
0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfa, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50,
0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xfd, 0x14, 0x2a, 0x5e, 0x0a, 0x07, 0x4f, 0x70, 0x43, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e,
0x6f, 0x64, 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x5a, 0x65, 0x72, 0x6f, 0x10, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x70, 0x10, 0xfb, 0x14, 0x12, 0x1b, 0x0a, 0x16, 0x50,
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x5f, 0x42, 0x65, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x6f, 0x77, 0x65,
0x07, 0x4f, 0x50, 0x5f, 0x47, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x10, 0xfc, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b,
0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66,
0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x5f, 0x45, 0x6f, 0x10, 0xfd, 0x14, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e,
0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0x05, 0x2a, 0xd2, 0x01, 0x0a, 0x14, 0x4f, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xfe, 0x14, 0x2a, 0x5e, 0x0a,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x07, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x5a,
0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x65, 0x72, 0x6f, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x5f, 0x42, 0x65, 0x74, 0x10,
0x6f, 0x69, 0x6e, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x47, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x0c,
0x13, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x45, 0x0a, 0x08, 0x4f, 0x50, 0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a,
0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x4f, 0x50, 0x5f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b,
0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x42, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x4f, 0x50, 0x5f, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0x05, 0x2a, 0xd2, 0x01,
0x6f, 0x75, 0x67, 0x68, 0x10, 0x02, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x0a, 0x14, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f,
0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x69, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50,
0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x4f, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10,
0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x53, 0x68, 0x61, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f,
0x6b, 0x65, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x69, 0x6e, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x50,
0x1b, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x49, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x42, 0x65, 0x74, 0x4e,
0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x05, 0x42, 0x28, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x02, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x50,
0x5a, 0x26, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x45, 0x78, 0x63, 0x68,
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0x03, 0x12,
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x20, 0x0a, 0x1c, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e,
0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10,
0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f,
0x69, 0x6e, 0x5f, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68,
0x10, 0x05, 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, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -910,7 +977,7 @@ func file_protocol_activity_pushcoin_proto_rawDescGZIP() []byte {
} }
var file_protocol_activity_pushcoin_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_protocol_activity_pushcoin_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_protocol_activity_pushcoin_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_protocol_activity_pushcoin_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_protocol_activity_pushcoin_proto_goTypes = []interface{}{ var file_protocol_activity_pushcoin_proto_goTypes = []interface{}{
(PushCoinPacketID)(0), // 0: activity.PushCoinPacketID (PushCoinPacketID)(0), // 0: activity.PushCoinPacketID
(OpCodes)(0), // 1: activity.OpCodes (OpCodes)(0), // 1: activity.OpCodes
@ -924,6 +991,7 @@ var file_protocol_activity_pushcoin_proto_goTypes = []interface{}{
(*CSPushCoinPlayerOp)(nil), // 9: activity.CSPushCoinPlayerOp (*CSPushCoinPlayerOp)(nil), // 9: activity.CSPushCoinPlayerOp
(*SCPushCoinPlayerOp)(nil), // 10: activity.SCPushCoinPlayerOp (*SCPushCoinPlayerOp)(nil), // 10: activity.SCPushCoinPlayerOp
(*NotifyPowerLine)(nil), // 11: activity.NotifyPowerLine (*NotifyPowerLine)(nil), // 11: activity.NotifyPowerLine
(*NotifyAward)(nil), // 12: activity.NotifyAward
} }
var file_protocol_activity_pushcoin_proto_depIdxs = []int32{ var file_protocol_activity_pushcoin_proto_depIdxs = []int32{
6, // 0: activity.SCPushCoinInfo.ExchangeList:type_name -> activity.ExchangeInfo 6, // 0: activity.SCPushCoinInfo.ExchangeList:type_name -> activity.ExchangeInfo
@ -938,11 +1006,12 @@ var file_protocol_activity_pushcoin_proto_depIdxs = []int32{
2, // 9: activity.SCPushCoinPlayerOp.OpRetCode:type_name -> activity.OpResultPushCoinCode 2, // 9: activity.SCPushCoinPlayerOp.OpRetCode:type_name -> activity.OpResultPushCoinCode
1, // 10: activity.SCPushCoinPlayerOp.OpCode:type_name -> activity.OpCodes 1, // 10: activity.SCPushCoinPlayerOp.OpCode:type_name -> activity.OpCodes
6, // 11: activity.SCPushCoinPlayerOp.Exchange:type_name -> activity.ExchangeInfo 6, // 11: activity.SCPushCoinPlayerOp.Exchange:type_name -> activity.ExchangeInfo
12, // [12:12] is the sub-list for method output_type 7, // 12: activity.NotifyAward.Draw:type_name -> activity.DrawInfo
12, // [12:12] is the sub-list for method input_type 13, // [13:13] is the sub-list for method output_type
12, // [12:12] is the sub-list for extension type_name 13, // [13:13] is the sub-list for method input_type
12, // [12:12] is the sub-list for extension extendee 13, // [13:13] is the sub-list for extension type_name
0, // [0:12] is the sub-list for field type_name 13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
} }
func init() { file_protocol_activity_pushcoin_proto_init() } func init() { file_protocol_activity_pushcoin_proto_init() }
@ -1059,6 +1128,18 @@ func file_protocol_activity_pushcoin_proto_init() {
return nil return nil
} }
} }
file_protocol_activity_pushcoin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyAward); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -1066,7 +1147,7 @@ func file_protocol_activity_pushcoin_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_protocol_activity_pushcoin_proto_rawDesc, RawDescriptor: file_protocol_activity_pushcoin_proto_rawDesc,
NumEnums: 3, NumEnums: 3,
NumMessages: 9, NumMessages: 10,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -10,6 +10,7 @@ enum PushCoinPacketID {
PACKET_SCPushCoinPlayerOp = 2683; // PACKET_SCPushCoinPlayerOp = 2683; //
PACKET_NotifyPowerLine = 2684; // PACKET_NotifyPowerLine = 2684; //
PACKET_NotifyDrawInfo = 2685; // PACKET_NotifyDrawInfo = 2685; //
PACKET_NotifyAward = 2686; // 广
} }
// //
@ -92,4 +93,11 @@ message SCPushCoinPlayerOp {
message NotifyPowerLine { message NotifyPowerLine {
int64 PowerLine = 1; // int64 PowerLine = 1; //
int64 PowerLineMax = 2; // int64 PowerLineMax = 2; //
}
//广
//PACKET_NotifyAward
message NotifyAward {
DrawInfo Draw = 1; //
string Name = 2; //
} }

View File

@ -208,7 +208,7 @@ func (x *CashManiaPlayerData) GetVIP() int32 {
} }
//房间信息 //房间信息
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO //PACKET_CASHMANIA_SCCASHMANIAROOMINFO
type SCCashManiaRoomInfo struct { type SCCashManiaRoomInfo struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -337,7 +337,7 @@ func (x *SCCashManiaRoomInfo) GetPlayerInfo() string {
} }
//玩家操作 //玩家操作
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP //PACKET_CASHMANIA_CSCASHMANIAOP
type CSCashManiaOp struct { type CSCashManiaOp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -394,7 +394,7 @@ func (x *CSCashManiaOp) GetParams() []int64 {
} }
//玩家操作返回 //玩家操作返回
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP //PACKET_CASHMANIA_SCCASHMANIAOP
type SCCashManiaOp struct { type SCCashManiaOp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -459,7 +459,7 @@ func (x *SCCashManiaOp) GetParams() []int64 {
} }
//房间状态 //房间状态
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE //PACKET_CASHMANIA_SCCASHMANIAROOMSTATE
type SCCashManiaRoomState struct { type SCCashManiaRoomState struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -523,7 +523,7 @@ func (x *SCCashManiaRoomState) GetParams() []int32 {
return nil return nil
} }
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED //PACKET_CASHMANIA_SCCASHMANIABILLED
type SCCashManiaBilled struct { type SCCashManiaBilled struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache

View File

@ -27,7 +27,7 @@ message CashManiaPlayerData {
int32 VIP = 11; int32 VIP = 11;
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO //PACKET_CASHMANIA_SCCASHMANIAROOMINFO
message SCCashManiaRoomInfo { message SCCashManiaRoomInfo {
int32 RoomId = 1; //id int32 RoomId = 1; //id
int32 GameFreeId = 2; int32 GameFreeId = 2;
@ -42,26 +42,26 @@ message SCCashManiaRoomInfo {
string PlayerInfo = 11; string PlayerInfo = 11;
} }
// //
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP //PACKET_CASHMANIA_CSCASHMANIAOP
message CSCashManiaOp { message CSCashManiaOp {
int32 OpCode = 1; // 0.spin int32 OpCode = 1; // 0.spin
repeated int64 Params = 2; // repeated int64 Params = 2; //
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP //PACKET_CASHMANIA_SCCASHMANIAOP
message SCCashManiaOp { message SCCashManiaOp {
int32 OpCode = 1; // int32 OpCode = 1; //
int32 OpRetCode = 2; // 1. 2. int32 OpRetCode = 2; // 1. 2.
repeated int64 Params = 3; // repeated int64 Params = 3; //
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE //PACKET_CASHMANIA_SCCASHMANIAROOMSTATE
message SCCashManiaRoomState { message SCCashManiaRoomState {
int32 State = 1; // int32 State = 1; //
int32 SubState = 2; // int32 SubState = 2; //
repeated int32 Params = 3; // repeated int32 Params = 3; //
} }
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED //PACKET_CASHMANIA_SCCASHMANIABILLED
message SCCashManiaBilled{ message SCCashManiaBilled{
int32 OpRetCode = 1;//0.spin成功 1.spin失败 int32 OpRetCode = 1;//0.spin成功 1.spin失败
string GameEndStr = 2; string GameEndStr = 2;

View File

@ -208,7 +208,7 @@ func (x *GatesOfOlympusPlayerData) GetVIP() int32 {
} }
//房间信息 //房间信息
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSROOMINFO
type SCGatesOfOlympusRoomInfo struct { type SCGatesOfOlympusRoomInfo struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -337,7 +337,7 @@ func (x *SCGatesOfOlympusRoomInfo) GetPlayerInfo() string {
} }
//玩家操作 //玩家操作
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP //PACKET_GATESOFOLYMPUS_CSGATESOFOLYMPUSOP
type CSGatesOfOlympusOp struct { type CSGatesOfOlympusOp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -394,7 +394,7 @@ func (x *CSGatesOfOlympusOp) GetParams() []int64 {
} }
//玩家操作返回 //玩家操作返回
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSOP
type SCGatesOfOlympusOp struct { type SCGatesOfOlympusOp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -459,7 +459,7 @@ func (x *SCGatesOfOlympusOp) GetParams() []int64 {
} }
//房间状态 //房间状态
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSROOMSTATE
type SCGatesOfOlympusRoomState struct { type SCGatesOfOlympusRoomState struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -523,7 +523,7 @@ func (x *SCGatesOfOlympusRoomState) GetParams() []int32 {
return nil return nil
} }
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSBILLED
type SCGatesOfOlympusBilled struct { type SCGatesOfOlympusBilled struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache

View File

@ -27,7 +27,7 @@ message GatesOfOlympusPlayerData {
int32 VIP = 11; int32 VIP = 11;
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMINFO //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSROOMINFO
message SCGatesOfOlympusRoomInfo { message SCGatesOfOlympusRoomInfo {
int32 RoomId = 1; //id int32 RoomId = 1; //id
int32 GameFreeId = 2; int32 GameFreeId = 2;
@ -42,26 +42,26 @@ message SCGatesOfOlympusRoomInfo {
string PlayerInfo = 11; string PlayerInfo = 11;
} }
// //
//PACKET_FORTUNEMOUSE_CSFORTUNEMOUSEOP //PACKET_GATESOFOLYMPUS_CSGATESOFOLYMPUSOP
message CSGatesOfOlympusOp { message CSGatesOfOlympusOp {
int32 OpCode = 1; // 0.spin int32 OpCode = 1; // 0.spin
repeated int64 Params = 2; // repeated int64 Params = 2; //
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEOP //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSOP
message SCGatesOfOlympusOp { message SCGatesOfOlympusOp {
int32 OpCode = 1; // int32 OpCode = 1; //
int32 OpRetCode = 2; // 1. 2. int32 OpRetCode = 2; // 1. 2.
repeated int64 Params = 3; // repeated int64 Params = 3; //
} }
// //
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEROOMSTATE //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSROOMSTATE
message SCGatesOfOlympusRoomState { message SCGatesOfOlympusRoomState {
int32 State = 1; // int32 State = 1; //
int32 SubState = 2; // int32 SubState = 2; //
repeated int32 Params = 3; // repeated int32 Params = 3; //
} }
//PACKET_FORTUNEMOUSE_SCFORTUNEMOUSEBILLED //PACKET_GATESOFOLYMPUS_SCGATESOFOLYMPUSBILLED
message SCGatesOfOlympusBilled{ message SCGatesOfOlympusBilled{
int32 OpRetCode = 1;//0.spin成功 1.spin失败 int32 OpRetCode = 1;//0.spin成功 1.spin失败
string GameEndStr = 2; string GameEndStr = 2;

Binary file not shown.