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/clientmessages.pb.go

197 lines
7.3 KiB
Go

// Code generated by protoc-gen-go.
// source: clientmessages.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 EBaseClientMessages int32
const (
EBaseClientMessages_CM_CustomGameEvent EBaseClientMessages = 280
EBaseClientMessages_CM_ClientUIEvent EBaseClientMessages = 282
EBaseClientMessages_CM_MAX_BASE EBaseClientMessages = 300
)
var EBaseClientMessages_name = map[int32]string{
280: "CM_CustomGameEvent",
282: "CM_ClientUIEvent",
300: "CM_MAX_BASE",
}
var EBaseClientMessages_value = map[string]int32{
"CM_CustomGameEvent": 280,
"CM_ClientUIEvent": 282,
"CM_MAX_BASE": 300,
}
func (x EBaseClientMessages) Enum() *EBaseClientMessages {
p := new(EBaseClientMessages)
*p = x
return p
}
func (x EBaseClientMessages) String() string {
return proto.EnumName(EBaseClientMessages_name, int32(x))
}
func (x *EBaseClientMessages) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(EBaseClientMessages_value, data, "EBaseClientMessages")
if err != nil {
return err
}
*x = EBaseClientMessages(value)
return nil
}
func (EBaseClientMessages) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
type EClientUIEvent int32
const (
EClientUIEvent_EClientUIEvent_Invalid EClientUIEvent = 0
EClientUIEvent_EClientUIEvent_DialogFinished EClientUIEvent = 1
EClientUIEvent_EClientUIEvent_FireOutput EClientUIEvent = 2
)
var EClientUIEvent_name = map[int32]string{
0: "EClientUIEvent_Invalid",
1: "EClientUIEvent_DialogFinished",
2: "EClientUIEvent_FireOutput",
}
var EClientUIEvent_value = map[string]int32{
"EClientUIEvent_Invalid": 0,
"EClientUIEvent_DialogFinished": 1,
"EClientUIEvent_FireOutput": 2,
}
func (x EClientUIEvent) Enum() *EClientUIEvent {
p := new(EClientUIEvent)
*p = x
return p
}
func (x EClientUIEvent) String() string {
return proto.EnumName(EClientUIEvent_name, int32(x))
}
func (x *EClientUIEvent) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(EClientUIEvent_value, data, "EClientUIEvent")
if err != nil {
return err
}
*x = EClientUIEvent(value)
return nil
}
func (EClientUIEvent) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
type CClientMsg_CustomGameEvent struct {
EventName *string `protobuf:"bytes,1,opt,name=event_name" json:"event_name,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CClientMsg_CustomGameEvent) Reset() { *m = CClientMsg_CustomGameEvent{} }
func (m *CClientMsg_CustomGameEvent) String() string { return proto.CompactTextString(m) }
func (*CClientMsg_CustomGameEvent) ProtoMessage() {}
func (*CClientMsg_CustomGameEvent) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *CClientMsg_CustomGameEvent) GetEventName() string {
if m != nil && m.EventName != nil {
return *m.EventName
}
return ""
}
func (m *CClientMsg_CustomGameEvent) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type CClientMsg_ClientUIEvent struct {
Event *EClientUIEvent `protobuf:"varint,1,opt,name=event,enum=dota.EClientUIEvent,def=0" json:"event,omitempty"`
EntEhandle *uint32 `protobuf:"varint,2,opt,name=ent_ehandle" json:"ent_ehandle,omitempty"`
ClientEhandle *uint32 `protobuf:"varint,3,opt,name=client_ehandle" json:"client_ehandle,omitempty"`
Data1 *string `protobuf:"bytes,4,opt,name=data1" json:"data1,omitempty"`
Data2 *string `protobuf:"bytes,5,opt,name=data2" json:"data2,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CClientMsg_ClientUIEvent) Reset() { *m = CClientMsg_ClientUIEvent{} }
func (m *CClientMsg_ClientUIEvent) String() string { return proto.CompactTextString(m) }
func (*CClientMsg_ClientUIEvent) ProtoMessage() {}
func (*CClientMsg_ClientUIEvent) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
const Default_CClientMsg_ClientUIEvent_Event EClientUIEvent = EClientUIEvent_EClientUIEvent_Invalid
func (m *CClientMsg_ClientUIEvent) GetEvent() EClientUIEvent {
if m != nil && m.Event != nil {
return *m.Event
}
return Default_CClientMsg_ClientUIEvent_Event
}
func (m *CClientMsg_ClientUIEvent) GetEntEhandle() uint32 {
if m != nil && m.EntEhandle != nil {
return *m.EntEhandle
}
return 0
}
func (m *CClientMsg_ClientUIEvent) GetClientEhandle() uint32 {
if m != nil && m.ClientEhandle != nil {
return *m.ClientEhandle
}
return 0
}
func (m *CClientMsg_ClientUIEvent) GetData1() string {
if m != nil && m.Data1 != nil {
return *m.Data1
}
return ""
}
func (m *CClientMsg_ClientUIEvent) GetData2() string {
if m != nil && m.Data2 != nil {
return *m.Data2
}
return ""
}
func init() {
proto.RegisterType((*CClientMsg_CustomGameEvent)(nil), "dota.CClientMsg_CustomGameEvent")
proto.RegisterType((*CClientMsg_ClientUIEvent)(nil), "dota.CClientMsg_ClientUIEvent")
proto.RegisterEnum("dota.EBaseClientMessages", EBaseClientMessages_name, EBaseClientMessages_value)
proto.RegisterEnum("dota.EClientUIEvent", EClientUIEvent_name, EClientUIEvent_value)
}
func init() { proto.RegisterFile("clientmessages.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 303 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x50, 0x4f, 0x4b, 0xfb, 0x40,
0x14, 0xec, 0xe6, 0xd7, 0x1c, 0x7e, 0xaf, 0x7f, 0x58, 0x5e, 0x6b, 0x8d, 0x85, 0x82, 0xf6, 0x24,
0x3d, 0x14, 0xec, 0x51, 0x41, 0x68, 0x63, 0xaa, 0x3d, 0x14, 0x0f, 0x22, 0x7a, 0x0b, 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