That marker is only recognized by pb3-compatible compilers, meaning that tools which are otherwise compatible with our files break on them. Notably, this includes hprotoc (for haskell).
9 lines
188 B
Protocol Buffer
9 lines
188 B
Protocol Buffer
import "game_event.proto";
|
|
|
|
message Event_RollDie {
|
|
extend GameEvent {
|
|
optional Event_RollDie ext = 2008;
|
|
}
|
|
optional uint32 sides = 1;
|
|
optional uint32 value = 2;
|
|
}
|