diff --git a/gamesrv/fortunedragon/action_fortunedragon.go b/gamesrv/fortunedragon/action_fortunedragon.go index f0c4ea5..bc3120e 100644 --- a/gamesrv/fortunedragon/action_fortunedragon.go +++ b/gamesrv/fortunedragon/action_fortunedragon.go @@ -42,7 +42,6 @@ func (this *CSFortuneDragonOpHandler) Process(s *netlib.Session, packetid int, d return nil } func init() { - //fortunedragon common.RegisterHandler(int(fortunedragon.FortuneDragonPID_PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP), &CSFortuneDragonOpHandler{}) netlib.RegisterFactory(int(fortunedragon.FortuneDragonPID_PACKET_FORTUNEDRAGON_CSFORTUNEDRAGONOP), &CSFortuneDragonOpPacketFactory{}) } diff --git a/gamesrv/fortuneox/action_fortuneox.go b/gamesrv/fortuneox/action_fortuneox.go index ffc6d66..2d0c27c 100644 --- a/gamesrv/fortuneox/action_fortuneox.go +++ b/gamesrv/fortuneox/action_fortuneox.go @@ -41,7 +41,6 @@ func (this *CSFortuneOxOpHandler) Process(s *netlib.Session, packetid int, data return nil } func init() { - //fortunerabbit common.RegisterHandler(int(fortuneox.FortuneOxPID_PACKET_FORTUNEOX_CSFORTUNEOXOP), &CSFortuneOxOpHandler{}) netlib.RegisterFactory(int(fortuneox.FortuneOxPID_PACKET_FORTUNEOX_CSFORTUNEOXOP), &CSFortuneOxOpPacketFactory{}) } diff --git a/gamesrv/fortunerabbit/action_fortunerabbit.go b/gamesrv/fortunerabbit/action_fortunerabbit.go index 4020b09..55712a4 100644 --- a/gamesrv/fortunerabbit/action_fortunerabbit.go +++ b/gamesrv/fortunerabbit/action_fortunerabbit.go @@ -42,7 +42,6 @@ func (this *CSFortuneRabbitOpHandler) Process(s *netlib.Session, packetid int, d return nil } func init() { - //fortunerabbit common.RegisterHandler(int(fortunerabbit.FortuneRabbitPID_PACKET_FORTUNERABBIT_CSFORTUNERABBITOP), &CSFortuneRabbitOpHandler{}) netlib.RegisterFactory(int(fortunerabbit.FortuneRabbitPID_PACKET_FORTUNERABBIT_CSFORTUNERABBITOP), &CSFortuneRabbitOpPacketFactory{}) } diff --git a/protocol/fortunetiger/fortunetiger.pb.go b/protocol/fortunetiger/fortunetiger.pb.go index 3e790e5..273bd92 100644 --- a/protocol/fortunetiger/fortunetiger.pb.go +++ b/protocol/fortunetiger/fortunetiger.pb.go @@ -80,7 +80,7 @@ func (FortuneTigerPID) EnumDescriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{0} } -type FortuneDragonPlayerData struct { +type FortuneTigerPlayerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -98,8 +98,8 @@ type FortuneDragonPlayerData struct { VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"` } -func (x *FortuneDragonPlayerData) Reset() { - *x = FortuneDragonPlayerData{} +func (x *FortuneTigerPlayerData) Reset() { + *x = FortuneTigerPlayerData{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -107,13 +107,13 @@ func (x *FortuneDragonPlayerData) Reset() { } } -func (x *FortuneDragonPlayerData) String() string { +func (x *FortuneTigerPlayerData) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FortuneDragonPlayerData) ProtoMessage() {} +func (*FortuneTigerPlayerData) ProtoMessage() {} -func (x *FortuneDragonPlayerData) ProtoReflect() protoreflect.Message { +func (x *FortuneTigerPlayerData) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -125,82 +125,82 @@ func (x *FortuneDragonPlayerData) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FortuneDragonPlayerData.ProtoReflect.Descriptor instead. -func (*FortuneDragonPlayerData) Descriptor() ([]byte, []int) { +// Deprecated: Use FortuneTigerPlayerData.ProtoReflect.Descriptor instead. +func (*FortuneTigerPlayerData) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{0} } -func (x *FortuneDragonPlayerData) GetName() string { +func (x *FortuneTigerPlayerData) GetName() string { if x != nil { return x.Name } return "" } -func (x *FortuneDragonPlayerData) GetSnId() int32 { +func (x *FortuneTigerPlayerData) GetSnId() int32 { if x != nil { return x.SnId } return 0 } -func (x *FortuneDragonPlayerData) GetHead() int32 { +func (x *FortuneTigerPlayerData) GetHead() int32 { if x != nil { return x.Head } return 0 } -func (x *FortuneDragonPlayerData) GetSex() int32 { +func (x *FortuneTigerPlayerData) GetSex() int32 { if x != nil { return x.Sex } return 0 } -func (x *FortuneDragonPlayerData) GetCoin() int64 { +func (x *FortuneTigerPlayerData) GetCoin() int64 { if x != nil { return x.Coin } return 0 } -func (x *FortuneDragonPlayerData) GetPos() int32 { +func (x *FortuneTigerPlayerData) GetPos() int32 { if x != nil { return x.Pos } return 0 } -func (x *FortuneDragonPlayerData) GetFlag() int32 { +func (x *FortuneTigerPlayerData) GetFlag() int32 { if x != nil { return x.Flag } return 0 } -func (x *FortuneDragonPlayerData) GetParams() []string { +func (x *FortuneTigerPlayerData) GetParams() []string { if x != nil { return x.Params } return nil } -func (x *FortuneDragonPlayerData) GetCity() string { +func (x *FortuneTigerPlayerData) GetCity() string { if x != nil { return x.City } return "" } -func (x *FortuneDragonPlayerData) GetHeadOutLine() int32 { +func (x *FortuneTigerPlayerData) GetHeadOutLine() int32 { if x != nil { return x.HeadOutLine } return 0 } -func (x *FortuneDragonPlayerData) GetVIP() int32 { +func (x *FortuneTigerPlayerData) GetVIP() int32 { if x != nil { return x.VIP } @@ -209,26 +209,26 @@ func (x *FortuneDragonPlayerData) GetVIP() int32 { //房间信息 //PACKET_FORTUNETIGER_SCFORTUNETIGERROOMINFO -type SCFortuneDragonRoomInfo struct { +type SCFortuneTigerRoomInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id - GameFreeId int32 `protobuf:"varint,2,opt,name=GameFreeId,proto3" json:"GameFreeId,omitempty"` - GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id - RoomMode int32 `protobuf:"varint,4,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式 - Params []int32 `protobuf:"varint,5,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数 - NumOfGames int32 `protobuf:"varint,6,opt,name=NumOfGames,proto3" json:"NumOfGames,omitempty"` //当前第几局 - State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态 - ParamsEx []int64 `protobuf:"varint,8,rep,packed,name=ParamsEx,proto3" json:"ParamsEx,omitempty"` //其他参数 - SceneType int32 `protobuf:"varint,9,opt,name=SceneType,proto3" json:"SceneType,omitempty"` //房间模式 - Player *FortuneDragonPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息 - PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"` + RoomId int32 `protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"` //房间id + GameFreeId int32 `protobuf:"varint,2,opt,name=GameFreeId,proto3" json:"GameFreeId,omitempty"` + GameId int32 `protobuf:"varint,3,opt,name=GameId,proto3" json:"GameId,omitempty"` //游戏id + RoomMode int32 `protobuf:"varint,4,opt,name=RoomMode,proto3" json:"RoomMode,omitempty"` //游戏模式 + Params []int32 `protobuf:"varint,5,rep,packed,name=Params,proto3" json:"Params,omitempty"` //规则参数 + NumOfGames int32 `protobuf:"varint,6,opt,name=NumOfGames,proto3" json:"NumOfGames,omitempty"` //当前第几局 + State int32 `protobuf:"varint,7,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态 + ParamsEx []int64 `protobuf:"varint,8,rep,packed,name=ParamsEx,proto3" json:"ParamsEx,omitempty"` //其他参数 + SceneType int32 `protobuf:"varint,9,opt,name=SceneType,proto3" json:"SceneType,omitempty"` //房间模式 + Player *FortuneTigerPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息 + PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"` } -func (x *SCFortuneDragonRoomInfo) Reset() { - *x = SCFortuneDragonRoomInfo{} +func (x *SCFortuneTigerRoomInfo) Reset() { + *x = SCFortuneTigerRoomInfo{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -236,13 +236,13 @@ func (x *SCFortuneDragonRoomInfo) Reset() { } } -func (x *SCFortuneDragonRoomInfo) String() string { +func (x *SCFortuneTigerRoomInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SCFortuneDragonRoomInfo) ProtoMessage() {} +func (*SCFortuneTigerRoomInfo) ProtoMessage() {} -func (x *SCFortuneDragonRoomInfo) ProtoReflect() protoreflect.Message { +func (x *SCFortuneTigerRoomInfo) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -254,82 +254,82 @@ func (x *SCFortuneDragonRoomInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SCFortuneDragonRoomInfo.ProtoReflect.Descriptor instead. -func (*SCFortuneDragonRoomInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use SCFortuneTigerRoomInfo.ProtoReflect.Descriptor instead. +func (*SCFortuneTigerRoomInfo) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{1} } -func (x *SCFortuneDragonRoomInfo) GetRoomId() int32 { +func (x *SCFortuneTigerRoomInfo) GetRoomId() int32 { if x != nil { return x.RoomId } return 0 } -func (x *SCFortuneDragonRoomInfo) GetGameFreeId() int32 { +func (x *SCFortuneTigerRoomInfo) GetGameFreeId() int32 { if x != nil { return x.GameFreeId } return 0 } -func (x *SCFortuneDragonRoomInfo) GetGameId() int32 { +func (x *SCFortuneTigerRoomInfo) GetGameId() int32 { if x != nil { return x.GameId } return 0 } -func (x *SCFortuneDragonRoomInfo) GetRoomMode() int32 { +func (x *SCFortuneTigerRoomInfo) GetRoomMode() int32 { if x != nil { return x.RoomMode } return 0 } -func (x *SCFortuneDragonRoomInfo) GetParams() []int32 { +func (x *SCFortuneTigerRoomInfo) GetParams() []int32 { if x != nil { return x.Params } return nil } -func (x *SCFortuneDragonRoomInfo) GetNumOfGames() int32 { +func (x *SCFortuneTigerRoomInfo) GetNumOfGames() int32 { if x != nil { return x.NumOfGames } return 0 } -func (x *SCFortuneDragonRoomInfo) GetState() int32 { +func (x *SCFortuneTigerRoomInfo) GetState() int32 { if x != nil { return x.State } return 0 } -func (x *SCFortuneDragonRoomInfo) GetParamsEx() []int64 { +func (x *SCFortuneTigerRoomInfo) GetParamsEx() []int64 { if x != nil { return x.ParamsEx } return nil } -func (x *SCFortuneDragonRoomInfo) GetSceneType() int32 { +func (x *SCFortuneTigerRoomInfo) GetSceneType() int32 { if x != nil { return x.SceneType } return 0 } -func (x *SCFortuneDragonRoomInfo) GetPlayer() *FortuneDragonPlayerData { +func (x *SCFortuneTigerRoomInfo) GetPlayer() *FortuneTigerPlayerData { if x != nil { return x.Player } return nil } -func (x *SCFortuneDragonRoomInfo) GetPlayerInfo() string { +func (x *SCFortuneTigerRoomInfo) GetPlayerInfo() string { if x != nil { return x.PlayerInfo } @@ -338,7 +338,7 @@ func (x *SCFortuneDragonRoomInfo) GetPlayerInfo() string { //玩家操作 //PACKET_FORTUNETIGER_CSFORTUNETIGEROP -type CSFortuneDragonOp struct { +type CSFortuneTigerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -347,8 +347,8 @@ type CSFortuneDragonOp struct { Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号 } -func (x *CSFortuneDragonOp) Reset() { - *x = CSFortuneDragonOp{} +func (x *CSFortuneTigerOp) Reset() { + *x = CSFortuneTigerOp{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -356,13 +356,13 @@ func (x *CSFortuneDragonOp) Reset() { } } -func (x *CSFortuneDragonOp) String() string { +func (x *CSFortuneTigerOp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CSFortuneDragonOp) ProtoMessage() {} +func (*CSFortuneTigerOp) ProtoMessage() {} -func (x *CSFortuneDragonOp) ProtoReflect() protoreflect.Message { +func (x *CSFortuneTigerOp) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -374,19 +374,19 @@ func (x *CSFortuneDragonOp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CSFortuneDragonOp.ProtoReflect.Descriptor instead. -func (*CSFortuneDragonOp) Descriptor() ([]byte, []int) { +// Deprecated: Use CSFortuneTigerOp.ProtoReflect.Descriptor instead. +func (*CSFortuneTigerOp) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{2} } -func (x *CSFortuneDragonOp) GetOpCode() int32 { +func (x *CSFortuneTigerOp) GetOpCode() int32 { if x != nil { return x.OpCode } return 0 } -func (x *CSFortuneDragonOp) GetParams() []int64 { +func (x *CSFortuneTigerOp) GetParams() []int64 { if x != nil { return x.Params } @@ -395,7 +395,7 @@ func (x *CSFortuneDragonOp) GetParams() []int64 { //玩家操作返回 //PACKET_FORTUNETIGER_SCFORTUNETIGEROP -type SCFortuneDragonOp struct { +type SCFortuneTigerOp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -405,8 +405,8 @@ type SCFortuneDragonOp struct { Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 } -func (x *SCFortuneDragonOp) Reset() { - *x = SCFortuneDragonOp{} +func (x *SCFortuneTigerOp) Reset() { + *x = SCFortuneTigerOp{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -414,13 +414,13 @@ func (x *SCFortuneDragonOp) Reset() { } } -func (x *SCFortuneDragonOp) String() string { +func (x *SCFortuneTigerOp) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SCFortuneDragonOp) ProtoMessage() {} +func (*SCFortuneTigerOp) ProtoMessage() {} -func (x *SCFortuneDragonOp) ProtoReflect() protoreflect.Message { +func (x *SCFortuneTigerOp) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -432,26 +432,26 @@ func (x *SCFortuneDragonOp) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SCFortuneDragonOp.ProtoReflect.Descriptor instead. -func (*SCFortuneDragonOp) Descriptor() ([]byte, []int) { +// Deprecated: Use SCFortuneTigerOp.ProtoReflect.Descriptor instead. +func (*SCFortuneTigerOp) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{3} } -func (x *SCFortuneDragonOp) GetOpCode() int32 { +func (x *SCFortuneTigerOp) GetOpCode() int32 { if x != nil { return x.OpCode } return 0 } -func (x *SCFortuneDragonOp) GetOpRetCode() int32 { +func (x *SCFortuneTigerOp) GetOpRetCode() int32 { if x != nil { return x.OpRetCode } return 0 } -func (x *SCFortuneDragonOp) GetParams() []int64 { +func (x *SCFortuneTigerOp) GetParams() []int64 { if x != nil { return x.Params } @@ -460,7 +460,7 @@ func (x *SCFortuneDragonOp) GetParams() []int64 { //房间状态 //PACKET_FORTUNETIGER_SCFORTUNETIGERROOMSTATE -type SCFortuneDragonRoomState struct { +type SCFortuneTigerRoomState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -470,8 +470,8 @@ type SCFortuneDragonRoomState struct { Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数 } -func (x *SCFortuneDragonRoomState) Reset() { - *x = SCFortuneDragonRoomState{} +func (x *SCFortuneTigerRoomState) Reset() { + *x = SCFortuneTigerRoomState{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -479,13 +479,13 @@ func (x *SCFortuneDragonRoomState) Reset() { } } -func (x *SCFortuneDragonRoomState) String() string { +func (x *SCFortuneTigerRoomState) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SCFortuneDragonRoomState) ProtoMessage() {} +func (*SCFortuneTigerRoomState) ProtoMessage() {} -func (x *SCFortuneDragonRoomState) ProtoReflect() protoreflect.Message { +func (x *SCFortuneTigerRoomState) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -497,26 +497,26 @@ func (x *SCFortuneDragonRoomState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SCFortuneDragonRoomState.ProtoReflect.Descriptor instead. -func (*SCFortuneDragonRoomState) Descriptor() ([]byte, []int) { +// Deprecated: Use SCFortuneTigerRoomState.ProtoReflect.Descriptor instead. +func (*SCFortuneTigerRoomState) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{4} } -func (x *SCFortuneDragonRoomState) GetState() int32 { +func (x *SCFortuneTigerRoomState) GetState() int32 { if x != nil { return x.State } return 0 } -func (x *SCFortuneDragonRoomState) GetSubState() int32 { +func (x *SCFortuneTigerRoomState) GetSubState() int32 { if x != nil { return x.SubState } return 0 } -func (x *SCFortuneDragonRoomState) GetParams() []int32 { +func (x *SCFortuneTigerRoomState) GetParams() []int32 { if x != nil { return x.Params } @@ -524,7 +524,7 @@ func (x *SCFortuneDragonRoomState) GetParams() []int32 { } //PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED -type SCFortuneDragonBilled struct { +type SCFortuneTigerBilled struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -533,8 +533,8 @@ type SCFortuneDragonBilled struct { GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"` } -func (x *SCFortuneDragonBilled) Reset() { - *x = SCFortuneDragonBilled{} +func (x *SCFortuneTigerBilled) Reset() { + *x = SCFortuneTigerBilled{} if protoimpl.UnsafeEnabled { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -542,13 +542,13 @@ func (x *SCFortuneDragonBilled) Reset() { } } -func (x *SCFortuneDragonBilled) String() string { +func (x *SCFortuneTigerBilled) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SCFortuneDragonBilled) ProtoMessage() {} +func (*SCFortuneTigerBilled) ProtoMessage() {} -func (x *SCFortuneDragonBilled) ProtoReflect() protoreflect.Message { +func (x *SCFortuneTigerBilled) ProtoReflect() protoreflect.Message { mi := &file_protocol_fortunetiger_fortunetiger_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -560,19 +560,19 @@ func (x *SCFortuneDragonBilled) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SCFortuneDragonBilled.ProtoReflect.Descriptor instead. -func (*SCFortuneDragonBilled) Descriptor() ([]byte, []int) { +// Deprecated: Use SCFortuneTigerBilled.ProtoReflect.Descriptor instead. +func (*SCFortuneTigerBilled) Descriptor() ([]byte, []int) { return file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP(), []int{5} } -func (x *SCFortuneDragonBilled) GetOpRetCode() int32 { +func (x *SCFortuneTigerBilled) GetOpRetCode() int32 { if x != nil { return x.OpRetCode } return 0 } -func (x *SCFortuneDragonBilled) GetGameEndStr() string { +func (x *SCFortuneTigerBilled) GetGameEndStr() string { if x != nil { return x.GameEndStr } @@ -585,89 +585,89 @@ var file_protocol_fortunetiger_fortunetiger_proto_rawDesc = []byte{ 0x0a, 0x28, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x2f, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x66, 0x6f, 0x72, 0x74, - 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x22, 0x81, 0x02, 0x0a, 0x17, 0x46, 0x6f, 0x72, - 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x48, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x48, 0x65, 0x61, 0x64, - 0x12, 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, - 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, - 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x48, - 0x65, 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x49, - 0x50, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x22, 0xec, 0x02, 0x0a, - 0x17, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, - 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, - 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, - 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, - 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, - 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x4e, 0x75, 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x4e, 0x75, 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x18, 0x08, - 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x12, 0x1c, - 0x0a, 0x09, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, - 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x2e, 0x46, 0x6f, 0x72, 0x74, - 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, - 0x61, 0x74, 0x61, 0x52, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 0x0a, 0x11, 0x43, - 0x53, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x4f, 0x70, + 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x22, 0x80, 0x02, 0x0a, 0x16, 0x46, 0x6f, 0x72, + 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x48, + 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x48, 0x65, 0x61, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x53, 0x65, + 0x78, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x50, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x03, 0x50, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x4f, + 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x48, 0x65, + 0x61, 0x64, 0x4f, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x49, 0x50, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x56, 0x49, 0x50, 0x22, 0xea, 0x02, 0x0a, 0x16, + 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x52, 0x6f, + 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x1e, + 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, + 0x47, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x6f, + 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x4e, 0x75, + 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x4e, 0x75, 0x6d, 0x4f, 0x66, 0x47, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x03, 0x52, 0x08, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x78, 0x12, 0x1c, 0x0a, 0x09, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6f, 0x72, + 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, + 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x42, 0x0a, 0x10, 0x43, 0x53, 0x46, 0x6f, + 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, + 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4f, 0x70, + 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x60, 0x0a, 0x10, + 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x22, 0x61, 0x0a, 0x11, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, - 0x67, 0x6f, 0x6e, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x22, 0x64, 0x0a, 0x18, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, - 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x55, 0x0a, 0x15, 0x53, 0x43, 0x46, - 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x42, 0x69, 0x6c, 0x6c, - 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, - 0x2a, 0x97, 0x02, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, - 0x72, 0x50, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, - 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x5a, 0x45, 0x52, 0x4f, - 0x10, 0x00, 0x12, 0x2f, 0x0a, 0x2a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, - 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, - 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, - 0x10, 0xfe, 0x2b, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, - 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x43, 0x53, 0x46, 0x4f, 0x52, - 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x4f, 0x50, 0x10, 0xff, 0x2b, 0x12, 0x29, - 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, - 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, - 0x49, 0x47, 0x45, 0x52, 0x4f, 0x50, 0x10, 0x80, 0x2c, 0x12, 0x30, 0x0a, 0x2b, 0x50, 0x41, 0x43, - 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, - 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x52, - 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x81, 0x2c, 0x12, 0x2d, 0x0a, 0x28, 0x50, + 0x52, 0x06, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, + 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x4f, 0x70, 0x52, + 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x63, + 0x0a, 0x17, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, + 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x53, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x22, 0x54, 0x0a, 0x14, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, + 0x54, 0x69, 0x67, 0x65, 0x72, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x4f, + 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x6d, + 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x47, + 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x2a, 0x97, 0x02, 0x0a, 0x0f, 0x46, 0x6f, + 0x72, 0x74, 0x75, 0x6e, 0x65, 0x54, 0x69, 0x67, 0x65, 0x72, 0x50, 0x49, 0x44, 0x12, 0x1c, 0x0a, + 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, + 0x49, 0x47, 0x45, 0x52, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x2f, 0x0a, 0x2a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, - 0x52, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x82, 0x2c, 0x42, 0x2c, 0x5a, 0x2a, 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, 0x66, 0x6f, 0x72, 0x74, - 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xfe, 0x2b, 0x12, 0x29, 0x0a, 0x24, + 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, + 0x47, 0x45, 0x52, 0x5f, 0x43, 0x53, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, + 0x45, 0x52, 0x4f, 0x50, 0x10, 0xff, 0x2b, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, + 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, + 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x4f, 0x50, 0x10, + 0x80, 0x2c, 0x12, 0x30, 0x0a, 0x2b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, + 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, + 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x10, 0x81, 0x2c, 0x12, 0x2d, 0x0a, 0x28, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x46, 0x4f, + 0x52, 0x54, 0x55, 0x4e, 0x45, 0x54, 0x49, 0x47, 0x45, 0x52, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, + 0x10, 0x82, 0x2c, 0x42, 0x2c, 0x5a, 0x2a, 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, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x74, 0x69, 0x67, 0x65, + 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -685,16 +685,16 @@ func file_protocol_fortunetiger_fortunetiger_proto_rawDescGZIP() []byte { var file_protocol_fortunetiger_fortunetiger_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_protocol_fortunetiger_fortunetiger_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_protocol_fortunetiger_fortunetiger_proto_goTypes = []interface{}{ - (FortuneTigerPID)(0), // 0: fortunetiger.FortuneTigerPID - (*FortuneDragonPlayerData)(nil), // 1: fortunetiger.FortuneDragonPlayerData - (*SCFortuneDragonRoomInfo)(nil), // 2: fortunetiger.SCFortuneDragonRoomInfo - (*CSFortuneDragonOp)(nil), // 3: fortunetiger.CSFortuneDragonOp - (*SCFortuneDragonOp)(nil), // 4: fortunetiger.SCFortuneDragonOp - (*SCFortuneDragonRoomState)(nil), // 5: fortunetiger.SCFortuneDragonRoomState - (*SCFortuneDragonBilled)(nil), // 6: fortunetiger.SCFortuneDragonBilled + (FortuneTigerPID)(0), // 0: fortunetiger.FortuneTigerPID + (*FortuneTigerPlayerData)(nil), // 1: fortunetiger.FortuneTigerPlayerData + (*SCFortuneTigerRoomInfo)(nil), // 2: fortunetiger.SCFortuneTigerRoomInfo + (*CSFortuneTigerOp)(nil), // 3: fortunetiger.CSFortuneTigerOp + (*SCFortuneTigerOp)(nil), // 4: fortunetiger.SCFortuneTigerOp + (*SCFortuneTigerRoomState)(nil), // 5: fortunetiger.SCFortuneTigerRoomState + (*SCFortuneTigerBilled)(nil), // 6: fortunetiger.SCFortuneTigerBilled } var file_protocol_fortunetiger_fortunetiger_proto_depIdxs = []int32{ - 1, // 0: fortunetiger.SCFortuneDragonRoomInfo.Player:type_name -> fortunetiger.FortuneDragonPlayerData + 1, // 0: fortunetiger.SCFortuneTigerRoomInfo.Player:type_name -> fortunetiger.FortuneTigerPlayerData 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -709,7 +709,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } if !protoimpl.UnsafeEnabled { file_protocol_fortunetiger_fortunetiger_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FortuneDragonPlayerData); i { + switch v := v.(*FortuneTigerPlayerData); i { case 0: return &v.state case 1: @@ -721,7 +721,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } } file_protocol_fortunetiger_fortunetiger_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCFortuneDragonRoomInfo); i { + switch v := v.(*SCFortuneTigerRoomInfo); i { case 0: return &v.state case 1: @@ -733,7 +733,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } } file_protocol_fortunetiger_fortunetiger_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CSFortuneDragonOp); i { + switch v := v.(*CSFortuneTigerOp); i { case 0: return &v.state case 1: @@ -745,7 +745,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } } file_protocol_fortunetiger_fortunetiger_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCFortuneDragonOp); i { + switch v := v.(*SCFortuneTigerOp); i { case 0: return &v.state case 1: @@ -757,7 +757,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } } file_protocol_fortunetiger_fortunetiger_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCFortuneDragonRoomState); i { + switch v := v.(*SCFortuneTigerRoomState); i { case 0: return &v.state case 1: @@ -769,7 +769,7 @@ func file_protocol_fortunetiger_fortunetiger_proto_init() { } } file_protocol_fortunetiger_fortunetiger_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCFortuneDragonBilled); i { + switch v := v.(*SCFortuneTigerBilled); i { case 0: return &v.state case 1: diff --git a/protocol/fortunetiger/fortunetiger.proto b/protocol/fortunetiger/fortunetiger.proto index 3f8b4ad..9e0fa64 100644 --- a/protocol/fortunetiger/fortunetiger.proto +++ b/protocol/fortunetiger/fortunetiger.proto @@ -13,7 +13,7 @@ enum FortuneTigerPID { PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED = 5634; } -message FortuneDragonPlayerData { +message FortuneTigerPlayerData { string Name = 1; //名字 int32 SnId = 2; //账号 int32 Head = 3; //头像 @@ -28,7 +28,7 @@ message FortuneDragonPlayerData { } //房间信息 //PACKET_FORTUNETIGER_SCFORTUNETIGERROOMINFO -message SCFortuneDragonRoomInfo { +message SCFortuneTigerRoomInfo { int32 RoomId = 1; //房间id int32 GameFreeId = 2; int32 GameId = 3; //游戏id @@ -38,31 +38,31 @@ message SCFortuneDragonRoomInfo { int32 State = 7; //房间当前状态 repeated int64 ParamsEx = 8; //其他参数 int32 SceneType = 9; //房间模式 - FortuneDragonPlayerData Player = 10; //房间内的玩家信息 + FortuneTigerPlayerData Player = 10; //房间内的玩家信息 string PlayerInfo = 11; } //玩家操作 //PACKET_FORTUNETIGER_CSFORTUNETIGEROP -message CSFortuneDragonOp { +message CSFortuneTigerOp { int32 OpCode = 1; //操作码 0.spin repeated int64 Params = 2; //操作参数 下注索引编号 } //玩家操作返回 //PACKET_FORTUNETIGER_SCFORTUNETIGEROP -message SCFortuneDragonOp { +message SCFortuneTigerOp { int32 OpCode = 1; //操作码 int32 OpRetCode = 2; //操作结果 1.金币不足 2.低于该值不能押注 repeated int64 Params = 3; //操作参数 } //房间状态 //PACKET_FORTUNETIGER_SCFORTUNETIGERROOMSTATE -message SCFortuneDragonRoomState { +message SCFortuneTigerRoomState { int32 State = 1; //房间当前状态 int32 SubState = 2; //房间当前子状态 repeated int32 Params = 3; //状态参数 } //PACKET_FORTUNETIGER_SCFORTUNETIGERBILLED -message SCFortuneDragonBilled{ +message SCFortuneTigerBilled{ int32 OpRetCode = 1;//0.spin成功 1.spin失败 string GameEndStr = 2; } \ No newline at end of file