front.proto 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. syntax = "proto3";
  2. package protos;
  3. // 载入游戏响应
  4. message CharacterPackage{
  5. int32 hand=1;
  6. int32 handGrab=2;
  7. float position_x=3;
  8. float position_y=4;
  9. float position_z=5;
  10. //旋转
  11. float rotation_x=6;
  12. float rotation_y=7;
  13. float rotation_z=8;
  14. float rotation_w=9;
  15. //线速度
  16. float linear_velocity_x=10;
  17. float linear_velocity_y=11;
  18. float linear_velocity_z=12;
  19. repeated float bonePos=13;
  20. repeated float boneRot=14;
  21. }
  22. message BoxPackage {
  23. int32 effect_id=1;
  24. int32 hold_id=2;
  25. //坐标
  26. float position_x=3;
  27. float position_y=4;
  28. float position_z=5;
  29. //旋转
  30. float rotation_x=6;
  31. float rotation_y=7;
  32. float rotation_z=8;
  33. float rotation_w=9;
  34. //线速度
  35. float linear_velocity_x=10;
  36. float linear_velocity_y=11;
  37. float linear_velocity_z=12;
  38. //角速度
  39. float angle_velocity_x=13;
  40. float angle_velocity_y=14;
  41. float angle_velocity_z=15;
  42. }