<?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.CGRankTeamRecord</code>
 */
class CGRankTeamRecord extends \Google\Protobuf\Internal\Message
{
    /**
     *要通知显示的消息
     *
     * Generated from protobuf field <code>string Message = 1;</code>
     */
    protected $Message = '';
    /**
     * 对位内其他玩家
     *
     * Generated from protobuf field <code>repeated uint64 Players = 2;</code>
     */
    private $Players;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $Message
     *          要通知显示的消息
     *     @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $Players
     *           对位内其他玩家
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *要通知显示的消息
     *
     * Generated from protobuf field <code>string Message = 1;</code>
     * @return string
     */
    public function getMessage()
    {
        return $this->Message;
    }

    /**
     *要通知显示的消息
     *
     * Generated from protobuf field <code>string Message = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setMessage($var)
    {
        GPBUtil::checkString($var, True);
        $this->Message = $var;

        return $this;
    }

    /**
     * 对位内其他玩家
     *
     * Generated from protobuf field <code>repeated uint64 Players = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getPlayers()
    {
        return $this->Players;
    }

    /**
     * 对位内其他玩家
     *
     * Generated from protobuf field <code>repeated uint64 Players = 2;</code>
     * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setPlayers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::UINT64);
        $this->Players = $arr;

        return $this;
    }

}

