<?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.GCRankTeamRecord</code>
 */
class GCRankTeamRecord extends \Google\Protobuf\Internal\Message
{
    /**
     *要通知显示的消息
     *
     * Generated from protobuf field <code>string Message = 1;</code>
     */
    protected $Message = '';
    /**
     *发送消息的玩家
     *
     * Generated from protobuf field <code>uint64 PlayerId = 2;</code>
     */
    protected $PlayerId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $Message
     *          要通知显示的消息
     *     @type int|string $PlayerId
     *          发送消息的玩家
     * }
     */
    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>uint64 PlayerId = 2;</code>
     * @return int|string
     */
    public function getPlayerId()
    {
        return $this->PlayerId;
    }

    /**
     *发送消息的玩家
     *
     * Generated from protobuf field <code>uint64 PlayerId = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPlayerId($var)
    {
        GPBUtil::checkUint64($var);
        $this->PlayerId = $var;

        return $this;
    }

}

