<?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.GCIntimacyApplyOption</code>
 */
class GCIntimacyApplyOption extends \Google\Protobuf\Internal\Message
{
    /**
     *code为0,删除申请,其他情况保留申请
     *
     * Generated from protobuf field <code>int32 Code = 1;</code>
     */
    protected $Code = 0;
    /**
     *申请Uid
     *
     * Generated from protobuf field <code>uint64 ApplyId = 2;</code>
     */
    protected $ApplyId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $Code
     *          code为0,删除申请,其他情况保留申请
     *     @type int|string $ApplyId
     *          申请Uid
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *code为0,删除申请,其他情况保留申请
     *
     * Generated from protobuf field <code>int32 Code = 1;</code>
     * @return int
     */
    public function getCode()
    {
        return $this->Code;
    }

    /**
     *code为0,删除申请,其他情况保留申请
     *
     * Generated from protobuf field <code>int32 Code = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setCode($var)
    {
        GPBUtil::checkInt32($var);
        $this->Code = $var;

        return $this;
    }

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

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

        return $this;
    }

}

