<?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.ClubPlayer</code>
 */
class ClubPlayer extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 Post = 1;</code>
     */
    protected $Post = 0;
    /**
     * Generated from protobuf field <code>int32 Active = 2;</code>
     */
    protected $Active = 0;
    /**
     * Generated from protobuf field <code>int32 Contribute = 3;</code>
     */
    protected $Contribute = 0;
    /**
     * Generated from protobuf field <code>string Name = 4;</code>
     */
    protected $Name = '';
    /**
     * Generated from protobuf field <code>int32 RankScore = 5;</code>
     */
    protected $RankScore = 0;
    /**
     * Generated from protobuf field <code>int32 LevelScore = 6;</code>
     */
    protected $LevelScore = 0;
    /**
     *在线离线状态
     *
     * Generated from protobuf field <code>int32 State = 7;</code>
     */
    protected $State = 0;
    /**
     * Generated from protobuf field <code>int32 StateTime = 8;</code>
     */
    protected $StateTime = 0;
    /**
     * Generated from protobuf field <code>uint64 PlayerID = 9;</code>
     */
    protected $PlayerID = 0;
    /**
     * Generated from protobuf field <code>int32 ServerID = 10;</code>
     */
    protected $ServerID = 0;
    /**
     * 车辆数据 json
     *
     * Generated from protobuf field <code>string Cars = 11;</code>
     */
    protected $Cars = '';
    /**
     * 车辆外观改装数据
     *
     * Generated from protobuf field <code>string CarExteriorRefits = 12;</code>
     */
    protected $CarExteriorRefits = '';
    /**
     * Generated from protobuf field <code>int32 ActiveBattlePass = 13;</code>
     */
    protected $ActiveBattlePass = 0;
    /**
     * Generated from protobuf field <code>uint64 ActiveTotal = 14;</code>
     */
    protected $ActiveTotal = 0;
    /**
     *
     * Generated from protobuf field <code>int32 BattlePassMoney = 15;</code>
     */
    protected $BattlePassMoney = 0;
    /**
     *每日捐献标志 0可捐献 1已捐献
     *
     * Generated from protobuf field <code>int32 DailyDonateFlag = 16;</code>
     */
    protected $DailyDonateFlag = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $Post
     *     @type int $Active
     *     @type int $Contribute
     *     @type string $Name
     *     @type int $RankScore
     *     @type int $LevelScore
     *     @type int $State
     *          在线离线状态
     *     @type int $StateTime
     *     @type int|string $PlayerID
     *     @type int $ServerID
     *     @type string $Cars
     *           车辆数据 json
     *     @type string $CarExteriorRefits
     *           车辆外观改装数据
     *     @type int $ActiveBattlePass
     *     @type int|string $ActiveTotal
     *     @type int $BattlePassMoney
     *     @type int $DailyDonateFlag
     *          每日捐献标志 0可捐献 1已捐献
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

    /**
     * Generated from protobuf field <code>int32 Post = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setPost($var)
    {
        GPBUtil::checkInt32($var);
        $this->Post = $var;

        return $this;
    }

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

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

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>int32 Contribute = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setContribute($var)
    {
        GPBUtil::checkInt32($var);
        $this->Contribute = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string Name = 4;</code>
     * @return string
     */
    public function getName()
    {
        return $this->Name;
    }

    /**
     * Generated from protobuf field <code>string Name = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setName($var)
    {
        GPBUtil::checkString($var, True);
        $this->Name = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>int32 RankScore = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setRankScore($var)
    {
        GPBUtil::checkInt32($var);
        $this->RankScore = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>int32 LevelScore = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setLevelScore($var)
    {
        GPBUtil::checkInt32($var);
        $this->LevelScore = $var;

        return $this;
    }

    /**
     *在线离线状态
     *
     * Generated from protobuf field <code>int32 State = 7;</code>
     * @return int
     */
    public function getState()
    {
        return $this->State;
    }

    /**
     *在线离线状态
     *
     * Generated from protobuf field <code>int32 State = 7;</code>
     * @param int $var
     * @return $this
     */
    public function setState($var)
    {
        GPBUtil::checkInt32($var);
        $this->State = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>int32 StateTime = 8;</code>
     * @param int $var
     * @return $this
     */
    public function setStateTime($var)
    {
        GPBUtil::checkInt32($var);
        $this->StateTime = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>uint64 PlayerID = 9;</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 ServerID = 10;</code>
     * @return int
     */
    public function getServerID()
    {
        return $this->ServerID;
    }

    /**
     * Generated from protobuf field <code>int32 ServerID = 10;</code>
     * @param int $var
     * @return $this
     */
    public function setServerID($var)
    {
        GPBUtil::checkInt32($var);
        $this->ServerID = $var;

        return $this;
    }

    /**
     * 车辆数据 json
     *
     * Generated from protobuf field <code>string Cars = 11;</code>
     * @return string
     */
    public function getCars()
    {
        return $this->Cars;
    }

    /**
     * 车辆数据 json
     *
     * Generated from protobuf field <code>string Cars = 11;</code>
     * @param string $var
     * @return $this
     */
    public function setCars($var)
    {
        GPBUtil::checkString($var, True);
        $this->Cars = $var;

        return $this;
    }

    /**
     * 车辆外观改装数据
     *
     * Generated from protobuf field <code>string CarExteriorRefits = 12;</code>
     * @return string
     */
    public function getCarExteriorRefits()
    {
        return $this->CarExteriorRefits;
    }

    /**
     * 车辆外观改装数据
     *
     * Generated from protobuf field <code>string CarExteriorRefits = 12;</code>
     * @param string $var
     * @return $this
     */
    public function setCarExteriorRefits($var)
    {
        GPBUtil::checkString($var, True);
        $this->CarExteriorRefits = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>int32 ActiveBattlePass = 13;</code>
     * @param int $var
     * @return $this
     */
    public function setActiveBattlePass($var)
    {
        GPBUtil::checkInt32($var);
        $this->ActiveBattlePass = $var;

        return $this;
    }

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

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

        return $this;
    }

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

    /**
     *
     * Generated from protobuf field <code>int32 BattlePassMoney = 15;</code>
     * @param int $var
     * @return $this
     */
    public function setBattlePassMoney($var)
    {
        GPBUtil::checkInt32($var);
        $this->BattlePassMoney = $var;

        return $this;
    }

    /**
     *每日捐献标志 0可捐献 1已捐献
     *
     * Generated from protobuf field <code>int32 DailyDonateFlag = 16;</code>
     * @return int
     */
    public function getDailyDonateFlag()
    {
        return $this->DailyDonateFlag;
    }

    /**
     *每日捐献标志 0可捐献 1已捐献
     *
     * Generated from protobuf field <code>int32 DailyDonateFlag = 16;</code>
     * @param int $var
     * @return $this
     */
    public function setDailyDonateFlag($var)
    {
        GPBUtil::checkInt32($var);
        $this->DailyDonateFlag = $var;

        return $this;
    }

}

