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

/**
 *-------------------------服装商城start-----------------------------//
 *购买服装商城道具
 *
 * Generated from protobuf message <code>Game.Protobuf.CGBuyShopClothing</code>
 */
class CGBuyShopClothing extends \Google\Protobuf\Internal\Message
{
    /**
     *shopClothing表Id
     *
     * Generated from protobuf field <code>repeated int32 Ids = 1;</code>
     */
    private $Ids;
    /**
     *优惠券TplId
     *
     * Generated from protobuf field <code>int32 CouponId = 2;</code>
     */
    protected $CouponId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $Ids
     *          shopClothing表Id
     *     @type int $CouponId
     *          优惠券TplId
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *shopClothing表Id
     *
     * Generated from protobuf field <code>repeated int32 Ids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getIds()
    {
        return $this->Ids;
    }

    /**
     *shopClothing表Id
     *
     * Generated from protobuf field <code>repeated int32 Ids = 1;</code>
     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->Ids = $arr;

        return $this;
    }

    /**
     *优惠券TplId
     *
     * Generated from protobuf field <code>int32 CouponId = 2;</code>
     * @return int
     */
    public function getCouponId()
    {
        return $this->CouponId;
    }

    /**
     *优惠券TplId
     *
     * Generated from protobuf field <code>int32 CouponId = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setCouponId($var)
    {
        GPBUtil::checkInt32($var);
        $this->CouponId = $var;

        return $this;
    }

}

