front.proto 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. int32 jump=15;
  22. int32 down=16;
  23. }
  24. message BoxPackage {
  25. int32 effect_id=1;
  26. int32 hold_id=2;
  27. //坐标
  28. float position_x=3;
  29. float position_y=4;
  30. float position_z=5;
  31. //旋转
  32. float rotation_x=6;
  33. float rotation_y=7;
  34. float rotation_z=8;
  35. float rotation_w=9;
  36. //线速度
  37. float linear_velocity_x=10;
  38. float linear_velocity_y=11;
  39. float linear_velocity_z=12;
  40. //角速度
  41. float angle_velocity_x=13;
  42. float angle_velocity_y=14;
  43. float angle_velocity_z=15;
  44. }