<?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.MatchOperation</code>
 */
class MatchOperation extends \Google\Protobuf\Internal\Message
{
    /**
     *小喷次数
     *
     * Generated from protobuf field <code>int32 Spray1Num = 1;</code>
     */
    protected $Spray1Num = 0;
    /**
     *双喷次数
     *
     * Generated from protobuf field <code>int32 Spray2Num = 2;</code>
     */
    protected $Spray2Num = 0;
    /**
     *氮气次数
     *
     * Generated from protobuf field <code>int32 N2Num = 3;</code>
     */
    protected $N2Num = 0;
    /**
     *漂移次数
     *
     * Generated from protobuf field <code>int32 DriftNum = 4;</code>
     */
    protected $DriftNum = 0;
    /**
     *漂移距离
     *
     * Generated from protobuf field <code>int32 DriftRange = 5;</code>
     */
    protected $DriftRange = 0;
    /**
     *超车次数
     *
     * Generated from protobuf field <code>int32 OverTakeNum = 6;</code>
     */
    protected $OverTakeNum = 0;
    /**
     *释放技能次数
     *
     * Generated from protobuf field <code>int32 SkillNum = 7;</code>
     */
    protected $SkillNum = 0;
    /**
     *行驶距离
     *
     * Generated from protobuf field <code>int32 DrivingRange = 8;</code>
     */
    protected $DrivingRange = 0;
    /**
     *干扰技能次数
     *
     * Generated from protobuf field <code>int32 JamSkillNum = 9;</code>
     */
    protected $JamSkillNum = 0;
    /**
     *辅助技能次数
     *
     * Generated from protobuf field <code>int32 HelpSkillNum = 10;</code>
     */
    protected $HelpSkillNum = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $Spray1Num
     *          小喷次数
     *     @type int $Spray2Num
     *          双喷次数
     *     @type int $N2Num
     *          氮气次数
     *     @type int $DriftNum
     *          漂移次数
     *     @type int $DriftRange
     *          漂移距离
     *     @type int $OverTakeNum
     *          超车次数
     *     @type int $SkillNum
     *          释放技能次数
     *     @type int $DrivingRange
     *          行驶距离
     *     @type int $JamSkillNum
     *          干扰技能次数
     *     @type int $HelpSkillNum
     *          辅助技能次数
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     *双喷次数
     *
     * Generated from protobuf field <code>int32 Spray2Num = 2;</code>
     * @return int
     */
    public function getSpray2Num()
    {
        return $this->Spray2Num;
    }

    /**
     *双喷次数
     *
     * Generated from protobuf field <code>int32 Spray2Num = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSpray2Num($var)
    {
        GPBUtil::checkInt32($var);
        $this->Spray2Num = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     *漂移次数
     *
     * Generated from protobuf field <code>int32 DriftNum = 4;</code>
     * @return int
     */
    public function getDriftNum()
    {
        return $this->DriftNum;
    }

    /**
     *漂移次数
     *
     * Generated from protobuf field <code>int32 DriftNum = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setDriftNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->DriftNum = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     *超车次数
     *
     * Generated from protobuf field <code>int32 OverTakeNum = 6;</code>
     * @return int
     */
    public function getOverTakeNum()
    {
        return $this->OverTakeNum;
    }

    /**
     *超车次数
     *
     * Generated from protobuf field <code>int32 OverTakeNum = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setOverTakeNum($var)
    {
        GPBUtil::checkInt32($var);
        $this->OverTakeNum = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     *干扰技能次数
     *
     * Generated from protobuf field <code>int32 JamSkillNum = 9;</code>
     * @return int
     */
    public function getJamSkillNum()
    {
        return $this->JamSkillNum;
    }

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

        return $this;
    }

    /**
     *辅助技能次数
     *
     * Generated from protobuf field <code>int32 HelpSkillNum = 10;</code>
     * @return int
     */
    public function getHelpSkillNum()
    {
        return $this->HelpSkillNum;
    }

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

        return $this;
    }

}

