<?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.MD5VerifyRecv</code>
 */
class MD5VerifyRecv extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool IsVerifyOk = 1;</code>
     */
    protected $IsVerifyOk = false;
    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.ModuleServerData packet_list = 2;</code>
     */
    private $packet_list;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $IsVerifyOk
     *     @type \Game\Protobuf\ModuleServerData[]|\Google\Protobuf\Internal\RepeatedField $packet_list
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool IsVerifyOk = 1;</code>
     * @return bool
     */
    public function getIsVerifyOk()
    {
        return $this->IsVerifyOk;
    }

    /**
     * Generated from protobuf field <code>bool IsVerifyOk = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsVerifyOk($var)
    {
        GPBUtil::checkBool($var);
        $this->IsVerifyOk = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .Game.Protobuf.ModuleServerData packet_list = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getPacketList()
    {
        return $this->packet_list;
    }

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

        return $this;
    }

}

