<?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.CGCheckGuestByDeviceID</code>
 */
class CGCheckGuestByDeviceID extends \Google\Protobuf\Internal\Message
{
    /**
     * 为空时为注册
     *
     * Generated from protobuf field <code>string DeviceID = 1;</code>
     */
    protected $DeviceID = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $DeviceID
     *           为空时为注册
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     * 为空时为注册
     *
     * Generated from protobuf field <code>string DeviceID = 1;</code>
     * @return string
     */
    public function getDeviceID()
    {
        return $this->DeviceID;
    }

    /**
     * 为空时为注册
     *
     * Generated from protobuf field <code>string DeviceID = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setDeviceID($var)
    {
        GPBUtil::checkString($var, True);
        $this->DeviceID = $var;

        return $this;
    }

}

