| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: proto/game.proto
- namespace Uraus\Kku\Request;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * 搜索玩家请求消息
- *
- * Generated from protobuf message <code>uraus.kku.Request.RequestFriendSearchPlayer</code>
- */
- class RequestFriendSearchPlayer extends \Google\Protobuf\Internal\Message
- {
- /**
- * 用户ID
- *
- * Generated from protobuf field <code>string user_id = 1;</code>
- */
- protected $user_id = '';
- /**
- * 昵称
- *
- * Generated from protobuf field <code>string nickname = 2;</code>
- */
- protected $nickname = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $user_id
- * 用户ID
- * @type string $nickname
- * 昵称
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 用户ID
- *
- * Generated from protobuf field <code>string user_id = 1;</code>
- * @return string
- */
- public function getUserId()
- {
- return $this->user_id;
- }
- /**
- * 用户ID
- *
- * Generated from protobuf field <code>string user_id = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setUserId($var)
- {
- GPBUtil::checkString($var, True);
- $this->user_id = $var;
- return $this;
- }
- /**
- * 昵称
- *
- * Generated from protobuf field <code>string nickname = 2;</code>
- * @return string
- */
- public function getNickname()
- {
- return $this->nickname;
- }
- /**
- * 昵称
- *
- * Generated from protobuf field <code>string nickname = 2;</code>
- * @param string $var
- * @return $this
- */
- public function setNickname($var)
- {
- GPBUtil::checkString($var, True);
- $this->nickname = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(RequestFriendSearchPlayer::class, \Uraus\Kku\Request_RequestFriendSearchPlayer::class);
|