<?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.ReplaceString</code>
 */
class ReplaceString extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string PlayerName = 1;</code>
     */
    protected $PlayerName = '';
    /**
     * Generated from protobuf field <code>string OtherName = 2;</code>
     */
    protected $OtherName = '';
    /**
     * Generated from protobuf field <code>int32 ItemID = 3;</code>
     */
    protected $ItemID = 0;
    /**
     * Generated from protobuf field <code>int32 IntimacyType = 4;</code>
     */
    protected $IntimacyType = 0;
    /**
     * Generated from protobuf field <code>string Account = 5;</code>
     */
    protected $Account = '';
    /**
     * Generated from protobuf field <code>string Password = 6;</code>
     */
    protected $Password = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $PlayerName
     *     @type string $OtherName
     *     @type int $ItemID
     *     @type int $IntimacyType
     *     @type string $Account
     *     @type string $Password
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string PlayerName = 1;</code>
     * @return string
     */
    public function getPlayerName()
    {
        return $this->PlayerName;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string OtherName = 2;</code>
     * @return string
     */
    public function getOtherName()
    {
        return $this->OtherName;
    }

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string Account = 5;</code>
     * @return string
     */
    public function getAccount()
    {
        return $this->Account;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string Password = 6;</code>
     * @return string
     */
    public function getPassword()
    {
        return $this->Password;
    }

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

        return $this;
    }

}

