diff --git a/protocol/fortunesnake/fortunesnake.pb.go b/protocol/fortunesnake/fortunesnake.pb.go new file mode 100644 index 0000000..ce6a855 --- /dev/null +++ b/protocol/fortunesnake/fortunesnake.pb.go @@ -0,0 +1,803 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1-devel +// protoc v3.19.4 +// source: protocol/fortunesnake/fortunesnake.proto + +package fortunesnake + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//fortunesnake +//龙 +type FortuneSnakePID int32 + +const ( + FortuneSnakePID_PACKET_FORTUNESNAKE_ZERO FortuneSnakePID = 0 // 弃用消息号 + FortuneSnakePID_PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMINFO FortuneSnakePID = 5680 //房间信息 + FortuneSnakePID_PACKET_FORTUNESNAKE_CSFORTUNESNAKEOP FortuneSnakePID = 5681 + FortuneSnakePID_PACKET_FORTUNESNAKE_SCFORTUNESNAKEOP FortuneSnakePID = 5682 + FortuneSnakePID_PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMSTATE FortuneSnakePID = 5683 + FortuneSnakePID_PACKET_FORTUNESNAKE_SCFORTUNESNAKEBILLED FortuneSnakePID = 5684 +) + +// Enum value maps for FortuneSnakePID. +var ( + FortuneSnakePID_name = map[int32]string{ + 0: "PACKET_FORTUNESNAKE_ZERO", + 5680: "PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMINFO", + 5681: "PACKET_FORTUNESNAKE_CSFORTUNESNAKEOP", + 5682: "PACKET_FORTUNESNAKE_SCFORTUNESNAKEOP", + 5683: "PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMSTATE", + 5684: "PACKET_FORTUNESNAKE_SCFORTUNESNAKEBILLED", + } + FortuneSnakePID_value = map[string]int32{ + "PACKET_FORTUNESNAKE_ZERO": 0, + "PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMINFO": 5680, + "PACKET_FORTUNESNAKE_CSFORTUNESNAKEOP": 5681, + "PACKET_FORTUNESNAKE_SCFORTUNESNAKEOP": 5682, + "PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMSTATE": 5683, + "PACKET_FORTUNESNAKE_SCFORTUNESNAKEBILLED": 5684, + } +) + +func (x FortuneSnakePID) Enum() *FortuneSnakePID { + p := new(FortuneSnakePID) + *p = x + return p +} + +func (x FortuneSnakePID) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FortuneSnakePID) Descriptor() protoreflect.EnumDescriptor { + return file_protocol_fortunesnake_fortunesnake_proto_enumTypes[0].Descriptor() +} + +func (FortuneSnakePID) Type() protoreflect.EnumType { + return &file_protocol_fortunesnake_fortunesnake_proto_enumTypes[0] +} + +func (x FortuneSnakePID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FortuneSnakePID.Descriptor instead. +func (FortuneSnakePID) EnumDescriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{0} +} + +type FortuneSnakePlayerData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` //名字 + SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"` //账号 + Head int32 `protobuf:"varint,3,opt,name=Head,proto3" json:"Head,omitempty"` //头像 + Sex int32 `protobuf:"varint,4,opt,name=Sex,proto3" json:"Sex,omitempty"` //性别 + Coin int64 `protobuf:"varint,5,opt,name=Coin,proto3" json:"Coin,omitempty"` //金币 + Pos int32 `protobuf:"varint,6,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置 + Flag int32 `protobuf:"varint,7,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记 + Params []string `protobuf:"bytes,8,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等 + City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市 + HeadOutLine int32 `protobuf:"varint,10,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框 + VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"` +} + +func (x *FortuneSnakePlayerData) Reset() { + *x = FortuneSnakePlayerData{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FortuneSnakePlayerData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FortuneSnakePlayerData) ProtoMessage() {} + +func (x *FortuneSnakePlayerData) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[0] + 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 FortuneSnakePlayerData.ProtoReflect.Descriptor instead. +func (*FortuneSnakePlayerData) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{0} +} + +func (x *FortuneSnakePlayerData) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *FortuneSnakePlayerData) GetSnId() int32 { + if x != nil { + return x.SnId + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetHead() int32 { + if x != nil { + return x.Head + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetSex() int32 { + if x != nil { + return x.Sex + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetCoin() int64 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetPos() int32 { + if x != nil { + return x.Pos + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetFlag() int32 { + if x != nil { + return x.Flag + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + +func (x *FortuneSnakePlayerData) GetCity() string { + if x != nil { + return x.City + } + return "" +} + +func (x *FortuneSnakePlayerData) GetHeadOutLine() int32 { + if x != nil { + return x.HeadOutLine + } + return 0 +} + +func (x *FortuneSnakePlayerData) GetVIP() int32 { + if x != nil { + return x.VIP + } + return 0 +} + +//房间信息 +//PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMINFO +type SCFortuneSnakeRoomInfo 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 *FortuneSnakePlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息 + PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"` +} + +func (x *SCFortuneSnakeRoomInfo) Reset() { + *x = SCFortuneSnakeRoomInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCFortuneSnakeRoomInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCFortuneSnakeRoomInfo) ProtoMessage() {} + +func (x *SCFortuneSnakeRoomInfo) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[1] + 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 SCFortuneSnakeRoomInfo.ProtoReflect.Descriptor instead. +func (*SCFortuneSnakeRoomInfo) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{1} +} + +func (x *SCFortuneSnakeRoomInfo) GetRoomId() int32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetGameFreeId() int32 { + if x != nil { + return x.GameFreeId + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetGameId() int32 { + if x != nil { + return x.GameId + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetRoomMode() int32 { + if x != nil { + return x.RoomMode + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +func (x *SCFortuneSnakeRoomInfo) GetNumOfGames() int32 { + if x != nil { + return x.NumOfGames + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetParamsEx() []int64 { + if x != nil { + return x.ParamsEx + } + return nil +} + +func (x *SCFortuneSnakeRoomInfo) GetSceneType() int32 { + if x != nil { + return x.SceneType + } + return 0 +} + +func (x *SCFortuneSnakeRoomInfo) GetPlayer() *FortuneSnakePlayerData { + if x != nil { + return x.Player + } + return nil +} + +func (x *SCFortuneSnakeRoomInfo) GetPlayerInfo() string { + if x != nil { + return x.PlayerInfo + } + return "" +} + +//玩家操作 +//PACKET_FORTUNESNAKE_CSFORTUNESNAKEOP +type CSFortuneSnakeOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0.spin + Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号 +} + +func (x *CSFortuneSnakeOp) Reset() { + *x = CSFortuneSnakeOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CSFortuneSnakeOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CSFortuneSnakeOp) ProtoMessage() {} + +func (x *CSFortuneSnakeOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[2] + 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 CSFortuneSnakeOp.ProtoReflect.Descriptor instead. +func (*CSFortuneSnakeOp) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{2} +} + +func (x *CSFortuneSnakeOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *CSFortuneSnakeOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//玩家操作返回 +//PACKET_FORTUNESNAKE_SCFORTUNESNAKEOP +type SCFortuneSnakeOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 + OpRetCode int32 `protobuf:"varint,2,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //操作结果 1.金币不足 2.低于该值不能押注 + Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 +} + +func (x *SCFortuneSnakeOp) Reset() { + *x = SCFortuneSnakeOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCFortuneSnakeOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCFortuneSnakeOp) ProtoMessage() {} + +func (x *SCFortuneSnakeOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[3] + 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 SCFortuneSnakeOp.ProtoReflect.Descriptor instead. +func (*SCFortuneSnakeOp) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{3} +} + +func (x *SCFortuneSnakeOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *SCFortuneSnakeOp) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCFortuneSnakeOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//房间状态 +//PACKET_FORTUNESNAKE_SCFORTUNESNAKEROOMSTATE +type SCFortuneSnakeRoomState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态 + SubState int32 `protobuf:"varint,2,opt,name=SubState,proto3" json:"SubState,omitempty"` //房间当前子状态 + Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数 +} + +func (x *SCFortuneSnakeRoomState) Reset() { + *x = SCFortuneSnakeRoomState{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCFortuneSnakeRoomState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCFortuneSnakeRoomState) ProtoMessage() {} + +func (x *SCFortuneSnakeRoomState) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[4] + 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 SCFortuneSnakeRoomState.ProtoReflect.Descriptor instead. +func (*SCFortuneSnakeRoomState) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{4} +} + +func (x *SCFortuneSnakeRoomState) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCFortuneSnakeRoomState) GetSubState() int32 { + if x != nil { + return x.SubState + } + return 0 +} + +func (x *SCFortuneSnakeRoomState) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +//PACKET_FORTUNESNAKE_SCFORTUNESNAKEBILLED +type SCFortuneSnakeBilled struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpRetCode int32 `protobuf:"varint,1,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //0.spin成功 1.spin失败 + GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"` +} + +func (x *SCFortuneSnakeBilled) Reset() { + *x = SCFortuneSnakeBilled{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCFortuneSnakeBilled) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCFortuneSnakeBilled) ProtoMessage() {} + +func (x *SCFortuneSnakeBilled) ProtoReflect() protoreflect.Message { + mi := &file_protocol_fortunesnake_fortunesnake_proto_msgTypes[5] + 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 SCFortuneSnakeBilled.ProtoReflect.Descriptor instead. +func (*SCFortuneSnakeBilled) Descriptor() ([]byte, []int) { + return file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP(), []int{5} +} + +func (x *SCFortuneSnakeBilled) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCFortuneSnakeBilled) GetGameEndStr() string { + if x != nil { + return x.GameEndStr + } + return "" +} + +var File_protocol_fortunesnake_fortunesnake_proto protoreflect.FileDescriptor + +var file_protocol_fortunesnake_fortunesnake_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x66, 0x6f, 0x72, 0x74, 0x75, + 0x6e, 0x65, 0x73, 0x6e, 0x61, 0x6b, 0x65, 0x2f, 0x66, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x73, + 0x6e, 0x61, 0x6b, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x66, 0x6f, 0x72, 0x74, + 0x75, 0x6e, 0x65, 0x73, 0x6e, 0x61, 0x6b, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x16, 0x46, 0x6f, 0x72, + 0x74, 0x75, 0x6e, 0x65, 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x73, 0x6e, 0x61, 0x6b, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, + 0x65, 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x63, + 0x0a, 0x17, 0x53, 0x43, 0x46, 0x6f, 0x72, 0x74, 0x75, 0x6e, 0x65, 0x53, 0x6e, 0x61, 0x6b, 0x65, + 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, + 0x53, 0x6e, 0x61, 0x6b, 0x65, 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, 0x53, 0x6e, 0x61, 0x6b, 0x65, 0x50, 0x49, 0x44, 0x12, 0x1c, 0x0a, + 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, + 0x4e, 0x41, 0x4b, 0x45, 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, 0x53, 0x4e, 0x41, + 0x4b, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, + 0x45, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xb0, 0x2c, 0x12, 0x29, 0x0a, 0x24, + 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, + 0x41, 0x4b, 0x45, 0x5f, 0x43, 0x53, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, + 0x4b, 0x45, 0x4f, 0x50, 0x10, 0xb1, 0x2c, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, + 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x5f, 0x53, + 0x43, 0x46, 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x4f, 0x50, 0x10, + 0xb2, 0x2c, 0x12, 0x30, 0x0a, 0x2b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, + 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, 0x52, 0x54, + 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x10, 0xb3, 0x2c, 0x12, 0x2d, 0x0a, 0x28, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x5f, 0x53, 0x43, 0x46, 0x4f, + 0x52, 0x54, 0x55, 0x4e, 0x45, 0x53, 0x4e, 0x41, 0x4b, 0x45, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, + 0x10, 0xb4, 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, 0x73, 0x6e, 0x61, 0x6b, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_protocol_fortunesnake_fortunesnake_proto_rawDescOnce sync.Once + file_protocol_fortunesnake_fortunesnake_proto_rawDescData = file_protocol_fortunesnake_fortunesnake_proto_rawDesc +) + +func file_protocol_fortunesnake_fortunesnake_proto_rawDescGZIP() []byte { + file_protocol_fortunesnake_fortunesnake_proto_rawDescOnce.Do(func() { + file_protocol_fortunesnake_fortunesnake_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_fortunesnake_fortunesnake_proto_rawDescData) + }) + return file_protocol_fortunesnake_fortunesnake_proto_rawDescData +} + +var file_protocol_fortunesnake_fortunesnake_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_protocol_fortunesnake_fortunesnake_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_protocol_fortunesnake_fortunesnake_proto_goTypes = []interface{}{ + (FortuneSnakePID)(0), // 0: fortunesnake.FortuneSnakePID + (*FortuneSnakePlayerData)(nil), // 1: fortunesnake.FortuneSnakePlayerData + (*SCFortuneSnakeRoomInfo)(nil), // 2: fortunesnake.SCFortuneSnakeRoomInfo + (*CSFortuneSnakeOp)(nil), // 3: fortunesnake.CSFortuneSnakeOp + (*SCFortuneSnakeOp)(nil), // 4: fortunesnake.SCFortuneSnakeOp + (*SCFortuneSnakeRoomState)(nil), // 5: fortunesnake.SCFortuneSnakeRoomState + (*SCFortuneSnakeBilled)(nil), // 6: fortunesnake.SCFortuneSnakeBilled +} +var file_protocol_fortunesnake_fortunesnake_proto_depIdxs = []int32{ + 1, // 0: fortunesnake.SCFortuneSnakeRoomInfo.Player:type_name -> fortunesnake.FortuneSnakePlayerData + 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 + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_protocol_fortunesnake_fortunesnake_proto_init() } +func file_protocol_fortunesnake_fortunesnake_proto_init() { + if File_protocol_fortunesnake_fortunesnake_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FortuneSnakePlayerData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCFortuneSnakeRoomInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSFortuneSnakeOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCFortuneSnakeOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCFortuneSnakeRoomState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_fortunesnake_fortunesnake_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCFortuneSnakeBilled); 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{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_protocol_fortunesnake_fortunesnake_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_protocol_fortunesnake_fortunesnake_proto_goTypes, + DependencyIndexes: file_protocol_fortunesnake_fortunesnake_proto_depIdxs, + EnumInfos: file_protocol_fortunesnake_fortunesnake_proto_enumTypes, + MessageInfos: file_protocol_fortunesnake_fortunesnake_proto_msgTypes, + }.Build() + File_protocol_fortunesnake_fortunesnake_proto = out.File + file_protocol_fortunesnake_fortunesnake_proto_rawDesc = nil + file_protocol_fortunesnake_fortunesnake_proto_goTypes = nil + file_protocol_fortunesnake_fortunesnake_proto_depIdxs = nil +} diff --git a/protocol/ganeshagold/ganeshagold.pb.go b/protocol/ganeshagold/ganeshagold.pb.go new file mode 100644 index 0000000..eebfc9a --- /dev/null +++ b/protocol/ganeshagold/ganeshagold.pb.go @@ -0,0 +1,802 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1-devel +// protoc v3.19.4 +// source: protocol/ganeshagold/ganeshagold.proto + +package ganeshagold + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//ganeshagold +//龙 +type GaneshaGoldPID int32 + +const ( + GaneshaGoldPID_PACKET_GANESHAGOLD_ZERO GaneshaGoldPID = 0 // 弃用消息号 + GaneshaGoldPID_PACKET_GANESHAGOLD_SCGANESHAGOLDROOMINFO GaneshaGoldPID = 5690 //房间信息 + GaneshaGoldPID_PACKET_GANESHAGOLD_CSGANESHAGOLDOP GaneshaGoldPID = 5691 + GaneshaGoldPID_PACKET_GANESHAGOLD_SCGANESHAGOLDOP GaneshaGoldPID = 5692 + GaneshaGoldPID_PACKET_GANESHAGOLD_SCGANESHAGOLDROOMSTATE GaneshaGoldPID = 5693 + GaneshaGoldPID_PACKET_GANESHAGOLD_SCGANESHAGOLDBILLED GaneshaGoldPID = 5694 +) + +// Enum value maps for GaneshaGoldPID. +var ( + GaneshaGoldPID_name = map[int32]string{ + 0: "PACKET_GANESHAGOLD_ZERO", + 5690: "PACKET_GANESHAGOLD_SCGANESHAGOLDROOMINFO", + 5691: "PACKET_GANESHAGOLD_CSGANESHAGOLDOP", + 5692: "PACKET_GANESHAGOLD_SCGANESHAGOLDOP", + 5693: "PACKET_GANESHAGOLD_SCGANESHAGOLDROOMSTATE", + 5694: "PACKET_GANESHAGOLD_SCGANESHAGOLDBILLED", + } + GaneshaGoldPID_value = map[string]int32{ + "PACKET_GANESHAGOLD_ZERO": 0, + "PACKET_GANESHAGOLD_SCGANESHAGOLDROOMINFO": 5690, + "PACKET_GANESHAGOLD_CSGANESHAGOLDOP": 5691, + "PACKET_GANESHAGOLD_SCGANESHAGOLDOP": 5692, + "PACKET_GANESHAGOLD_SCGANESHAGOLDROOMSTATE": 5693, + "PACKET_GANESHAGOLD_SCGANESHAGOLDBILLED": 5694, + } +) + +func (x GaneshaGoldPID) Enum() *GaneshaGoldPID { + p := new(GaneshaGoldPID) + *p = x + return p +} + +func (x GaneshaGoldPID) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GaneshaGoldPID) Descriptor() protoreflect.EnumDescriptor { + return file_protocol_ganeshagold_ganeshagold_proto_enumTypes[0].Descriptor() +} + +func (GaneshaGoldPID) Type() protoreflect.EnumType { + return &file_protocol_ganeshagold_ganeshagold_proto_enumTypes[0] +} + +func (x GaneshaGoldPID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GaneshaGoldPID.Descriptor instead. +func (GaneshaGoldPID) EnumDescriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{0} +} + +type GaneshaGoldPlayerData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` //名字 + SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"` //账号 + Head int32 `protobuf:"varint,3,opt,name=Head,proto3" json:"Head,omitempty"` //头像 + Sex int32 `protobuf:"varint,4,opt,name=Sex,proto3" json:"Sex,omitempty"` //性别 + Coin int64 `protobuf:"varint,5,opt,name=Coin,proto3" json:"Coin,omitempty"` //金币 + Pos int32 `protobuf:"varint,6,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置 + Flag int32 `protobuf:"varint,7,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记 + Params []string `protobuf:"bytes,8,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等 + City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市 + HeadOutLine int32 `protobuf:"varint,10,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框 + VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"` +} + +func (x *GaneshaGoldPlayerData) Reset() { + *x = GaneshaGoldPlayerData{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GaneshaGoldPlayerData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GaneshaGoldPlayerData) ProtoMessage() {} + +func (x *GaneshaGoldPlayerData) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[0] + 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 GaneshaGoldPlayerData.ProtoReflect.Descriptor instead. +func (*GaneshaGoldPlayerData) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{0} +} + +func (x *GaneshaGoldPlayerData) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *GaneshaGoldPlayerData) GetSnId() int32 { + if x != nil { + return x.SnId + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetHead() int32 { + if x != nil { + return x.Head + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetSex() int32 { + if x != nil { + return x.Sex + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetCoin() int64 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetPos() int32 { + if x != nil { + return x.Pos + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetFlag() int32 { + if x != nil { + return x.Flag + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + +func (x *GaneshaGoldPlayerData) GetCity() string { + if x != nil { + return x.City + } + return "" +} + +func (x *GaneshaGoldPlayerData) GetHeadOutLine() int32 { + if x != nil { + return x.HeadOutLine + } + return 0 +} + +func (x *GaneshaGoldPlayerData) GetVIP() int32 { + if x != nil { + return x.VIP + } + return 0 +} + +//房间信息 +//PACKET_GANESHAGOLD_SCGANESHAGOLDROOMINFO +type SCGaneshaGoldRoomInfo 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 *GaneshaGoldPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息 + PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"` +} + +func (x *SCGaneshaGoldRoomInfo) Reset() { + *x = SCGaneshaGoldRoomInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCGaneshaGoldRoomInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCGaneshaGoldRoomInfo) ProtoMessage() {} + +func (x *SCGaneshaGoldRoomInfo) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[1] + 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 SCGaneshaGoldRoomInfo.ProtoReflect.Descriptor instead. +func (*SCGaneshaGoldRoomInfo) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{1} +} + +func (x *SCGaneshaGoldRoomInfo) GetRoomId() int32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetGameFreeId() int32 { + if x != nil { + return x.GameFreeId + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetGameId() int32 { + if x != nil { + return x.GameId + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetRoomMode() int32 { + if x != nil { + return x.RoomMode + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +func (x *SCGaneshaGoldRoomInfo) GetNumOfGames() int32 { + if x != nil { + return x.NumOfGames + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetParamsEx() []int64 { + if x != nil { + return x.ParamsEx + } + return nil +} + +func (x *SCGaneshaGoldRoomInfo) GetSceneType() int32 { + if x != nil { + return x.SceneType + } + return 0 +} + +func (x *SCGaneshaGoldRoomInfo) GetPlayer() *GaneshaGoldPlayerData { + if x != nil { + return x.Player + } + return nil +} + +func (x *SCGaneshaGoldRoomInfo) GetPlayerInfo() string { + if x != nil { + return x.PlayerInfo + } + return "" +} + +//玩家操作 +//PACKET_GANESHAGOLD_CSGANESHAGOLDOP +type CSGaneshaGoldOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0.spin + Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号 +} + +func (x *CSGaneshaGoldOp) Reset() { + *x = CSGaneshaGoldOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CSGaneshaGoldOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CSGaneshaGoldOp) ProtoMessage() {} + +func (x *CSGaneshaGoldOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[2] + 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 CSGaneshaGoldOp.ProtoReflect.Descriptor instead. +func (*CSGaneshaGoldOp) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{2} +} + +func (x *CSGaneshaGoldOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *CSGaneshaGoldOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//玩家操作返回 +//PACKET_GANESHAGOLD_SCGANESHAGOLDOP +type SCGaneshaGoldOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 + OpRetCode int32 `protobuf:"varint,2,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //操作结果 1.金币不足 2.低于该值不能押注 + Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 +} + +func (x *SCGaneshaGoldOp) Reset() { + *x = SCGaneshaGoldOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCGaneshaGoldOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCGaneshaGoldOp) ProtoMessage() {} + +func (x *SCGaneshaGoldOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[3] + 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 SCGaneshaGoldOp.ProtoReflect.Descriptor instead. +func (*SCGaneshaGoldOp) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{3} +} + +func (x *SCGaneshaGoldOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *SCGaneshaGoldOp) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCGaneshaGoldOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//房间状态 +//PACKET_GANESHAGOLD_SCGANESHAGOLDROOMSTATE +type SCGaneshaGoldRoomState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态 + SubState int32 `protobuf:"varint,2,opt,name=SubState,proto3" json:"SubState,omitempty"` //房间当前子状态 + Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数 +} + +func (x *SCGaneshaGoldRoomState) Reset() { + *x = SCGaneshaGoldRoomState{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCGaneshaGoldRoomState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCGaneshaGoldRoomState) ProtoMessage() {} + +func (x *SCGaneshaGoldRoomState) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[4] + 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 SCGaneshaGoldRoomState.ProtoReflect.Descriptor instead. +func (*SCGaneshaGoldRoomState) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{4} +} + +func (x *SCGaneshaGoldRoomState) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCGaneshaGoldRoomState) GetSubState() int32 { + if x != nil { + return x.SubState + } + return 0 +} + +func (x *SCGaneshaGoldRoomState) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +//PACKET_GANESHAGOLD_SCGANESHAGOLDBILLED +type SCGaneshaGoldBilled struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpRetCode int32 `protobuf:"varint,1,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //0.spin成功 1.spin失败 + GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"` +} + +func (x *SCGaneshaGoldBilled) Reset() { + *x = SCGaneshaGoldBilled{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCGaneshaGoldBilled) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCGaneshaGoldBilled) ProtoMessage() {} + +func (x *SCGaneshaGoldBilled) ProtoReflect() protoreflect.Message { + mi := &file_protocol_ganeshagold_ganeshagold_proto_msgTypes[5] + 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 SCGaneshaGoldBilled.ProtoReflect.Descriptor instead. +func (*SCGaneshaGoldBilled) Descriptor() ([]byte, []int) { + return file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP(), []int{5} +} + +func (x *SCGaneshaGoldBilled) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCGaneshaGoldBilled) GetGameEndStr() string { + if x != nil { + return x.GameEndStr + } + return "" +} + +var File_protocol_ganeshagold_ganeshagold_proto protoreflect.FileDescriptor + +var file_protocol_ganeshagold_ganeshagold_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x61, 0x6e, 0x65, 0x73, + 0x68, 0x61, 0x67, 0x6f, 0x6c, 0x64, 0x2f, 0x67, 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x67, 0x6f, + 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x61, 0x6e, 0x65, 0x73, 0x68, + 0x61, 0x67, 0x6f, 0x6c, 0x64, 0x22, 0xff, 0x01, 0x0a, 0x15, 0x47, 0x61, 0x6e, 0x65, 0x73, 0x68, + 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0xe7, 0x02, 0x0a, 0x15, 0x53, 0x43, 0x47, 0x61, + 0x6e, 0x65, 0x73, 0x68, 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0x3a, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x67, + 0x6f, 0x6c, 0x64, 0x2e, 0x47, 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0x41, 0x0a, 0x0f, 0x43, 0x53, 0x47, 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x47, 0x6f, + 0x6c, 0x64, 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, 0x5f, 0x0a, 0x0f, 0x53, 0x43, 0x47, 0x61, 0x6e, 0x65, 0x73, 0x68, + 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0x62, 0x0a, 0x16, 0x53, 0x43, 0x47, 0x61, 0x6e, 0x65, 0x73, + 0x68, 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0x53, 0x0a, 0x13, 0x53, 0x43, 0x47, + 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x47, 0x6f, 0x6c, 0x64, 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, 0x8b, + 0x02, 0x0a, 0x0e, 0x47, 0x61, 0x6e, 0x65, 0x73, 0x68, 0x61, 0x47, 0x6f, 0x6c, 0x64, 0x50, 0x49, + 0x44, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4e, 0x45, + 0x53, 0x48, 0x41, 0x47, 0x4f, 0x4c, 0x44, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x2d, + 0x0a, 0x28, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, + 0x47, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x43, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, 0x4f, + 0x4c, 0x44, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xba, 0x2c, 0x12, 0x27, 0x0a, + 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, + 0x4f, 0x4c, 0x44, 0x5f, 0x43, 0x53, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, 0x4f, 0x4c, + 0x44, 0x4f, 0x50, 0x10, 0xbb, 0x2c, 0x12, 0x27, 0x0a, 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, + 0x5f, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x43, 0x47, + 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, 0x4f, 0x4c, 0x44, 0x4f, 0x50, 0x10, 0xbc, 0x2c, 0x12, + 0x2e, 0x0a, 0x29, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, + 0x41, 0x47, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x43, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, + 0x4f, 0x4c, 0x44, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0xbd, 0x2c, 0x12, + 0x2b, 0x0a, 0x26, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, + 0x41, 0x47, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x43, 0x47, 0x41, 0x4e, 0x45, 0x53, 0x48, 0x41, 0x47, + 0x4f, 0x4c, 0x44, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0xbe, 0x2c, 0x42, 0x2b, 0x5a, 0x29, + 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, 0x67, 0x61, + 0x6e, 0x65, 0x73, 0x68, 0x61, 0x67, 0x6f, 0x6c, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_protocol_ganeshagold_ganeshagold_proto_rawDescOnce sync.Once + file_protocol_ganeshagold_ganeshagold_proto_rawDescData = file_protocol_ganeshagold_ganeshagold_proto_rawDesc +) + +func file_protocol_ganeshagold_ganeshagold_proto_rawDescGZIP() []byte { + file_protocol_ganeshagold_ganeshagold_proto_rawDescOnce.Do(func() { + file_protocol_ganeshagold_ganeshagold_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_ganeshagold_ganeshagold_proto_rawDescData) + }) + return file_protocol_ganeshagold_ganeshagold_proto_rawDescData +} + +var file_protocol_ganeshagold_ganeshagold_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_protocol_ganeshagold_ganeshagold_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_protocol_ganeshagold_ganeshagold_proto_goTypes = []interface{}{ + (GaneshaGoldPID)(0), // 0: ganeshagold.GaneshaGoldPID + (*GaneshaGoldPlayerData)(nil), // 1: ganeshagold.GaneshaGoldPlayerData + (*SCGaneshaGoldRoomInfo)(nil), // 2: ganeshagold.SCGaneshaGoldRoomInfo + (*CSGaneshaGoldOp)(nil), // 3: ganeshagold.CSGaneshaGoldOp + (*SCGaneshaGoldOp)(nil), // 4: ganeshagold.SCGaneshaGoldOp + (*SCGaneshaGoldRoomState)(nil), // 5: ganeshagold.SCGaneshaGoldRoomState + (*SCGaneshaGoldBilled)(nil), // 6: ganeshagold.SCGaneshaGoldBilled +} +var file_protocol_ganeshagold_ganeshagold_proto_depIdxs = []int32{ + 1, // 0: ganeshagold.SCGaneshaGoldRoomInfo.Player:type_name -> ganeshagold.GaneshaGoldPlayerData + 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 + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_protocol_ganeshagold_ganeshagold_proto_init() } +func file_protocol_ganeshagold_ganeshagold_proto_init() { + if File_protocol_ganeshagold_ganeshagold_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GaneshaGoldPlayerData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCGaneshaGoldRoomInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSGaneshaGoldOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCGaneshaGoldOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCGaneshaGoldRoomState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_ganeshagold_ganeshagold_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCGaneshaGoldBilled); 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{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_protocol_ganeshagold_ganeshagold_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_protocol_ganeshagold_ganeshagold_proto_goTypes, + DependencyIndexes: file_protocol_ganeshagold_ganeshagold_proto_depIdxs, + EnumInfos: file_protocol_ganeshagold_ganeshagold_proto_enumTypes, + MessageInfos: file_protocol_ganeshagold_ganeshagold_proto_msgTypes, + }.Build() + File_protocol_ganeshagold_ganeshagold_proto = out.File + file_protocol_ganeshagold_ganeshagold_proto_rawDesc = nil + file_protocol_ganeshagold_ganeshagold_proto_goTypes = nil + file_protocol_ganeshagold_ganeshagold_proto_depIdxs = nil +} diff --git a/protocol/sugarrush/sugarrush.pb.go b/protocol/sugarrush/sugarrush.pb.go new file mode 100644 index 0000000..40ee155 --- /dev/null +++ b/protocol/sugarrush/sugarrush.pb.go @@ -0,0 +1,799 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1-devel +// protoc v3.19.4 +// source: protocol/sugarrush/sugarrush.proto + +package sugarrush + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//sugarrush +//龙 +type SugarRushPID int32 + +const ( + SugarRushPID_PACKET_SUGARRUSH_ZERO SugarRushPID = 0 // 弃用消息号 + SugarRushPID_PACKET_SUGARRUSH_SCSUGARRUSHROOMINFO SugarRushPID = 5700 //房间信息 + SugarRushPID_PACKET_SUGARRUSH_CSSUGARRUSHOP SugarRushPID = 5701 + SugarRushPID_PACKET_SUGARRUSH_SCSUGARRUSHOP SugarRushPID = 5702 + SugarRushPID_PACKET_SUGARRUSH_SCSUGARRUSHROOMSTATE SugarRushPID = 5703 + SugarRushPID_PACKET_SUGARRUSH_SCSUGARRUSHBILLED SugarRushPID = 5704 +) + +// Enum value maps for SugarRushPID. +var ( + SugarRushPID_name = map[int32]string{ + 0: "PACKET_SUGARRUSH_ZERO", + 5700: "PACKET_SUGARRUSH_SCSUGARRUSHROOMINFO", + 5701: "PACKET_SUGARRUSH_CSSUGARRUSHOP", + 5702: "PACKET_SUGARRUSH_SCSUGARRUSHOP", + 5703: "PACKET_SUGARRUSH_SCSUGARRUSHROOMSTATE", + 5704: "PACKET_SUGARRUSH_SCSUGARRUSHBILLED", + } + SugarRushPID_value = map[string]int32{ + "PACKET_SUGARRUSH_ZERO": 0, + "PACKET_SUGARRUSH_SCSUGARRUSHROOMINFO": 5700, + "PACKET_SUGARRUSH_CSSUGARRUSHOP": 5701, + "PACKET_SUGARRUSH_SCSUGARRUSHOP": 5702, + "PACKET_SUGARRUSH_SCSUGARRUSHROOMSTATE": 5703, + "PACKET_SUGARRUSH_SCSUGARRUSHBILLED": 5704, + } +) + +func (x SugarRushPID) Enum() *SugarRushPID { + p := new(SugarRushPID) + *p = x + return p +} + +func (x SugarRushPID) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SugarRushPID) Descriptor() protoreflect.EnumDescriptor { + return file_protocol_sugarrush_sugarrush_proto_enumTypes[0].Descriptor() +} + +func (SugarRushPID) Type() protoreflect.EnumType { + return &file_protocol_sugarrush_sugarrush_proto_enumTypes[0] +} + +func (x SugarRushPID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SugarRushPID.Descriptor instead. +func (SugarRushPID) EnumDescriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{0} +} + +type SugarRushPlayerData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` //名字 + SnId int32 `protobuf:"varint,2,opt,name=SnId,proto3" json:"SnId,omitempty"` //账号 + Head int32 `protobuf:"varint,3,opt,name=Head,proto3" json:"Head,omitempty"` //头像 + Sex int32 `protobuf:"varint,4,opt,name=Sex,proto3" json:"Sex,omitempty"` //性别 + Coin int64 `protobuf:"varint,5,opt,name=Coin,proto3" json:"Coin,omitempty"` //金币 + Pos int32 `protobuf:"varint,6,opt,name=Pos,proto3" json:"Pos,omitempty"` //座位位置 + Flag int32 `protobuf:"varint,7,opt,name=Flag,proto3" json:"Flag,omitempty"` //二进制标记 + Params []string `protobuf:"bytes,8,rep,name=Params,proto3" json:"Params,omitempty"` //其他数据 如:ip 等 + City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市 + HeadOutLine int32 `protobuf:"varint,10,opt,name=HeadOutLine,proto3" json:"HeadOutLine,omitempty"` //头像框 + VIP int32 `protobuf:"varint,11,opt,name=VIP,proto3" json:"VIP,omitempty"` +} + +func (x *SugarRushPlayerData) Reset() { + *x = SugarRushPlayerData{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SugarRushPlayerData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SugarRushPlayerData) ProtoMessage() {} + +func (x *SugarRushPlayerData) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[0] + 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 SugarRushPlayerData.ProtoReflect.Descriptor instead. +func (*SugarRushPlayerData) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{0} +} + +func (x *SugarRushPlayerData) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SugarRushPlayerData) GetSnId() int32 { + if x != nil { + return x.SnId + } + return 0 +} + +func (x *SugarRushPlayerData) GetHead() int32 { + if x != nil { + return x.Head + } + return 0 +} + +func (x *SugarRushPlayerData) GetSex() int32 { + if x != nil { + return x.Sex + } + return 0 +} + +func (x *SugarRushPlayerData) GetCoin() int64 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *SugarRushPlayerData) GetPos() int32 { + if x != nil { + return x.Pos + } + return 0 +} + +func (x *SugarRushPlayerData) GetFlag() int32 { + if x != nil { + return x.Flag + } + return 0 +} + +func (x *SugarRushPlayerData) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + +func (x *SugarRushPlayerData) GetCity() string { + if x != nil { + return x.City + } + return "" +} + +func (x *SugarRushPlayerData) GetHeadOutLine() int32 { + if x != nil { + return x.HeadOutLine + } + return 0 +} + +func (x *SugarRushPlayerData) GetVIP() int32 { + if x != nil { + return x.VIP + } + return 0 +} + +//房间信息 +//PACKET_SUGARRUSH_SCSUGARRUSHROOMINFO +type SCSugarRushRoomInfo 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 *SugarRushPlayerData `protobuf:"bytes,10,opt,name=Player,proto3" json:"Player,omitempty"` //房间内的玩家信息 + PlayerInfo string `protobuf:"bytes,11,opt,name=PlayerInfo,proto3" json:"PlayerInfo,omitempty"` +} + +func (x *SCSugarRushRoomInfo) Reset() { + *x = SCSugarRushRoomInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCSugarRushRoomInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCSugarRushRoomInfo) ProtoMessage() {} + +func (x *SCSugarRushRoomInfo) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[1] + 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 SCSugarRushRoomInfo.ProtoReflect.Descriptor instead. +func (*SCSugarRushRoomInfo) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{1} +} + +func (x *SCSugarRushRoomInfo) GetRoomId() int32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetGameFreeId() int32 { + if x != nil { + return x.GameFreeId + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetGameId() int32 { + if x != nil { + return x.GameId + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetRoomMode() int32 { + if x != nil { + return x.RoomMode + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +func (x *SCSugarRushRoomInfo) GetNumOfGames() int32 { + if x != nil { + return x.NumOfGames + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetParamsEx() []int64 { + if x != nil { + return x.ParamsEx + } + return nil +} + +func (x *SCSugarRushRoomInfo) GetSceneType() int32 { + if x != nil { + return x.SceneType + } + return 0 +} + +func (x *SCSugarRushRoomInfo) GetPlayer() *SugarRushPlayerData { + if x != nil { + return x.Player + } + return nil +} + +func (x *SCSugarRushRoomInfo) GetPlayerInfo() string { + if x != nil { + return x.PlayerInfo + } + return "" +} + +//玩家操作 +//PACKET_SUGARRUSH_CSSUGARRUSHOP +type CSSugarRushOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 0.spin + Params []int64 `protobuf:"varint,2,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 下注索引编号 +} + +func (x *CSSugarRushOp) Reset() { + *x = CSSugarRushOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CSSugarRushOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CSSugarRushOp) ProtoMessage() {} + +func (x *CSSugarRushOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[2] + 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 CSSugarRushOp.ProtoReflect.Descriptor instead. +func (*CSSugarRushOp) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{2} +} + +func (x *CSSugarRushOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *CSSugarRushOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//玩家操作返回 +//PACKET_SUGARRUSH_SCSUGARRUSHOP +type SCSugarRushOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpCode int32 `protobuf:"varint,1,opt,name=OpCode,proto3" json:"OpCode,omitempty"` //操作码 + OpRetCode int32 `protobuf:"varint,2,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //操作结果 1.金币不足 2.低于该值不能押注 + Params []int64 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //操作参数 +} + +func (x *SCSugarRushOp) Reset() { + *x = SCSugarRushOp{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCSugarRushOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCSugarRushOp) ProtoMessage() {} + +func (x *SCSugarRushOp) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[3] + 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 SCSugarRushOp.ProtoReflect.Descriptor instead. +func (*SCSugarRushOp) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{3} +} + +func (x *SCSugarRushOp) GetOpCode() int32 { + if x != nil { + return x.OpCode + } + return 0 +} + +func (x *SCSugarRushOp) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCSugarRushOp) GetParams() []int64 { + if x != nil { + return x.Params + } + return nil +} + +//房间状态 +//PACKET_SUGARRUSH_SCSUGARRUSHROOMSTATE +type SCSugarRushRoomState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State int32 `protobuf:"varint,1,opt,name=State,proto3" json:"State,omitempty"` //房间当前状态 + SubState int32 `protobuf:"varint,2,opt,name=SubState,proto3" json:"SubState,omitempty"` //房间当前子状态 + Params []int32 `protobuf:"varint,3,rep,packed,name=Params,proto3" json:"Params,omitempty"` //状态参数 +} + +func (x *SCSugarRushRoomState) Reset() { + *x = SCSugarRushRoomState{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCSugarRushRoomState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCSugarRushRoomState) ProtoMessage() {} + +func (x *SCSugarRushRoomState) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[4] + 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 SCSugarRushRoomState.ProtoReflect.Descriptor instead. +func (*SCSugarRushRoomState) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{4} +} + +func (x *SCSugarRushRoomState) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *SCSugarRushRoomState) GetSubState() int32 { + if x != nil { + return x.SubState + } + return 0 +} + +func (x *SCSugarRushRoomState) GetParams() []int32 { + if x != nil { + return x.Params + } + return nil +} + +//PACKET_SUGARRUSH_SCSUGARRUSHBILLED +type SCSugarRushBilled struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpRetCode int32 `protobuf:"varint,1,opt,name=OpRetCode,proto3" json:"OpRetCode,omitempty"` //0.spin成功 1.spin失败 + GameEndStr string `protobuf:"bytes,2,opt,name=GameEndStr,proto3" json:"GameEndStr,omitempty"` +} + +func (x *SCSugarRushBilled) Reset() { + *x = SCSugarRushBilled{} + if protoimpl.UnsafeEnabled { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SCSugarRushBilled) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SCSugarRushBilled) ProtoMessage() {} + +func (x *SCSugarRushBilled) ProtoReflect() protoreflect.Message { + mi := &file_protocol_sugarrush_sugarrush_proto_msgTypes[5] + 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 SCSugarRushBilled.ProtoReflect.Descriptor instead. +func (*SCSugarRushBilled) Descriptor() ([]byte, []int) { + return file_protocol_sugarrush_sugarrush_proto_rawDescGZIP(), []int{5} +} + +func (x *SCSugarRushBilled) GetOpRetCode() int32 { + if x != nil { + return x.OpRetCode + } + return 0 +} + +func (x *SCSugarRushBilled) GetGameEndStr() string { + if x != nil { + return x.GameEndStr + } + return "" +} + +var File_protocol_sugarrush_sugarrush_proto protoreflect.FileDescriptor + +var file_protocol_sugarrush_sugarrush_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x75, 0x67, 0x61, 0x72, + 0x72, 0x75, 0x73, 0x68, 0x2f, 0x73, 0x75, 0x67, 0x61, 0x72, 0x72, 0x75, 0x73, 0x68, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x75, 0x67, 0x61, 0x72, 0x72, 0x75, 0x73, 0x68, 0x22, + 0xfd, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, 0x75, 0x73, 0x68, 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, + 0xe1, 0x02, 0x0a, 0x13, 0x53, 0x43, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, 0x75, 0x73, 0x68, 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, 0x36, 0x0a, 0x06, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x75, + 0x67, 0x61, 0x72, 0x72, 0x75, 0x73, 0x68, 0x2e, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, 0x75, 0x73, + 0x68, 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, 0x3f, 0x0a, 0x0d, 0x43, 0x53, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, 0x75, + 0x73, 0x68, 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, 0x5d, 0x0a, 0x0d, 0x53, 0x43, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, + 0x75, 0x73, 0x68, 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, 0x60, 0x0a, 0x14, 0x53, 0x43, 0x53, 0x75, 0x67, 0x61, 0x72, 0x52, 0x75, + 0x73, 0x68, 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, 0x51, 0x0a, 0x11, 0x53, 0x43, 0x53, 0x75, 0x67, 0x61, 0x72, + 0x52, 0x75, 0x73, 0x68, 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, 0xf3, 0x01, 0x0a, 0x0c, 0x53, 0x75, 0x67, + 0x61, 0x72, 0x52, 0x75, 0x73, 0x68, 0x50, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41, 0x43, + 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x5a, 0x45, + 0x52, 0x4f, 0x10, 0x00, 0x12, 0x29, 0x0a, 0x24, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, + 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x53, 0x43, 0x53, 0x55, 0x47, 0x41, 0x52, + 0x52, 0x55, 0x53, 0x48, 0x52, 0x4f, 0x4f, 0x4d, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xc4, 0x2c, 0x12, + 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, + 0x55, 0x53, 0x48, 0x5f, 0x43, 0x53, 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x4f, + 0x50, 0x10, 0xc5, 0x2c, 0x12, 0x23, 0x0a, 0x1e, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, + 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x53, 0x43, 0x53, 0x55, 0x47, 0x41, 0x52, + 0x52, 0x55, 0x53, 0x48, 0x4f, 0x50, 0x10, 0xc6, 0x2c, 0x12, 0x2a, 0x0a, 0x25, 0x50, 0x41, 0x43, + 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x53, 0x43, + 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x52, 0x4f, 0x4f, 0x4d, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x10, 0xc7, 0x2c, 0x12, 0x27, 0x0a, 0x22, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, + 0x53, 0x55, 0x47, 0x41, 0x52, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x53, 0x43, 0x53, 0x55, 0x47, 0x41, + 0x52, 0x52, 0x55, 0x53, 0x48, 0x42, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0xc8, 0x2c, 0x42, 0x29, + 0x5a, 0x27, 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, + 0x73, 0x75, 0x67, 0x61, 0x72, 0x72, 0x75, 0x73, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_protocol_sugarrush_sugarrush_proto_rawDescOnce sync.Once + file_protocol_sugarrush_sugarrush_proto_rawDescData = file_protocol_sugarrush_sugarrush_proto_rawDesc +) + +func file_protocol_sugarrush_sugarrush_proto_rawDescGZIP() []byte { + file_protocol_sugarrush_sugarrush_proto_rawDescOnce.Do(func() { + file_protocol_sugarrush_sugarrush_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_sugarrush_sugarrush_proto_rawDescData) + }) + return file_protocol_sugarrush_sugarrush_proto_rawDescData +} + +var file_protocol_sugarrush_sugarrush_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_protocol_sugarrush_sugarrush_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_protocol_sugarrush_sugarrush_proto_goTypes = []interface{}{ + (SugarRushPID)(0), // 0: sugarrush.SugarRushPID + (*SugarRushPlayerData)(nil), // 1: sugarrush.SugarRushPlayerData + (*SCSugarRushRoomInfo)(nil), // 2: sugarrush.SCSugarRushRoomInfo + (*CSSugarRushOp)(nil), // 3: sugarrush.CSSugarRushOp + (*SCSugarRushOp)(nil), // 4: sugarrush.SCSugarRushOp + (*SCSugarRushRoomState)(nil), // 5: sugarrush.SCSugarRushRoomState + (*SCSugarRushBilled)(nil), // 6: sugarrush.SCSugarRushBilled +} +var file_protocol_sugarrush_sugarrush_proto_depIdxs = []int32{ + 1, // 0: sugarrush.SCSugarRushRoomInfo.Player:type_name -> sugarrush.SugarRushPlayerData + 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 + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_protocol_sugarrush_sugarrush_proto_init() } +func file_protocol_sugarrush_sugarrush_proto_init() { + if File_protocol_sugarrush_sugarrush_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_protocol_sugarrush_sugarrush_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SugarRushPlayerData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_sugarrush_sugarrush_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCSugarRushRoomInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_sugarrush_sugarrush_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSSugarRushOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_sugarrush_sugarrush_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCSugarRushOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_sugarrush_sugarrush_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCSugarRushRoomState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_protocol_sugarrush_sugarrush_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCSugarRushBilled); 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{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_protocol_sugarrush_sugarrush_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_protocol_sugarrush_sugarrush_proto_goTypes, + DependencyIndexes: file_protocol_sugarrush_sugarrush_proto_depIdxs, + EnumInfos: file_protocol_sugarrush_sugarrush_proto_enumTypes, + MessageInfos: file_protocol_sugarrush_sugarrush_proto_msgTypes, + }.Build() + File_protocol_sugarrush_sugarrush_proto = out.File + file_protocol_sugarrush_sugarrush_proto_rawDesc = nil + file_protocol_sugarrush_sugarrush_proto_goTypes = nil + file_protocol_sugarrush_sugarrush_proto_depIdxs = nil +}