|
|
@ -21,6 +21,62 @@ const (
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 强制游戏结束
|
|
|
|
|
|
|
|
type GameOver struct {
|
|
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
|
|
|
|
Team int32 `protobuf:"varint,2,opt,name=team,proto3" json:"team,omitempty"` // 哪边赢?
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GameOver) Reset() {
|
|
|
|
|
|
|
|
*x = GameOver{}
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[0]
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GameOver) String() string {
|
|
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*GameOver) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GameOver) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
mi := &file_game_zhgmang_command_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 GameOver.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
|
|
func (*GameOver) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GameOver) GetUser() *common.PbUser {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.User
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *GameOver) GetTeam() int32 {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Team
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 加入游戏(指令j) push -> game.join
|
|
|
|
// 加入游戏(指令j) push -> game.join
|
|
|
|
type JoinGame struct {
|
|
|
|
type JoinGame struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState
|
|
|
@ -34,7 +90,7 @@ type JoinGame struct {
|
|
|
|
func (x *JoinGame) Reset() {
|
|
|
|
func (x *JoinGame) Reset() {
|
|
|
|
*x = JoinGame{}
|
|
|
|
*x = JoinGame{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[0]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -47,7 +103,7 @@ func (x *JoinGame) String() string {
|
|
|
|
func (*JoinGame) ProtoMessage() {}
|
|
|
|
func (*JoinGame) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *JoinGame) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[0]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -60,7 +116,7 @@ func (x *JoinGame) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use JoinGame.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use JoinGame.ProtoReflect.Descriptor instead.
|
|
|
|
func (*JoinGame) Descriptor() ([]byte, []int) {
|
|
|
|
func (*JoinGame) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{0}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *JoinGame) GetUser() *common.PbUser {
|
|
|
|
func (x *JoinGame) GetUser() *common.PbUser {
|
|
|
@ -90,7 +146,7 @@ type AddUnit struct {
|
|
|
|
func (x *AddUnit) Reset() {
|
|
|
|
func (x *AddUnit) Reset() {
|
|
|
|
*x = AddUnit{}
|
|
|
|
*x = AddUnit{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[1]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -103,7 +159,7 @@ func (x *AddUnit) String() string {
|
|
|
|
func (*AddUnit) ProtoMessage() {}
|
|
|
|
func (*AddUnit) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddUnit) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *AddUnit) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[1]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -116,7 +172,7 @@ func (x *AddUnit) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddUnit.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use AddUnit.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AddUnit) Descriptor() ([]byte, []int) {
|
|
|
|
func (*AddUnit) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{1}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *AddUnit) GetUser() *common.PbUser {
|
|
|
|
func (x *AddUnit) GetUser() *common.PbUser {
|
|
|
@ -145,7 +201,7 @@ type LevelUp struct {
|
|
|
|
func (x *LevelUp) Reset() {
|
|
|
|
func (x *LevelUp) Reset() {
|
|
|
|
*x = LevelUp{}
|
|
|
|
*x = LevelUp{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[2]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -158,7 +214,7 @@ func (x *LevelUp) String() string {
|
|
|
|
func (*LevelUp) ProtoMessage() {}
|
|
|
|
func (*LevelUp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LevelUp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *LevelUp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[2]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -171,7 +227,7 @@ func (x *LevelUp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use LevelUp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use LevelUp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LevelUp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*LevelUp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{2}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LevelUp) GetUser() *common.PbUser {
|
|
|
|
func (x *LevelUp) GetUser() *common.PbUser {
|
|
|
@ -194,7 +250,7 @@ type SpeedUp struct {
|
|
|
|
func (x *SpeedUp) Reset() {
|
|
|
|
func (x *SpeedUp) Reset() {
|
|
|
|
*x = SpeedUp{}
|
|
|
|
*x = SpeedUp{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[3]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -207,7 +263,7 @@ func (x *SpeedUp) String() string {
|
|
|
|
func (*SpeedUp) ProtoMessage() {}
|
|
|
|
func (*SpeedUp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SpeedUp) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *SpeedUp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[3]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -220,7 +276,7 @@ func (x *SpeedUp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SpeedUp.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use SpeedUp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SpeedUp) Descriptor() ([]byte, []int) {
|
|
|
|
func (*SpeedUp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{3}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SpeedUp) GetUser() *common.PbUser {
|
|
|
|
func (x *SpeedUp) GetUser() *common.PbUser {
|
|
|
@ -249,7 +305,7 @@ type ClearScreen struct {
|
|
|
|
func (x *ClearScreen) Reset() {
|
|
|
|
func (x *ClearScreen) Reset() {
|
|
|
|
*x = ClearScreen{}
|
|
|
|
*x = ClearScreen{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[4]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -262,7 +318,7 @@ func (x *ClearScreen) String() string {
|
|
|
|
func (*ClearScreen) ProtoMessage() {}
|
|
|
|
func (*ClearScreen) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ClearScreen) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *ClearScreen) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[4]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -275,7 +331,7 @@ func (x *ClearScreen) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ClearScreen.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use ClearScreen.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ClearScreen) Descriptor() ([]byte, []int) {
|
|
|
|
func (*ClearScreen) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{4}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ClearScreen) GetUser() *common.PbUser {
|
|
|
|
func (x *ClearScreen) GetUser() *common.PbUser {
|
|
|
@ -297,7 +353,7 @@ type Gou struct {
|
|
|
|
func (x *Gou) Reset() {
|
|
|
|
func (x *Gou) Reset() {
|
|
|
|
*x = Gou{}
|
|
|
|
*x = Gou{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[5]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -310,7 +366,7 @@ func (x *Gou) String() string {
|
|
|
|
func (*Gou) ProtoMessage() {}
|
|
|
|
func (*Gou) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Gou) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *Gou) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[5]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -323,7 +379,7 @@ func (x *Gou) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Gou.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use Gou.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Gou) Descriptor() ([]byte, []int) {
|
|
|
|
func (*Gou) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{5}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Gou) GetUser() *common.PbUser {
|
|
|
|
func (x *Gou) GetUser() *common.PbUser {
|
|
|
@ -345,7 +401,7 @@ type Rua struct {
|
|
|
|
func (x *Rua) Reset() {
|
|
|
|
func (x *Rua) Reset() {
|
|
|
|
*x = Rua{}
|
|
|
|
*x = Rua{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[6]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -358,7 +414,7 @@ func (x *Rua) String() string {
|
|
|
|
func (*Rua) ProtoMessage() {}
|
|
|
|
func (*Rua) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Rua) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *Rua) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[6]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -371,7 +427,7 @@ func (x *Rua) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Rua.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use Rua.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Rua) Descriptor() ([]byte, []int) {
|
|
|
|
func (*Rua) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{6}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Rua) GetUser() *common.PbUser {
|
|
|
|
func (x *Rua) GetUser() *common.PbUser {
|
|
|
@ -393,7 +449,7 @@ type RandomAddon struct {
|
|
|
|
func (x *RandomAddon) Reset() {
|
|
|
|
func (x *RandomAddon) Reset() {
|
|
|
|
*x = RandomAddon{}
|
|
|
|
*x = RandomAddon{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[7]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -406,7 +462,7 @@ func (x *RandomAddon) String() string {
|
|
|
|
func (*RandomAddon) ProtoMessage() {}
|
|
|
|
func (*RandomAddon) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RandomAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *RandomAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[7]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[8]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -419,7 +475,7 @@ func (x *RandomAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RandomAddon.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use RandomAddon.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RandomAddon) Descriptor() ([]byte, []int) {
|
|
|
|
func (*RandomAddon) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{7}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RandomAddon) GetUser() *common.PbUser {
|
|
|
|
func (x *RandomAddon) GetUser() *common.PbUser {
|
|
|
@ -441,7 +497,7 @@ type RedPackAddon struct {
|
|
|
|
func (x *RedPackAddon) Reset() {
|
|
|
|
func (x *RedPackAddon) Reset() {
|
|
|
|
*x = RedPackAddon{}
|
|
|
|
*x = RedPackAddon{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[8]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -454,7 +510,7 @@ func (x *RedPackAddon) String() string {
|
|
|
|
func (*RedPackAddon) ProtoMessage() {}
|
|
|
|
func (*RedPackAddon) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RedPackAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *RedPackAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[8]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[9]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -467,7 +523,7 @@ func (x *RedPackAddon) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RedPackAddon.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use RedPackAddon.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RedPackAddon) Descriptor() ([]byte, []int) {
|
|
|
|
func (*RedPackAddon) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{8}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RedPackAddon) GetUser() *common.PbUser {
|
|
|
|
func (x *RedPackAddon) GetUser() *common.PbUser {
|
|
|
@ -489,7 +545,7 @@ type Wai struct {
|
|
|
|
func (x *Wai) Reset() {
|
|
|
|
func (x *Wai) Reset() {
|
|
|
|
*x = Wai{}
|
|
|
|
*x = Wai{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[9]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -502,7 +558,7 @@ func (x *Wai) String() string {
|
|
|
|
func (*Wai) ProtoMessage() {}
|
|
|
|
func (*Wai) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Wai) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *Wai) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[9]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[10]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -515,7 +571,7 @@ func (x *Wai) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Wai.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use Wai.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Wai) Descriptor() ([]byte, []int) {
|
|
|
|
func (*Wai) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{9}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Wai) GetUser() *common.PbUser {
|
|
|
|
func (x *Wai) GetUser() *common.PbUser {
|
|
|
@ -537,7 +593,7 @@ type UserQueryMsg struct {
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
func (x *UserQueryMsg) Reset() {
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
*x = UserQueryMsg{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[10]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -550,7 +606,7 @@ func (x *UserQueryMsg) String() string {
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
func (*UserQueryMsg) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[10]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[11]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -563,7 +619,7 @@ func (x *UserQueryMsg) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use UserQueryMsg.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
func (*UserQueryMsg) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{10}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg) GetUser() *common.PbUser {
|
|
|
|
func (x *UserQueryMsg) GetUser() *common.PbUser {
|
|
|
@ -587,7 +643,7 @@ type UserQueryMsg_RankItem struct {
|
|
|
|
func (x *UserQueryMsg_RankItem) Reset() {
|
|
|
|
func (x *UserQueryMsg_RankItem) Reset() {
|
|
|
|
*x = UserQueryMsg_RankItem{}
|
|
|
|
*x = UserQueryMsg_RankItem{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[11]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -600,7 +656,7 @@ func (x *UserQueryMsg_RankItem) String() string {
|
|
|
|
func (*UserQueryMsg_RankItem) ProtoMessage() {}
|
|
|
|
func (*UserQueryMsg_RankItem) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[11]
|
|
|
|
mi := &file_game_zhgmang_command_proto_msgTypes[12]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -613,7 +669,7 @@ func (x *UserQueryMsg_RankItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UserQueryMsg_RankItem.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use UserQueryMsg_RankItem.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UserQueryMsg_RankItem) Descriptor() ([]byte, []int) {
|
|
|
|
func (*UserQueryMsg_RankItem) Descriptor() ([]byte, []int) {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{10, 0}
|
|
|
|
return file_game_zhgmang_command_proto_rawDescGZIP(), []int{11, 0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRankType() int32 {
|
|
|
|
func (x *UserQueryMsg_RankItem) GetRankType() int32 {
|
|
|
@ -644,55 +700,59 @@ var file_game_zhgmang_command_proto_rawDesc = []byte{
|
|
|
|
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x70, 0x62,
|
|
|
|
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x70, 0x62,
|
|
|
|
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x6d, 0x61, 0x6e, 0x67, 0x1a, 0x13, 0x63,
|
|
|
|
0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x6d, 0x61, 0x6e, 0x67, 0x1a, 0x13, 0x63,
|
|
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x22, 0x57, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x25,
|
|
|
|
0x74, 0x6f, 0x22, 0x45, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x12, 0x25,
|
|
|
|
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70,
|
|
|
|
|
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
|
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74,
|
|
|
|
|
|
|
|
0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6e, 0x6f,
|
|
|
|
|
|
|
|
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x44, 0x0a, 0x07, 0x41,
|
|
|
|
|
|
|
|
0x64, 0x64, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01,
|
|
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
|
|
|
|
|
0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a,
|
|
|
|
|
|
|
|
0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x61, 0x72,
|
|
|
|
|
|
|
|
0x64, 0x22, 0x30, 0x0a, 0x07, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
|
|
|
|
0x73, 0x65, 0x72, 0x22, 0x48, 0x0a, 0x07, 0x53, 0x70, 0x65, 0x65, 0x64, 0x55, 0x70, 0x12, 0x25,
|
|
|
|
|
|
|
|
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70,
|
|
|
|
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18,
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x22, 0x34, 0x0a,
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x57, 0x0a, 0x08, 0x4a, 0x6f, 0x69,
|
|
|
|
0x0b, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
0x6e, 0x47, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
|
|
|
|
|
0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20,
|
|
|
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x0d, 0x6e, 0x6f, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76,
|
|
|
|
|
|
|
|
0x65, 0x6c, 0x22, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x25, 0x0a,
|
|
|
|
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62,
|
|
|
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
|
|
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
|
|
|
0x28, 0x05, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x22, 0x30, 0x0a, 0x07, 0x4c, 0x65, 0x76, 0x65,
|
|
|
|
|
|
|
|
0x6c, 0x55, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62,
|
|
|
|
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x48, 0x0a, 0x07, 0x53, 0x70,
|
|
|
|
|
|
|
|
0x65, 0x65, 0x64, 0x55, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
|
|
|
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65,
|
|
|
|
|
|
|
|
0x63, 0x6f, 0x6e, 0x64, 0x22, 0x34, 0x0a, 0x0b, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x53, 0x63, 0x72,
|
|
|
|
|
|
|
|
0x65, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62,
|
|
|
|
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x03, 0x47, 0x6f,
|
|
|
|
|
|
|
|
0x75, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
|
|
|
0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73,
|
|
|
|
|
|
|
|
0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x03, 0x52, 0x75, 0x61, 0x12,
|
|
|
|
|
|
|
|
0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
|
|
|
|
|
|
0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
|
|
|
0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x34, 0x0a, 0x0b, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
|
|
|
|
|
|
|
|
0x41, 0x64, 0x64, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0c,
|
|
|
|
|
|
|
|
0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x41, 0x64, 0x64, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04,
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
|
|
|
0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x03, 0x47, 0x6f, 0x75, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x03, 0x57, 0x61, 0x69, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
|
|
|
0x72, 0x22, 0x2c, 0x0a, 0x03, 0x52, 0x75, 0x61, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
0x72, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
|
0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,
|
|
|
|
0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55,
|
|
|
|
0x34, 0x0a, 0x0b, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x6f, 0x6e, 0x12, 0x25,
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x50, 0x0a, 0x08, 0x52, 0x61, 0x6e,
|
|
|
|
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70,
|
|
|
|
0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70,
|
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70,
|
|
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
|
|
|
|
0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x41, 0x64, 0x64, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
|
|
0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x42, 0x28, 0x5a, 0x26, 0x64,
|
|
|
|
0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x03,
|
|
|
|
0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
|
|
|
|
0x57, 0x61, 0x69, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x7a, 0x68, 0x67, 0x6d, 0x61, 0x6e, 0x67, 0x3b, 0x70, 0x62, 0x47, 0x61, 0x6d, 0x65, 0x5a, 0x68,
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62,
|
|
|
|
0x67, 0x4d, 0x61, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x55,
|
|
|
|
|
|
|
|
0x73, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x75,
|
|
|
|
|
|
|
|
0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x63,
|
|
|
|
|
|
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x62, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
|
|
|
|
|
|
|
|
0x65, 0x72, 0x1a, 0x50, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a,
|
|
|
|
|
|
|
|
0x0a, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
|
|
|
|
0x52, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63,
|
|
|
|
|
|
|
|
0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65,
|
|
|
|
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
|
|
|
|
|
|
0x72, 0x61, 0x6e, 0x6b, 0x42, 0x28, 0x5a, 0x26, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65,
|
|
|
|
|
|
|
|
0x2f, 0x70, 0x62, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x6d, 0x61, 0x6e, 0x67,
|
|
|
|
|
|
|
|
0x3b, 0x70, 0x62, 0x47, 0x61, 0x6d, 0x65, 0x5a, 0x68, 0x67, 0x4d, 0x61, 0x6e, 0x67, 0x62, 0x06,
|
|
|
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
@ -707,39 +767,41 @@ func file_game_zhgmang_command_proto_rawDescGZIP() []byte {
|
|
|
|
return file_game_zhgmang_command_proto_rawDescData
|
|
|
|
return file_game_zhgmang_command_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_game_zhgmang_command_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
|
var file_game_zhgmang_command_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
var file_game_zhgmang_command_proto_goTypes = []interface{}{
|
|
|
|
var file_game_zhgmang_command_proto_goTypes = []interface{}{
|
|
|
|
(*JoinGame)(nil), // 0: pb.game.zhgmang.JoinGame
|
|
|
|
(*GameOver)(nil), // 0: pb.game.zhgmang.GameOver
|
|
|
|
(*AddUnit)(nil), // 1: pb.game.zhgmang.AddUnit
|
|
|
|
(*JoinGame)(nil), // 1: pb.game.zhgmang.JoinGame
|
|
|
|
(*LevelUp)(nil), // 2: pb.game.zhgmang.LevelUp
|
|
|
|
(*AddUnit)(nil), // 2: pb.game.zhgmang.AddUnit
|
|
|
|
(*SpeedUp)(nil), // 3: pb.game.zhgmang.SpeedUp
|
|
|
|
(*LevelUp)(nil), // 3: pb.game.zhgmang.LevelUp
|
|
|
|
(*ClearScreen)(nil), // 4: pb.game.zhgmang.ClearScreen
|
|
|
|
(*SpeedUp)(nil), // 4: pb.game.zhgmang.SpeedUp
|
|
|
|
(*Gou)(nil), // 5: pb.game.zhgmang.Gou
|
|
|
|
(*ClearScreen)(nil), // 5: pb.game.zhgmang.ClearScreen
|
|
|
|
(*Rua)(nil), // 6: pb.game.zhgmang.Rua
|
|
|
|
(*Gou)(nil), // 6: pb.game.zhgmang.Gou
|
|
|
|
(*RandomAddon)(nil), // 7: pb.game.zhgmang.RandomAddon
|
|
|
|
(*Rua)(nil), // 7: pb.game.zhgmang.Rua
|
|
|
|
(*RedPackAddon)(nil), // 8: pb.game.zhgmang.RedPackAddon
|
|
|
|
(*RandomAddon)(nil), // 8: pb.game.zhgmang.RandomAddon
|
|
|
|
(*Wai)(nil), // 9: pb.game.zhgmang.Wai
|
|
|
|
(*RedPackAddon)(nil), // 9: pb.game.zhgmang.RedPackAddon
|
|
|
|
(*UserQueryMsg)(nil), // 10: pb.game.zhgmang.UserQueryMsg
|
|
|
|
(*Wai)(nil), // 10: pb.game.zhgmang.Wai
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 11: pb.game.zhgmang.UserQueryMsg.RankItem
|
|
|
|
(*UserQueryMsg)(nil), // 11: pb.game.zhgmang.UserQueryMsg
|
|
|
|
(*common.PbUser)(nil), // 12: pb.common.PbUser
|
|
|
|
(*UserQueryMsg_RankItem)(nil), // 12: pb.game.zhgmang.UserQueryMsg.RankItem
|
|
|
|
|
|
|
|
(*common.PbUser)(nil), // 13: pb.common.PbUser
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_game_zhgmang_command_proto_depIdxs = []int32{
|
|
|
|
var file_game_zhgmang_command_proto_depIdxs = []int32{
|
|
|
|
12, // 0: pb.game.zhgmang.JoinGame.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 0: pb.game.zhgmang.GameOver.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 1: pb.game.zhgmang.AddUnit.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 1: pb.game.zhgmang.JoinGame.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 2: pb.game.zhgmang.LevelUp.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 2: pb.game.zhgmang.AddUnit.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 3: pb.game.zhgmang.SpeedUp.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 3: pb.game.zhgmang.LevelUp.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 4: pb.game.zhgmang.ClearScreen.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 4: pb.game.zhgmang.SpeedUp.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 5: pb.game.zhgmang.Gou.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 5: pb.game.zhgmang.ClearScreen.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 6: pb.game.zhgmang.Rua.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 6: pb.game.zhgmang.Gou.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 7: pb.game.zhgmang.RandomAddon.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 7: pb.game.zhgmang.Rua.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 8: pb.game.zhgmang.RedPackAddon.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 8: pb.game.zhgmang.RandomAddon.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 9: pb.game.zhgmang.Wai.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 9: pb.game.zhgmang.RedPackAddon.user:type_name -> pb.common.PbUser
|
|
|
|
12, // 10: pb.game.zhgmang.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
13, // 10: pb.game.zhgmang.Wai.user:type_name -> pb.common.PbUser
|
|
|
|
11, // [11:11] is the sub-list for method output_type
|
|
|
|
13, // 11: pb.game.zhgmang.UserQueryMsg.user:type_name -> pb.common.PbUser
|
|
|
|
11, // [11:11] is the sub-list for method input_type
|
|
|
|
12, // [12:12] is the sub-list for method output_type
|
|
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
|
|
12, // [12:12] is the sub-list for method input_type
|
|
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
|
|
0, // [0:11] is the sub-list for field type_name
|
|
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
|
|
|
|
|
|
0, // [0:12] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_game_zhgmang_command_proto_init() }
|
|
|
|
func init() { file_game_zhgmang_command_proto_init() }
|
|
|
@ -749,7 +811,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*JoinGame); i {
|
|
|
|
switch v := v.(*GameOver); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -761,7 +823,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AddUnit); i {
|
|
|
|
switch v := v.(*JoinGame); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -773,7 +835,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LevelUp); i {
|
|
|
|
switch v := v.(*AddUnit); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -785,7 +847,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SpeedUp); i {
|
|
|
|
switch v := v.(*LevelUp); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -797,7 +859,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ClearScreen); i {
|
|
|
|
switch v := v.(*SpeedUp); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -809,7 +871,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Gou); i {
|
|
|
|
switch v := v.(*ClearScreen); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -821,7 +883,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Rua); i {
|
|
|
|
switch v := v.(*Gou); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -833,7 +895,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RandomAddon); i {
|
|
|
|
switch v := v.(*Rua); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -845,7 +907,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RedPackAddon); i {
|
|
|
|
switch v := v.(*RandomAddon); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -857,7 +919,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Wai); i {
|
|
|
|
switch v := v.(*RedPackAddon); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -869,7 +931,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
switch v := v.(*Wai); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -881,6 +943,18 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*UserQueryMsg); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_game_zhgmang_command_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UserQueryMsg_RankItem); i {
|
|
|
|
switch v := v.(*UserQueryMsg_RankItem); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
@ -899,7 +973,7 @@ func file_game_zhgmang_command_proto_init() {
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_game_zhgmang_command_proto_rawDesc,
|
|
|
|
RawDescriptor: file_game_zhgmang_command_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 12,
|
|
|
|
NumMessages: 13,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
},
|
|
|
|