<?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.CGIntimacyApplyOption</code>
 */
class CGIntimacyApplyOption extends \Google\Protobuf\Internal\Message
{
    /**
     *申请Uid
     *
     * Generated from protobuf field <code>uint64 ApplyId = 1;</code>
     */
    protected $ApplyId = 0;
    /**
     *true同意申请 false拒绝
     *
     * Generated from protobuf field <code>bool Option = 2;</code>
     */
    protected $Option = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $ApplyId
     *          申请Uid
     *     @type bool $Option
     *          true同意申请 false拒绝
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *申请Uid
     *
     * Generated from protobuf field <code>uint64 ApplyId = 1;</code>
     * @return int|string
     */
    public function getApplyId()
    {
        return $this->ApplyId;
    }

    /**
     *申请Uid
     *
     * Generated from protobuf field <code>uint64 ApplyId = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setApplyId($var)
    {
        GPBUtil::checkUint64($var);
        $this->ApplyId = $var;

        return $this;
    }

    /**
     *true同意申请 false拒绝
     *
     * Generated from protobuf field <code>bool Option = 2;</code>
     * @return bool
     */
    public function getOption()
    {
        return $this->Option;
    }

    /**
     *true同意申请 false拒绝
     *
     * Generated from protobuf field <code>bool Option = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setOption($var)
    {
        GPBUtil::checkBool($var);
        $this->Option = $var;

        return $this;
    }

}

