<?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.CGFriendBlack</code>
 */
class CGFriendBlack extends \Google\Protobuf\Internal\Message
{
    /**
     *拉黑0,移除1
     *
     * Generated from protobuf field <code>bool Type = 1;</code>
     */
    protected $Type = false;
    /**
     * Generated from protobuf field <code>uint64 PlayerId = 2;</code>
     */
    protected $PlayerId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $Type
     *          拉黑0,移除1
     *     @type int|string $PlayerId
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *拉黑0,移除1
     *
     * Generated from protobuf field <code>bool Type = 1;</code>
     * @return bool
     */
    public function getType()
    {
        return $this->Type;
    }

    /**
     *拉黑0,移除1
     *
     * Generated from protobuf field <code>bool Type = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setType($var)
    {
        GPBUtil::checkBool($var);
        $this->Type = $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;
    }

}

