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

/**
 *破记录信息--0未破记录,1历史最佳,2本月最佳,3本周最佳
 *
 * Generated from protobuf message <code>Game.Protobuf.RecordBreakingInfo</code>
 */
class RecordBreakingInfo extends \Google\Protobuf\Internal\Message
{
    /**
     *领跑占比
     *
     * Generated from protobuf field <code>int32 LeadRatioFlag = 1;</code>
     */
    protected $LeadRatioFlag = 0;
    /**
     *最高速度
     *
     * Generated from protobuf field <code>int32 MaxSpeedFlag = 2;</code>
     */
    protected $MaxSpeedFlag = 0;
    /**
     *干扰次数
     *
     * Generated from protobuf field <code>int32 JamNumFlag = 3;</code>
     */
    protected $JamNumFlag = 0;
    /**
     *辅助次数
     *
     * Generated from protobuf field <code>int32 HelpNumFlag = 4;</code>
     */
    protected $HelpNumFlag = 0;
    /**
     *平均速度
     *
     * Generated from protobuf field <code>int32 AvgSpeedFlag = 5;</code>
     */
    protected $AvgSpeedFlag = 0;
    /**
     *连胜次数
     *
     * Generated from protobuf field <code>int32 ContinuityWinFlag = 6;</code>
     */
    protected $ContinuityWinFlag = 0;
    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>int32 N2CoverFlag = 7;</code>
     */
    protected $N2CoverFlag = 0;
    /**
     *进阶技巧
     *
     * Generated from protobuf field <code>int32 AdvanceFlag = 8;</code>
     */
    protected $AdvanceFlag = 0;
    /**
     *漂移距离
     *
     * Generated from protobuf field <code>int32 DriftRangeFlag = 9;</code>
     */
    protected $DriftRangeFlag = 0;
    /**
     *比赛用时
     *
     * Generated from protobuf field <code>int32 CostTimeFlag = 10;</code>
     */
    protected $CostTimeFlag = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $LeadRatioFlag
     *          领跑占比
     *     @type int $MaxSpeedFlag
     *          最高速度
     *     @type int $JamNumFlag
     *          干扰次数
     *     @type int $HelpNumFlag
     *          辅助次数
     *     @type int $AvgSpeedFlag
     *          平均速度
     *     @type int $ContinuityWinFlag
     *          连胜次数
     *     @type int $N2CoverFlag
     *          氮气覆盖
     *     @type int $AdvanceFlag
     *          进阶技巧
     *     @type int $DriftRangeFlag
     *          漂移距离
     *     @type int $CostTimeFlag
     *          比赛用时
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *领跑占比
     *
     * Generated from protobuf field <code>int32 LeadRatioFlag = 1;</code>
     * @return int
     */
    public function getLeadRatioFlag()
    {
        return $this->LeadRatioFlag;
    }

    /**
     *领跑占比
     *
     * Generated from protobuf field <code>int32 LeadRatioFlag = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setLeadRatioFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->LeadRatioFlag = $var;

        return $this;
    }

    /**
     *最高速度
     *
     * Generated from protobuf field <code>int32 MaxSpeedFlag = 2;</code>
     * @return int
     */
    public function getMaxSpeedFlag()
    {
        return $this->MaxSpeedFlag;
    }

    /**
     *最高速度
     *
     * Generated from protobuf field <code>int32 MaxSpeedFlag = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setMaxSpeedFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->MaxSpeedFlag = $var;

        return $this;
    }

    /**
     *干扰次数
     *
     * Generated from protobuf field <code>int32 JamNumFlag = 3;</code>
     * @return int
     */
    public function getJamNumFlag()
    {
        return $this->JamNumFlag;
    }

    /**
     *干扰次数
     *
     * Generated from protobuf field <code>int32 JamNumFlag = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setJamNumFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->JamNumFlag = $var;

        return $this;
    }

    /**
     *辅助次数
     *
     * Generated from protobuf field <code>int32 HelpNumFlag = 4;</code>
     * @return int
     */
    public function getHelpNumFlag()
    {
        return $this->HelpNumFlag;
    }

    /**
     *辅助次数
     *
     * Generated from protobuf field <code>int32 HelpNumFlag = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setHelpNumFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->HelpNumFlag = $var;

        return $this;
    }

    /**
     *平均速度
     *
     * Generated from protobuf field <code>int32 AvgSpeedFlag = 5;</code>
     * @return int
     */
    public function getAvgSpeedFlag()
    {
        return $this->AvgSpeedFlag;
    }

    /**
     *平均速度
     *
     * Generated from protobuf field <code>int32 AvgSpeedFlag = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setAvgSpeedFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->AvgSpeedFlag = $var;

        return $this;
    }

    /**
     *连胜次数
     *
     * Generated from protobuf field <code>int32 ContinuityWinFlag = 6;</code>
     * @return int
     */
    public function getContinuityWinFlag()
    {
        return $this->ContinuityWinFlag;
    }

    /**
     *连胜次数
     *
     * Generated from protobuf field <code>int32 ContinuityWinFlag = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setContinuityWinFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->ContinuityWinFlag = $var;

        return $this;
    }

    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>int32 N2CoverFlag = 7;</code>
     * @return int
     */
    public function getN2CoverFlag()
    {
        return $this->N2CoverFlag;
    }

    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>int32 N2CoverFlag = 7;</code>
     * @param int $var
     * @return $this
     */
    public function setN2CoverFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->N2CoverFlag = $var;

        return $this;
    }

    /**
     *进阶技巧
     *
     * Generated from protobuf field <code>int32 AdvanceFlag = 8;</code>
     * @return int
     */
    public function getAdvanceFlag()
    {
        return $this->AdvanceFlag;
    }

    /**
     *进阶技巧
     *
     * Generated from protobuf field <code>int32 AdvanceFlag = 8;</code>
     * @param int $var
     * @return $this
     */
    public function setAdvanceFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->AdvanceFlag = $var;

        return $this;
    }

    /**
     *漂移距离
     *
     * Generated from protobuf field <code>int32 DriftRangeFlag = 9;</code>
     * @return int
     */
    public function getDriftRangeFlag()
    {
        return $this->DriftRangeFlag;
    }

    /**
     *漂移距离
     *
     * Generated from protobuf field <code>int32 DriftRangeFlag = 9;</code>
     * @param int $var
     * @return $this
     */
    public function setDriftRangeFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->DriftRangeFlag = $var;

        return $this;
    }

    /**
     *比赛用时
     *
     * Generated from protobuf field <code>int32 CostTimeFlag = 10;</code>
     * @return int
     */
    public function getCostTimeFlag()
    {
        return $this->CostTimeFlag;
    }

    /**
     *比赛用时
     *
     * Generated from protobuf field <code>int32 CostTimeFlag = 10;</code>
     * @param int $var
     * @return $this
     */
    public function setCostTimeFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->CostTimeFlag = $var;

        return $this;
    }

}

