<?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.GCProficiencyData</code>
 */
class GCProficiencyData extends \Google\Protobuf\Internal\Message
{
    /**
     *总活跃度等级
     *
     * Generated from protobuf field <code>int32 ProficiencyLv = 1;</code>
     */
    protected $ProficiencyLv = 0;
    /**
     *普通奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyReward = 2;</code>
     */
    private $ProficiencyReward;
    /**
     *高级奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyExpertReward = 3;</code>
     */
    private $ProficiencyExpertReward;
    /**
     *高级开通标志 true开启
     *
     * Generated from protobuf field <code>bool ProficiencyFlag = 4;</code>
     */
    protected $ProficiencyFlag = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $ProficiencyLv
     *          总活跃度等级
     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $ProficiencyReward
     *          普通奖励领取id(Proficient表id)
     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $ProficiencyExpertReward
     *          高级奖励领取id(Proficient表id)
     *     @type bool $ProficiencyFlag
     *          高级开通标志 true开启
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *总活跃度等级
     *
     * Generated from protobuf field <code>int32 ProficiencyLv = 1;</code>
     * @return int
     */
    public function getProficiencyLv()
    {
        return $this->ProficiencyLv;
    }

    /**
     *总活跃度等级
     *
     * Generated from protobuf field <code>int32 ProficiencyLv = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setProficiencyLv($var)
    {
        GPBUtil::checkInt32($var);
        $this->ProficiencyLv = $var;

        return $this;
    }

    /**
     *普通奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyReward = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getProficiencyReward()
    {
        return $this->ProficiencyReward;
    }

    /**
     *普通奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyReward = 2;</code>
     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setProficiencyReward($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->ProficiencyReward = $arr;

        return $this;
    }

    /**
     *高级奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyExpertReward = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getProficiencyExpertReward()
    {
        return $this->ProficiencyExpertReward;
    }

    /**
     *高级奖励领取id(Proficient表id)
     *
     * Generated from protobuf field <code>repeated int32 ProficiencyExpertReward = 3;</code>
     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setProficiencyExpertReward($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->ProficiencyExpertReward = $arr;

        return $this;
    }

    /**
     *高级开通标志 true开启
     *
     * Generated from protobuf field <code>bool ProficiencyFlag = 4;</code>
     * @return bool
     */
    public function getProficiencyFlag()
    {
        return $this->ProficiencyFlag;
    }

    /**
     *高级开通标志 true开启
     *
     * Generated from protobuf field <code>bool ProficiencyFlag = 4;</code>
     * @param bool $var
     * @return $this
     */
    public function setProficiencyFlag($var)
    {
        GPBUtil::checkBool($var);
        $this->ProficiencyFlag = $var;

        return $this;
    }

}

