<?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;

/**
 *PVE关卡观看教学视频
 *
 * Generated from protobuf message <code>Game.Protobuf.CGPveWatchVideo</code>
 */
class CGPveWatchVideo extends \Google\Protobuf\Internal\Message
{
    /**
     *关卡id
     *
     * Generated from protobuf field <code>int32 LevelId = 1;</code>
     */
    protected $LevelId = 0;
    /**
     *视频Id
     *
     * Generated from protobuf field <code>int32 VideoId = 2;</code>
     */
    protected $VideoId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $LevelId
     *          关卡id
     *     @type int $VideoId
     *          视频Id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *关卡id
     *
     * Generated from protobuf field <code>int32 LevelId = 1;</code>
     * @return int
     */
    public function getLevelId()
    {
        return $this->LevelId;
    }

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

        return $this;
    }

    /**
     *视频Id
     *
     * Generated from protobuf field <code>int32 VideoId = 2;</code>
     * @return int
     */
    public function getVideoId()
    {
        return $this->VideoId;
    }

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

        return $this;
    }

}

