Advertisement
Guest User

CoreCommands.proto

a guest
Dec 14th, 2021
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. syntax = "proto3";
  2.  
  3. package com.gamelift.rt.proto;
  4.  
  5. //:access=internal
  6. //:dontdeserialize
  7. message LoginCommand {
  8. string playerSessionId = 1;
  9. int32 clientVersion = 2;
  10. }
  11.  
  12. //:access=internal
  13. //:dontserialize
  14. message LoginResult {
  15. bool success = 1;
  16. string reconnectToken = 2;
  17. int32 peerId = 3;
  18. int32 fastPort = 4;
  19. bytes caCert = 5;
  20. string connectToken = 6;
  21. }
  22.  
  23. //:access=internal
  24. //:dontdeserialize
  25. message PingCommand {
  26. }
  27.  
  28. //:access=internal
  29. //:dontserialize
  30. message PingResult {
  31. }
  32.  
  33. //:access=internal
  34. //:dontdeserialize
  35. message VerifyIdentityCommand {
  36. int32 peerId = 1;
  37. string connectToken = 2;
  38. }
  39.  
  40. //:access=internal
  41. //:dontserialize
  42. message VerifyIdentityResult {
  43. bool success = 1;
  44. int32 peerId = 2;
  45. }
  46.  
  47. //:access=internal
  48. message UDPConnectMessage {
  49. }
  50.  
  51. //:access=internal
  52. //:dontserialize
  53. message PlayerConnectMessage {
  54. int32 peerId = 1;
  55. }
  56.  
  57. //:access=internal
  58. //:dontserialize
  59. message PlayerDisconnectMessage {
  60. int32 peerId = 1;
  61. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement