wildfire chat server source initial submit
This commit is contained in:
Executable
+40
@@ -0,0 +1,40 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message Test {
|
||||
|
||||
string string = 1;
|
||||
uint32 uint32 = 2;
|
||||
Inner inner = 3;
|
||||
float float = 4; // make sure to set something that's fair to JSON
|
||||
|
||||
message Inner {
|
||||
|
||||
int32 int32 = 1;
|
||||
InnerInner innerInner = 2;
|
||||
Outer outer = 3;
|
||||
|
||||
message InnerInner {
|
||||
|
||||
int64 long = 1;
|
||||
Enum enum = 2;
|
||||
sint32 sint32 = 3;
|
||||
}
|
||||
}
|
||||
|
||||
enum Enum {
|
||||
|
||||
ONE = 0;
|
||||
TWO = 1;
|
||||
THREE = 2;
|
||||
FOUR = 3;
|
||||
FIVE = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message Outer {
|
||||
|
||||
repeated bool bool = 1;
|
||||
double double = 2; // make sure to set something that's fair to JSON
|
||||
}
|
||||
|
||||
// bytes cannot be used
|
||||
Reference in New Issue
Block a user