예제 #1
0
        public void Equip(int layer, int id)
        {
            var item = api.Items[(ObjectId)id];

            if (item != null)
            {
                api.DragItem(item.Id);
                api.Wear(item.Id, (Layer)layer);
            }
        }