pbprotocol

package
v0.0.0-...-6c42077 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DigimonIdentity_name = map[int32]string{
	0:  "AGUMON",
	1:  "GREYMON",
	2:  "SKULLGREYMON",
	3:  "WARGREYMON",
	4:  "GABUMON",
	5:  "GARURUMON",
	6:  "WEREGARURUMON",
	7:  "METALGARURUMON",
	8:  "BIYOMON",
	9:  "BIRDRAMON",
	10: "GARUDAMON",
	11: "TENTOMON",
	12: "KABUTERIMON",
	13: "MEGAKABUTERIMON",
	14: "PALMON",
	15: "TOGEMON",
	16: "LILLYMON",
	17: "GOMAMON",
	18: "IKKAKUMON",
	19: "ZUDOMON",
	20: "PATAMON",
	21: "ANGEMON",
	22: "MAGNAANGEMON",
	23: "SALAMON",
	24: "GATOMON",
	25: "ANGEWOMON",
}
View Source
var DigimonIdentity_value = map[string]int32{
	"AGUMON":          0,
	"GREYMON":         1,
	"SKULLGREYMON":    2,
	"WARGREYMON":      3,
	"GABUMON":         4,
	"GARURUMON":       5,
	"WEREGARURUMON":   6,
	"METALGARURUMON":  7,
	"BIYOMON":         8,
	"BIRDRAMON":       9,
	"GARUDAMON":       10,
	"TENTOMON":        11,
	"KABUTERIMON":     12,
	"MEGAKABUTERIMON": 13,
	"PALMON":          14,
	"TOGEMON":         15,
	"LILLYMON":        16,
	"GOMAMON":         17,
	"IKKAKUMON":       18,
	"ZUDOMON":         19,
	"PATAMON":         20,
	"ANGEMON":         21,
	"MAGNAANGEMON":    22,
	"SALAMON":         23,
	"GATOMON":         24,
	"ANGEWOMON":       25,
}
View Source
var LoginReq_LoginType_name = map[int32]string{
	0: "Visitor",
	1: "PassWord",
}
View Source
var LoginReq_LoginType_value = map[string]int32{
	"Visitor":  0,
	"PassWord": 1,
}
View Source
var RoomInfo_RoomType_name = map[int32]string{
	0: "TWO",
}
View Source
var RoomInfo_RoomType_value = map[string]int32{
	"TWO": 0,
}

Functions

This section is empty.

Types

type BaseAck

type BaseAck struct {
	Result               int64    `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseAck) Descriptor

func (*BaseAck) Descriptor() ([]byte, []int)

func (*BaseAck) GetMsg

func (m *BaseAck) GetMsg() string

func (*BaseAck) GetResult

func (m *BaseAck) GetResult() int64

func (*BaseAck) ProtoMessage

func (*BaseAck) ProtoMessage()

func (*BaseAck) Reset

func (m *BaseAck) Reset()

func (*BaseAck) String

func (m *BaseAck) String() string

func (*BaseAck) XXX_DiscardUnknown

func (m *BaseAck) XXX_DiscardUnknown()

func (*BaseAck) XXX_Marshal

func (m *BaseAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BaseAck) XXX_Merge

func (m *BaseAck) XXX_Merge(src proto.Message)

func (*BaseAck) XXX_Size

func (m *BaseAck) XXX_Size() int

func (*BaseAck) XXX_Unmarshal

func (m *BaseAck) XXX_Unmarshal(b []byte) error

type DigimonIdentity

type DigimonIdentity int32
const (
	DigimonIdentity_AGUMON          DigimonIdentity = 0
	DigimonIdentity_GREYMON         DigimonIdentity = 1
	DigimonIdentity_SKULLGREYMON    DigimonIdentity = 2
	DigimonIdentity_WARGREYMON      DigimonIdentity = 3
	DigimonIdentity_GABUMON         DigimonIdentity = 4
	DigimonIdentity_GARURUMON       DigimonIdentity = 5
	DigimonIdentity_WEREGARURUMON   DigimonIdentity = 6
	DigimonIdentity_METALGARURUMON  DigimonIdentity = 7
	DigimonIdentity_BIYOMON         DigimonIdentity = 8
	DigimonIdentity_BIRDRAMON       DigimonIdentity = 9
	DigimonIdentity_GARUDAMON       DigimonIdentity = 10
	DigimonIdentity_TENTOMON        DigimonIdentity = 11
	DigimonIdentity_KABUTERIMON     DigimonIdentity = 12
	DigimonIdentity_MEGAKABUTERIMON DigimonIdentity = 13
	DigimonIdentity_PALMON          DigimonIdentity = 14
	DigimonIdentity_TOGEMON         DigimonIdentity = 15
	DigimonIdentity_LILLYMON        DigimonIdentity = 16
	DigimonIdentity_GOMAMON         DigimonIdentity = 17
	DigimonIdentity_IKKAKUMON       DigimonIdentity = 18
	DigimonIdentity_ZUDOMON         DigimonIdentity = 19
	DigimonIdentity_PATAMON         DigimonIdentity = 20
	DigimonIdentity_ANGEMON         DigimonIdentity = 21
	DigimonIdentity_MAGNAANGEMON    DigimonIdentity = 22
	DigimonIdentity_SALAMON         DigimonIdentity = 23
	DigimonIdentity_GATOMON         DigimonIdentity = 24
	DigimonIdentity_ANGEWOMON       DigimonIdentity = 25
)

func (DigimonIdentity) EnumDescriptor

func (DigimonIdentity) EnumDescriptor() ([]byte, []int)

func (DigimonIdentity) String

func (x DigimonIdentity) String() string

type EndGameAck

type EndGameAck struct {
	WinnerId             uint64   `protobuf:"varint,1,opt,name=winner_id,json=winnerId,proto3" json:"winner_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EndGameAck) Descriptor

func (*EndGameAck) Descriptor() ([]byte, []int)

func (*EndGameAck) GetWinnerId

func (m *EndGameAck) GetWinnerId() uint64

func (*EndGameAck) ProtoMessage

func (*EndGameAck) ProtoMessage()

func (*EndGameAck) Reset

func (m *EndGameAck) Reset()

func (*EndGameAck) String

func (m *EndGameAck) String() string

func (*EndGameAck) XXX_DiscardUnknown

func (m *EndGameAck) XXX_DiscardUnknown()

func (*EndGameAck) XXX_Marshal

func (m *EndGameAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndGameAck) XXX_Merge

func (m *EndGameAck) XXX_Merge(src proto.Message)

func (*EndGameAck) XXX_Size

func (m *EndGameAck) XXX_Size() int

func (*EndGameAck) XXX_Unmarshal

func (m *EndGameAck) XXX_Unmarshal(b []byte) error

type Hero

type Hero struct {
	Identity             DigimonIdentity `protobuf:"varint,1,opt,name=identity,proto3,enum=pbprotocol.DigimonIdentity" json:"identity,omitempty"`
	IdentityLevel        int32           `protobuf:"varint,2,opt,name=identity_level,json=identityLevel,proto3" json:"identity_level,omitempty"`
	SkillPoint           int32           `protobuf:"varint,3,opt,name=skill_point,json=skillPoint,proto3" json:"skill_point,omitempty"`
	SkillType            int32           `protobuf:"varint,4,opt,name=skill_type,json=skillType,proto3" json:"skill_type,omitempty"`
	SkillLevel           int32           `protobuf:"varint,5,opt,name=skill_level,json=skillLevel,proto3" json:"skill_level,omitempty"`
	SkillName            string          `protobuf:"bytes,6,opt,name=skill_name,json=skillName,proto3" json:"skill_name,omitempty"`
	SkillTargets         []uint64        `protobuf:"varint,7,rep,packed,name=skill_targets,json=skillTargets,proto3" json:"skill_targets,omitempty"`
	IsEscape             bool            `protobuf:"varint,8,opt,name=is_escape,json=isEscape,proto3" json:"is_escape,omitempty"`
	IsDead               bool            `protobuf:"varint,9,opt,name=is_dead,json=isDead,proto3" json:"is_dead,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Hero) Descriptor

func (*Hero) Descriptor() ([]byte, []int)

func (*Hero) GetIdentity

func (m *Hero) GetIdentity() DigimonIdentity

func (*Hero) GetIdentityLevel

func (m *Hero) GetIdentityLevel() int32

func (*Hero) GetIsDead

func (m *Hero) GetIsDead() bool

func (*Hero) GetIsEscape

func (m *Hero) GetIsEscape() bool

func (*Hero) GetSkillLevel

func (m *Hero) GetSkillLevel() int32

func (*Hero) GetSkillName

func (m *Hero) GetSkillName() string

func (*Hero) GetSkillPoint

func (m *Hero) GetSkillPoint() int32

func (*Hero) GetSkillTargets

func (m *Hero) GetSkillTargets() []uint64

func (*Hero) GetSkillType

func (m *Hero) GetSkillType() int32

func (*Hero) ProtoMessage

func (*Hero) ProtoMessage()

func (*Hero) Reset

func (m *Hero) Reset()

func (*Hero) String

func (m *Hero) String() string

func (*Hero) XXX_DiscardUnknown

func (m *Hero) XXX_DiscardUnknown()

func (*Hero) XXX_Marshal

func (m *Hero) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hero) XXX_Merge

func (m *Hero) XXX_Merge(src proto.Message)

func (*Hero) XXX_Size

func (m *Hero) XXX_Size() int

func (*Hero) XXX_Unmarshal

func (m *Hero) XXX_Unmarshal(b []byte) error

type JoinRoomAck

type JoinRoomAck struct {
	Base                 *BaseAck  `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	RoomInfo             *RoomInfo `protobuf:"bytes,2,opt,name=room_info,json=roomInfo,proto3" json:"room_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*JoinRoomAck) Descriptor

func (*JoinRoomAck) Descriptor() ([]byte, []int)

func (*JoinRoomAck) GetBase

func (m *JoinRoomAck) GetBase() *BaseAck

func (*JoinRoomAck) GetRoomInfo

func (m *JoinRoomAck) GetRoomInfo() *RoomInfo

func (*JoinRoomAck) ProtoMessage

func (*JoinRoomAck) ProtoMessage()

func (*JoinRoomAck) Reset

func (m *JoinRoomAck) Reset()

func (*JoinRoomAck) String

func (m *JoinRoomAck) String() string

func (*JoinRoomAck) XXX_DiscardUnknown

func (m *JoinRoomAck) XXX_DiscardUnknown()

func (*JoinRoomAck) XXX_Marshal

func (m *JoinRoomAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinRoomAck) XXX_Merge

func (m *JoinRoomAck) XXX_Merge(src proto.Message)

func (*JoinRoomAck) XXX_Size

func (m *JoinRoomAck) XXX_Size() int

func (*JoinRoomAck) XXX_Unmarshal

func (m *JoinRoomAck) XXX_Unmarshal(b []byte) error

type JoinRoomReq

type JoinRoomReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

join room

func (*JoinRoomReq) Descriptor

func (*JoinRoomReq) Descriptor() ([]byte, []int)

func (*JoinRoomReq) ProtoMessage

func (*JoinRoomReq) ProtoMessage()

func (*JoinRoomReq) Reset

func (m *JoinRoomReq) Reset()

func (*JoinRoomReq) String

func (m *JoinRoomReq) String() string

func (*JoinRoomReq) XXX_DiscardUnknown

func (m *JoinRoomReq) XXX_DiscardUnknown()

func (*JoinRoomReq) XXX_Marshal

func (m *JoinRoomReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinRoomReq) XXX_Merge

func (m *JoinRoomReq) XXX_Merge(src proto.Message)

func (*JoinRoomReq) XXX_Size

func (m *JoinRoomReq) XXX_Size() int

func (*JoinRoomReq) XXX_Unmarshal

func (m *JoinRoomReq) XXX_Unmarshal(b []byte) error

type LoginAck

type LoginAck struct {
	Base                 *BaseAck    `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	PlayerInfo           *PlayerInfo `protobuf:"bytes,2,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*LoginAck) Descriptor

func (*LoginAck) Descriptor() ([]byte, []int)

func (*LoginAck) GetBase

func (m *LoginAck) GetBase() *BaseAck

func (*LoginAck) GetPlayerInfo

func (m *LoginAck) GetPlayerInfo() *PlayerInfo

func (*LoginAck) ProtoMessage

func (*LoginAck) ProtoMessage()

func (*LoginAck) Reset

func (m *LoginAck) Reset()

func (*LoginAck) String

func (m *LoginAck) String() string

func (*LoginAck) XXX_DiscardUnknown

func (m *LoginAck) XXX_DiscardUnknown()

func (*LoginAck) XXX_Marshal

func (m *LoginAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginAck) XXX_Merge

func (m *LoginAck) XXX_Merge(src proto.Message)

func (*LoginAck) XXX_Size

func (m *LoginAck) XXX_Size() int

func (*LoginAck) XXX_Unmarshal

func (m *LoginAck) XXX_Unmarshal(b []byte) error

type LoginReq

type LoginReq struct {
	Username             string             `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string             `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Type                 LoginReq_LoginType `protobuf:"varint,3,opt,name=type,proto3,enum=pbprotocol.LoginReq_LoginType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*LoginReq) Descriptor

func (*LoginReq) Descriptor() ([]byte, []int)

func (*LoginReq) GetPassword

func (m *LoginReq) GetPassword() string

func (*LoginReq) GetType

func (m *LoginReq) GetType() LoginReq_LoginType

func (*LoginReq) GetUsername

func (m *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) Reset

func (m *LoginReq) Reset()

func (*LoginReq) String

func (m *LoginReq) String() string

func (*LoginReq) XXX_DiscardUnknown

func (m *LoginReq) XXX_DiscardUnknown()

func (*LoginReq) XXX_Marshal

func (m *LoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginReq) XXX_Merge

func (m *LoginReq) XXX_Merge(src proto.Message)

func (*LoginReq) XXX_Size

func (m *LoginReq) XXX_Size() int

func (*LoginReq) XXX_Unmarshal

func (m *LoginReq) XXX_Unmarshal(b []byte) error

type LoginReq_LoginType

type LoginReq_LoginType int32
const (
	LoginReq_Visitor  LoginReq_LoginType = 0
	LoginReq_PassWord LoginReq_LoginType = 1
)

func (LoginReq_LoginType) EnumDescriptor

func (LoginReq_LoginType) EnumDescriptor() ([]byte, []int)

func (LoginReq_LoginType) String

func (x LoginReq_LoginType) String() string

type MsgPack

type MsgPack struct {
	Router               string   `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MsgPack) Descriptor

func (*MsgPack) Descriptor() ([]byte, []int)

func (*MsgPack) GetData

func (m *MsgPack) GetData() []byte

func (*MsgPack) GetRouter

func (m *MsgPack) GetRouter() string

func (*MsgPack) ProtoMessage

func (*MsgPack) ProtoMessage()

func (*MsgPack) Reset

func (m *MsgPack) Reset()

func (*MsgPack) String

func (m *MsgPack) String() string

func (*MsgPack) XXX_DiscardUnknown

func (m *MsgPack) XXX_DiscardUnknown()

func (*MsgPack) XXX_Marshal

func (m *MsgPack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPack) XXX_Merge

func (m *MsgPack) XXX_Merge(src proto.Message)

func (*MsgPack) XXX_Size

func (m *MsgPack) XXX_Size() int

func (*MsgPack) XXX_Unmarshal

func (m *MsgPack) XXX_Unmarshal(b []byte) error

type PlayerInfo

type PlayerInfo struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Nickname             string   `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	RoomId               uint64   `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	Hero                 *Hero    `protobuf:"bytes,4,opt,name=hero,proto3" json:"hero,omitempty"`
	Seat                 int32    `protobuf:"varint,5,opt,name=seat,proto3" json:"seat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerInfo) Descriptor

func (*PlayerInfo) Descriptor() ([]byte, []int)

func (*PlayerInfo) GetHero

func (m *PlayerInfo) GetHero() *Hero

func (*PlayerInfo) GetId

func (m *PlayerInfo) GetId() uint64

func (*PlayerInfo) GetNickname

func (m *PlayerInfo) GetNickname() string

func (*PlayerInfo) GetRoomId

func (m *PlayerInfo) GetRoomId() uint64

func (*PlayerInfo) GetSeat

func (m *PlayerInfo) GetSeat() int32

func (*PlayerInfo) ProtoMessage

func (*PlayerInfo) ProtoMessage()

func (*PlayerInfo) Reset

func (m *PlayerInfo) Reset()

func (*PlayerInfo) String

func (m *PlayerInfo) String() string

func (*PlayerInfo) XXX_DiscardUnknown

func (m *PlayerInfo) XXX_DiscardUnknown()

func (*PlayerInfo) XXX_Marshal

func (m *PlayerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerInfo) XXX_Merge

func (m *PlayerInfo) XXX_Merge(src proto.Message)

func (*PlayerInfo) XXX_Size

func (m *PlayerInfo) XXX_Size() int

func (*PlayerInfo) XXX_Unmarshal

func (m *PlayerInfo) XXX_Unmarshal(b []byte) error

type PlayerLeaveAck

type PlayerLeaveAck struct {
	RoomId               uint64   `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	Seat                 int32    `protobuf:"varint,2,opt,name=seat,proto3" json:"seat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerLeaveAck) Descriptor

func (*PlayerLeaveAck) Descriptor() ([]byte, []int)

func (*PlayerLeaveAck) GetRoomId

func (m *PlayerLeaveAck) GetRoomId() uint64

func (*PlayerLeaveAck) GetSeat

func (m *PlayerLeaveAck) GetSeat() int32

func (*PlayerLeaveAck) ProtoMessage

func (*PlayerLeaveAck) ProtoMessage()

func (*PlayerLeaveAck) Reset

func (m *PlayerLeaveAck) Reset()

func (*PlayerLeaveAck) String

func (m *PlayerLeaveAck) String() string

func (*PlayerLeaveAck) XXX_DiscardUnknown

func (m *PlayerLeaveAck) XXX_DiscardUnknown()

func (*PlayerLeaveAck) XXX_Marshal

func (m *PlayerLeaveAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerLeaveAck) XXX_Merge

func (m *PlayerLeaveAck) XXX_Merge(src proto.Message)

func (*PlayerLeaveAck) XXX_Size

func (m *PlayerLeaveAck) XXX_Size() int

func (*PlayerLeaveAck) XXX_Unmarshal

func (m *PlayerLeaveAck) XXX_Unmarshal(b []byte) error

type RPCBattleAck

type RPCBattleAck struct {
	Base                 *BaseAck `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	LastWinId            uint64   `protobuf:"varint,2,opt,name=last_win_id,json=lastWinId,proto3" json:"last_win_id,omitempty"`
	IsHaveNext           bool     `protobuf:"varint,3,opt,name=is_have_next,json=isHaveNext,proto3" json:"is_have_next,omitempty"`
	AttackerId           uint64   `protobuf:"varint,4,opt,name=attacker_id,json=attackerId,proto3" json:"attacker_id,omitempty"`
	TargetId             uint64   `protobuf:"varint,5,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPCBattleAck) Descriptor

func (*RPCBattleAck) Descriptor() ([]byte, []int)

func (*RPCBattleAck) GetAttackerId

func (m *RPCBattleAck) GetAttackerId() uint64

func (*RPCBattleAck) GetBase

func (m *RPCBattleAck) GetBase() *BaseAck

func (*RPCBattleAck) GetIsHaveNext

func (m *RPCBattleAck) GetIsHaveNext() bool

func (*RPCBattleAck) GetLastWinId

func (m *RPCBattleAck) GetLastWinId() uint64

func (*RPCBattleAck) GetTargetId

func (m *RPCBattleAck) GetTargetId() uint64

func (*RPCBattleAck) ProtoMessage

func (*RPCBattleAck) ProtoMessage()

func (*RPCBattleAck) Reset

func (m *RPCBattleAck) Reset()

func (*RPCBattleAck) String

func (m *RPCBattleAck) String() string

func (*RPCBattleAck) XXX_DiscardUnknown

func (m *RPCBattleAck) XXX_DiscardUnknown()

func (*RPCBattleAck) XXX_Marshal

func (m *RPCBattleAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPCBattleAck) XXX_Merge

func (m *RPCBattleAck) XXX_Merge(src proto.Message)

func (*RPCBattleAck) XXX_Size

func (m *RPCBattleAck) XXX_Size() int

func (*RPCBattleAck) XXX_Unmarshal

func (m *RPCBattleAck) XXX_Unmarshal(b []byte) error

type RPCBattleReq

type RPCBattleReq struct {
	Rpc                  int32    `protobuf:"varint,1,opt,name=rpc,proto3" json:"rpc,omitempty"`
	Role                 int32    `protobuf:"varint,2,opt,name=role,proto3" json:"role,omitempty"`
	OtherSideId          uint64   `protobuf:"varint,3,opt,name=other_side_id,json=otherSideId,proto3" json:"other_side_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPCBattleReq) Descriptor

func (*RPCBattleReq) Descriptor() ([]byte, []int)

func (*RPCBattleReq) GetOtherSideId

func (m *RPCBattleReq) GetOtherSideId() uint64

func (*RPCBattleReq) GetRole

func (m *RPCBattleReq) GetRole() int32

func (*RPCBattleReq) GetRpc

func (m *RPCBattleReq) GetRpc() int32

func (*RPCBattleReq) ProtoMessage

func (*RPCBattleReq) ProtoMessage()

func (*RPCBattleReq) Reset

func (m *RPCBattleReq) Reset()

func (*RPCBattleReq) String

func (m *RPCBattleReq) String() string

func (*RPCBattleReq) XXX_DiscardUnknown

func (m *RPCBattleReq) XXX_DiscardUnknown()

func (*RPCBattleReq) XXX_Marshal

func (m *RPCBattleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPCBattleReq) XXX_Merge

func (m *RPCBattleReq) XXX_Merge(src proto.Message)

func (*RPCBattleReq) XXX_Size

func (m *RPCBattleReq) XXX_Size() int

func (*RPCBattleReq) XXX_Unmarshal

func (m *RPCBattleReq) XXX_Unmarshal(b []byte) error

type ReleaseSkillAck

type ReleaseSkillAck struct {
	Base                 *BaseAck `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Hero                 *Hero    `protobuf:"bytes,2,opt,name=hero,proto3" json:"hero,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReleaseSkillAck) Descriptor

func (*ReleaseSkillAck) Descriptor() ([]byte, []int)

func (*ReleaseSkillAck) GetBase

func (m *ReleaseSkillAck) GetBase() *BaseAck

func (*ReleaseSkillAck) GetHero

func (m *ReleaseSkillAck) GetHero() *Hero

func (*ReleaseSkillAck) ProtoMessage

func (*ReleaseSkillAck) ProtoMessage()

func (*ReleaseSkillAck) Reset

func (m *ReleaseSkillAck) Reset()

func (*ReleaseSkillAck) String

func (m *ReleaseSkillAck) String() string

func (*ReleaseSkillAck) XXX_DiscardUnknown

func (m *ReleaseSkillAck) XXX_DiscardUnknown()

func (*ReleaseSkillAck) XXX_Marshal

func (m *ReleaseSkillAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseSkillAck) XXX_Merge

func (m *ReleaseSkillAck) XXX_Merge(src proto.Message)

func (*ReleaseSkillAck) XXX_Size

func (m *ReleaseSkillAck) XXX_Size() int

func (*ReleaseSkillAck) XXX_Unmarshal

func (m *ReleaseSkillAck) XXX_Unmarshal(b []byte) error

type ReleaseSkillReq

type ReleaseSkillReq struct {
	SkillType            int32    `protobuf:"varint,1,opt,name=skill_type,json=skillType,proto3" json:"skill_type,omitempty"`
	SkillLevel           int32    `protobuf:"varint,2,opt,name=skill_level,json=skillLevel,proto3" json:"skill_level,omitempty"`
	SkillTargets         []uint64 `protobuf:"varint,3,rep,packed,name=skill_targets,json=skillTargets,proto3" json:"skill_targets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReleaseSkillReq) Descriptor

func (*ReleaseSkillReq) Descriptor() ([]byte, []int)

func (*ReleaseSkillReq) GetSkillLevel

func (m *ReleaseSkillReq) GetSkillLevel() int32

func (*ReleaseSkillReq) GetSkillTargets

func (m *ReleaseSkillReq) GetSkillTargets() []uint64

func (*ReleaseSkillReq) GetSkillType

func (m *ReleaseSkillReq) GetSkillType() int32

func (*ReleaseSkillReq) ProtoMessage

func (*ReleaseSkillReq) ProtoMessage()

func (*ReleaseSkillReq) Reset

func (m *ReleaseSkillReq) Reset()

func (*ReleaseSkillReq) String

func (m *ReleaseSkillReq) String() string

func (*ReleaseSkillReq) XXX_DiscardUnknown

func (m *ReleaseSkillReq) XXX_DiscardUnknown()

func (*ReleaseSkillReq) XXX_Marshal

func (m *ReleaseSkillReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseSkillReq) XXX_Merge

func (m *ReleaseSkillReq) XXX_Merge(src proto.Message)

func (*ReleaseSkillReq) XXX_Size

func (m *ReleaseSkillReq) XXX_Size() int

func (*ReleaseSkillReq) XXX_Unmarshal

func (m *ReleaseSkillReq) XXX_Unmarshal(b []byte) error

type RoomInfo

type RoomInfo struct {
	RoomId               uint64            `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	Type                 RoomInfo_RoomType `protobuf:"varint,2,opt,name=type,proto3,enum=pbprotocol.RoomInfo_RoomType" json:"type,omitempty"`
	IsStart              bool              `protobuf:"varint,3,opt,name=IsStart,proto3" json:"IsStart,omitempty"`
	CurrentPlayerNum     uint32            `protobuf:"varint,4,opt,name=current_player_num,json=currentPlayerNum,proto3" json:"current_player_num,omitempty"`
	PlayerInfos          []*PlayerInfo     `protobuf:"bytes,5,rep,name=player_infos,json=playerInfos,proto3" json:"player_infos,omitempty"`
	Round                int32             `protobuf:"varint,6,opt,name=round,proto3" json:"round,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*RoomInfo) Descriptor

func (*RoomInfo) Descriptor() ([]byte, []int)

func (*RoomInfo) GetCurrentPlayerNum

func (m *RoomInfo) GetCurrentPlayerNum() uint32

func (*RoomInfo) GetIsStart

func (m *RoomInfo) GetIsStart() bool

func (*RoomInfo) GetPlayerInfos

func (m *RoomInfo) GetPlayerInfos() []*PlayerInfo

func (*RoomInfo) GetRoomId

func (m *RoomInfo) GetRoomId() uint64

func (*RoomInfo) GetRound

func (m *RoomInfo) GetRound() int32

func (*RoomInfo) GetType

func (m *RoomInfo) GetType() RoomInfo_RoomType

func (*RoomInfo) ProtoMessage

func (*RoomInfo) ProtoMessage()

func (*RoomInfo) Reset

func (m *RoomInfo) Reset()

func (*RoomInfo) String

func (m *RoomInfo) String() string

func (*RoomInfo) XXX_DiscardUnknown

func (m *RoomInfo) XXX_DiscardUnknown()

func (*RoomInfo) XXX_Marshal

func (m *RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoomInfo) XXX_Merge

func (m *RoomInfo) XXX_Merge(src proto.Message)

func (*RoomInfo) XXX_Size

func (m *RoomInfo) XXX_Size() int

func (*RoomInfo) XXX_Unmarshal

func (m *RoomInfo) XXX_Unmarshal(b []byte) error

type RoomInfo_RoomType

type RoomInfo_RoomType int32
const (
	RoomInfo_TWO RoomInfo_RoomType = 0
)

func (RoomInfo_RoomType) EnumDescriptor

func (RoomInfo_RoomType) EnumDescriptor() ([]byte, []int)

func (RoomInfo_RoomType) String

func (x RoomInfo_RoomType) String() string

type RulingResultAck

type RulingResultAck struct {
	AttackerID           uint64   `protobuf:"varint,1,opt,name=attackerID,proto3" json:"attackerID,omitempty"`
	TargetID             uint64   `protobuf:"varint,2,opt,name=targetID,proto3" json:"targetID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RulingResultAck) Descriptor

func (*RulingResultAck) Descriptor() ([]byte, []int)

func (*RulingResultAck) GetAttackerID

func (m *RulingResultAck) GetAttackerID() uint64

func (*RulingResultAck) GetTargetID

func (m *RulingResultAck) GetTargetID() uint64

func (*RulingResultAck) ProtoMessage

func (*RulingResultAck) ProtoMessage()

func (*RulingResultAck) Reset

func (m *RulingResultAck) Reset()

func (*RulingResultAck) String

func (m *RulingResultAck) String() string

func (*RulingResultAck) XXX_DiscardUnknown

func (m *RulingResultAck) XXX_DiscardUnknown()

func (*RulingResultAck) XXX_Marshal

func (m *RulingResultAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RulingResultAck) XXX_Merge

func (m *RulingResultAck) XXX_Merge(src proto.Message)

func (*RulingResultAck) XXX_Size

func (m *RulingResultAck) XXX_Size() int

func (*RulingResultAck) XXX_Unmarshal

func (m *RulingResultAck) XXX_Unmarshal(b []byte) error

type StartGameAck

type StartGameAck struct {
	RoomInfo             *RoomInfo `protobuf:"bytes,1,opt,name=room_info,json=roomInfo,proto3" json:"room_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*StartGameAck) Descriptor

func (*StartGameAck) Descriptor() ([]byte, []int)

func (*StartGameAck) GetRoomInfo

func (m *StartGameAck) GetRoomInfo() *RoomInfo

func (*StartGameAck) ProtoMessage

func (*StartGameAck) ProtoMessage()

func (*StartGameAck) Reset

func (m *StartGameAck) Reset()

func (*StartGameAck) String

func (m *StartGameAck) String() string

func (*StartGameAck) XXX_DiscardUnknown

func (m *StartGameAck) XXX_DiscardUnknown()

func (*StartGameAck) XXX_Marshal

func (m *StartGameAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartGameAck) XXX_Merge

func (m *StartGameAck) XXX_Merge(src proto.Message)

func (*StartGameAck) XXX_Size

func (m *StartGameAck) XXX_Size() int

func (*StartGameAck) XXX_Unmarshal

func (m *StartGameAck) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL