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.
143 lines
5.8 KiB
Go
143 lines
5.8 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: connectionless_netmessages.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 C2S_CONNECT_Message struct {
|
|
HostVersion *uint32 `protobuf:"varint,1,opt,name=host_version" json:"host_version,omitempty"`
|
|
AuthProtocol *uint32 `protobuf:"varint,2,opt,name=auth_protocol" json:"auth_protocol,omitempty"`
|
|
ChallengeNumber *uint32 `protobuf:"varint,3,opt,name=challenge_number" json:"challenge_number,omitempty"`
|
|
ReservationCookie *uint64 `protobuf:"fixed64,4,opt,name=reservation_cookie" json:"reservation_cookie,omitempty"`
|
|
LowViolence *bool `protobuf:"varint,5,opt,name=low_violence" json:"low_violence,omitempty"`
|
|
EncryptedPassword []byte `protobuf:"bytes,6,opt,name=encrypted_password" json:"encrypted_password,omitempty"`
|
|
Splitplayers []*CCLCMsg_SplitPlayerConnect `protobuf:"bytes,7,rep,name=splitplayers" json:"splitplayers,omitempty"`
|
|
AuthSteam []byte `protobuf:"bytes,8,opt,name=auth_steam" json:"auth_steam,omitempty"`
|
|
ChallengeContext *string `protobuf:"bytes,9,opt,name=challenge_context" json:"challenge_context,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) Reset() { *m = C2S_CONNECT_Message{} }
|
|
func (m *C2S_CONNECT_Message) String() string { return proto.CompactTextString(m) }
|
|
func (*C2S_CONNECT_Message) ProtoMessage() {}
|
|
func (*C2S_CONNECT_Message) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
func (m *C2S_CONNECT_Message) GetHostVersion() uint32 {
|
|
if m != nil && m.HostVersion != nil {
|
|
return *m.HostVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetAuthProtocol() uint32 {
|
|
if m != nil && m.AuthProtocol != nil {
|
|
return *m.AuthProtocol
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetChallengeNumber() uint32 {
|
|
if m != nil && m.ChallengeNumber != nil {
|
|
return *m.ChallengeNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetReservationCookie() uint64 {
|
|
if m != nil && m.ReservationCookie != nil {
|
|
return *m.ReservationCookie
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetLowViolence() bool {
|
|
if m != nil && m.LowViolence != nil {
|
|
return *m.LowViolence
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetEncryptedPassword() []byte {
|
|
if m != nil {
|
|
return m.EncryptedPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetSplitplayers() []*CCLCMsg_SplitPlayerConnect {
|
|
if m != nil {
|
|
return m.Splitplayers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetAuthSteam() []byte {
|
|
if m != nil {
|
|
return m.AuthSteam
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *C2S_CONNECT_Message) GetChallengeContext() string {
|
|
if m != nil && m.ChallengeContext != nil {
|
|
return *m.ChallengeContext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type C2S_CONNECTION_Message struct {
|
|
AddonName *string `protobuf:"bytes,1,opt,name=addon_name" json:"addon_name,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *C2S_CONNECTION_Message) Reset() { *m = C2S_CONNECTION_Message{} }
|
|
func (m *C2S_CONNECTION_Message) String() string { return proto.CompactTextString(m) }
|
|
func (*C2S_CONNECTION_Message) ProtoMessage() {}
|
|
func (*C2S_CONNECTION_Message) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
|
|
|
func (m *C2S_CONNECTION_Message) GetAddonName() string {
|
|
if m != nil && m.AddonName != nil {
|
|
return *m.AddonName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*C2S_CONNECT_Message)(nil), "dota.C2S_CONNECT_Message")
|
|
proto.RegisterType((*C2S_CONNECTION_Message)(nil), "dota.C2S_CONNECTION_Message")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("connectionless_netmessages.proto", fileDescriptor2) }
|
|
|
|
var fileDescriptor2 = []byte{
|
|
// 301 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xcd, 0x4e, 0x02, 0x31,
|
|
0x14, 0x85, 0xe5, 0x47, 0x84, 0x0a, 0x89, 0xd4, 0x9f, 0x54, 0x56, 0x13, 0x56, 0x2c, 0x0c, 0x0b,
|
|
0x16, 0x3e, 0x80, 0x8d, 0x0b, 0x13, 0x01, 0x13, 0xdc, 0x37, 0xb5, 0x73, 0xc3, 0x4c, 0xec, 0xf4,
|
|
0x4e, 0xda, 0x32, 0xc8, 0xce, 0x57, 0xf0, 0x8d, 0x6d, 0x4b, 0xa2, 0x26, 0xae, 0x26, 0x73, 0xbf,
|
|
0x7b, 0x4e, 0xcf, 0x3d, 0x24, 0x53, 0x68, 0x0c, 0x28, 0x5f, 0xa2, 0xd1, 0xe0, 0x9c, 0x30, 0xe0,
|
|
0xab, 0xf0, 0x95, 0x5b, 0x70, 0xf3, 0xda, 0xa2, 0x47, 0xda, 0xcd, 0xd1, 0xcb, 0xc9, 0xf8, 0x1f,
|
|
0x98, 0x7e, 0xb5, 0xc9, 0x25, 0x5f, 0x6c, 0x04, 0x5f, 0xaf, 0x56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