<?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.CGReceiveSeasonReward</code>
 */
class CGReceiveSeasonReward extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 TplID = 1;</code>
     */
    protected $TplID = 0;
    /**
     * true: 一键领取
     *
     * Generated from protobuf field <code>bool FastReward = 2;</code>
     */
    protected $FastReward = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $TplID
     *     @type bool $FastReward
     *           true: 一键领取
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * true: 一键领取
     *
     * Generated from protobuf field <code>bool FastReward = 2;</code>
     * @return bool
     */
    public function getFastReward()
    {
        return $this->FastReward;
    }

    /**
     * true: 一键领取
     *
     * Generated from protobuf field <code>bool FastReward = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setFastReward($var)
    {
        GPBUtil::checkBool($var);
        $this->FastReward = $var;

        return $this;
    }

}

