<?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.ClubInfo</code>
 */
class ClubInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 ClubID = 1;</code>
     */
    protected $ClubID = 0;
    /**
     * Generated from protobuf field <code>string ClubName = 2;</code>
     */
    protected $ClubName = '';
    /**
     * Generated from protobuf field <code>string ClubMaster = 3;</code>
     */
    protected $ClubMaster = '';
    /**
     * Generated from protobuf field <code>int32 Image = 4;</code>
     */
    protected $Image = 0;
    /**
     * Generated from protobuf field <code>int32 BgImage = 5;</code>
     */
    protected $BgImage = 0;
    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.ClubPlayer players = 6;</code>
     */
    private $players;
    /**
     * Generated from protobuf field <code>int32 LevelScore = 7;</code>
     */
    protected $LevelScore = 0;
    /**
     * Generated from protobuf field <code>string ClubNotice = 8;</code>
     */
    protected $ClubNotice = '';
    /**
     * Generated from protobuf field <code>repeated int32 ClubTags = 9;</code>
     */
    private $ClubTags;
    /**
     * Generated from protobuf field <code>int32 LevelLimit = 10;</code>
     */
    protected $LevelLimit = 0;
    /**
     * Generated from protobuf field <code>int32 RankdLimit = 11;</code>
     */
    protected $RankdLimit = 0;
    /**
     * Generated from protobuf field <code>int32 JoinState = 12;</code>
     */
    protected $JoinState = 0;
    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.JoinApplyStruct JoinApply = 13;</code>
     */
    private $JoinApply;
    /**
     * Generated from protobuf field <code>uint64 CreateTime = 14;</code>
     */
    protected $CreateTime = 0;
    /**
     * Generated from protobuf field <code>int32 ClubScore = 15;</code>
     */
    protected $ClubScore = 0;
    /**
     * 是否有弹劾
     *
     * Generated from protobuf field <code>bool haveImpeach = 16;</code>
     */
    protected $haveImpeach = false;
    /**
     *BattlePass活跃点
     *
     * Generated from protobuf field <code>int32 BattlePassActive = 17;</code>
     */
    protected $BattlePassActive = 0;
    /**
     *已领取的转换代币
     *
     * Generated from protobuf field <code>int32 BattlePassMoney = 18;</code>
     */
    protected $BattlePassMoney = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $ClubID
     *     @type string $ClubName
     *     @type string $ClubMaster
     *     @type int $Image
     *     @type int $BgImage
     *     @type \Game\Protobuf\ClubPlayer[]|\Google\Protobuf\Internal\RepeatedField $players
     *     @type int $LevelScore
     *     @type string $ClubNotice
     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $ClubTags
     *     @type int $LevelLimit
     *     @type int $RankdLimit
     *     @type int $JoinState
     *     @type \Game\Protobuf\JoinApplyStruct[]|\Google\Protobuf\Internal\RepeatedField $JoinApply
     *     @type int|string $CreateTime
     *     @type int $ClubScore
     *     @type bool $haveImpeach
     *           是否有弹劾
     *     @type int $BattlePassActive
     *          BattlePass活跃点
     *     @type int $BattlePassMoney
     *          已领取的转换代币
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string ClubName = 2;</code>
     * @return string
     */
    public function getClubName()
    {
        return $this->ClubName;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string ClubMaster = 3;</code>
     * @return string
     */
    public function getClubMaster()
    {
        return $this->ClubMaster;
    }

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.ClubPlayer players = 6;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getPlayers()
    {
        return $this->players;
    }

    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.ClubPlayer players = 6;</code>
     * @param \Game\Protobuf\ClubPlayer[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setPlayers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Game\Protobuf\ClubPlayer::class);
        $this->players = $arr;

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string ClubNotice = 8;</code>
     * @return string
     */
    public function getClubNotice()
    {
        return $this->ClubNotice;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated int32 ClubTags = 9;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getClubTags()
    {
        return $this->ClubTags;
    }

    /**
     * Generated from protobuf field <code>repeated int32 ClubTags = 9;</code>
     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setClubTags($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->ClubTags = $arr;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.JoinApplyStruct JoinApply = 13;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getJoinApply()
    {
        return $this->JoinApply;
    }

    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.JoinApplyStruct JoinApply = 13;</code>
     * @param \Game\Protobuf\JoinApplyStruct[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setJoinApply($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Game\Protobuf\JoinApplyStruct::class);
        $this->JoinApply = $arr;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * 是否有弹劾
     *
     * Generated from protobuf field <code>bool haveImpeach = 16;</code>
     * @return bool
     */
    public function getHaveImpeach()
    {
        return $this->haveImpeach;
    }

    /**
     * 是否有弹劾
     *
     * Generated from protobuf field <code>bool haveImpeach = 16;</code>
     * @param bool $var
     * @return $this
     */
    public function setHaveImpeach($var)
    {
        GPBUtil::checkBool($var);
        $this->haveImpeach = $var;

        return $this;
    }

    /**
     *BattlePass活跃点
     *
     * Generated from protobuf field <code>int32 BattlePassActive = 17;</code>
     * @return int
     */
    public function getBattlePassActive()
    {
        return $this->BattlePassActive;
    }

    /**
     *BattlePass活跃点
     *
     * Generated from protobuf field <code>int32 BattlePassActive = 17;</code>
     * @param int $var
     * @return $this
     */
    public function setBattlePassActive($var)
    {
        GPBUtil::checkInt32($var);
        $this->BattlePassActive = $var;

        return $this;
    }

    /**
     *已领取的转换代币
     *
     * Generated from protobuf field <code>int32 BattlePassMoney = 18;</code>
     * @return int
     */
    public function getBattlePassMoney()
    {
        return $this->BattlePassMoney;
    }

    /**
     *已领取的转换代币
     *
     * Generated from protobuf field <code>int32 BattlePassMoney = 18;</code>
     * @param int $var
     * @return $this
     */
    public function setBattlePassMoney($var)
    {
        GPBUtil::checkInt32($var);
        $this->BattlePassMoney = $var;

        return $this;
    }

}

