RequestGodOpen.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: proto/game.proto
  4. namespace Uraus\Kku\Request;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. *
  10. * Generated from protobuf message <code>uraus.kku.Request.RequestGodOpen</code>
  11. */
  12. class RequestGodOpen extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * 神像 ID
  16. *
  17. * Generated from protobuf field <code>int64 god_id = 1;</code>
  18. */
  19. protected $god_id = 0;
  20. /**
  21. * Constructor.
  22. *
  23. * @param array $data {
  24. * Optional. Data for populating the Message object.
  25. *
  26. * @type int|string $god_id
  27. * 神像 ID
  28. * }
  29. */
  30. public function __construct($data = NULL) {
  31. \GPBMetadata\Proto\Game::initOnce();
  32. parent::__construct($data);
  33. }
  34. /**
  35. * 神像 ID
  36. *
  37. * Generated from protobuf field <code>int64 god_id = 1;</code>
  38. * @return int|string
  39. */
  40. public function getGodId()
  41. {
  42. return $this->god_id;
  43. }
  44. /**
  45. * 神像 ID
  46. *
  47. * Generated from protobuf field <code>int64 god_id = 1;</code>
  48. * @param int|string $var
  49. * @return $this
  50. */
  51. public function setGodId($var)
  52. {
  53. GPBUtil::checkInt64($var);
  54. $this->god_id = $var;
  55. return $this;
  56. }
  57. }
  58. // Adding a class alias for backwards compatibility with the previous class name.
  59. class_alias(RequestGodOpen::class, \Uraus\Kku\Request_RequestGodOpen::class);