<?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.GCRemoveIntimacyTitle</code>
 */
class GCRemoveIntimacyTitle extends \Google\Protobuf\Internal\Message
{
    /**
     *玩家唯一id
     *
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     */
    protected $PlayerId = 0;
    /**
     * Generated from protobuf field <code>int32 Code = 2;</code>
     */
    protected $Code = 0;
    /**
     *申请冷静时间,code=0时有效
     *
     * Generated from protobuf field <code>int32 CDTime = 3;</code>
     */
    protected $CDTime = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $PlayerId
     *          玩家唯一id
     *     @type int $Code
     *     @type int $CDTime
     *          申请冷静时间,code=0时有效
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *玩家唯一id
     *
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     * @return int|string
     */
    public function getPlayerId()
    {
        return $this->PlayerId;
    }

    /**
     *玩家唯一id
     *
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPlayerId($var)
    {
        GPBUtil::checkUint64($var);
        $this->PlayerId = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 Code = 2;</code>
     * @return int
     */
    public function getCode()
    {
        return $this->Code;
    }

    /**
     * Generated from protobuf field <code>int32 Code = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setCode($var)
    {
        GPBUtil::checkInt32($var);
        $this->Code = $var;

        return $this;
    }

    /**
     *申请冷静时间,code=0时有效
     *
     * Generated from protobuf field <code>int32 CDTime = 3;</code>
     * @return int
     */
    public function getCDTime()
    {
        return $this->CDTime;
    }

    /**
     *申请冷静时间,code=0时有效
     *
     * Generated from protobuf field <code>int32 CDTime = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setCDTime($var)
    {
        GPBUtil::checkInt32($var);
        $this->CDTime = $var;

        return $this;
    }

}

