| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?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.RequestPublicRegister</code>
- */
- class RequestPublicRegister extends \Google\Protobuf\Internal\Message
- {
- /**
- * 手机号码
- *
- * Generated from protobuf field <code>string mobile = 1;</code>
- */
- protected $mobile = '';
- /**
- * 密码
- *
- * Generated from protobuf field <code>string password = 2;</code>
- */
- protected $password = '';
- /**
- * 短信验证码
- *
- * Generated from protobuf field <code>string code = 3;</code>
- */
- protected $code = '';
- /**
- * 邀请码
- *
- * Generated from protobuf field <code>string invite_code = 10;</code>
- */
- protected $invite_code = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $mobile
- * 手机号码
- * @type string $password
- * 密码
- * @type string $code
- * 短信验证码
- * @type string $invite_code
- * 邀请码
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 手机号码
- *
- * Generated from protobuf field <code>string mobile = 1;</code>
- * @return string
- */
- public function getMobile()
- {
- return $this->mobile;
- }
- /**
- * 手机号码
- *
- * Generated from protobuf field <code>string mobile = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setMobile($var)
- {
- GPBUtil::checkString($var, True);
- $this->mobile = $var;
- return $this;
- }
- /**
- * 密码
- *
- * Generated from protobuf field <code>string password = 2;</code>
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
- /**
- * 密码
- *
- * Generated from protobuf field <code>string password = 2;</code>
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
- return $this;
- }
- /**
- * 短信验证码
- *
- * Generated from protobuf field <code>string code = 3;</code>
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
- /**
- * 短信验证码
- *
- * Generated from protobuf field <code>string code = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->code = $var;
- return $this;
- }
- /**
- * 邀请码
- *
- * Generated from protobuf field <code>string invite_code = 10;</code>
- * @return string
- */
- public function getInviteCode()
- {
- return $this->invite_code;
- }
- /**
- * 邀请码
- *
- * Generated from protobuf field <code>string invite_code = 10;</code>
- * @param string $var
- * @return $this
- */
- public function setInviteCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->invite_code = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(RequestPublicRegister::class, \Uraus\Kku\Request_RequestPublicRegister::class);
|