<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Gm_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.MGLampAdd</code>
 */
class MGLampAdd extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 ID = 1;</code>
     */
    protected $ID = 0;
    /**
     * Generated from protobuf field <code>int32 Num = 2;</code>
     */
    protected $Num = 0;
    /**
     * Generated from protobuf field <code>string Content = 3;</code>
     */
    protected $Content = '';
    /**
     * Generated from protobuf field <code>uint64 TimeEnd = 4;</code>
     */
    protected $TimeEnd = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $ID
     *     @type int $Num
     *     @type string $Content
     *     @type int|string $TimeEnd
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\GmGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

