user.proto 475 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. syntax = "proto3";
  2. package protos;
  3. import "userinfo.proto";
  4. import "result.proto";
  5. message HandsharkNotify {
  6. }
  7. message HandsharkPush {
  8. }
  9. message HandsharkAckNotify {
  10. }
  11. message CloseNotify {
  12. }
  13. message closePush {
  14. int32 reason = 1; // 关闭原因
  15. }
  16. message HeartbeatRequest {
  17. }
  18. message HeartbeatResponse {
  19. }
  20. message LoginRequest {
  21. UserInfo UserInfo = 1;
  22. }
  23. message LoginResponse {
  24. Result Result = 1;
  25. int64 LobbyID = 2;
  26. int64 RoomID = 3;
  27. }