<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Client_Game_Packet.proto

namespace Game\Protobuf;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>Game.Protobuf.CGTestLogin</code>
 */
class CGTestLogin extends \Google\Protobuf\Internal\Message
{
    /**
     * 登录信息
     *
     * Generated from protobuf field <code>int32 AccountType = 1;</code>
     */
    protected $AccountType = 0;
    /**
     * Generated from protobuf field <code>string Account = 2;</code>
     */
    protected $Account = '';
    /**
     * 游客账户密码
     *
     * Generated from protobuf field <code>string Password = 3;</code>
     */
    protected $Password = '';
    /**
     * json 手机收集的数据
     *
     * Generated from protobuf field <code>string ClientData = 4;</code>
     */
    protected $ClientData = '';
    /**
     * 设备id
     *
     * Generated from protobuf field <code>string DeviceID = 5;</code>
     */
    protected $DeviceID = '';
    /**
     *选择模型
     *
     * Generated from protobuf field <code>int32 ModelID = 6;</code>
     */
    protected $ModelID = 0;
    /**
     * 昵称
     *
     * Generated from protobuf field <code>int32 Step = 7;</code>
     */
    protected $Step = 0;
    /**
     * Generated from protobuf field <code>string NickName = 8;</code>
     */
    protected $NickName = '';
    /**
     * 选车
     *
     * Generated from protobuf field <code>int32 CarTplID = 9;</code>
     */
    protected $CarTplID = 0;
    /**
     * 车辆对应道具表ID
     *
     * Generated from protobuf field <code>int32 ItemID = 10;</code>
     */
    protected $ItemID = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $AccountType
     *           登录信息
     *     @type string $Account
     *     @type string $Password
     *           游客账户密码
     *     @type string $ClientData
     *           json 手机收集的数据
     *     @type string $DeviceID
     *           设备id
     *     @type int $ModelID
     *          选择模型
     *     @type int $Step
     *           昵称
     *     @type string $NickName
     *     @type int $CarTplID
     *           选车
     *     @type int $ItemID
     *           车辆对应道具表ID
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     * 登录信息
     *
     * Generated from protobuf field <code>int32 AccountType = 1;</code>
     * @return int
     */
    public function getAccountType()
    {
        return $this->AccountType;
    }

    /**
     * 登录信息
     *
     * Generated from protobuf field <code>int32 AccountType = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setAccountType($var)
    {
        GPBUtil::checkInt32($var);
        $this->AccountType = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string Account = 2;</code>
     * @return string
     */
    public function getAccount()
    {
        return $this->Account;
    }

    /**
     * Generated from protobuf field <code>string Account = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setAccount($var)
    {
        GPBUtil::checkString($var, True);
        $this->Account = $var;

        return $this;
    }

    /**
     * 游客账户密码
     *
     * Generated from protobuf field <code>string Password = 3;</code>
     * @return string
     */
    public function getPassword()
    {
        return $this->Password;
    }

    /**
     * 游客账户密码
     *
     * Generated from protobuf field <code>string Password = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setPassword($var)
    {
        GPBUtil::checkString($var, True);
        $this->Password = $var;

        return $this;
    }

    /**
     * json 手机收集的数据
     *
     * Generated from protobuf field <code>string ClientData = 4;</code>
     * @return string
     */
    public function getClientData()
    {
        return $this->ClientData;
    }

    /**
     * json 手机收集的数据
     *
     * Generated from protobuf field <code>string ClientData = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setClientData($var)
    {
        GPBUtil::checkString($var, True);
        $this->ClientData = $var;

        return $this;
    }

    /**
     * 设备id
     *
     * Generated from protobuf field <code>string DeviceID = 5;</code>
     * @return string
     */
    public function getDeviceID()
    {
        return $this->DeviceID;
    }

    /**
     * 设备id
     *
     * Generated from protobuf field <code>string DeviceID = 5;</code>
     * @param string $var
     * @return $this
     */
    public function setDeviceID($var)
    {
        GPBUtil::checkString($var, True);
        $this->DeviceID = $var;

        return $this;
    }

    /**
     *选择模型
     *
     * Generated from protobuf field <code>int32 ModelID = 6;</code>
     * @return int
     */
    public function getModelID()
    {
        return $this->ModelID;
    }

    /**
     *选择模型
     *
     * Generated from protobuf field <code>int32 ModelID = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setModelID($var)
    {
        GPBUtil::checkInt32($var);
        $this->ModelID = $var;

        return $this;
    }

    /**
     * 昵称
     *
     * Generated from protobuf field <code>int32 Step = 7;</code>
     * @return int
     */
    public function getStep()
    {
        return $this->Step;
    }

    /**
     * 昵称
     *
     * Generated from protobuf field <code>int32 Step = 7;</code>
     * @param int $var
     * @return $this
     */
    public function setStep($var)
    {
        GPBUtil::checkInt32($var);
        $this->Step = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string NickName = 8;</code>
     * @return string
     */
    public function getNickName()
    {
        return $this->NickName;
    }

    /**
     * Generated from protobuf field <code>string NickName = 8;</code>
     * @param string $var
     * @return $this
     */
    public function setNickName($var)
    {
        GPBUtil::checkString($var, True);
        $this->NickName = $var;

        return $this;
    }

    /**
     * 选车
     *
     * Generated from protobuf field <code>int32 CarTplID = 9;</code>
     * @return int
     */
    public function getCarTplID()
    {
        return $this->CarTplID;
    }

    /**
     * 选车
     *
     * Generated from protobuf field <code>int32 CarTplID = 9;</code>
     * @param int $var
     * @return $this
     */
    public function setCarTplID($var)
    {
        GPBUtil::checkInt32($var);
        $this->CarTplID = $var;

        return $this;
    }

    /**
     * 车辆对应道具表ID
     *
     * Generated from protobuf field <code>int32 ItemID = 10;</code>
     * @return int
     */
    public function getItemID()
    {
        return $this->ItemID;
    }

    /**
     * 车辆对应道具表ID
     *
     * Generated from protobuf field <code>int32 ItemID = 10;</code>
     * @param int $var
     * @return $this
     */
    public function setItemID($var)
    {
        GPBUtil::checkInt32($var);
        $this->ItemID = $var;

        return $this;
    }

}

