LockStepOuter_C_11001.proto 714 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. syntax = "proto3";
  2. package ET;
  3. //ResponseType G2C_Match
  4. message C2G_Match // IRequest
  5. {
  6. int32 RpcId = 1;
  7. }
  8. message G2C_Match // IResponse
  9. {
  10. int32 RpcId = 1;
  11. int32 Error = 2;
  12. string Message = 3;
  13. }
  14. // 匹配成功,通知客户端切换场景
  15. message Match2G_NotifyMatchSuccess // IActorMessage
  16. {
  17. // 房间的instanceId
  18. int64 InstanceId = 1;
  19. }
  20. // 客户端通知房间切换场景完成
  21. message C2Room_ChangeSceneFinish // IActorRoom
  22. {
  23. int64 PlayerId = 1;
  24. }
  25. message LockStepUnitInfo
  26. {
  27. int64 PlayerId = 1;
  28. TrueSync.TSVector Position = 2;
  29. TrueSync.TSQuaternion Rotation = 3;
  30. }
  31. // 房间通知客户端进入战斗
  32. message Room2C_EnterMap // IActorMessage
  33. {
  34. repeated LockStepUnitInfo UnitInfo = 1;
  35. }