servatrice/common/pb/serverinfo_deckstorage.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
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).
2016-01-14 08:09:40 -05:00

14 lines
389 B
Protocol Buffer

message ServerInfo_DeckStorage_File {
optional uint32 creation_time = 1;
}
message ServerInfo_DeckStorage_Folder {
repeated ServerInfo_DeckStorage_TreeItem items = 1;
}
message ServerInfo_DeckStorage_TreeItem {
optional uint32 id = 1;
optional string name = 2;
optional ServerInfo_DeckStorage_File file = 10;
optional ServerInfo_DeckStorage_Folder folder = 11;
}