~starkingdoms/starkingdoms

ref: 68d7af692cb7855fe7b23dc50faa42a58bc2375f starkingdoms/protocol/src/pbuf/player.proto -rw-r--r-- 372 bytes
68d7af69 — ghostlyzsh basic module protocol finished? 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
syntax = "proto3";
package protocol.player;

message Player {
  double rotation = 1;   // The rotation, clockwise, in degrees, of the player
  double x = 2;          // The translation on the X axis, in game units, of the player
  double y = 3;          // The translation on the Y axis, in game units, of the player
  string username = 4;  // The username of the player
}