<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Gm_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.GMSeasonScore</code>
 */
class GMSeasonScore extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 Code = 1;</code>
     */
    protected $Code = 0;
    /**
     * 赛季ID 
     *
     * Generated from protobuf field <code>int32 SeasonID = 2;</code>
     */
    protected $SeasonID = 0;
    /**
     * 赛季分
     *
     * Generated from protobuf field <code>uint64 SeasonScore = 3;</code>
     */
    protected $SeasonScore = 0;
    /**
     * 循环经验
     *
     * Generated from protobuf field <code>int32 OverFlowExp = 4;</code>
     */
    protected $OverFlowExp = 0;
    /**
     * 可领取次数
     *
     * Generated from protobuf field <code>int32 HaveNum = 5;</code>
     */
    protected $HaveNum = 0;
    /**
     * 总领取次数
     *
     * Generated from protobuf field <code>int32 Num = 6;</code>
     */
    protected $Num = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $Code
     *     @type int $SeasonID
     *           赛季ID 
     *     @type int|string $SeasonScore
     *           赛季分
     *     @type int $OverFlowExp
     *           循环经验
     *     @type int $HaveNum
     *           可领取次数
     *     @type int $Num
     *           总领取次数
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\GmGamePacket::initOnce();
        parent::__construct($data);
    }

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

    /**
     * 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;
    }

    /**
     * 赛季ID 
     *
     * Generated from protobuf field <code>int32 SeasonID = 2;</code>
     * @return int
     */
    public function getSeasonID()
    {
        return $this->SeasonID;
    }

    /**
     * 赛季ID 
     *
     * Generated from protobuf field <code>int32 SeasonID = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSeasonID($var)
    {
        GPBUtil::checkInt32($var);
        $this->SeasonID = $var;

        return $this;
    }

    /**
     * 赛季分
     *
     * Generated from protobuf field <code>uint64 SeasonScore = 3;</code>
     * @return int|string
     */
    public function getSeasonScore()
    {
        return $this->SeasonScore;
    }

    /**
     * 赛季分
     *
     * Generated from protobuf field <code>uint64 SeasonScore = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setSeasonScore($var)
    {
        GPBUtil::checkUint64($var);
        $this->SeasonScore = $var;

        return $this;
    }

    /**
     * 循环经验
     *
     * Generated from protobuf field <code>int32 OverFlowExp = 4;</code>
     * @return int
     */
    public function getOverFlowExp()
    {
        return $this->OverFlowExp;
    }

    /**
     * 循环经验
     *
     * Generated from protobuf field <code>int32 OverFlowExp = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setOverFlowExp($var)
    {
        GPBUtil::checkInt32($var);
        $this->OverFlowExp = $var;

        return $this;
    }

    /**
     * 可领取次数
     *
     * Generated from protobuf field <code>int32 HaveNum = 5;</code>
     * @return int
     */
    public function getHaveNum()
    {
        return $this->HaveNum;
    }

    /**
     * 可领取次数
     *
     * Generated from protobuf field <code>int32 HaveNum = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setHaveNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->HaveNum = $var;

        return $this;
    }

    /**
     * 总领取次数
     *
     * Generated from protobuf field <code>int32 Num = 6;</code>
     * @return int
     */
    public function getNum()
    {
        return $this->Num;
    }

    /**
     * 总领取次数
     *
     * Generated from protobuf field <code>int32 Num = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->Num = $var;

        return $this;
    }

}

