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.
hyperstone/dota/dota_broadcastmessages.pb.go

235 lines
9.5 KiB
Go

// Code generated by protoc-gen-go.
// source: dota_broadcastmessages.proto
// DO NOT EDIT!
package dota
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type EDotaBroadcastMessages int32
const (
EDotaBroadcastMessages_DOTA_BM_LANLobbyRequest EDotaBroadcastMessages = 1
EDotaBroadcastMessages_DOTA_BM_LANLobbyReply EDotaBroadcastMessages = 2
)
var EDotaBroadcastMessages_name = map[int32]string{
1: "DOTA_BM_LANLobbyRequest",
2: "DOTA_BM_LANLobbyReply",
}
var EDotaBroadcastMessages_value = map[string]int32{
"DOTA_BM_LANLobbyRequest": 1,
"DOTA_BM_LANLobbyReply": 2,
}
func (x EDotaBroadcastMessages) Enum() *EDotaBroadcastMessages {
p := new(EDotaBroadcastMessages)
*p = x
return p
}
func (x EDotaBroadcastMessages) String() string {
return proto.EnumName(EDotaBroadcastMessages_name, int32(x))
}
func (x *EDotaBroadcastMessages) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(EDotaBroadcastMessages_value, data, "EDotaBroadcastMessages")
if err != nil {
return err
}
*x = EDotaBroadcastMessages(value)
return nil
}
func (EDotaBroadcastMessages) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
type CDOTABroadcastMsg struct {
Type *EDotaBroadcastMessages `protobuf:"varint,1,req,name=type,enum=dota.EDotaBroadcastMessages,def=1" json:"type,omitempty"`
Msg []byte `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CDOTABroadcastMsg) Reset() { *m = CDOTABroadcastMsg{} }
func (m *CDOTABroadcastMsg) String() string { return proto.CompactTextString(m) }
func (*CDOTABroadcastMsg) ProtoMessage() {}
func (*CDOTABroadcastMsg) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
const Default_CDOTABroadcastMsg_Type EDotaBroadcastMessages = EDotaBroadcastMessages_DOTA_BM_LANLobbyRequest
func (m *CDOTABroadcastMsg) GetType() EDotaBroadcastMessages {
if m != nil && m.Type != nil {
return *m.Type
}
return Default_CDOTABroadcastMsg_Type
}
func (m *CDOTABroadcastMsg) GetMsg() []byte {
if m != nil {
return m.Msg
}
return nil
}
type CDOTABroadcastMsg_LANLobbyRequest struct {
XXX_unrecognized []byte `json:"-"`
}
func (m *CDOTABroadcastMsg_LANLobbyRequest) Reset() { *m = CDOTABroadcastMsg_LANLobbyRequest{} }
func (m *CDOTABroadcastMsg_LANLobbyRequest) String() string { return proto.CompactTextString(m) }
func (*CDOTABroadcastMsg_LANLobbyRequest) ProtoMessage() {}
func (*CDOTABroadcastMsg_LANLobbyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor5, []int{1}
}
type CDOTABroadcastMsg_LANLobbyReply struct {
Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
TournamentId *uint32 `protobuf:"varint,2,opt,name=tournament_id" json:"tournament_id,omitempty"`
TournamentGameId *uint32 `protobuf:"varint,3,opt,name=tournament_game_id" json:"tournament_game_id,omitempty"`
Members []*CDOTABroadcastMsg_LANLobbyReply_CLobbyMember `protobuf:"bytes,4,rep,name=members" json:"members,omitempty"`
RequiresPassKey *bool `protobuf:"varint,5,opt,name=requires_pass_key" json:"requires_pass_key,omitempty"`
LeaderAccountId *uint32 `protobuf:"varint,6,opt,name=leader_account_id" json:"leader_account_id,omitempty"`
GameMode *uint32 `protobuf:"varint,7,opt,name=game_mode" json:"game_mode,omitempty"`
Name *string `protobuf:"bytes,8,opt,name=name" json:"name,omitempty"`
Players *uint32 `protobuf:"varint,9,opt,name=players" json:"players,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CDOTABroadcastMsg_LANLobbyReply) Reset() { *m = CDOTABroadcastMsg_LANLobbyReply{} }
func (m *CDOTABroadcastMsg_LANLobbyReply) String() string { return proto.CompactTextString(m) }
func (*CDOTABroadcastMsg_LANLobbyReply) ProtoMessage() {}
func (*CDOTABroadcastMsg_LANLobbyReply) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
func (m *CDOTABroadcastMsg_LANLobbyReply) GetId() uint64 {
if m != nil && m.Id != nil {
return *m.Id
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetTournamentId() uint32 {
if m != nil && m.TournamentId != nil {
return *m.TournamentId
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetTournamentGameId() uint32 {
if m != nil && m.TournamentGameId != nil {
return *m.TournamentGameId
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetMembers() []*CDOTABroadcastMsg_LANLobbyReply_CLobbyMember {
if m != nil {
return m.Members
}
return nil
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetRequiresPassKey() bool {
if m != nil && m.RequiresPassKey != nil {
return *m.RequiresPassKey
}
return false
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetLeaderAccountId() uint32 {
if m != nil && m.LeaderAccountId != nil {
return *m.LeaderAccountId
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetGameMode() uint32 {
if m != nil && m.GameMode != nil {
return *m.GameMode
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *CDOTABroadcastMsg_LANLobbyReply) GetPlayers() uint32 {
if m != nil && m.Players != nil {
return *m.Players
}
return 0
}
type CDOTABroadcastMsg_LANLobbyReply_CLobbyMember struct {
AccountId *uint32 `protobuf:"varint,1,opt,name=account_id" json:"account_id,omitempty"`
PlayerName *string `protobuf:"bytes,2,opt,name=player_name" json:"player_name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) Reset() {
*m = CDOTABroadcastMsg_LANLobbyReply_CLobbyMember{}
}
func (m *CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) String() string {
return proto.CompactTextString(m)
}
func (*CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) ProtoMessage() {}
func (*CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) Descriptor() ([]byte, []int) {
return fileDescriptor5, []int{2, 0}
}
func (m *CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) GetAccountId() uint32 {
if m != nil && m.AccountId != nil {
return *m.AccountId
}
return 0
}
func (m *CDOTABroadcastMsg_LANLobbyReply_CLobbyMember) GetPlayerName() string {
if m != nil && m.PlayerName != nil {
return *m.PlayerName
}
return ""
}
func init() {
proto.RegisterType((*CDOTABroadcastMsg)(nil), "dota.CDOTABroadcastMsg")
proto.RegisterType((*CDOTABroadcastMsg_LANLobbyRequest)(nil), "dota.CDOTABroadcastMsg_LANLobbyRequest")
proto.RegisterType((*CDOTABroadcastMsg_LANLobbyReply)(nil), "dota.CDOTABroadcastMsg_LANLobbyReply")
proto.RegisterType((*CDOTABroadcastMsg_LANLobbyReply_CLobbyMember)(nil), "dota.CDOTABroadcastMsg_LANLobbyReply.CLobbyMember")
proto.RegisterEnum("dota.EDotaBroadcastMessages", EDotaBroadcastMessages_name, EDotaBroadcastMessages_value)
}
func init() { proto.RegisterFile("dota_broadcastmessages.proto", fileDescriptor5) }
var fileDescriptor5 = []byte{
// 346 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x4f, 0xc2, 0x30,
0x14, 0x77, 0x63, 0x08, 0x7b, 0x80, 0x42, 0x0d, 0x3a, 0x91, 0x44, 0xc4, 0xcb, 0xe2, 0x61, 0x07,
0x2e, 0x26, 0xde, 0x60, 0x98, 0x78, 0x00, 0x35, 0xc6, 0x7b, 0xd3, 0xb1, 0x97, 0x85, 0xc8, 0xe8,
0x5c, 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