You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
531 B
27 lines
531 B
|
12 months ago
|
syntax = "proto3";
|
||
|
|
option optimize_for = LITE_RUNTIME;
|
||
|
|
import "init.proto";
|
||
|
|
import "game.proto";
|
||
|
|
import "command.proto";
|
||
|
|
|
||
|
|
package dapi.message;
|
||
|
|
|
||
|
|
// Empty message to intidate end of queue
|
||
|
|
message EndofQueue {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
// Wrapper used to distinguish which message is which
|
||
|
|
message Message{
|
||
|
|
oneof msg {
|
||
|
|
dapi.init.ClientBroadcast initBroadcast = 1;
|
||
|
|
dapi.init.ServerResponse initResponse = 2;
|
||
|
|
|
||
|
|
dapi.game.FrameUpdate frameUpdate = 3;
|
||
|
|
|
||
|
|
dapi.commands.Command command = 4;
|
||
|
|
|
||
|
|
EndofQueue endOfQueue = 5;
|
||
|
|
}
|
||
|
|
}
|