RequestFriendApplyRefuse.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. *
  11. * Generated from protobuf message <code>uraus.kku.Request.RequestFriendApplyRefuse</code>
  12. */
  13. class RequestFriendApplyRefuse extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * 申请ID
  17. *
  18. * Generated from protobuf field <code>int64 apply_id = 1;</code>
  19. */
  20. protected $apply_id = 0;
  21. /**
  22. * Constructor.
  23. *
  24. * @param array $data {
  25. * Optional. Data for populating the Message object.
  26. *
  27. * @type int|string $apply_id
  28. * 申请ID
  29. * }
  30. */
  31. public function __construct($data = NULL) {
  32. \GPBMetadata\Proto\Game::initOnce();
  33. parent::__construct($data);
  34. }
  35. /**
  36. * 申请ID
  37. *
  38. * Generated from protobuf field <code>int64 apply_id = 1;</code>
  39. * @return int|string
  40. */
  41. public function getApplyId()
  42. {
  43. return $this->apply_id;
  44. }
  45. /**
  46. * 申请ID
  47. *
  48. * Generated from protobuf field <code>int64 apply_id = 1;</code>
  49. * @param int|string $var
  50. * @return $this
  51. */
  52. public function setApplyId($var)
  53. {
  54. GPBUtil::checkInt64($var);
  55. $this->apply_id = $var;
  56. return $this;
  57. }
  58. }
  59. // Adding a class alias for backwards compatibility with the previous class name.
  60. class_alias(RequestFriendApplyRefuse::class, \Uraus\Kku\Request_RequestFriendApplyRefuse::class);