22 lines
317 B
Protocol Buffer
22 lines
317 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package mmo;
|
|
|
|
message EntitySpawn {
|
|
uint32 entity_id = 1;
|
|
bool is_player = 2;
|
|
string name = 3;
|
|
}
|
|
|
|
message EntitySpawnMessage {
|
|
repeated EntitySpawn spawns = 1;
|
|
}
|
|
|
|
message EntityDespawnMessage {
|
|
uint32 entity_id = 1;
|
|
}
|
|
|
|
message SetControlledEntity {
|
|
uint32 entity_id = 1;
|
|
}
|