front.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. int32 ping=17;
  24. }
  25. message BoxPackage {
  26. int32 effect_id=1;
  27. int32 hold_id=2;
  28. //坐标
  29. float position_x=3;
  30. float position_y=4;
  31. float position_z=5;
  32. //旋转
  33. float rotation_x=6;
  34. float rotation_y=7;
  35. float rotation_z=8;
  36. float rotation_w=9;
  37. //额外设置
  38. string extraSet=10;
  39. }
  40. message EventPackage{
  41. int32 eventcode=1;
  42. bool isshow=2;
  43. string extraParams=3;
  44. }
  45. message MiniGamePackage{
  46. float position_x=1;
  47. float position_y=2;
  48. float position_z=3;
  49. float rotation_y=4;
  50. float speed=5;
  51. }