<?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;

/**
 *玩家buff更新
 *
 * Generated from protobuf message <code>Game.Protobuf.GCUpdatePlayerBuff</code>
 */
class GCUpdatePlayerBuff extends \Google\Protobuf\Internal\Message
{
    /**
     *双倍金币收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleGold = 1;</code>
     */
    protected $BuffDoubleGold = 0;
    /**
     *双倍熟练度收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleProficiency = 2;</code>
     */
    protected $BuffDoubleProficiency = 0;
    /**
     *双倍经验收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleExp = 3;</code>
     */
    protected $BuffDoubleExp = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $BuffDoubleGold
     *          双倍金币收益->过期时间
     *     @type int $BuffDoubleProficiency
     *          双倍熟练度收益->过期时间
     *     @type int $BuffDoubleExp
     *          双倍经验收益->过期时间
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *双倍金币收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleGold = 1;</code>
     * @return int
     */
    public function getBuffDoubleGold()
    {
        return $this->BuffDoubleGold;
    }

    /**
     *双倍金币收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleGold = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setBuffDoubleGold($var)
    {
        GPBUtil::checkInt32($var);
        $this->BuffDoubleGold = $var;

        return $this;
    }

    /**
     *双倍熟练度收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleProficiency = 2;</code>
     * @return int
     */
    public function getBuffDoubleProficiency()
    {
        return $this->BuffDoubleProficiency;
    }

    /**
     *双倍熟练度收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleProficiency = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setBuffDoubleProficiency($var)
    {
        GPBUtil::checkInt32($var);
        $this->BuffDoubleProficiency = $var;

        return $this;
    }

    /**
     *双倍经验收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleExp = 3;</code>
     * @return int
     */
    public function getBuffDoubleExp()
    {
        return $this->BuffDoubleExp;
    }

    /**
     *双倍经验收益->过期时间
     *
     * Generated from protobuf field <code>int32 BuffDoubleExp = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setBuffDoubleExp($var)
    {
        GPBUtil::checkInt32($var);
        $this->BuffDoubleExp = $var;

        return $this;
    }

}

