1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-09 10:39:03 +08:00
hl2sdk/common/valveextensions.proto
Nicholas Hastings c5d57c03ee
Update Protobuf and add protos for CS2 (#176)
* Replace protobuf 2.6.1 with 3.21.8

* Update/add protobuf libs

* Add CS2 protos

* Remove old csgo/dota protos

* Add versioned protoc bin

* Comment out Valve's `schema` define for now

* Use ENetworkDisconnectionReason

* Fix-up `offsetof` to avoid errors on some Clang versions
2023-11-15 23:58:12 +00:00

18 lines
694 B
Protocol Buffer

import "google/protobuf/descriptor.proto";
extend .google.protobuf.FieldOptions {
optional bool valve_map_field = 61000 [default = false];
optional bool valve_map_key = 61001 [default = false];
optional int32 diff_encode_field = 61002 [default = 0];
optional bool delta_ignore = 61003 [default = false];
optional uint32 steamml_max_entries = 61004 [default = 0];
optional bool steamml_is_timestamp = 61005 [default = false];
optional uint32 steamlearn_count = 61006 [default = 0];
}
extend .google.protobuf.EnumValueOptions {
optional string schema_friendly_name = 1000;
optional string schema_description = 1001;
optional bool schema_suppress_enumerator = 1002;
}