mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-09 03:28:24 +00:00
* 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
20 lines
351 B
Protocol Buffer
20 lines
351 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package foo;
|
|
option php_namespace = "";
|
|
option php_metadata_namespace = "";
|
|
|
|
message TestEmptyNamespace {
|
|
int32 a = 1;
|
|
|
|
// Test nested messages, enums, and reserved names
|
|
NestedMessage nested_message = 2;
|
|
NestedEnum nested_enum = 3;
|
|
message NestedMessage {
|
|
int32 a = 1;
|
|
}
|
|
enum NestedEnum {
|
|
ZERO = 0;
|
|
};
|
|
}
|