CommonProto_CS_10001.proto 503 B

123456789101112131415161718192021222324252627282930
  1. syntax = "proto3";
  2. package ET;
  3. message MoveInfo
  4. {
  5. repeated Unity.Mathematics.float3 Points = 1;
  6. Unity.Mathematics.quaternion Rotation = 2;
  7. int32 TurnSpeed = 3;
  8. }
  9. message UnitInfo
  10. {
  11. int64 UnitId = 1;
  12. int32 ConfigId = 2;
  13. int32 Type = 3;
  14. Unity.Mathematics.float3 Position = 4;
  15. Unity.Mathematics.float3 Forward = 5;
  16. map<int32, int64> KV = 6;
  17. MoveInfo MoveInfo = 7;
  18. }
  19. message PlayerInfo
  20. {
  21. int64 id = 1;
  22. string name = 2;
  23. int32 sex = 3;
  24. int64 exp = 4;
  25. int32 level = 5;
  26. int32 vip = 6;
  27. }