~starkingdoms/starkingdoms

ref: 6acb9c546981599c15b3d1ab3100479e233799ef starkingdoms/protocol/src/pbuf/player.proto -rw-r--r-- 369 bytes
6acb9c54 — c0repwn3r fix compilation - update schema - add api to spacetime 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
syntax = "proto3";
package protocol.player;

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