<?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.SettlementParameter</code>
 */
class SettlementParameter extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     */
    protected $PlayerId = 0;
    /**
     *干扰次数
     *
     * Generated from protobuf field <code>int32 JamNum = 2;</code>
     */
    protected $JamNum = 0;
    /**
     *辅助次数
     *
     * Generated from protobuf field <code>int32 HelpNum = 3;</code>
     */
    protected $HelpNum = 0;
    /**
     *最高速度
     *
     * Generated from protobuf field <code>int32 MaxSpeed = 4;</code>
     */
    protected $MaxSpeed = 0;
    /**
     *平均速度
     *
     * Generated from protobuf field <code>int32 AvgSpeed = 5;</code>
     */
    protected $AvgSpeed = 0;
    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>float N2Cover = 6;</code>
     */
    protected $N2Cover = 0.0;
    /**
     *进阶技巧
     *
     * Generated from protobuf field <code>int32 Advance = 7;</code>
     */
    protected $Advance = 0;
    /**
     *领跑占比
     *
     * Generated from protobuf field <code>float LeadRatio = 8;</code>
     */
    protected $LeadRatio = 0.0;
    /**
     *碰撞次数(撞墙)
     *
     * Generated from protobuf field <code>int32 HitNum = 9;</code>
     */
    protected $HitNum = 0;
    /**
     *对抗次数(撞车)
     *
     * Generated from protobuf field <code>int32 AntagonismNum = 10;</code>
     */
    protected $AntagonismNum = 0;
    /**
     *氮气次数
     *
     * Generated from protobuf field <code>int32 N2Num = 11;</code>
     */
    protected $N2Num = 0;
    /**
     *漂移距离
     *
     * Generated from protobuf field <code>int32 DriftRange = 12;</code>
     */
    protected $DriftRange = 0;
    /**
     *释放技能次数
     *
     * Generated from protobuf field <code>int32 SkillNum = 13;</code>
     */
    protected $SkillNum = 0;
    /**
     *比赛用时
     *
     * Generated from protobuf field <code>int32 CostTime = 14;</code>
     */
    protected $CostTime = 0;
    /**
     *小喷次数
     *
     * Generated from protobuf field <code>int32 Spray1Num = 15;</code>
     */
    protected $Spray1Num = 0;
    /**
     *行驶距离
     *
     * Generated from protobuf field <code>int32 DrivingRange = 16;</code>
     */
    protected $DrivingRange = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $PlayerId
     *     @type int $JamNum
     *          干扰次数
     *     @type int $HelpNum
     *          辅助次数
     *     @type int $MaxSpeed
     *          最高速度
     *     @type int $AvgSpeed
     *          平均速度
     *     @type float $N2Cover
     *          氮气覆盖
     *     @type int $Advance
     *          进阶技巧
     *     @type float $LeadRatio
     *          领跑占比
     *     @type int $HitNum
     *          碰撞次数(撞墙)
     *     @type int $AntagonismNum
     *          对抗次数(撞车)
     *     @type int $N2Num
     *          氮气次数
     *     @type int $DriftRange
     *          漂移距离
     *     @type int $SkillNum
     *          释放技能次数
     *     @type int $CostTime
     *          比赛用时
     *     @type int $Spray1Num
     *          小喷次数
     *     @type int $DrivingRange
     *          行驶距离
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     * @return int|string
     */
    public function getPlayerId()
    {
        return $this->PlayerId;
    }

    /**
     * Generated from protobuf field <code>uint64 PlayerId = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPlayerId($var)
    {
        GPBUtil::checkUint64($var);
        $this->PlayerId = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>float N2Cover = 6;</code>
     * @return float
     */
    public function getN2Cover()
    {
        return $this->N2Cover;
    }

    /**
     *氮气覆盖
     *
     * Generated from protobuf field <code>float N2Cover = 6;</code>
     * @param float $var
     * @return $this
     */
    public function setN2Cover($var)
    {
        GPBUtil::checkFloat($var);
        $this->N2Cover = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     *领跑占比
     *
     * Generated from protobuf field <code>float LeadRatio = 8;</code>
     * @return float
     */
    public function getLeadRatio()
    {
        return $this->LeadRatio;
    }

    /**
     *领跑占比
     *
     * Generated from protobuf field <code>float LeadRatio = 8;</code>
     * @param float $var
     * @return $this
     */
    public function setLeadRatio($var)
    {
        GPBUtil::checkFloat($var);
        $this->LeadRatio = $var;

        return $this;
    }

    /**
     *碰撞次数(撞墙)
     *
     * Generated from protobuf field <code>int32 HitNum = 9;</code>
     * @return int
     */
    public function getHitNum()
    {
        return $this->HitNum;
    }

    /**
     *碰撞次数(撞墙)
     *
     * Generated from protobuf field <code>int32 HitNum = 9;</code>
     * @param int $var
     * @return $this
     */
    public function setHitNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->HitNum = $var;

        return $this;
    }

    /**
     *对抗次数(撞车)
     *
     * Generated from protobuf field <code>int32 AntagonismNum = 10;</code>
     * @return int
     */
    public function getAntagonismNum()
    {
        return $this->AntagonismNum;
    }

    /**
     *对抗次数(撞车)
     *
     * Generated from protobuf field <code>int32 AntagonismNum = 10;</code>
     * @param int $var
     * @return $this
     */
    public function setAntagonismNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->AntagonismNum = $var;

        return $this;
    }

    /**
     *氮气次数
     *
     * Generated from protobuf field <code>int32 N2Num = 11;</code>
     * @return int
     */
    public function getN2Num()
    {
        return $this->N2Num;
    }

    /**
     *氮气次数
     *
     * Generated from protobuf field <code>int32 N2Num = 11;</code>
     * @param int $var
     * @return $this
     */
    public function setN2Num($var)
    {
        GPBUtil::checkInt32($var);
        $this->N2Num = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     *释放技能次数
     *
     * Generated from protobuf field <code>int32 SkillNum = 13;</code>
     * @return int
     */
    public function getSkillNum()
    {
        return $this->SkillNum;
    }

    /**
     *释放技能次数
     *
     * Generated from protobuf field <code>int32 SkillNum = 13;</code>
     * @param int $var
     * @return $this
     */
    public function setSkillNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->SkillNum = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     *小喷次数
     *
     * Generated from protobuf field <code>int32 Spray1Num = 15;</code>
     * @return int
     */
    public function getSpray1Num()
    {
        return $this->Spray1Num;
    }

    /**
     *小喷次数
     *
     * Generated from protobuf field <code>int32 Spray1Num = 15;</code>
     * @param int $var
     * @return $this
     */
    public function setSpray1Num($var)
    {
        GPBUtil::checkInt32($var);
        $this->Spray1Num = $var;

        return $this;
    }

    /**
     *行驶距离
     *
     * Generated from protobuf field <code>int32 DrivingRange = 16;</code>
     * @return int
     */
    public function getDrivingRange()
    {
        return $this->DrivingRange;
    }

    /**
     *行驶距离
     *
     * Generated from protobuf field <code>int32 DrivingRange = 16;</code>
     * @param int $var
     * @return $this
     */
    public function setDrivingRange($var)
    {
        GPBUtil::checkInt32($var);
        $this->DrivingRange = $var;

        return $this;
    }

}

