20 lines
332 B
Protocol Buffer
20 lines
332 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
import "Vector.proto";
|
||
|
import "TransmitReason.proto";
|
||
|
|
||
|
message ClientTransmitReq {
|
||
|
enum CmdId {
|
||
|
option allow_alias = true;
|
||
|
NONE = 0;
|
||
|
CMD_ID = 240;
|
||
|
ENET_CHANNEL_ID = 0;
|
||
|
ENET_IS_RELIABLE = 1;
|
||
|
IS_ALLOW_CLIENT = 1;
|
||
|
}
|
||
|
Vector pos = 1;
|
||
|
Vector rot = 2;
|
||
|
TransmitReason reason = 3;
|
||
|
uint32 sceneId = 4;
|
||
|
}
|