<?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.ClothData</code>
 */
class ClothData extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 HairId = 1;</code>
     */
    protected $HairId = 0;
    /**
     * Generated from protobuf field <code>int32 FaceId = 2;</code>
     */
    protected $FaceId = 0;
    /**
     * Generated from protobuf field <code>int32 UpClothId = 3;</code>
     */
    protected $UpClothId = 0;
    /**
     * Generated from protobuf field <code>int32 DownClothId = 4;</code>
     */
    protected $DownClothId = 0;
    /**
     * Generated from protobuf field <code>int32 ShoesId = 5;</code>
     */
    protected $ShoesId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $HairId
     *     @type int $FaceId
     *     @type int $UpClothId
     *     @type int $DownClothId
     *     @type int $ShoesId
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

