add compiled and uncompiled protobuf formats

This commit is contained in:
Ole Morud
2022-07-11 19:18:06 +02:00
parent 3565b495aa
commit b13d6f5082
18 changed files with 48990 additions and 211 deletions

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.4
// protoc-gen-go v1.28.0
// protoc v3.21.2
// source: demo.proto
package demo
@@ -145,6 +145,7 @@ type CDemoFileHeader struct {
DemoVersionName *string `protobuf:"bytes,11,opt,name=demo_version_name,json=demoVersionName" json:"demo_version_name,omitempty"`
DemoVersionGuid *string `protobuf:"bytes,12,opt,name=demo_version_guid,json=demoVersionGuid" json:"demo_version_guid,omitempty"`
BuildNum *int32 `protobuf:"varint,13,opt,name=build_num,json=buildNum" json:"build_num,omitempty"`
Game *string `protobuf:"bytes,14,opt,name=game" json:"game,omitempty"`
}
func (x *CDemoFileHeader) Reset() {
@@ -270,6 +271,13 @@ func (x *CDemoFileHeader) GetBuildNum() int32 {
return 0
}
func (x *CDemoFileHeader) GetGame() string {
if x != nil && x.Game != nil {
return *x.Game
}
return ""
}
type CGameInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1490,7 +1498,7 @@ func (x *CDemoStringTablesTableT) GetTableFlags() int32 {
var File_demo_proto protoreflect.FileDescriptor
var file_demo_proto_rawDesc = []byte{
0x0a, 0x0a, 0x64, 0x65, 0x6d, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x04, 0x0a,
0x0a, 0x0a, 0x64, 0x65, 0x6d, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x04, 0x0a,
0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x6d, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x6d, 0x6f, 0x46,
@@ -1524,162 +1532,163 @@ var file_demo_proto_rawDesc = []byte{
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0f, 0x64, 0x65, 0x6d, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x75,
0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x18,
0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x22,
0x89, 0x06, 0x0a, 0x09, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a,
0x04, 0x64, 0x6f, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x47,
0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44, 0x6f, 0x74, 0x61, 0x47, 0x61, 0x6d,
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x6f, 0x74, 0x61, 0x1a, 0xcd, 0x05, 0x0a, 0x0d,
0x43, 0x44, 0x6f, 0x74, 0x61, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a,
0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65,
0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d,
0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x77, 0x69,
0x6e, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x61, 0x6d, 0x65,
0x57, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x43, 0x47,
0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44, 0x6f, 0x74, 0x61, 0x47, 0x61, 0x6d,
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66,
0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a,
0x08, 0x6c, 0x65, 0x61, 0x67, 0x75, 0x65, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x08, 0x6c, 0x65, 0x61, 0x67, 0x75, 0x65, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x69, 0x63,
0x6b, 0x73, 0x5f, 0x62, 0x61, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44, 0x6f, 0x74, 0x61, 0x47,
0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x65, 0x6c,
0x65, 0x63, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x70, 0x69, 0x63, 0x6b, 0x73, 0x42,
0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x61, 0x64, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x74,
0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x61,
0x64, 0x69, 0x61, 0x6e, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x64,
0x69, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x0a, 0x64, 0x69, 0x72, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x28, 0x0a,
0x10, 0x72, 0x61, 0x64, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x61,
0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x61, 0x64, 0x69, 0x61, 0x6e, 0x74,
0x54, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x5f,
0x74, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x64, 0x69, 0x72, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x65,
0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65,
0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0xa8, 0x01, 0x0a, 0x0b, 0x43, 0x50, 0x6c, 0x61, 0x79,
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66, 0x61, 0x6b, 0x65, 0x5f,
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73,
0x46, 0x61, 0x6b, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74,
0x65, 0x61, 0x6d, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x74, 0x65,
0x61, 0x6d, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x61,
0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x61,
0x6d, 0x1a, 0x58, 0x0a, 0x10, 0x43, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x70, 0x69, 0x63, 0x6b,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x12, 0x12,
0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x65,
0x61, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x22, 0xad, 0x01, 0x0a, 0x0d,
0x43, 0x44, 0x65, 0x6d, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a,
0x0d, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x69,
0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x74,
0x69, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79,
0x62, 0x61, 0x63, 0x6b, 0x54, 0x69, 0x63, 0x6b, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6c, 0x61,
0x79, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x46, 0x72, 0x61, 0x6d,
0x65, 0x73, 0x12, 0x27, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x21, 0x0a, 0x0b, 0x43,
0x44, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61,
0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6e,
0x0a, 0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x63, 0x6b, 0x65,
0x74, 0x12, 0x35, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53,
0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x73, 0x74, 0x72,
0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b,
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f,
0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x76,
0x0a, 0x0d, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x12,
0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x12,
0x12, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67,
0x61, 0x6d, 0x65, 0x22, 0x89, 0x06, 0x0a, 0x09, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x2c, 0x0a, 0x04, 0x64, 0x6f, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x18, 0x2e, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44, 0x6f, 0x74,
0x61, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x6f, 0x74, 0x61, 0x1a,
0xcd, 0x05, 0x0a, 0x0d, 0x43, 0x44, 0x6f, 0x74, 0x61, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
0x67, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x08, 0x67, 0x61, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x61, 0x6d,
0x65, 0x5f, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x67, 0x61, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x24, 0x2e, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44, 0x6f, 0x74,
0x61, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x50, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x65, 0x61, 0x67, 0x75, 0x65, 0x69, 0x64, 0x18, 0x05, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x65, 0x61, 0x67, 0x75, 0x65, 0x69, 0x64, 0x12, 0x48, 0x0a,
0x0a, 0x70, 0x69, 0x63, 0x6b, 0x73, 0x5f, 0x62, 0x61, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x29, 0x2e, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x44,
0x6f, 0x74, 0x61, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x48, 0x65, 0x72,
0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x70, 0x69,
0x63, 0x6b, 0x73, 0x42, 0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x61, 0x64, 0x69, 0x61,
0x6e, 0x74, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x0d, 0x72, 0x61, 0x64, 0x69, 0x61, 0x6e, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12,
0x20, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18,
0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x72, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49,
0x64, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x61, 0x64, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x61,
0x6d, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x61, 0x64,
0x69, 0x61, 0x6e, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x64,
0x69, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x67, 0x12,
0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0xa8, 0x01, 0x0a, 0x0b, 0x43,
0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x65,
0x72, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68,
0x65, 0x72, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66,
0x61, 0x6b, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0c, 0x69, 0x73, 0x46, 0x61, 0x6b, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
0x07, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65,
0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d,
0x65, 0x54, 0x65, 0x61, 0x6d, 0x1a, 0x58, 0x0a, 0x10, 0x43, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x65,
0x6c, 0x65, 0x63, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f,
0x70, 0x69, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x69,
0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69,
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x22,
0xad, 0x01, 0x0a, 0x0d, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61,
0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61,
0x63, 0x6b, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x69, 0x63, 0x6b, 0x73, 0x12, 0x27, 0x0a,
0x0f, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61, 0x63, 0x6b,
0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69,
0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x47, 0x61, 0x6d,
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22,
0x21, 0x0a, 0x0b, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x22, 0x6e, 0x0a, 0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x46, 0x75, 0x6c, 0x6c, 0x50,
0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x44,
0x65, 0x6d, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52,
0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x06,
0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43,
0x44, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b,
0x65, 0x74, 0x22, 0x76, 0x0a, 0x0d, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x47,
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x65, 0x61, 0x6d,
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x07, 0x73, 0x74, 0x65, 0x61, 0x6d,
0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x0f, 0x0a, 0x0d, 0x43, 0x44,
0x65, 0x6d, 0x6f, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x63, 0x6b, 0x22, 0x2f, 0x0a, 0x0f, 0x43,
0x44, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x12, 0x1c,
0x0a, 0x09, 0x63, 0x6d, 0x64, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x63, 0x6d, 0x64, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x25, 0x0a, 0x0f,
0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12,
0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x07, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x1c,
0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x06, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07,
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x0f, 0x0a, 0x0d, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53,
0x79, 0x6e, 0x63, 0x54, 0x69, 0x63, 0x6b, 0x22, 0x2f, 0x0a, 0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f,
0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6d,
0x64, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
0x6d, 0x64, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x25, 0x0a, 0x0f, 0x43, 0x44, 0x65, 0x6d,
0x6f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0xab, 0x01, 0x0a, 0x0e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e,
0x66, 0x6f, 0x12, 0x31, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73,
0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, 0x52, 0x07, 0x63, 0x6c,
0x61, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74,
0x12, 0x19, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e,
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a,
0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61,
0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64,
0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61,
0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x33, 0x0a, 0x18, 0x43,
0x44, 0x65, 0x6d, 0x6f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61,
0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x61, 0x76, 0x65, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x61, 0x76, 0x65, 0x49, 0x64,
0x22, 0xbd, 0x02, 0x0a, 0x11, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74,
0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x5f, 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x2f, 0x0a, 0x07, 0x69, 0x74,
0x65, 0x6d, 0x73, 0x5f, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xc2, 0x01, 0x0a, 0x07,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74, 0x72,
0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f,
0x74, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x10, 0x69, 0x74, 0x65, 0x6d,
0x73, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x69, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x74, 0x52, 0x0f,
0x69, 0x74, 0x65, 0x6d, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x69, 0x64, 0x65, 0x12,
0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73,
0x22, 0x0b, 0x0a, 0x09, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74, 0x6f, 0x70, 0x22, 0x41, 0x0a,
0x0c, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6d, 0x64, 0x12, 0x1d, 0x0a,
0x0a, 0x63, 0x6d, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x09, 0x63, 0x6d, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x26, 0x0a, 0x10, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0c, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x2a, 0x84, 0x03, 0x0a, 0x0d, 0x45, 0x44, 0x65,
0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x09, 0x44, 0x45,
0x4d, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x74, 0x6f, 0x70, 0x10, 0x00,
0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4d, 0x5f, 0x46, 0x69, 0x6c, 0x65,
0x49, 0x6e, 0x66, 0x6f, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x79,
0x6e, 0x63, 0x54, 0x69, 0x63, 0x6b, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f,
0x53, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d,
0x44, 0x45, 0x4d, 0x5f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x05, 0x12,
0x14, 0x0a, 0x10, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x73, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x4d, 0x5f, 0x50, 0x61, 0x63,
0x6b, 0x65, 0x74, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x69, 0x67,
0x6e, 0x6f, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x44,
0x45, 0x4d, 0x5f, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x10, 0x09, 0x12,
0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61, 0x74,
0x61, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x4d, 0x5f, 0x43, 0x75, 0x73, 0x74, 0x6f,
0x6d, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x10, 0x0b,
0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x4d, 0x5f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6d, 0x64, 0x10,
0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x63,
0x6b, 0x65, 0x74, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x61, 0x76,
0x65, 0x47, 0x61, 0x6d, 0x65, 0x10, 0x0e, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x4d, 0x5f, 0x53,
0x70, 0x61, 0x77, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x10, 0x0f, 0x12, 0x0b, 0x0a, 0x07,
0x44, 0x45, 0x4d, 0x5f, 0x4d, 0x61, 0x78, 0x10, 0x10, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4d,
0x5f, 0x49, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x10, 0x40, 0x42,
0x0b, 0x5a, 0x06, 0x2e, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x80, 0x01, 0x00,
0x61, 0x74, 0x61, 0x22, 0xab, 0x01, 0x0a, 0x0e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x6c, 0x61,
0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43,
0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74,
0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x07, 0x63, 0x6c, 0x61,
0x73, 0x73, 0x5f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12,
0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
0x65, 0x22, 0x4c, 0x0a, 0x0f, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
0x44, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x61,
0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x33, 0x0a, 0x18, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61,
0x74, 0x61, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x73,
0x61, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x61,
0x76, 0x65, 0x49, 0x64, 0x22, 0xbd, 0x02, 0x0a, 0x11, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74,
0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61,
0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65,
0x6d, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x2f,
0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x74, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a,
0xc2, 0x01, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74,
0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65, 0x6d,
0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x74,
0x65, 0x6d, 0x73, 0x5f, 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x10,
0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x69, 0x64, 0x65,
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74,
0x72, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x74, 0x65, 0x6d, 0x73,
0x5f, 0x74, 0x52, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73,
0x69, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6c, 0x61,
0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x46,
0x6c, 0x61, 0x67, 0x73, 0x22, 0x0b, 0x0a, 0x09, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x74, 0x6f,
0x70, 0x22, 0x41, 0x0a, 0x0c, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6d,
0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6d, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6d, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x10, 0x43, 0x44, 0x65, 0x6d, 0x6f, 0x53, 0x70, 0x61,
0x77, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73,
0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x2a, 0x84, 0x03, 0x0a,
0x0d, 0x45, 0x44, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x16,
0x0a, 0x09, 0x44, 0x45, 0x4d, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x74,
0x6f, 0x70, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x46, 0x69, 0x6c, 0x65,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4d, 0x5f,
0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45,
0x4d, 0x5f, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x63, 0x6b, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e,
0x44, 0x45, 0x4d, 0x5f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x10, 0x04,
0x12, 0x11, 0x0a, 0x0d, 0x44, 0x45, 0x4d, 0x5f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66,
0x6f, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4d, 0x5f, 0x53, 0x74, 0x72, 0x69, 0x6e,
0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x4d,
0x5f, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x4d,
0x5f, 0x53, 0x69, 0x67, 0x6e, 0x6f, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x08, 0x12,
0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x43, 0x6d,
0x64, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x43, 0x75, 0x73, 0x74, 0x6f,
0x6d, 0x44, 0x61, 0x74, 0x61, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x4d, 0x5f, 0x43,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
0x6b, 0x73, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x4d, 0x5f, 0x55, 0x73, 0x65, 0x72,
0x43, 0x6d, 0x64, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4d, 0x5f, 0x46, 0x75, 0x6c,
0x6c, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4d,
0x5f, 0x53, 0x61, 0x76, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x10, 0x0e, 0x12, 0x13, 0x0a, 0x0f, 0x44,
0x45, 0x4d, 0x5f, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x10, 0x0f,
0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4d, 0x5f, 0x4d, 0x61, 0x78, 0x10, 0x10, 0x12, 0x14, 0x0a,
0x10, 0x44, 0x45, 0x4d, 0x5f, 0x49, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65,
0x64, 0x10, 0x40, 0x42, 0x0b, 0x5a, 0x06, 0x2e, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x80, 0x01, 0x00,
}
var (

File diff suppressed because it is too large Load Diff

671
demo/dota_modifiers.pb.go Normal file
View File

@@ -0,0 +1,671 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.21.2
// source: dota_modifiers.proto
package demo
import (
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)
)
type DOTA_MODIFIER_ENTRY_TYPE int32
const (
DOTA_MODIFIER_ENTRY_TYPE_DOTA_MODIFIER_ENTRY_TYPE_ACTIVE DOTA_MODIFIER_ENTRY_TYPE = 1
DOTA_MODIFIER_ENTRY_TYPE_DOTA_MODIFIER_ENTRY_TYPE_REMOVED DOTA_MODIFIER_ENTRY_TYPE = 2
)
// Enum value maps for DOTA_MODIFIER_ENTRY_TYPE.
var (
DOTA_MODIFIER_ENTRY_TYPE_name = map[int32]string{
1: "DOTA_MODIFIER_ENTRY_TYPE_ACTIVE",
2: "DOTA_MODIFIER_ENTRY_TYPE_REMOVED",
}
DOTA_MODIFIER_ENTRY_TYPE_value = map[string]int32{
"DOTA_MODIFIER_ENTRY_TYPE_ACTIVE": 1,
"DOTA_MODIFIER_ENTRY_TYPE_REMOVED": 2,
}
)
func (x DOTA_MODIFIER_ENTRY_TYPE) Enum() *DOTA_MODIFIER_ENTRY_TYPE {
p := new(DOTA_MODIFIER_ENTRY_TYPE)
*p = x
return p
}
func (x DOTA_MODIFIER_ENTRY_TYPE) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DOTA_MODIFIER_ENTRY_TYPE) Descriptor() protoreflect.EnumDescriptor {
return file_dota_modifiers_proto_enumTypes[0].Descriptor()
}
func (DOTA_MODIFIER_ENTRY_TYPE) Type() protoreflect.EnumType {
return &file_dota_modifiers_proto_enumTypes[0]
}
func (x DOTA_MODIFIER_ENTRY_TYPE) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DOTA_MODIFIER_ENTRY_TYPE) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DOTA_MODIFIER_ENTRY_TYPE(num)
return nil
}
// Deprecated: Use DOTA_MODIFIER_ENTRY_TYPE.Descriptor instead.
func (DOTA_MODIFIER_ENTRY_TYPE) EnumDescriptor() ([]byte, []int) {
return file_dota_modifiers_proto_rawDescGZIP(), []int{0}
}
type CDOTAModifierBuffTableEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EntryType *DOTA_MODIFIER_ENTRY_TYPE `protobuf:"varint,1,req,name=entry_type,json=entryType,enum=DOTA_MODIFIER_ENTRY_TYPE,def=1" json:"entry_type,omitempty"`
Parent *uint32 `protobuf:"varint,2,req,name=parent" json:"parent,omitempty"`
Index *int32 `protobuf:"varint,3,req,name=index" json:"index,omitempty"`
SerialNum *int32 `protobuf:"varint,4,req,name=serial_num,json=serialNum" json:"serial_num,omitempty"`
ModifierClass *int32 `protobuf:"varint,5,opt,name=modifier_class,json=modifierClass" json:"modifier_class,omitempty"`
AbilityLevel *int32 `protobuf:"varint,6,opt,name=ability_level,json=abilityLevel" json:"ability_level,omitempty"`
StackCount *int32 `protobuf:"varint,7,opt,name=stack_count,json=stackCount" json:"stack_count,omitempty"`
CreationTime *float32 `protobuf:"fixed32,8,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
Duration *float32 `protobuf:"fixed32,9,opt,name=duration,def=-1" json:"duration,omitempty"`
Caster *uint32 `protobuf:"varint,10,opt,name=caster" json:"caster,omitempty"`
Ability *uint32 `protobuf:"varint,11,opt,name=ability" json:"ability,omitempty"`
Armor *int32 `protobuf:"varint,12,opt,name=armor" json:"armor,omitempty"`
FadeTime *float32 `protobuf:"fixed32,13,opt,name=fade_time,json=fadeTime" json:"fade_time,omitempty"`
Subtle *bool `protobuf:"varint,14,opt,name=subtle" json:"subtle,omitempty"`
ChannelTime *float32 `protobuf:"fixed32,15,opt,name=channel_time,json=channelTime" json:"channel_time,omitempty"`
VStart *CMsgVector `protobuf:"bytes,16,opt,name=v_start,json=vStart" json:"v_start,omitempty"`
VEnd *CMsgVector `protobuf:"bytes,17,opt,name=v_end,json=vEnd" json:"v_end,omitempty"`
PortalLoopAppear *string `protobuf:"bytes,18,opt,name=portal_loop_appear,json=portalLoopAppear" json:"portal_loop_appear,omitempty"`
PortalLoopDisappear *string `protobuf:"bytes,19,opt,name=portal_loop_disappear,json=portalLoopDisappear" json:"portal_loop_disappear,omitempty"`
HeroLoopAppear *string `protobuf:"bytes,20,opt,name=hero_loop_appear,json=heroLoopAppear" json:"hero_loop_appear,omitempty"`
HeroLoopDisappear *string `protobuf:"bytes,21,opt,name=hero_loop_disappear,json=heroLoopDisappear" json:"hero_loop_disappear,omitempty"`
MovementSpeed *int32 `protobuf:"varint,22,opt,name=movement_speed,json=movementSpeed" json:"movement_speed,omitempty"`
Aura *bool `protobuf:"varint,23,opt,name=aura" json:"aura,omitempty"`
Activity *int32 `protobuf:"varint,24,opt,name=activity" json:"activity,omitempty"`
Damage *int32 `protobuf:"varint,25,opt,name=damage" json:"damage,omitempty"`
Range *int32 `protobuf:"varint,26,opt,name=range" json:"range,omitempty"`
DdModifierIndex *int32 `protobuf:"varint,27,opt,name=dd_modifier_index,json=ddModifierIndex" json:"dd_modifier_index,omitempty"`
DdAbilityId *int32 `protobuf:"varint,28,opt,name=dd_ability_id,json=ddAbilityId" json:"dd_ability_id,omitempty"`
IllusionLabel *string `protobuf:"bytes,29,opt,name=illusion_label,json=illusionLabel" json:"illusion_label,omitempty"`
Active *bool `protobuf:"varint,30,opt,name=active" json:"active,omitempty"`
PlayerIds *string `protobuf:"bytes,31,opt,name=player_ids,json=playerIds" json:"player_ids,omitempty"`
LuaName *string `protobuf:"bytes,32,opt,name=lua_name,json=luaName" json:"lua_name,omitempty"`
AttackSpeed *int32 `protobuf:"varint,33,opt,name=attack_speed,json=attackSpeed" json:"attack_speed,omitempty"`
AuraOwner *uint32 `protobuf:"varint,34,opt,name=aura_owner,json=auraOwner" json:"aura_owner,omitempty"`
BonusAllStats *int32 `protobuf:"varint,35,opt,name=bonus_all_stats,json=bonusAllStats" json:"bonus_all_stats,omitempty"`
BonusHealth *int32 `protobuf:"varint,36,opt,name=bonus_health,json=bonusHealth" json:"bonus_health,omitempty"`
BonusMana *int32 `protobuf:"varint,37,opt,name=bonus_mana,json=bonusMana" json:"bonus_mana,omitempty"`
CustomEntity *uint32 `protobuf:"varint,38,opt,name=custom_entity,json=customEntity" json:"custom_entity,omitempty"`
}
// Default values for CDOTAModifierBuffTableEntry fields.
const (
Default_CDOTAModifierBuffTableEntry_EntryType = DOTA_MODIFIER_ENTRY_TYPE_DOTA_MODIFIER_ENTRY_TYPE_ACTIVE
Default_CDOTAModifierBuffTableEntry_Duration = float32(-1)
)
func (x *CDOTAModifierBuffTableEntry) Reset() {
*x = CDOTAModifierBuffTableEntry{}
if protoimpl.UnsafeEnabled {
mi := &file_dota_modifiers_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CDOTAModifierBuffTableEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CDOTAModifierBuffTableEntry) ProtoMessage() {}
func (x *CDOTAModifierBuffTableEntry) ProtoReflect() protoreflect.Message {
mi := &file_dota_modifiers_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 CDOTAModifierBuffTableEntry.ProtoReflect.Descriptor instead.
func (*CDOTAModifierBuffTableEntry) Descriptor() ([]byte, []int) {
return file_dota_modifiers_proto_rawDescGZIP(), []int{0}
}
func (x *CDOTAModifierBuffTableEntry) GetEntryType() DOTA_MODIFIER_ENTRY_TYPE {
if x != nil && x.EntryType != nil {
return *x.EntryType
}
return Default_CDOTAModifierBuffTableEntry_EntryType
}
func (x *CDOTAModifierBuffTableEntry) GetParent() uint32 {
if x != nil && x.Parent != nil {
return *x.Parent
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetIndex() int32 {
if x != nil && x.Index != nil {
return *x.Index
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetSerialNum() int32 {
if x != nil && x.SerialNum != nil {
return *x.SerialNum
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetModifierClass() int32 {
if x != nil && x.ModifierClass != nil {
return *x.ModifierClass
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetAbilityLevel() int32 {
if x != nil && x.AbilityLevel != nil {
return *x.AbilityLevel
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetStackCount() int32 {
if x != nil && x.StackCount != nil {
return *x.StackCount
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetCreationTime() float32 {
if x != nil && x.CreationTime != nil {
return *x.CreationTime
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetDuration() float32 {
if x != nil && x.Duration != nil {
return *x.Duration
}
return Default_CDOTAModifierBuffTableEntry_Duration
}
func (x *CDOTAModifierBuffTableEntry) GetCaster() uint32 {
if x != nil && x.Caster != nil {
return *x.Caster
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetAbility() uint32 {
if x != nil && x.Ability != nil {
return *x.Ability
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetArmor() int32 {
if x != nil && x.Armor != nil {
return *x.Armor
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetFadeTime() float32 {
if x != nil && x.FadeTime != nil {
return *x.FadeTime
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetSubtle() bool {
if x != nil && x.Subtle != nil {
return *x.Subtle
}
return false
}
func (x *CDOTAModifierBuffTableEntry) GetChannelTime() float32 {
if x != nil && x.ChannelTime != nil {
return *x.ChannelTime
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetVStart() *CMsgVector {
if x != nil {
return x.VStart
}
return nil
}
func (x *CDOTAModifierBuffTableEntry) GetVEnd() *CMsgVector {
if x != nil {
return x.VEnd
}
return nil
}
func (x *CDOTAModifierBuffTableEntry) GetPortalLoopAppear() string {
if x != nil && x.PortalLoopAppear != nil {
return *x.PortalLoopAppear
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetPortalLoopDisappear() string {
if x != nil && x.PortalLoopDisappear != nil {
return *x.PortalLoopDisappear
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetHeroLoopAppear() string {
if x != nil && x.HeroLoopAppear != nil {
return *x.HeroLoopAppear
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetHeroLoopDisappear() string {
if x != nil && x.HeroLoopDisappear != nil {
return *x.HeroLoopDisappear
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetMovementSpeed() int32 {
if x != nil && x.MovementSpeed != nil {
return *x.MovementSpeed
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetAura() bool {
if x != nil && x.Aura != nil {
return *x.Aura
}
return false
}
func (x *CDOTAModifierBuffTableEntry) GetActivity() int32 {
if x != nil && x.Activity != nil {
return *x.Activity
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetDamage() int32 {
if x != nil && x.Damage != nil {
return *x.Damage
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetRange() int32 {
if x != nil && x.Range != nil {
return *x.Range
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetDdModifierIndex() int32 {
if x != nil && x.DdModifierIndex != nil {
return *x.DdModifierIndex
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetDdAbilityId() int32 {
if x != nil && x.DdAbilityId != nil {
return *x.DdAbilityId
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetIllusionLabel() string {
if x != nil && x.IllusionLabel != nil {
return *x.IllusionLabel
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetActive() bool {
if x != nil && x.Active != nil {
return *x.Active
}
return false
}
func (x *CDOTAModifierBuffTableEntry) GetPlayerIds() string {
if x != nil && x.PlayerIds != nil {
return *x.PlayerIds
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetLuaName() string {
if x != nil && x.LuaName != nil {
return *x.LuaName
}
return ""
}
func (x *CDOTAModifierBuffTableEntry) GetAttackSpeed() int32 {
if x != nil && x.AttackSpeed != nil {
return *x.AttackSpeed
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetAuraOwner() uint32 {
if x != nil && x.AuraOwner != nil {
return *x.AuraOwner
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetBonusAllStats() int32 {
if x != nil && x.BonusAllStats != nil {
return *x.BonusAllStats
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetBonusHealth() int32 {
if x != nil && x.BonusHealth != nil {
return *x.BonusHealth
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetBonusMana() int32 {
if x != nil && x.BonusMana != nil {
return *x.BonusMana
}
return 0
}
func (x *CDOTAModifierBuffTableEntry) GetCustomEntity() uint32 {
if x != nil && x.CustomEntity != nil {
return *x.CustomEntity
}
return 0
}
type CDOTALuaModifierEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ModifierType *int32 `protobuf:"varint,1,req,name=modifier_type,json=modifierType" json:"modifier_type,omitempty"`
ModifierFilename *string `protobuf:"bytes,2,req,name=modifier_filename,json=modifierFilename" json:"modifier_filename,omitempty"`
}
func (x *CDOTALuaModifierEntry) Reset() {
*x = CDOTALuaModifierEntry{}
if protoimpl.UnsafeEnabled {
mi := &file_dota_modifiers_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CDOTALuaModifierEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CDOTALuaModifierEntry) ProtoMessage() {}
func (x *CDOTALuaModifierEntry) ProtoReflect() protoreflect.Message {
mi := &file_dota_modifiers_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 CDOTALuaModifierEntry.ProtoReflect.Descriptor instead.
func (*CDOTALuaModifierEntry) Descriptor() ([]byte, []int) {
return file_dota_modifiers_proto_rawDescGZIP(), []int{1}
}
func (x *CDOTALuaModifierEntry) GetModifierType() int32 {
if x != nil && x.ModifierType != nil {
return *x.ModifierType
}
return 0
}
func (x *CDOTALuaModifierEntry) GetModifierFilename() string {
if x != nil && x.ModifierFilename != nil {
return *x.ModifierFilename
}
return ""
}
var File_dota_modifiers_proto protoreflect.FileDescriptor
var file_dota_modifiers_proto_rawDesc = []byte{
0x0a, 0x14, 0x64, 0x6f, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x62,
0x61, 0x73, 0x65, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba,
0x0a, 0x0a, 0x1b, 0x43, 0x44, 0x4f, 0x54, 0x41, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
0x42, 0x75, 0x66, 0x66, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x59,
0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02,
0x28, 0x0e, 0x32, 0x19, 0x2e, 0x44, 0x4f, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49,
0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x3a, 0x1f, 0x44,
0x4f, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54,
0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x52, 0x09,
0x65, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,
0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x02, 0x28, 0x05,
0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61,
0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x02, 0x28, 0x05, 0x52, 0x09, 0x73, 0x65, 0x72,
0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,
0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x23, 0x0a,
0x0d, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76,
0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x08,
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x73, 0x74,
0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72,
0x12, 0x18, 0x0a, 0x07, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x07, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72,
0x6d, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x72, 0x6d, 0x6f, 0x72,
0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x64, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20,
0x01, 0x28, 0x02, 0x52, 0x08, 0x66, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a,
0x06, 0x73, 0x75, 0x62, 0x74, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73,
0x75, 0x62, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x63, 0x68, 0x61,
0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x76, 0x5f, 0x73, 0x74,
0x61, 0x72, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x43, 0x4d, 0x73, 0x67,
0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x76, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x20,
0x0a, 0x05, 0x76, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
0x43, 0x4d, 0x73, 0x67, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x76, 0x45, 0x6e, 0x64,
0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f,
0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f,
0x72, 0x74, 0x61, 0x6c, 0x4c, 0x6f, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x12, 0x32,
0x0a, 0x15, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x64, 0x69,
0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70,
0x6f, 0x72, 0x74, 0x61, 0x6c, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x69, 0x73, 0x61, 0x70, 0x70, 0x65,
0x61, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f,
0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x68, 0x65,
0x72, 0x6f, 0x4c, 0x6f, 0x6f, 0x70, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x12, 0x2e, 0x0a, 0x13,
0x68, 0x65, 0x72, 0x6f, 0x5f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x70, 0x70,
0x65, 0x61, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x68, 0x65, 0x72, 0x6f, 0x4c,
0x6f, 0x6f, 0x70, 0x44, 0x69, 0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x12, 0x25, 0x0a, 0x0e,
0x6d, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x16,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70,
0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x75, 0x72, 0x61, 0x18, 0x17, 0x20, 0x01, 0x28,
0x08, 0x52, 0x04, 0x61, 0x75, 0x72, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76,
0x69, 0x74, 0x79, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76,
0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x19, 0x20,
0x01, 0x28, 0x05, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72,
0x61, 0x6e, 0x67, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67,
0x65, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x64,
0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a,
0x0d, 0x64, 0x64, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x1c,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49,
0x64, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6c, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61,
0x62, 0x65, 0x6c, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6c, 0x6c, 0x75, 0x73,
0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69,
0x76, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x1f,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12,
0x19, 0x0a, 0x08, 0x6c, 0x75, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6c, 0x75, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x74,
0x74, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x1d, 0x0a,
0x0a, 0x61, 0x75, 0x72, 0x61, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x22, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x09, 0x61, 0x75, 0x72, 0x61, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f,
0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18,
0x23, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x6c, 0x6c, 0x53,
0x74, 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x68, 0x65,
0x61, 0x6c, 0x74, 0x68, 0x18, 0x24, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x6f, 0x6e, 0x75,
0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6e, 0x75, 0x73,
0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x18, 0x25, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x6f, 0x6e,
0x75, 0x73, 0x4d, 0x61, 0x6e, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x69, 0x0a, 0x15, 0x43,
0x44, 0x4f, 0x54, 0x41, 0x4c, 0x75, 0x61, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x6f, 0x64,
0x69, 0x66, 0x69, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x6f, 0x64,
0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
0x20, 0x02, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x46, 0x69,
0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x65, 0x0a, 0x18, 0x44, 0x4f, 0x54, 0x41, 0x5f, 0x4d,
0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59,
0x50, 0x45, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46,
0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41,
0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x4f, 0x54, 0x41, 0x5f,
0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x54,
0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x42, 0x0d, 0x48,
0x01, 0x5a, 0x06, 0x2e, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x80, 0x01, 0x00,
}
var (
file_dota_modifiers_proto_rawDescOnce sync.Once
file_dota_modifiers_proto_rawDescData = file_dota_modifiers_proto_rawDesc
)
func file_dota_modifiers_proto_rawDescGZIP() []byte {
file_dota_modifiers_proto_rawDescOnce.Do(func() {
file_dota_modifiers_proto_rawDescData = protoimpl.X.CompressGZIP(file_dota_modifiers_proto_rawDescData)
})
return file_dota_modifiers_proto_rawDescData
}
var file_dota_modifiers_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_dota_modifiers_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_dota_modifiers_proto_goTypes = []interface{}{
(DOTA_MODIFIER_ENTRY_TYPE)(0), // 0: DOTA_MODIFIER_ENTRY_TYPE
(*CDOTAModifierBuffTableEntry)(nil), // 1: CDOTAModifierBuffTableEntry
(*CDOTALuaModifierEntry)(nil), // 2: CDOTALuaModifierEntry
(*CMsgVector)(nil), // 3: CMsgVector
}
var file_dota_modifiers_proto_depIdxs = []int32{
0, // 0: CDOTAModifierBuffTableEntry.entry_type:type_name -> DOTA_MODIFIER_ENTRY_TYPE
3, // 1: CDOTAModifierBuffTableEntry.v_start:type_name -> CMsgVector
3, // 2: CDOTAModifierBuffTableEntry.v_end:type_name -> CMsgVector
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_dota_modifiers_proto_init() }
func file_dota_modifiers_proto_init() {
if File_dota_modifiers_proto != nil {
return
}
file_networkbasetypes_proto_init()
if !protoimpl.UnsafeEnabled {
file_dota_modifiers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CDOTAModifierBuffTableEntry); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_dota_modifiers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CDOTALuaModifierEntry); 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_dota_modifiers_proto_rawDesc,
NumEnums: 1,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_dota_modifiers_proto_goTypes,
DependencyIndexes: file_dota_modifiers_proto_depIdxs,
EnumInfos: file_dota_modifiers_proto_enumTypes,
MessageInfos: file_dota_modifiers_proto_msgTypes,
}.Build()
File_dota_modifiers_proto = out.File
file_dota_modifiers_proto_rawDesc = nil
file_dota_modifiers_proto_goTypes = nil
file_dota_modifiers_proto_depIdxs = nil
}

6336
demo/dota_shared_enums.pb.go Normal file

File diff suppressed because it is too large Load Diff

18724
demo/dota_usermessages.pb.go Normal file

File diff suppressed because it is too large Load Diff

7538
demo/netmessages.pb.go Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2779
demo/networkbasetypes.pb.go Normal file

File diff suppressed because it is too large Load Diff

6766
demo/usermessages.pb.go Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,5 @@
syntax = "proto2";
option go_package = "./demo";
option go_package="./demo";
option cc_generic_services = false;
enum EDemoCommands {
@@ -39,6 +38,7 @@ message CDemoFileHeader {
optional string demo_version_name = 11;
optional string demo_version_guid = 12;
optional int32 build_num = 13;
optional string game = 14;
}
message CGameInfo {

View File

@@ -0,0 +1,150 @@
syntax = "proto2";
option go_package="./demo";
import "networkbasetypes.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
enum EPingSource {
k_ePingSource_Default = 0;
k_ePingSource_Warning = 1;
k_ePingSource_Wheel = 2;
k_ePingSource_System = 3;
}
enum EDOTAStatPopupTypes {
k_EDOTA_SPT_Textline = 0;
k_EDOTA_SPT_Basic = 1;
k_EDOTA_SPT_Poll = 2;
k_EDOTA_SPT_Grid = 3;
k_EDOTA_SPT_DualImage = 4;
k_EDOTA_SPT_Movie = 5;
}
enum dotaunitorder_t {
DOTA_UNIT_ORDER_NONE = 0;
DOTA_UNIT_ORDER_MOVE_TO_POSITION = 1;
DOTA_UNIT_ORDER_MOVE_TO_TARGET = 2;
DOTA_UNIT_ORDER_ATTACK_MOVE = 3;
DOTA_UNIT_ORDER_ATTACK_TARGET = 4;
DOTA_UNIT_ORDER_CAST_POSITION = 5;
DOTA_UNIT_ORDER_CAST_TARGET = 6;
DOTA_UNIT_ORDER_CAST_TARGET_TREE = 7;
DOTA_UNIT_ORDER_CAST_NO_TARGET = 8;
DOTA_UNIT_ORDER_CAST_TOGGLE = 9;
DOTA_UNIT_ORDER_HOLD_POSITION = 10;
DOTA_UNIT_ORDER_TRAIN_ABILITY = 11;
DOTA_UNIT_ORDER_DROP_ITEM = 12;
DOTA_UNIT_ORDER_GIVE_ITEM = 13;
DOTA_UNIT_ORDER_PICKUP_ITEM = 14;
DOTA_UNIT_ORDER_PICKUP_RUNE = 15;
DOTA_UNIT_ORDER_PURCHASE_ITEM = 16;
DOTA_UNIT_ORDER_SELL_ITEM = 17;
DOTA_UNIT_ORDER_DISASSEMBLE_ITEM = 18;
DOTA_UNIT_ORDER_MOVE_ITEM = 19;
DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO = 20;
DOTA_UNIT_ORDER_STOP = 21;
DOTA_UNIT_ORDER_TAUNT = 22;
DOTA_UNIT_ORDER_BUYBACK = 23;
DOTA_UNIT_ORDER_GLYPH = 24;
DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH = 25;
DOTA_UNIT_ORDER_CAST_RUNE = 26;
DOTA_UNIT_ORDER_PING_ABILITY = 27;
DOTA_UNIT_ORDER_MOVE_TO_DIRECTION = 28;
DOTA_UNIT_ORDER_PATROL = 29;
DOTA_UNIT_ORDER_VECTOR_TARGET_POSITION = 30;
DOTA_UNIT_ORDER_RADAR = 31;
DOTA_UNIT_ORDER_SET_ITEM_COMBINE_LOCK = 32;
DOTA_UNIT_ORDER_CONTINUE = 33;
DOTA_UNIT_ORDER_VECTOR_TARGET_CANCELED = 34;
DOTA_UNIT_ORDER_CAST_RIVER_PAINT = 35;
DOTA_UNIT_ORDER_PREGAME_ADJUST_ITEM_ASSIGNMENT = 36;
DOTA_UNIT_ORDER_DROP_ITEM_AT_FOUNTAIN = 37;
DOTA_UNIT_ORDER_TAKE_ITEM_FROM_NEUTRAL_ITEM_STASH = 38;
DOTA_UNIT_ORDER_MOVE_RELATIVE = 39;
}
enum EDOTAVersusScenePlayerBehavior {
VS_PLAYER_BEHAVIOR_PLAY_ACTIVITY = 1;
VS_PLAYER_BEHAVIOR_CHAT_WHEEL = 2;
VS_PLAYER_BEHAVIOR_PLAYBACK_RATE = 3;
}
message CDOTAMsg_LocationPing {
optional int32 x = 1;
optional int32 y = 2;
optional int32 target = 3;
optional bool direct_ping = 4;
optional int32 type = 5;
optional .EPingSource ping_source = 6 [default = k_ePingSource_Default];
}
message CDOTAMsg_ItemAlert {
optional int32 x = 1;
optional int32 y = 2;
optional int32 item_ability_id = 3;
}
message CDOTAMsg_MapLine {
optional int32 x = 1;
optional int32 y = 2;
optional bool initial = 3;
}
message CDOTAMsg_WorldLine {
optional int32 x = 1;
optional int32 y = 2;
optional int32 z = 3;
optional bool initial = 4;
optional bool end = 5;
}
message CDOTAMsg_SendStatPopup {
optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
repeated string stat_strings = 2;
repeated int32 stat_images = 3;
repeated int32 stat_image_types = 4;
optional float duration = 5;
optional bool use_html = 6;
optional string movie_name = 7;
}
message CDOTAMsg_DismissAllStatPopups {
optional float time_delay = 1;
}
message CDOTAMsg_CoachHUDPing {
optional uint32 x = 1;
optional uint32 y = 2;
optional string tgtpath = 3;
}
message CDOTAMsg_UnitOrder {
optional .dotaunitorder_t order_type = 2 [default = DOTA_UNIT_ORDER_NONE];
repeated int32 units = 3;
optional int32 target_index = 4;
optional int32 ability_index = 5;
optional .CMsgVector position = 6;
optional int32 sequence_number = 8;
optional uint32 flags = 9;
}
message VersusScene_PlayActivity {
message ActivityInfo {
optional string activity = 1;
optional bool disable_auto_kill = 2;
optional bool force_looping = 3;
}
repeated .VersusScene_PlayActivity.ActivityInfo activities = 1;
optional float playback_rate = 2;
}
message VersusScene_ChatWheel {
optional uint32 chat_message_id = 1;
optional uint32 emoticon_id = 2;
}
message VersusScene_PlaybackRate {
optional float rate = 1;
}

View File

@@ -0,0 +1,57 @@
syntax = "proto2";
option go_package="./demo";
import "networkbasetypes.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
enum DOTA_MODIFIER_ENTRY_TYPE {
DOTA_MODIFIER_ENTRY_TYPE_ACTIVE = 1;
DOTA_MODIFIER_ENTRY_TYPE_REMOVED = 2;
}
message CDOTAModifierBuffTableEntry {
required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
required uint32 parent = 2;
required int32 index = 3;
required int32 serial_num = 4;
optional int32 modifier_class = 5;
optional int32 ability_level = 6;
optional int32 stack_count = 7;
optional float creation_time = 8;
optional float duration = 9 [default = -1];
optional uint32 caster = 10;
optional uint32 ability = 11;
optional int32 armor = 12;
optional float fade_time = 13;
optional bool subtle = 14;
optional float channel_time = 15;
optional .CMsgVector v_start = 16;
optional .CMsgVector v_end = 17;
optional string portal_loop_appear = 18;
optional string portal_loop_disappear = 19;
optional string hero_loop_appear = 20;
optional string hero_loop_disappear = 21;
optional int32 movement_speed = 22;
optional bool aura = 23;
optional int32 activity = 24;
optional int32 damage = 25;
optional int32 range = 26;
optional int32 dd_modifier_index = 27;
optional int32 dd_ability_id = 28;
optional string illusion_label = 29;
optional bool active = 30;
optional string player_ids = 31;
optional string lua_name = 32;
optional int32 attack_speed = 33;
optional uint32 aura_owner = 34;
optional int32 bonus_all_stats = 35;
optional int32 bonus_health = 36;
optional int32 bonus_mana = 37;
optional uint32 custom_entity = 38;
}
message CDOTALuaModifierEntry {
required int32 modifier_type = 1;
required string modifier_filename = 2;
}

View File

@@ -0,0 +1,733 @@
syntax = "proto2";
option go_package="./demo";
option optimize_for = SPEED;
option cc_generic_services = false;
enum DOTA_GameMode {
DOTA_GAMEMODE_NONE = 0;
DOTA_GAMEMODE_AP = 1;
DOTA_GAMEMODE_CM = 2;
DOTA_GAMEMODE_RD = 3;
DOTA_GAMEMODE_SD = 4;
DOTA_GAMEMODE_AR = 5;
DOTA_GAMEMODE_INTRO = 6;
DOTA_GAMEMODE_HW = 7;
DOTA_GAMEMODE_REVERSE_CM = 8;
DOTA_GAMEMODE_XMAS = 9;
DOTA_GAMEMODE_TUTORIAL = 10;
DOTA_GAMEMODE_MO = 11;
DOTA_GAMEMODE_LP = 12;
DOTA_GAMEMODE_POOL1 = 13;
DOTA_GAMEMODE_FH = 14;
DOTA_GAMEMODE_CUSTOM = 15;
DOTA_GAMEMODE_CD = 16;
DOTA_GAMEMODE_BD = 17;
DOTA_GAMEMODE_ABILITY_DRAFT = 18;
DOTA_GAMEMODE_EVENT = 19;
DOTA_GAMEMODE_ARDM = 20;
DOTA_GAMEMODE_1V1MID = 21;
DOTA_GAMEMODE_ALL_DRAFT = 22;
DOTA_GAMEMODE_TURBO = 23;
DOTA_GAMEMODE_MUTATION = 24;
DOTA_GAMEMODE_COACHES_CHALLENGE = 25;
}
enum DOTA_GameState {
DOTA_GAMERULES_STATE_INIT = 0;
DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD = 1;
DOTA_GAMERULES_STATE_HERO_SELECTION = 2;
DOTA_GAMERULES_STATE_STRATEGY_TIME = 3;
DOTA_GAMERULES_STATE_PRE_GAME = 4;
DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 5;
DOTA_GAMERULES_STATE_POST_GAME = 6;
DOTA_GAMERULES_STATE_DISCONNECT = 7;
DOTA_GAMERULES_STATE_TEAM_SHOWCASE = 8;
DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP = 9;
DOTA_GAMERULES_STATE_WAIT_FOR_MAP_TO_LOAD = 10;
DOTA_GAMERULES_STATE_SCENARIO_SETUP = 11;
DOTA_GAMERULES_STATE_LAST = 12;
}
enum DOTA_GC_TEAM {
DOTA_GC_TEAM_GOOD_GUYS = 0;
DOTA_GC_TEAM_BAD_GUYS = 1;
DOTA_GC_TEAM_BROADCASTER = 2;
DOTA_GC_TEAM_SPECTATOR = 3;
DOTA_GC_TEAM_PLAYER_POOL = 4;
DOTA_GC_TEAM_NOTEAM = 5;
DOTA_GC_TEAM_CUSTOM_1 = 6;
DOTA_GC_TEAM_CUSTOM_2 = 7;
DOTA_GC_TEAM_CUSTOM_3 = 8;
DOTA_GC_TEAM_CUSTOM_4 = 9;
DOTA_GC_TEAM_CUSTOM_5 = 10;
DOTA_GC_TEAM_CUSTOM_6 = 11;
DOTA_GC_TEAM_CUSTOM_7 = 12;
DOTA_GC_TEAM_CUSTOM_8 = 13;
DOTA_GC_TEAM_NEUTRALS = 14;
}
enum EEvent {
EVENT_ID_NONE = 0;
EVENT_ID_DIRETIDE = 1;
EVENT_ID_SPRING_FESTIVAL = 2;
EVENT_ID_FROSTIVUS_2013 = 3;
EVENT_ID_COMPENDIUM_2014 = 4;
EVENT_ID_NEXON_PC_BANG = 5;
EVENT_ID_PWRD_DAC_2015 = 6;
EVENT_ID_NEW_BLOOM_2015 = 7;
EVENT_ID_INTERNATIONAL_2015 = 8;
EVENT_ID_FALL_MAJOR_2015 = 9;
EVENT_ID_ORACLE_PA = 10;
EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11;
EVENT_ID_FROSTIVUS = 12;
EVENT_ID_WINTER_MAJOR_2016 = 13;
EVENT_ID_INTERNATIONAL_2016 = 14;
EVENT_ID_FALL_MAJOR_2016 = 15;
EVENT_ID_WINTER_MAJOR_2017 = 16;
EVENT_ID_NEW_BLOOM_2017 = 17;
EVENT_ID_INTERNATIONAL_2017 = 18;
EVENT_ID_PLUS_SUBSCRIPTION = 19;
EVENT_ID_SINGLES_DAY_2017 = 20;
EVENT_ID_FROSTIVUS_2017 = 21;
EVENT_ID_INTERNATIONAL_2018 = 22;
EVENT_ID_FROSTIVUS_2018 = 23;
EVENT_ID_NEW_BLOOM_2019 = 24;
EVENT_ID_INTERNATIONAL_2019 = 25;
EVENT_ID_NEW_PLAYER_EXPERIENCE = 26;
EVENT_ID_FROSTIVUS_2019 = 27;
EVENT_ID_NEW_BLOOM_2020 = 28;
EVENT_ID_INTERNATIONAL_2020 = 29;
EVENT_ID_TEAM_FANDOM = 30;
EVENT_ID_DIRETIDE_2020 = 31;
EVENT_ID_SPRING_2021 = 32;
EVENT_ID_FALL_2021 = 33;
EVENT_ID_TEAM_FANDOM_FALL_2021 = 34;
EVENT_ID_TEAM_2021_2022_TOUR2 = 35;
EVENT_ID_INTERNATIONAL_2022 = 36;
EVENT_ID_TEAM_2021_2022_TOUR3 = 37;
EVENT_ID_TEAM_INTERNATIONAL_2022 = 38;
}
enum DOTALeaverStatus_t {
DOTA_LEAVER_NONE = 0;
DOTA_LEAVER_DISCONNECTED = 1;
DOTA_LEAVER_DISCONNECTED_TOO_LONG = 2;
DOTA_LEAVER_ABANDONED = 3;
DOTA_LEAVER_AFK = 4;
DOTA_LEAVER_NEVER_CONNECTED = 5;
DOTA_LEAVER_NEVER_CONNECTED_TOO_LONG = 6;
DOTA_LEAVER_FAILED_TO_READY_UP = 7;
DOTA_LEAVER_DECLINED = 8;
}
enum DOTAConnectionState_t {
DOTA_CONNECTION_STATE_UNKNOWN = 0;
DOTA_CONNECTION_STATE_NOT_YET_CONNECTED = 1;
DOTA_CONNECTION_STATE_CONNECTED = 2;
DOTA_CONNECTION_STATE_DISCONNECTED = 3;
DOTA_CONNECTION_STATE_ABANDONED = 4;
DOTA_CONNECTION_STATE_LOADING = 5;
DOTA_CONNECTION_STATE_FAILED = 6;
}
enum Fantasy_Roles {
FANTASY_ROLE_UNDEFINED = 0;
FANTASY_ROLE_CORE = 1;
FANTASY_ROLE_SUPPORT = 2;
FANTASY_ROLE_OFFLANE = 3;
FANTASY_ROLE_MID = 4;
}
enum Fantasy_Team_Slots {
FANTASY_SLOT_NONE = 0;
FANTASY_SLOT_CORE = 1;
FANTASY_SLOT_SUPPORT = 2;
FANTASY_SLOT_ANY = 3;
FANTASY_SLOT_BENCH = 4;
}
enum Fantasy_Selection_Mode {
FANTASY_SELECTION_INVALID = 0;
FANTASY_SELECTION_LOCKED = 1;
FANTASY_SELECTION_SHUFFLE = 2;
FANTASY_SELECTION_FREE_PICK = 3;
FANTASY_SELECTION_ENDED = 4;
FANTASY_SELECTION_PRE_SEASON = 5;
FANTASY_SELECTION_PRE_DRAFT = 6;
FANTASY_SELECTION_DRAFTING = 7;
FANTASY_SELECTION_REGULAR_SEASON = 8;
FANTASY_SELECTION_CARD_BASED = 9;
}
enum DOTAChatChannelType_t {
DOTAChannelType_Regional = 0;
DOTAChannelType_Custom = 1;
DOTAChannelType_Party = 2;
DOTAChannelType_Lobby = 3;
DOTAChannelType_Team = 4;
DOTAChannelType_Guild = 5;
DOTAChannelType_Fantasy = 6;
DOTAChannelType_Whisper = 7;
DOTAChannelType_Console = 8;
DOTAChannelType_Tab = 9;
DOTAChannelType_Invalid = 10;
DOTAChannelType_GameAll = 11;
DOTAChannelType_GameAllies = 12;
DOTAChannelType_GameSpectator = 13;
DOTAChannelType_GameCoaching = 14;
DOTAChannelType_Cafe = 15;
DOTAChannelType_CustomGame = 16;
DOTAChannelType_Private = 17;
DOTAChannelType_PostGame = 18;
DOTAChannelType_BattleCup = 19;
DOTAChannelType_HLTVSpectator = 20;
DOTAChannelType_GameEvents = 21;
DOTAChannelType_Trivia = 22;
DOTAChannelType_NewPlayer = 23;
DOTAChannelType_PrivateCoaching = 24;
}
enum EChatSpecialPrivileges {
k_EChatSpecialPrivileges_None = 0;
k_EChatSpecialPrivileges_Moderator = 1;
k_EChatSpecialPrivileges_SuperModerator = 2;
}
enum EProfileCardSlotType {
k_EProfileCardSlotType_Empty = 0;
k_EProfileCardSlotType_Stat = 1;
k_EProfileCardSlotType_Trophy = 2;
k_EProfileCardSlotType_Item = 3;
k_EProfileCardSlotType_Hero = 4;
k_EProfileCardSlotType_Emoticon = 5;
k_EProfileCardSlotType_Team = 6;
}
enum EMatchGroupServerStatus {
k_EMatchGroupServerStatus_OK = 0;
k_EMatchGroupServerStatus_LimitedAvailability = 1;
k_EMatchGroupServerStatus_Offline = 2;
}
enum DOTA_CM_PICK {
DOTA_CM_RANDOM = 0;
DOTA_CM_GOOD_GUYS = 1;
DOTA_CM_BAD_GUYS = 2;
}
enum DOTALowPriorityBanType {
DOTA_LOW_PRIORITY_BAN_ABANDON = 0;
DOTA_LOW_PRIORITY_BAN_REPORTS = 1;
DOTA_LOW_PRIORITY_BAN_SECONDARY_ABANDON = 2;
DOTA_LOW_PRIORITY_BAN_PRE_GAME_ROLE = 3;
}
enum DOTALobbyReadyState {
DOTALobbyReadyState_UNDECLARED = 0;
DOTALobbyReadyState_ACCEPTED = 1;
DOTALobbyReadyState_DECLINED = 2;
}
enum DOTAGameVersion {
GAME_VERSION_CURRENT = 0;
GAME_VERSION_STABLE = 1;
}
enum DOTAJoinLobbyResult {
DOTA_JOIN_RESULT_SUCCESS = 0;
DOTA_JOIN_RESULT_ALREADY_IN_GAME = 1;
DOTA_JOIN_RESULT_INVALID_LOBBY = 2;
DOTA_JOIN_RESULT_INCORRECT_PASSWORD = 3;
DOTA_JOIN_RESULT_ACCESS_DENIED = 4;
DOTA_JOIN_RESULT_GENERIC_ERROR = 5;
DOTA_JOIN_RESULT_INCORRECT_VERSION = 6;
DOTA_JOIN_RESULT_IN_TEAM_PARTY = 7;
DOTA_JOIN_RESULT_NO_LOBBY_FOUND = 8;
DOTA_JOIN_RESULT_LOBBY_FULL = 9;
DOTA_JOIN_RESULT_CUSTOM_GAME_INCORRECT_VERSION = 10;
DOTA_JOIN_RESULT_TIMEOUT = 11;
DOTA_JOIN_RESULT_CUSTOM_GAME_COOLDOWN = 12;
DOTA_JOIN_RESULT_BUSY = 13;
DOTA_JOIN_RESULT_NO_PLAYTIME = 14;
}
enum DOTASelectionPriorityRules {
k_DOTASelectionPriorityRules_Manual = 0;
k_DOTASelectionPriorityRules_Automatic = 1;
}
enum DOTASelectionPriorityChoice {
k_DOTASelectionPriorityChoice_Invalid = 0;
k_DOTASelectionPriorityChoice_FirstPick = 1;
k_DOTASelectionPriorityChoice_SecondPick = 2;
k_DOTASelectionPriorityChoice_Radiant = 3;
k_DOTASelectionPriorityChoice_Dire = 4;
}
enum DOTAMatchVote {
DOTAMatchVote_INVALID = 0;
DOTAMatchVote_POSITIVE = 1;
DOTAMatchVote_NEGATIVE = 2;
}
enum DOTALobbyVisibility {
DOTALobbyVisibility_Public = 0;
DOTALobbyVisibility_Friends = 1;
DOTALobbyVisibility_Unlisted = 2;
}
enum EDOTAPlayerMMRType {
k_EDOTAPlayerMMRType_Invalid = 0;
k_EDOTAPlayerMMRType_GeneralHidden = 1;
k_EDOTAPlayerMMRType_GeneralCompetitive = 3;
k_EDOTAPlayerMMRType_SoloCompetitive2019 = 4;
k_EDOTAPlayerMMRType_1v1Competitive_UNUSED = 5;
}
enum EDOTAMMRBoostType {
k_EDOTAMMRBoostType_None = 0;
k_EDOTAMMRBoostType_Leader = 1;
k_EDOTAMMRBoostType_Follower = 2;
}
enum MatchType {
MATCH_TYPE_CASUAL = 0;
MATCH_TYPE_COOP_BOTS = 1;
MATCH_TYPE_LEGACY_TEAM_RANKED = 2;
MATCH_TYPE_LEGACY_SOLO_QUEUE = 3;
MATCH_TYPE_COMPETITIVE = 4;
MATCH_TYPE_WEEKEND_TOURNEY = 5;
MATCH_TYPE_CASUAL_1V1 = 6;
MATCH_TYPE_EVENT = 7;
MATCH_TYPE_SEASONAL_RANKED = 8;
MATCH_TYPE_LOWPRI_DEPRECATED = 9;
MATCH_TYPE_STEAM_GROUP = 10;
MATCH_TYPE_MUTATION = 11;
MATCH_TYPE_COACHES_CHALLENGE = 12;
MATCH_TYPE_GAUNTLET = 13;
MATCH_TYPE_NEW_PLAYER_POOL = 14;
}
enum DOTABotDifficulty {
BOT_DIFFICULTY_PASSIVE = 0;
BOT_DIFFICULTY_EASY = 1;
BOT_DIFFICULTY_MEDIUM = 2;
BOT_DIFFICULTY_HARD = 3;
BOT_DIFFICULTY_UNFAIR = 4;
BOT_DIFFICULTY_INVALID = 5;
BOT_DIFFICULTY_EXTRA1 = 6;
BOT_DIFFICULTY_EXTRA2 = 7;
BOT_DIFFICULTY_EXTRA3 = 8;
BOT_DIFFICULTY_NPX = 9;
}
enum DOTA_BOT_MODE {
DOTA_BOT_MODE_NONE = 0;
DOTA_BOT_MODE_LANING = 1;
DOTA_BOT_MODE_ATTACK = 2;
DOTA_BOT_MODE_ROAM = 3;
DOTA_BOT_MODE_RETREAT = 4;
DOTA_BOT_MODE_SECRET_SHOP = 5;
DOTA_BOT_MODE_SIDE_SHOP = 6;
DOTA_BOT_MODE_RUNE = 7;
DOTA_BOT_MODE_PUSH_TOWER_TOP = 8;
DOTA_BOT_MODE_PUSH_TOWER_MID = 9;
DOTA_BOT_MODE_PUSH_TOWER_BOT = 10;
DOTA_BOT_MODE_DEFEND_TOWER_TOP = 11;
DOTA_BOT_MODE_DEFEND_TOWER_MID = 12;
DOTA_BOT_MODE_DEFEND_TOWER_BOT = 13;
DOTA_BOT_MODE_ASSEMBLE = 14;
DOTA_BOT_MODE_ASSEMBLE_WITH_HUMANS = 15;
DOTA_BOT_MODE_TEAM_ROAM = 16;
DOTA_BOT_MODE_FARM = 17;
DOTA_BOT_MODE_DEFEND_ALLY = 18;
DOTA_BOT_MODE_EVASIVE_MANEUVERS = 19;
DOTA_BOT_MODE_ROSHAN = 20;
DOTA_BOT_MODE_ITEM = 21;
DOTA_BOT_MODE_WARD = 22;
DOTA_BOT_MODE_COMPANION = 23;
DOTA_BOT_MODE_TUTORIAL_BOSS = 24;
DOTA_BOT_MODE_MINION = 25;
DOTA_BOT_MODE_OUTPOST = 26;
}
enum MatchLanguages {
MATCH_LANGUAGE_INVALID = 0;
MATCH_LANGUAGE_ENGLISH = 1;
MATCH_LANGUAGE_RUSSIAN = 2;
MATCH_LANGUAGE_CHINESE = 3;
MATCH_LANGUAGE_KOREAN = 4;
MATCH_LANGUAGE_SPANISH = 5;
MATCH_LANGUAGE_PORTUGUESE = 6;
MATCH_LANGUAGE_ENGLISH2 = 7;
}
enum ETourneyQueueDeadlineState {
k_ETourneyQueueDeadlineState_Normal = 0;
k_ETourneyQueueDeadlineState_Missed = 1;
k_ETourneyQueueDeadlineState_ExpiredOK = 2;
k_ETourneyQueueDeadlineState_SeekingBye = 3;
k_ETourneyQueueDeadlineState_EligibleForRefund = 4;
k_ETourneyQueueDeadlineState_NA = -1;
k_ETourneyQueueDeadlineState_ExpiringSoon = 101;
}
enum EMatchOutcome {
k_EMatchOutcome_Unknown = 0;
k_EMatchOutcome_RadVictory = 2;
k_EMatchOutcome_DireVictory = 3;
k_EMatchOutcome_NeutralVictory = 4;
k_EMatchOutcome_NoTeamWinner = 5;
k_EMatchOutcome_Custom1Victory = 6;
k_EMatchOutcome_Custom2Victory = 7;
k_EMatchOutcome_Custom3Victory = 8;
k_EMatchOutcome_Custom4Victory = 9;
k_EMatchOutcome_Custom5Victory = 10;
k_EMatchOutcome_Custom6Victory = 11;
k_EMatchOutcome_Custom7Victory = 12;
k_EMatchOutcome_Custom8Victory = 13;
k_EMatchOutcome_NotScored_PoorNetworkConditions = 64;
k_EMatchOutcome_NotScored_Leaver = 65;
k_EMatchOutcome_NotScored_ServerCrash = 66;
k_EMatchOutcome_NotScored_NeverStarted = 67;
k_EMatchOutcome_NotScored_Canceled = 68;
k_EMatchOutcome_NotScored_Suspicious = 69;
}
enum ELaneType {
LANE_TYPE_UNKNOWN = 0;
LANE_TYPE_SAFE = 1;
LANE_TYPE_OFF = 2;
LANE_TYPE_MID = 3;
LANE_TYPE_JUNGLE = 4;
LANE_TYPE_ROAM = 5;
}
enum EBadgeType {
k_EBadgeType_TI7_Midweek = 1;
k_EBadgeType_TI7_Finals = 2;
k_EBadgeType_TI7_AllEvent = 3;
k_EBadgeType_TI8_Midweek = 4;
k_EBadgeType_TI8_Finals = 5;
k_EBadgeType_TI8_AllEvent = 6;
k_EBadgeType_TI10 = 7;
}
enum ELeagueStatus {
LEAGUE_STATUS_UNSET = 0;
LEAGUE_STATUS_UNSUBMITTED = 1;
LEAGUE_STATUS_SUBMITTED = 2;
LEAGUE_STATUS_ACCEPTED = 3;
LEAGUE_STATUS_REJECTED = 4;
LEAGUE_STATUS_CONCLUDED = 5;
LEAGUE_STATUS_DELETED = 6;
}
enum ELeagueRegion {
LEAGUE_REGION_UNSET = 0;
LEAGUE_REGION_NA = 1;
LEAGUE_REGION_SA = 2;
LEAGUE_REGION_WEU = 3;
LEAGUE_REGION_EEU = 4;
LEAGUE_REGION_CHINA = 5;
LEAGUE_REGION_SEA = 6;
}
enum ELeagueTier {
LEAGUE_TIER_UNSET = 0;
LEAGUE_TIER_AMATEUR = 1;
LEAGUE_TIER_PROFESSIONAL = 2;
LEAGUE_TIER_MINOR = 3;
LEAGUE_TIER_MAJOR = 4;
LEAGUE_TIER_INTERNATIONAL = 5;
LEAGUE_TIER_DPC_QUALIFIER = 6;
LEAGUE_TIER_DPC_LEAGUE_QUALIFIER = 7;
LEAGUE_TIER_DPC_LEAGUE = 8;
LEAGUE_TIER_DPC_LEAGUE_FINALS = 9;
}
enum ELeagueTierCategory {
LEAGUE_TIER_CATEGORY_AMATEUR = 1;
LEAGUE_TIER_CATEGORY_PROFESSIONAL = 2;
LEAGUE_TIER_CATEGORY_DPC = 3;
}
enum ELeagueDivision {
LEAGUE_DIVISION_UNSET = 0;
LEAGUE_DIVISION_I = 1;
LEAGUE_DIVISION_II = 2;
}
enum ELeagueBroadcastProvider {
LEAGUE_BROADCAST_UNKNOWN = 0;
LEAGUE_BROADCAST_STEAM = 1;
LEAGUE_BROADCAST_TWITCH = 2;
LEAGUE_BROADCAST_YOUTUBE = 3;
LEAGUE_BROADCAST_OTHER = 100;
}
enum ELeaguePhase {
LEAGUE_PHASE_UNSET = 0;
LEAGUE_PHASE_REGIONAL_QUALIFIER = 1;
LEAGUE_PHASE_GROUP_STAGE = 2;
LEAGUE_PHASE_MAIN_EVENT = 3;
}
enum ELeagueAuditAction {
LEAGUE_AUDIT_ACTION_INVALID = 0;
LEAGUE_AUDIT_ACTION_LEAGUE_CREATE = 1;
LEAGUE_AUDIT_ACTION_LEAGUE_EDIT = 2;
LEAGUE_AUDIT_ACTION_LEAGUE_DELETE = 3;
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_ADD = 4;
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_REVOKE = 5;
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_PROMOTE = 6;
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_ADD = 7;
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_REMOVE = 8;
LEAGUE_AUDIT_ACTION_LEAGUE_IMAGE_UPDATED = 9;
LEAGUE_AUDIT_ACTION_LEAGUE_MESSAGE_ADDED = 10;
LEAGUE_AUDIT_ACTION_LEAGUE_SUBMITTED = 11;
LEAGUE_AUDIT_ACTION_LEAGUE_SET_PRIZE_POOL = 12;
LEAGUE_AUDIT_ACTION_LEAGUE_ADD_PRIZE_POOL_ITEM = 13;
LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_PRIZE_POOL_ITEM = 14;
LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_START = 15;
LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_END = 16;
LEAGUE_AUDIT_ACTION_LEAGUE_ADD_INVITED_TEAM = 17;
LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_INVITED_TEAM = 18;
LEAGUE_AUDIT_ACTION_LEAGUE_STATUS_CHANGED = 19;
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_EDIT = 20;
LEAGUE_AUDIT_ACTION_LEAGUE_TEAM_SWAP = 21;
LEAGUE_AUDIT_ACTION_NODEGROUP_CREATE = 100;
LEAGUE_AUDIT_ACTION_NODEGROUP_DESTROY = 101;
LEAGUE_AUDIT_ACTION_NODEGROUP_ADD_TEAM = 102;
LEAGUE_AUDIT_ACTION_NODEGROUP_REMOVE_TEAM = 103;
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_ADVANCING = 104;
LEAGUE_AUDIT_ACTION_NODEGROUP_EDIT = 105;
LEAGUE_AUDIT_ACTION_NODEGROUP_POPULATE = 106;
LEAGUE_AUDIT_ACTION_NODEGROUP_COMPLETED = 107;
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_SECONDARY_ADVANCING = 108;
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_TERTIARY_ADVANCING = 109;
LEAGUE_AUDIT_ACTION_NODE_CREATE = 200;
LEAGUE_AUDIT_ACTION_NODE_DESTROY = 201;
LEAGUE_AUDIT_ACTION_NODE_AUTOCREATE = 202;
LEAGUE_AUDIT_ACTION_NODE_SET_TEAM = 203;
LEAGUE_AUDIT_ACTION_NODE_SET_SERIES_ID = 204;
LEAGUE_AUDIT_ACTION_NODE_SET_ADVANCING = 205;
LEAGUE_AUDIT_ACTION_NODE_SET_TIME = 206;
LEAGUE_AUDIT_ACTION_NODE_MATCH_COMPLETED = 207;
LEAGUE_AUDIT_ACTION_NODE_COMPLETED = 208;
LEAGUE_AUDIT_ACTION_NODE_EDIT = 209;
}
enum DOTA_COMBATLOG_TYPES {
DOTA_COMBATLOG_INVALID = -1;
DOTA_COMBATLOG_DAMAGE = 0;
DOTA_COMBATLOG_HEAL = 1;
DOTA_COMBATLOG_MODIFIER_ADD = 2;
DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
DOTA_COMBATLOG_DEATH = 4;
DOTA_COMBATLOG_ABILITY = 5;
DOTA_COMBATLOG_ITEM = 6;
DOTA_COMBATLOG_LOCATION = 7;
DOTA_COMBATLOG_GOLD = 8;
DOTA_COMBATLOG_GAME_STATE = 9;
DOTA_COMBATLOG_XP = 10;
DOTA_COMBATLOG_PURCHASE = 11;
DOTA_COMBATLOG_BUYBACK = 12;
DOTA_COMBATLOG_ABILITY_TRIGGER = 13;
DOTA_COMBATLOG_PLAYERSTATS = 14;
DOTA_COMBATLOG_MULTIKILL = 15;
DOTA_COMBATLOG_KILLSTREAK = 16;
DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17;
DOTA_COMBATLOG_FIRST_BLOOD = 18;
DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19;
DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20;
DOTA_COMBATLOG_PICKUP_RUNE = 21;
DOTA_COMBATLOG_REVEALED_INVISIBLE = 22;
DOTA_COMBATLOG_HERO_SAVED = 23;
DOTA_COMBATLOG_MANA_RESTORED = 24;
DOTA_COMBATLOG_HERO_LEVELUP = 25;
DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26;
DOTA_COMBATLOG_ENDGAME_STATS = 27;
DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28;
DOTA_COMBATLOG_ALLIED_GOLD = 29;
DOTA_COMBATLOG_AEGIS_TAKEN = 30;
DOTA_COMBATLOG_MANA_DAMAGE = 31;
DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32;
DOTA_COMBATLOG_UNIT_SUMMONED = 33;
DOTA_COMBATLOG_ATTACK_EVADE = 34;
DOTA_COMBATLOG_TREE_CUT = 35;
DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36;
DOTA_COMBATLOG_END_KILLSTREAK = 37;
DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38;
DOTA_COMBATLOG_CRITICAL_DAMAGE = 39;
DOTA_COMBATLOG_SPELL_ABSORB = 40;
DOTA_COMBATLOG_UNIT_TELEPORTED = 41;
DOTA_COMBATLOG_KILL_EATER_EVENT = 42;
}
enum EDPCFavoriteType {
FAVORITE_TYPE_ALL = 0;
FAVORITE_TYPE_PLAYER = 1;
FAVORITE_TYPE_TEAM = 2;
FAVORITE_TYPE_LEAGUE = 3;
}
enum EDPCPushNotification {
DPC_PUSH_NOTIFICATION_MATCH_STARTING = 1;
DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM = 10;
DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM = 11;
DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM_AS_COACH = 12;
DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM_AS_COACH = 13;
DPC_PUSH_NOTIFICATION_LEAGUE_RESULT = 20;
DPC_PUSH_NOTIFICATION_PREDICTION_MATCHES_AVAILABLE = 30;
DPC_PUSH_NOTIFICATION_PREDICTION_RESULT = 31;
DPC_PUSH_NOTIFICATION_FANTASY_PLAYER_CLEARED = 40;
DPC_PUSH_NOTIFICATION_FANTASY_DAILY_SUMMARY = 41;
DPC_PUSH_NOTIFICATION_FANTASY_FINAL_RESULTS = 42;
}
enum EEventActionScoreMode {
k_eEventActionScoreMode_Add = 0;
k_eEventActionScoreMode_Min = 1;
}
enum EPlayerChallengeHistoryType {
k_EPlayerChallengeHistoryType_Invalid = 0;
k_EPlayerChallengeHistoryType_KillEater = 1;
k_EPlayerChallengeHistoryType_DotaPlusRelic = 2;
k_EPlayerChallengeHistoryType_DotaPlusHeroPlayerChallenge = 3;
k_EPlayerChallengeHistoryType_InGameEventChallenge = 4;
k_EPlayerChallengeHistoryType_GuildContract = 5;
}
enum EOverwatchReportReason {
k_EOverwatchReportReason_Unknown = 0;
k_EOverwatchReportReason_Cheating = 1;
k_EOverwatchReportReason_Feeding = 2;
k_EOverwatchReportReason_Griefing = 3;
k_EOverwatchReportReason_Suspicious = 4;
k_EOverwatchReportReason_AbilityAbuse = 5;
}
message CDOTAClientHardwareSpecs {
optional uint32 logical_processors = 1;
optional fixed64 cpu_cycles_per_second = 2;
optional fixed64 total_physical_memory = 3;
optional bool is_64_bit_os = 4;
optional uint64 upload_measurement = 5;
optional bool prefer_not_host = 6;
}
message CDOTASaveGame {
message Player {
optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS];
optional string name = 2;
optional string hero = 3;
}
message SaveInstance {
message PlayerPositions {
optional float x = 1;
optional float y = 2;
}
optional uint32 game_time = 2;
optional uint32 team1_score = 3;
optional uint32 team2_score = 4;
repeated .CDOTASaveGame.SaveInstance.PlayerPositions player_positions = 5;
optional uint32 save_id = 6;
optional uint32 save_time = 7;
}
optional uint64 match_id = 5;
optional uint32 save_time = 2;
repeated .CDOTASaveGame.Player players = 3;
repeated .CDOTASaveGame.SaveInstance save_instances = 4;
}
message CMsgDOTACombatLogEntry {
optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_INVALID];
optional uint32 target_name = 2;
optional uint32 target_source_name = 3;
optional uint32 attacker_name = 4;
optional uint32 damage_source_name = 5;
optional uint32 inflictor_name = 6;
optional bool is_attacker_illusion = 7;
optional bool is_attacker_hero = 8;
optional bool is_target_illusion = 9;
optional bool is_target_hero = 10;
optional bool is_visible_radiant = 11;
optional bool is_visible_dire = 12;
optional uint32 value = 13;
optional int32 health = 14;
optional float timestamp = 15;
optional float stun_duration = 16;
optional float slow_duration = 17;
optional bool is_ability_toggle_on = 18;
optional bool is_ability_toggle_off = 19;
optional uint32 ability_level = 20;
optional float location_x = 21;
optional float location_y = 22;
optional uint32 gold_reason = 23;
optional float timestamp_raw = 24;
optional float modifier_duration = 25;
optional uint32 xp_reason = 26;
optional uint32 last_hits = 27;
optional uint32 attacker_team = 28;
optional uint32 target_team = 29;
optional uint32 obs_wards_placed = 30;
optional uint32 assist_player0 = 31;
optional uint32 assist_player1 = 32;
optional uint32 assist_player2 = 33;
optional uint32 assist_player3 = 34;
optional uint32 stack_count = 35;
optional bool hidden_modifier = 36;
optional bool is_target_building = 37;
optional uint32 neutral_camp_type = 38;
optional uint32 rune_type = 39;
repeated int32 assist_players = 40;
optional bool is_heal_save = 41;
optional bool is_ultimate_ability = 42;
optional uint32 attacker_hero_level = 43;
optional uint32 target_hero_level = 44;
optional uint32 xpm = 45;
optional uint32 gpm = 46;
optional uint32 event_location = 47;
optional bool target_is_self = 48;
optional uint32 damage_type = 49;
optional bool invisibility_modifier = 50;
optional uint32 damage_category = 51;
optional uint32 networth = 52;
optional uint32 building_type = 53;
optional float modifier_elapsed_duration = 54;
optional bool silence_modifier = 55;
optional bool heal_from_lifesteal = 56;
optional bool modifier_purged = 57;
optional bool spell_evaded = 58;
optional bool motion_controller_modifier = 59;
optional bool long_range_kill = 60;
optional uint32 modifier_purge_ability = 61;
optional uint32 modifier_purge_npc = 62;
optional bool root_modifier = 63;
optional uint32 total_unit_death_count = 64;
optional bool aura_modifier = 65;
optional bool armor_debuff_modifier = 66;
optional bool no_physical_damage_modifier = 67;
optional uint32 modifier_ability = 68;
optional bool modifier_hidden = 69;
optional bool inflictor_is_stolen_ability = 70;
optional uint32 kill_eater_event = 71;
optional uint32 unit_status_label = 72;
optional bool spell_generated_attack = 73;
optional bool at_night_time = 74;
optional bool attacker_has_scepter = 75;
}
message CMsgPendingEventAward {
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
optional uint32 action_id = 2;
optional uint32 num_to_grant = 3;
optional .EEventActionScoreMode score_mode = 4 [default = k_eEventActionScoreMode_Add];
optional uint32 audit_action = 5;
optional uint32 audit_data = 6;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,5 @@
syntax = "proto2";
option go_package="./demo";
import "networkbasetypes.proto";
option cc_generic_services = false;
@@ -19,6 +21,7 @@ enum CLC_Messages {
clc_RequestPause = 33;
clc_CmdKeyValues = 34;
clc_RconServerDetails = 35;
clc_HltvReplay = 36;
}
enum SVC_Messages {
@@ -48,6 +51,10 @@ enum SVC_Messages {
svc_ServerSteamID = 63;
svc_FullFrameSplit = 70;
svc_RconServerDetails = 71;
svc_UserMessage = 72;
svc_HltvReplay = 73;
svc_Broadcast_Command = 74;
svc_HltvFixupOperatorStatus = 75;
}
enum VoiceDataFormat_t {
@@ -100,6 +107,14 @@ enum Bidirectional_Messages_LowFrequency {
bi_RelayPacket = 701;
}
enum ReplayEventType_t {
REPLAY_EVENT_CANCEL = 0;
REPLAY_EVENT_DEATH = 1;
REPLAY_EVENT_GENERIC = 2;
REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3;
REPLAY_EVENT_VICTORY = 4;
}
message CCLCMsg_ClientInfo {
optional fixed32 send_table_crc = 1;
optional uint32 server_count = 2;
@@ -304,6 +319,12 @@ message CSVCMsg_Menu {
optional bytes menu_key_values = 2;
}
message CSVCMsg_UserMessage {
optional int32 msg_type = 1;
optional bytes msg_data = 2;
optional int32 passthrough = 3;
}
message CSVCMsg_SendTable {
message sendprop_t {
optional int32 type = 1;
@@ -491,43 +512,6 @@ message CBidirMsg_RebroadcastSource {
optional int32 eventsource = 1;
}
message SerializedNetAddress_t {
required bytes serializedAddress = 1;
}
message CBidirMsg_RelayInfo {
enum Operation_t {
RIO_REQUEST_RELAY = 0;
RIO_WILL_RELAY = 1;
RIO_NO_ROUTE = 2;
RIO_REJECT_RELAY = 3;
RIO_ESTABLISH_CONNECTION = 4;
}
required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY];
optional .SerializedNetAddress_t serializedTargetAddress = 2;
optional uint32 additionalHops = 3;
}
message SignedPayload_t {
required bytes payloadData = 1;
required uint32 signature = 2;
required bool bPayloadEncrypted = 3;
}
message CBidirMsg_RelayPacket {
message SignedDestinationAddress_t {
required .SerializedNetAddress_t serializedAddr = 1;
required uint32 signature = 2;
optional bytes encryptedPayloadKey = 3;
}
required uint32 prevhopcount = 1;
required .SerializedNetAddress_t originalSender = 2;
required .SignedPayload_t signedPayload = 3;
repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4;
}
message CMsgServerNetworkStats {
message Port {
optional int32 port = 1;
@@ -569,3 +553,42 @@ message CMsgServerNetworkStats {
optional uint64 total_packets_out = 29;
repeated .CMsgServerNetworkStats.Player players = 30;
}
message CSVCMsg_HltvReplay {
optional int32 delay = 1;
optional int32 primary_target = 2;
optional int32 replay_stop_at = 3;
optional int32 replay_start_at = 4;
optional int32 replay_slowdown_begin = 5;
optional int32 replay_slowdown_end = 6;
optional float replay_slowdown_rate = 7;
optional int32 reason = 8;
}
message CCLCMsg_HltvReplay {
optional int32 request = 1;
optional float slowdown_length = 2;
optional float slowdown_rate = 3;
optional int32 primary_target = 4;
optional float event_time = 5;
}
message CSVCMsg_Broadcast_Command {
optional string cmd = 1;
}
message CCLCMsg_HltvFixupOperatorTick {
optional int32 tick = 1;
optional bytes props_data = 2;
optional .CMsgVector origin = 3;
optional .CMsgQAngle eye_angles = 4;
optional int32 observer_mode = 5;
optional bool cameraman_scoreboard = 6;
optional int32 observer_target = 7;
optional .CMsgVector view_offset = 8;
}
message CSVCMsg_HltvFixupOperatorStatus {
optional uint32 mode = 1;
optional string override_operator_name = 2;
}

View File

@@ -0,0 +1,131 @@
syntax = "proto2";
option go_package="./demo";
import "google/protobuf/descriptor.proto";
option cc_generic_services = false;
extend .google.protobuf.EnumValueOptions {
optional string network_connection_token = 50500;
}
enum ENetworkDisconnectionReason {
NETWORK_DISCONNECT_INVALID = 0;
NETWORK_DISCONNECT_SHUTDOWN = 1;
NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"];
NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"];
NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"];
NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"];
NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"];
NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"];
NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"];
NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC"];
NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"];
NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"];
NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"];
NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"];
NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"];
NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"];
NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"];
NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"];
NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"];
NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"];
NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"];
NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"];
NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"];
NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"];
NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"];
NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"];
NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"];
NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"];
NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"];
NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"];
NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"];
NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"];
NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"];
NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"];
NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"];
NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"];
NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"];
NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"];
NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"];
NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"];
NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"];
NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"];
NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"];
NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47 [(network_connection_token) = "#GameUI_Disconnect_MessageParseError"];
NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48 [(network_connection_token) = "#GameUI_Disconnect_InvalidMessageError"];
NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49 [(network_connection_token) = "#GameUI_Disconnect_BadServerPassword"];
NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50;
NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"];
NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"];
NETWORK_DISCONNECT_RECONNECTION = 53;
NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"];
NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"];
NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"];
NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"];
NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"];
NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"];
NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"];
NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"];
NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"];
NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"];
NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"];
NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"];
NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"];
NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"];
NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"];
NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"];
NETWORK_DISCONNECT_SPLITPACKET_SEND_OVERFLOW = 70 [(network_connection_token) = "#GameUI_Disconnect_Splitpacket_Send_Overflow"];
NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71 [(network_connection_token) = "#GameUI_Disconnect_ReplayIncompatible"];
NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72 [(network_connection_token) = "#GameUI_Disconnect_ConnectionTimedout"];
NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73 [(network_connection_token) = "#GameUI_Disconnect_ServerIncompatible"];
NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_ManyRelays"];
NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_HostedServerPrimaryRelay"];
NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_NetworkConfig"];
NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_Other"];
NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Timeout"];
NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_TimeoutConnecting"];
NETWORK_DISCONNECT_REMOTE_OTHER = 81 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Other"];
NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCrypt"];
NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCert"];
NETWORK_DISCONNECT_UNUSUAL = 84 [(network_connection_token) = "#GameUI_Disconnect_Unusual"];
NETWORK_DISCONNECT_INTERNAL_ERROR = 85 [(network_connection_token) = "#GameUI_Disconnect_InternalError"];
NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128 [(network_connection_token) = "#GameUI_ServerRejectBadChallenge"];
NETWORK_DISCONNECT_REJECT_NOLOBBY = 129 [(network_connection_token) = "#GameUI_ServerNoLobby"];
NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130 [(network_connection_token) = "#Valve_Reject_Background_Map"];
NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131 [(network_connection_token) = "#Valve_Reject_Single_Player"];
NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132 [(network_connection_token) = "#Valve_Reject_Hidden_Game"];
NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133 [(network_connection_token) = "#GameUI_ServerRejectLANRestrict"];
NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134 [(network_connection_token) = "#GameUI_ServerRejectBadPassword"];
NETWORK_DISCONNECT_REJECT_SERVERFULL = 135 [(network_connection_token) = "#GameUI_ServerRejectServerFull"];
NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136 [(network_connection_token) = "#GameUI_ServerRejectInvalidReservation"];
NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137 [(network_connection_token) = "#GameUI_ServerRejectFailedChannel"];
NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138 [(network_connection_token) = "#Valve_Reject_Connect_From_Lobby"];
NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139 [(network_connection_token) = "#Valve_Reject_Reserved_For_Lobby"];
NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140 [(network_connection_token) = "#GameUI_ServerReject_InvalidKeyLength"];
NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141 [(network_connection_token) = "#GameUI_ServerRejectOldProtocol"];
NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142 [(network_connection_token) = "#GameUI_ServerRejectNewProtocol"];
NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143 [(network_connection_token) = "#GameUI_ServerRejectInvalidConnection"];
NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144 [(network_connection_token) = "#GameUI_ServerRejectInvalidCertLen"];
NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145 [(network_connection_token) = "#GameUI_ServerRejectInvalidSteamCertLen"];
NETWORK_DISCONNECT_REJECT_STEAM = 146 [(network_connection_token) = "#GameUI_ServerRejectSteam"];
NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147 [(network_connection_token) = "#GameUI_ServerAuthDisabled"];
NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148 [(network_connection_token) = "#GameUI_ServerCDKeyAuthInvalid"];
NETWORK_DISCONNECT_REJECT_BANNED = 149 [(network_connection_token) = "#GameUI_ServerRejectBanned"];
NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150 [(network_connection_token) = "#Player_DisconnectReason_TeamKilling"];
NETWORK_DISCONNECT_KICKED_TK_START = 151 [(network_connection_token) = "#Player_DisconnectReason_TK_Start"];
NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152 [(network_connection_token) = "#Player_DisconnectReason_UntrustedAccount"];
NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153 [(network_connection_token) = "#Player_DisconnectReason_ConvictedAccount"];
NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154 [(network_connection_token) = "#Player_DisconnectReason_CompetitiveCooldown"];
NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155 [(network_connection_token) = "#Player_DisconnectReason_TeamHurting"];
NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156 [(network_connection_token) = "#Player_DisconnectReason_HostageKilling"];
NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157 [(network_connection_token) = "#Player_DisconnectReason_VotedOff"];
NETWORK_DISCONNECT_KICKED_IDLE = 158 [(network_connection_token) = "#Player_DisconnectReason_Idle"];
NETWORK_DISCONNECT_KICKED_SUICIDE = 159 [(network_connection_token) = "#Player_DisconnectReason_Suicide"];
NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"];
NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"];
}

View File

@@ -1,3 +1,5 @@
syntax = "proto2";
option go_package="./demo";
import "network_connection.proto";
option cc_generic_services = false;
@@ -105,6 +107,7 @@ message CNETMsg_Tick {
optional uint32 host_framestarttime_std_deviation = 6;
optional uint32 host_loss = 7;
optional uint32 host_unfiltered_frametime = 8;
optional uint32 hltv_replay_flags = 9;
}
message CNETMsg_StringCmd {
@@ -150,20 +153,6 @@ message CSVCMsgList_GameEvents {
repeated .CSVCMsgList_GameEvents.event_t events = 1;
}
message CSVCMsg_UserMessage {
optional int32 msg_type = 1;
optional bytes msg_data = 2;
}
message CSVCMsgList_UserMessages {
message usermsg_t {
optional int32 tick = 1;
optional .CSVCMsg_UserMessage msg = 2;
}
repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1;
}
message CNETMsg_SpawnGroup_Load {
optional string worldname = 1;
optional string entitylumpname = 2;

521
proto/usermessages.proto Normal file
View File

@@ -0,0 +1,521 @@
syntax = "proto2";
option go_package="./demo";
import "networkbasetypes.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
enum EBaseUserMessages {
UM_AchievementEvent = 101;
UM_CloseCaption = 102;
UM_CloseCaptionDirect = 103;
UM_CurrentTimescale = 104;
UM_DesiredTimescale = 105;
UM_Fade = 106;
UM_GameTitle = 107;
UM_HudMsg = 110;
UM_HudText = 111;
UM_ColoredText = 113;
UM_RequestState = 114;
UM_ResetHUD = 115;
UM_Rumble = 116;
UM_SayText = 117;
UM_SayText2 = 118;
UM_SayTextChannel = 119;
UM_Shake = 120;
UM_ShakeDir = 121;
UM_TextMsg = 124;
UM_ScreenTilt = 125;
UM_VoiceMask = 128;
UM_SendAudio = 130;
UM_ItemPickup = 131;
UM_AmmoDenied = 132;
UM_ShowMenu = 134;
UM_CreditsMsg = 135;
UM_CloseCaptionPlaceholder = 142;
UM_CameraTransition = 143;
UM_AudioParameter = 144;
UM_ParticleManager = 145;
UM_HudError = 146;
UM_CustomGameEvent = 148;
UM_AnimGraphUpdate = 149;
UM_HapticsManagerPulse = 150;
UM_HapticsManagerEffect = 151;
UM_CommandQueueState = 152;
UM_UpdateCssClasses = 153;
UM_MAX_BASE = 200;
}
enum EBaseEntityMessages {
EM_PlayJingle = 136;
EM_ScreenOverlay = 137;
EM_RemoveAllDecals = 138;
EM_PropagateForce = 139;
EM_DoSpark = 140;
EM_FixAngle = 141;
}
enum eRollType {
ROLL_NONE = -1;
ROLL_STATS = 0;
ROLL_CREDITS = 1;
ROLL_LATE_JOIN_LOGO = 2;
ROLL_OUTTRO = 3;
}
enum PARTICLE_MESSAGE {
GAME_PARTICLE_MANAGER_EVENT_CREATE = 0;
GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6;
GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7;
GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9;
GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10;
GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12;
GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13;
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14;
GAME_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15;
GAME_PARTICLE_MANAGER_EVENT_SET_TEXT = 16;
GAME_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17;
GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18;
GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19;
GAME_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20;
GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21;
GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22;
GAME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED = 23;
GAME_PARTICLE_MANAGER_EVENT_SKIP_TO_TIME = 24;
}
enum EHapticPulseType {
VR_HAND_HAPTIC_PULSE_LIGHT = 0;
VR_HAND_HAPTIC_PULSE_MEDIUM = 1;
VR_HAND_HAPTIC_PULSE_STRONG = 2;
}
message CUserMessageAchievementEvent {
optional uint32 achievement = 1;
}
message CUserMessageCloseCaption {
optional fixed32 hash = 1;
optional float duration = 2;
optional bool from_player = 3;
optional int32 ent_index = 4;
}
message CUserMessageCloseCaptionDirect {
optional fixed32 hash = 1;
optional float duration = 2;
optional bool from_player = 3;
optional int32 ent_index = 4;
}
message CUserMessageCloseCaptionPlaceholder {
optional string string = 1;
optional float duration = 2;
optional bool from_player = 3;
optional int32 ent_index = 4;
}
message CUserMessageCurrentTimescale {
optional float current = 1;
}
message CUserMessageDesiredTimescale {
optional float desired = 1;
optional float acceleration = 2;
optional float minblendrate = 3;
optional float blenddeltamultiplier = 4;
}
message CUserMessageFade {
optional uint32 duration = 1;
optional uint32 hold_time = 2;
optional uint32 flags = 3;
optional fixed32 color = 4;
}
message CUserMessageShake {
optional uint32 command = 1;
optional float amplitude = 2;
optional float frequency = 3;
optional float duration = 4;
}
message CUserMessageShakeDir {
optional .CUserMessageShake shake = 1;
optional .CMsgVector direction = 2;
}
message CUserMessageScreenTilt {
optional uint32 command = 1;
optional bool ease_in_out = 2;
optional .CMsgVector angle = 3;
optional float duration = 4;
optional float time = 5;
}
message CUserMessageSayText {
optional int32 playerindex = 1;
optional string text = 2;
optional bool chat = 3;
}
message CUserMessageSayText2 {
optional int32 entityindex = 1;
optional bool chat = 2;
optional string messagename = 3;
optional string param1 = 4;
optional string param2 = 5;
optional string param3 = 6;
optional string param4 = 7;
}
message CUserMessageHudMsg {
optional uint32 channel = 1;
optional float x = 2;
optional float y = 3;
optional fixed32 color1 = 4;
optional fixed32 color2 = 5;
optional uint32 effect = 6;
optional float fade_in_time = 7;
optional float fade_out_time = 8;
optional float hold_time = 9;
optional float fx_time = 10;
optional string message = 11;
}
message CUserMessageHudText {
optional string message = 1;
}
message CUserMessageTextMsg {
optional uint32 dest = 1;
repeated string param = 2;
}
message CUserMessageGameTitle {
}
message CUserMessageResetHUD {
}
message CUserMessageSendAudio {
optional string soundname = 1;
optional bool stop = 2;
}
message CUserMessageAudioParameter {
optional uint32 parameter_type = 1;
optional uint32 name_hash_code = 2;
optional float value = 3;
optional uint32 int_value = 4;
}
message CUserMessageVoiceMask {
repeated uint32 gamerules_masks = 1;
repeated uint32 ban_masks = 2;
optional bool mod_enable = 3;
}
message CUserMessageRequestState {
}
message CUserMessageRumble {
optional int32 index = 1;
optional int32 data = 2;
optional int32 flags = 3;
}
message CUserMessageSayTextChannel {
optional int32 player = 1;
optional int32 channel = 2;
optional string text = 3;
}
message CUserMessageColoredText {
optional uint32 color = 1;
optional string text = 2;
optional bool reset = 3;
optional int32 context_player_slot = 4;
optional int32 context_value = 5;
optional int32 context_team_id = 6;
}
message CUserMessageItemPickup {
optional string itemname = 1;
}
message CUserMessageAmmoDenied {
optional uint32 ammo_id = 1;
}
message CUserMessageShowMenu {
optional uint32 validslots = 1;
optional uint32 displaytime = 2;
optional bool needmore = 3;
optional string menustring = 4;
}
message CUserMessageCreditsMsg {
optional .eRollType rolltype = 1 [default = ROLL_NONE];
optional float logo_length = 2;
}
message CEntityMessagePlayJingle {
optional .CEntityMsg entity_msg = 1;
}
message CEntityMessageScreenOverlay {
optional bool start_effect = 1;
optional .CEntityMsg entity_msg = 2;
}
message CEntityMessageRemoveAllDecals {
optional bool remove_decals = 1;
optional .CEntityMsg entity_msg = 2;
}
message CEntityMessagePropagateForce {
optional .CMsgVector impulse = 1;
optional .CEntityMsg entity_msg = 2;
}
message CEntityMessageDoSpark {
optional .CMsgVector origin = 1;
optional int32 entityindex = 2;
optional float radius = 3;
optional fixed32 color = 4;
optional uint32 beams = 5;
optional float thick = 6;
optional float duration = 7;
optional .CEntityMsg entity_msg = 8;
}
message CEntityMessageFixAngle {
optional bool relative = 1;
optional .CMsgQAngle angle = 2;
optional .CEntityMsg entity_msg = 3;
}
message CUserMessageCameraTransition {
message Transition_DataDriven {
optional string filename = 1;
optional int32 attach_ent_index = 2;
optional float duration = 3;
}
optional uint32 camera_type = 1;
optional float duration = 2;
optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3;
}
message CUserMsg_ParticleManager {
message ReleaseParticleIndex {
}
message CreateParticle {
optional fixed64 particle_name_index = 1;
optional int32 attach_type = 2;
optional uint32 entity_handle = 3;
optional uint32 entity_handle_for_modifiers = 4;
optional bool apply_voice_ban_rules = 5;
optional int32 team_behavior = 6;
optional string control_point_configuration = 7;
}
message DestroyParticle {
optional bool destroy_immediately = 1;
}
message DestroyParticleInvolving {
optional bool destroy_immediately = 1;
optional uint32 entity_handle = 3;
}
message DestroyParticleNamed {
optional fixed64 particle_name_index = 1;
optional uint32 entity_handle = 2;
optional bool destroy_immediately = 3;
optional bool play_endcap = 4;
}
message UpdateParticle {
optional int32 control_point = 1;
optional .CMsgVector position = 2;
}
message UpdateParticleFwd {
optional int32 control_point = 1;
optional .CMsgVector forward = 2;
}
message UpdateParticleOrient {
optional int32 control_point = 1;
optional .CMsgVector forward = 2;
optional .CMsgVector deprecated_right = 3;
optional .CMsgVector up = 4;
optional .CMsgVector left = 5;
}
message UpdateParticleFallback {
optional int32 control_point = 1;
optional .CMsgVector position = 2;
}
message UpdateParticleOffset {
optional int32 control_point = 1;
optional .CMsgVector origin_offset = 2;
optional .CMsgQAngle angle_offset = 3;
}
message UpdateParticleEnt {
optional int32 control_point = 1;
optional uint32 entity_handle = 2;
optional int32 attach_type = 3;
optional int32 attachment = 4;
optional .CMsgVector fallback_position = 5;
optional bool include_wearables = 6;
}
message UpdateParticleSetFrozen {
optional bool set_frozen = 1;
optional float transition_duration = 2;
}
message UpdateParticleShouldDraw {
optional bool should_draw = 1;
}
message ChangeControlPointAttachment {
optional int32 attachment_old = 1;
optional int32 attachment_new = 2;
optional uint32 entity_handle = 3;
}
message UpdateEntityPosition {
optional uint32 entity_handle = 1;
optional .CMsgVector position = 2;
}
message SetParticleFoWProperties {
optional int32 fow_control_point = 1;
optional int32 fow_control_point2 = 2;
optional float fow_radius = 3;
}
message SetParticleShouldCheckFoW {
optional bool check_fow = 1;
}
message SetControlPointModel {
optional int32 control_point = 1;
optional string model_name = 2;
}
message SetControlPointSnapshot {
optional int32 control_point = 1;
optional string snapshot_name = 2;
}
message SetParticleText {
optional string text = 1;
}
message SetTextureAttribute {
optional string attribute_name = 1;
optional string texture_name = 2;
}
message SetSceneObjectGenericFlag {
optional bool flag_value = 1;
}
message SetSceneObjectTintAndDesat {
optional fixed32 tint = 1;
optional float desat = 2;
}
message ParticleSkipToTime {
optional float skip_to_time = 1;
}
required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE];
required uint32 index = 2;
optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3;
optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4;
optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5;
optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6;
optional .CUserMsg_ParticleManager.UpdateParticle update_particle = 7;
optional .CUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8;
optional .CUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9;
optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10;
optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11;
optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12;
optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15;
optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16;
optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17;
optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18;
optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19;
optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20;
optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21;
optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22;
optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23;
optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24;
optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25;
optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26;
optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27;
extensions 100 to 201;
}
message CUserMsg_HudError {
optional int32 order_id = 1;
}
message CUserMsg_CustomGameEvent {
optional string event_name = 1;
optional bytes data = 2;
}
message CUserMessageHapticsManagerPulse {
optional int32 hand_id = 1;
optional float effect_amplitude = 2;
optional float effect_frequency = 3;
optional float effect_duration = 4;
}
message CUserMessageHapticsManagerEffect {
optional int32 hand_id = 1;
optional uint32 effect_name_hash_code = 2;
optional float effect_scale = 3;
}
message CUserMessageAnimStateGraphState {
optional int32 entity_index = 1;
optional bytes data = 2;
}
message CUserMessageCommandQueueState {
message command_queue_info_t {
optional uint32 commands_queued = 1;
optional uint32 command_queue_desired_size = 2;
optional uint32 starved_command_ticks = 3;
optional int32 time_dilation_percent = 4;
}
optional int32 player_slot = 1;
optional .CUserMessageCommandQueueState.command_queue_info_t command_queue_info = 2;
}
message CUserMessageUpdateCssClasses {
optional int32 target_world_panel = 1;
optional string css_classes = 2;
optional bool is_add = 3;
}