You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

956 lines
30 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.4
// source: game/zhgzd/command.proto
package pbGameZhgzd
import (
common "dcg/game/pb/common"
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)
)
// 加入游戏 push -> game.join -> j
type JoinGame struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *JoinGame) Reset() {
*x = JoinGame{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JoinGame) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JoinGame) ProtoMessage() {}
func (x *JoinGame) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_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 JoinGame.ProtoReflect.Descriptor instead.
func (*JoinGame) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{0}
}
func (x *JoinGame) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
// 战略出兵 push -> game.unit.dispatch -> s1/s2/s3/s4
type DispatchUnit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // 0001-步兵0004-骑兵0003-弓箭手0006-法师
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // 出兵数量
}
func (x *DispatchUnit) Reset() {
*x = DispatchUnit{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DispatchUnit) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DispatchUnit) ProtoMessage() {}
func (x *DispatchUnit) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_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 DispatchUnit.ProtoReflect.Descriptor instead.
func (*DispatchUnit) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{1}
}
func (x *DispatchUnit) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *DispatchUnit) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
func (x *DispatchUnit) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DispatchUnit) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
}
// 修改当前兵种 push -> game.unit.change -> c1/c2/c3/c4
type ChangeUnit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // 0001-步兵0004-骑兵0003-弓箭手0006-法师
}
func (x *ChangeUnit) Reset() {
*x = ChangeUnit{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChangeUnit) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeUnit) ProtoMessage() {}
func (x *ChangeUnit) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_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 ChangeUnit.ProtoReflect.Descriptor instead.
func (*ChangeUnit) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{2}
}
func (x *ChangeUnit) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *ChangeUnit) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
func (x *ChangeUnit) GetId() string {
if x != nil {
return x.Id
}
return ""
}
// 暴兵(征召模式) push -> game.outbreak -> s
type Outbreak struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
}
func (x *Outbreak) Reset() {
*x = Outbreak{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Outbreak) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Outbreak) ProtoMessage() {}
func (x *Outbreak) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_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 Outbreak.ProtoReflect.Descriptor instead.
func (*Outbreak) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{3}
}
func (x *Outbreak) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *Outbreak) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
// 移动自己位置 push -> game.pos -> p0/p1/p2/p3/p4/p5
type Position struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
Position string `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` // 0-主基地1-上兵营2-中兵营3-下兵营4-上前哨战5-下前哨战
}
func (x *Position) Reset() {
*x = Position{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Position) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Position) ProtoMessage() {}
func (x *Position) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_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 Position.ProtoReflect.Descriptor instead.
func (*Position) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{4}
}
func (x *Position) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *Position) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
func (x *Position) GetPosition() string {
if x != nil {
return x.Position
}
return ""
}
// 玩家在基地时选择出兵路线 push -> game.line -> m1/m2/m3
type ChangeLine struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
Line string `protobuf:"bytes,3,opt,name=line,proto3" json:"line,omitempty"` // 1-上2-中3-下
}
func (x *ChangeLine) Reset() {
*x = ChangeLine{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChangeLine) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeLine) ProtoMessage() {}
func (x *ChangeLine) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_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 ChangeLine.ProtoReflect.Descriptor instead.
func (*ChangeLine) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{5}
}
func (x *ChangeLine) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *ChangeLine) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
func (x *ChangeLine) GetLine() string {
if x != nil {
return x.Line
}
return ""
}
// 查询位置 push -> game.where -> w
type Where struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *Where) Reset() {
*x = Where{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Where) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Where) ProtoMessage() {}
func (x *Where) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_proto_msgTypes[6]
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 Where.ProtoReflect.Descriptor instead.
func (*Where) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{6}
}
func (x *Where) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
// 玩家模式 push -> game.mode -> r1/r2/r3/r4
type PlayerMode struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
CostSp int32 `protobuf:"varint,2,opt,name=costSp,proto3" json:"costSp,omitempty"` // 消耗战略点量
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"` // 模式
}
func (x *PlayerMode) Reset() {
*x = PlayerMode{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PlayerMode) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlayerMode) ProtoMessage() {}
func (x *PlayerMode) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_proto_msgTypes[7]
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 PlayerMode.ProtoReflect.Descriptor instead.
func (*PlayerMode) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{7}
}
func (x *PlayerMode) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *PlayerMode) GetCostSp() int32 {
if x != nil {
return x.CostSp
}
return 0
}
func (x *PlayerMode) GetMode() string {
if x != nil {
return x.Mode
}
return ""
}
// 战略点调整 push -> game.sp -> 礼物效果
type StrategicPoint struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
AddLimit int32 `protobuf:"varint,2,opt,name=addLimit,proto3" json:"addLimit,omitempty"` // 提高上限N点
AddSpeed int32 `protobuf:"varint,3,opt,name=addSpeed,proto3" json:"addSpeed,omitempty"` // 提高每秒恢复速度 N(整数)
AddSpeedDuration int32 `protobuf:"varint,4,opt,name=addSpeedDuration,proto3" json:"addSpeedDuration,omitempty"` // 提高每秒恢复速度 (N秒)
}
func (x *StrategicPoint) Reset() {
*x = StrategicPoint{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StrategicPoint) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StrategicPoint) ProtoMessage() {}
func (x *StrategicPoint) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_proto_msgTypes[8]
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 StrategicPoint.ProtoReflect.Descriptor instead.
func (*StrategicPoint) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{8}
}
func (x *StrategicPoint) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *StrategicPoint) GetAddLimit() int32 {
if x != nil {
return x.AddLimit
}
return 0
}
func (x *StrategicPoint) GetAddSpeed() int32 {
if x != nil {
return x.AddSpeed
}
return 0
}
func (x *StrategicPoint) GetAddSpeedDuration() int32 {
if x != nil {
return x.AddSpeedDuration
}
return 0
}
// 支援技能 push -> game.support -> 礼物效果
type SupportSkill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // 技能ID S0001/S0002/S0003/S0005
}
func (x *SupportSkill) Reset() {
*x = SupportSkill{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SupportSkill) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SupportSkill) ProtoMessage() {}
func (x *SupportSkill) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SupportSkill.ProtoReflect.Descriptor instead.
func (*SupportSkill) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{9}
}
func (x *SupportSkill) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
func (x *SupportSkill) GetId() string {
if x != nil {
return x.Id
}
return ""
}
// 超级技能 push -> game.superSkill -> 礼物效果
type SuperSkill struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *common.PbUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *SuperSkill) Reset() {
*x = SuperSkill{}
if protoimpl.UnsafeEnabled {
mi := &file_game_zhgzd_command_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SuperSkill) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SuperSkill) ProtoMessage() {}
func (x *SuperSkill) ProtoReflect() protoreflect.Message {
mi := &file_game_zhgzd_command_proto_msgTypes[10]
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 SuperSkill.ProtoReflect.Descriptor instead.
func (*SuperSkill) Descriptor() ([]byte, []int) {
return file_game_zhgzd_command_proto_rawDescGZIP(), []int{10}
}
func (x *SuperSkill) GetUser() *common.PbUser {
if x != nil {
return x.User
}
return nil
}
var File_game_zhgzd_command_proto protoreflect.FileDescriptor
var file_game_zhgzd_command_proto_rawDesc = []byte{
0x0a, 0x18, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x7a, 0x64, 0x2f, 0x63, 0x6f, 0x6d,
0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x70, 0x62, 0x2e, 0x67,
0x61, 0x6d, 0x65, 0x2e, 0x7a, 0x68, 0x67, 0x7a, 0x64, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31,
0x0a, 0x08, 0x4a, 0x6f, 0x69, 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, 0x22, 0x73, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 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, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74,
0x53, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x70,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5b, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
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, 0x16, 0x0a, 0x06, 0x63,
0x6f, 0x73, 0x74, 0x53, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x73,
0x74, 0x53, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x02, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x08, 0x4f, 0x75, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 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, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x70,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x22, 0x65,
0x0a, 0x08, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 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, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5f, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c,
0x69, 0x6e, 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, 0x16, 0x0a, 0x06, 0x63, 0x6f,
0x73, 0x74, 0x53, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74,
0x53, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x2e, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 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, 0x22, 0x5f, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x4d, 0x6f, 0x64, 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, 0x16, 0x0a, 0x06, 0x63,
0x6f, 0x73, 0x74, 0x53, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x73,
0x74, 0x53, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x61,
0x74, 0x65, 0x67, 0x69, 0x63, 0x50, 0x6f, 0x69, 0x6e, 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, 0x1a, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x64, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x61, 0x64, 0x64, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x08, 0x61, 0x64, 0x64, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x64, 0x64,
0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
0x01, 0x28, 0x05, 0x52, 0x10, 0x61, 0x64, 0x64, 0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x75, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
0x53, 0x6b, 0x69, 0x6c, 0x6c, 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, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x0a,
0x53, 0x75, 0x70, 0x65, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 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, 0x42, 0x24, 0x5a, 0x22, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62,
0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x7a, 0x68, 0x67, 0x7a, 0x64, 0x3b, 0x70, 0x62, 0x47, 0x61,
0x6d, 0x65, 0x5a, 0x68, 0x67, 0x7a, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_game_zhgzd_command_proto_rawDescOnce sync.Once
file_game_zhgzd_command_proto_rawDescData = file_game_zhgzd_command_proto_rawDesc
)
func file_game_zhgzd_command_proto_rawDescGZIP() []byte {
file_game_zhgzd_command_proto_rawDescOnce.Do(func() {
file_game_zhgzd_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_game_zhgzd_command_proto_rawDescData)
})
return file_game_zhgzd_command_proto_rawDescData
}
var file_game_zhgzd_command_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_game_zhgzd_command_proto_goTypes = []interface{}{
(*JoinGame)(nil), // 0: pb.game.zhgzd.JoinGame
(*DispatchUnit)(nil), // 1: pb.game.zhgzd.DispatchUnit
(*ChangeUnit)(nil), // 2: pb.game.zhgzd.ChangeUnit
(*Outbreak)(nil), // 3: pb.game.zhgzd.Outbreak
(*Position)(nil), // 4: pb.game.zhgzd.Position
(*ChangeLine)(nil), // 5: pb.game.zhgzd.ChangeLine
(*Where)(nil), // 6: pb.game.zhgzd.Where
(*PlayerMode)(nil), // 7: pb.game.zhgzd.PlayerMode
(*StrategicPoint)(nil), // 8: pb.game.zhgzd.StrategicPoint
(*SupportSkill)(nil), // 9: pb.game.zhgzd.SupportSkill
(*SuperSkill)(nil), // 10: pb.game.zhgzd.SuperSkill
(*common.PbUser)(nil), // 11: pb.common.PbUser
}
var file_game_zhgzd_command_proto_depIdxs = []int32{
11, // 0: pb.game.zhgzd.JoinGame.user:type_name -> pb.common.PbUser
11, // 1: pb.game.zhgzd.DispatchUnit.user:type_name -> pb.common.PbUser
11, // 2: pb.game.zhgzd.ChangeUnit.user:type_name -> pb.common.PbUser
11, // 3: pb.game.zhgzd.Outbreak.user:type_name -> pb.common.PbUser
11, // 4: pb.game.zhgzd.Position.user:type_name -> pb.common.PbUser
11, // 5: pb.game.zhgzd.ChangeLine.user:type_name -> pb.common.PbUser
11, // 6: pb.game.zhgzd.Where.user:type_name -> pb.common.PbUser
11, // 7: pb.game.zhgzd.PlayerMode.user:type_name -> pb.common.PbUser
11, // 8: pb.game.zhgzd.StrategicPoint.user:type_name -> pb.common.PbUser
11, // 9: pb.game.zhgzd.SupportSkill.user:type_name -> pb.common.PbUser
11, // 10: pb.game.zhgzd.SuperSkill.user:type_name -> pb.common.PbUser
11, // [11:11] is the sub-list for method output_type
11, // [11:11] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
}
func init() { file_game_zhgzd_command_proto_init() }
func file_game_zhgzd_command_proto_init() {
if File_game_zhgzd_command_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_game_zhgzd_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JoinGame); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DispatchUnit); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ChangeUnit); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Outbreak); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Position); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ChangeLine); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Where); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlayerMode); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StrategicPoint); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SupportSkill); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_game_zhgzd_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SuperSkill); 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_game_zhgzd_command_proto_rawDesc,
NumEnums: 0,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_game_zhgzd_command_proto_goTypes,
DependencyIndexes: file_game_zhgzd_command_proto_depIdxs,
MessageInfos: file_game_zhgzd_command_proto_msgTypes,
}.Build()
File_game_zhgzd_command_proto = out.File
file_game_zhgzd_command_proto_rawDesc = nil
file_game_zhgzd_command_proto_goTypes = nil
file_game_zhgzd_command_proto_depIdxs = nil
}