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

/**
 *-------------------------统计信息start-----------------------------//
 *获取统计信息
 *
 * Generated from protobuf message <code>Game.Protobuf.CGStatisticsInfo</code>
 */
class CGStatisticsInfo extends \Google\Protobuf\Internal\Message
{
    /**
     *模式: 0所有对局,1排位赛,2练习赛
     *
     * Generated from protobuf field <code>int32 Mode = 1;</code>
     */
    protected $Mode = 0;
    /**
     *赛季选择: 0本赛季,1全部赛季
     *
     * Generated from protobuf field <code>int32 Season = 2;</code>
     */
    protected $Season = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $Mode
     *          模式: 0所有对局,1排位赛,2练习赛
     *     @type int $Season
     *          赛季选择: 0本赛季,1全部赛季
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *模式: 0所有对局,1排位赛,2练习赛
     *
     * Generated from protobuf field <code>int32 Mode = 1;</code>
     * @return int
     */
    public function getMode()
    {
        return $this->Mode;
    }

    /**
     *模式: 0所有对局,1排位赛,2练习赛
     *
     * Generated from protobuf field <code>int32 Mode = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setMode($var)
    {
        GPBUtil::checkInt32($var);
        $this->Mode = $var;

        return $this;
    }

    /**
     *赛季选择: 0本赛季,1全部赛季
     *
     * Generated from protobuf field <code>int32 Season = 2;</code>
     * @return int
     */
    public function getSeason()
    {
        return $this->Season;
    }

    /**
     *赛季选择: 0本赛季,1全部赛季
     *
     * Generated from protobuf field <code>int32 Season = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSeason($var)
    {
        GPBUtil::checkInt32($var);
        $this->Season = $var;

        return $this;
    }

}

