Merged with released L2J-Unity files.
This commit is contained in:
@ -1,78 +1,78 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.l2jmobius.gameserver.enums;
|
||||
|
||||
import com.l2jmobius.gameserver.model.interfaces.IUpdateTypeComponent;
|
||||
import com.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||
|
||||
/**
|
||||
* @author UnAfraid
|
||||
*/
|
||||
public enum InventorySlot implements IUpdateTypeComponent
|
||||
{
|
||||
UNDER(Inventory.PAPERDOLL_UNDER),
|
||||
REAR(Inventory.PAPERDOLL_REAR),
|
||||
LEAR(Inventory.PAPERDOLL_LEAR),
|
||||
NECK(Inventory.PAPERDOLL_NECK),
|
||||
RFINGER(Inventory.PAPERDOLL_RFINGER),
|
||||
LFINGER(Inventory.PAPERDOLL_LFINGER),
|
||||
HEAD(Inventory.PAPERDOLL_HEAD),
|
||||
RHAND(Inventory.PAPERDOLL_RHAND),
|
||||
LHAND(Inventory.PAPERDOLL_LHAND),
|
||||
GLOVES(Inventory.PAPERDOLL_GLOVES),
|
||||
CHEST(Inventory.PAPERDOLL_CHEST),
|
||||
LEGS(Inventory.PAPERDOLL_LEGS),
|
||||
FEET(Inventory.PAPERDOLL_FEET),
|
||||
CLOAK(Inventory.PAPERDOLL_CLOAK),
|
||||
LRHAND(Inventory.PAPERDOLL_LRHAND),
|
||||
HAIR(Inventory.PAPERDOLL_HAIR),
|
||||
HAIR2(Inventory.PAPERDOLL_DHAIR),
|
||||
RBRACELET(Inventory.PAPERDOLL_RBRACELET),
|
||||
LBRACELET(Inventory.PAPERDOLL_LBRACELET),
|
||||
DECO1(Inventory.PAPERDOLL_TALISMAN1),
|
||||
DECO2(Inventory.PAPERDOLL_TALISMAN2),
|
||||
DECO3(Inventory.PAPERDOLL_TALISMAN3),
|
||||
DECO4(Inventory.PAPERDOLL_TALISMAN4),
|
||||
DECO5(Inventory.PAPERDOLL_TALISMAN5),
|
||||
DECO6(Inventory.PAPERDOLL_TALISMAN6),
|
||||
BELT(Inventory.PAPERDOLL_BELT),
|
||||
BROOCH(Inventory.PAPERDOLL_BROOCH),
|
||||
BROOCH_JEWEL(Inventory.PAPERDOLL_BROOCH_STONE1),
|
||||
BROOCH_JEWEL2(Inventory.PAPERDOLL_BROOCH_STONE2),
|
||||
BROOCH_JEWEL3(Inventory.PAPERDOLL_BROOCH_STONE3),
|
||||
BROOCH_JEWEL4(Inventory.PAPERDOLL_BROOCH_STONE4),
|
||||
BROOCH_JEWEL5(Inventory.PAPERDOLL_BROOCH_STONE5),
|
||||
BROOCH_JEWEL6(Inventory.PAPERDOLL_BROOCH_STONE6);
|
||||
|
||||
private final int _paperdollSlot;
|
||||
|
||||
private InventorySlot(int paperdollSlot)
|
||||
{
|
||||
_paperdollSlot = paperdollSlot;
|
||||
}
|
||||
|
||||
public int getSlot()
|
||||
{
|
||||
return _paperdollSlot;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMask()
|
||||
{
|
||||
return ordinal();
|
||||
}
|
||||
}
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.l2jmobius.gameserver.enums;
|
||||
|
||||
import com.l2jmobius.gameserver.model.interfaces.IUpdateTypeComponent;
|
||||
import com.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||
|
||||
/**
|
||||
* @author UnAfraid
|
||||
*/
|
||||
public enum InventorySlot implements IUpdateTypeComponent
|
||||
{
|
||||
UNDER(Inventory.PAPERDOLL_UNDER),
|
||||
REAR(Inventory.PAPERDOLL_REAR),
|
||||
LEAR(Inventory.PAPERDOLL_LEAR),
|
||||
NECK(Inventory.PAPERDOLL_NECK),
|
||||
RFINGER(Inventory.PAPERDOLL_RFINGER),
|
||||
LFINGER(Inventory.PAPERDOLL_LFINGER),
|
||||
HEAD(Inventory.PAPERDOLL_HEAD),
|
||||
RHAND(Inventory.PAPERDOLL_RHAND),
|
||||
LHAND(Inventory.PAPERDOLL_LHAND),
|
||||
GLOVES(Inventory.PAPERDOLL_GLOVES),
|
||||
CHEST(Inventory.PAPERDOLL_CHEST),
|
||||
LEGS(Inventory.PAPERDOLL_LEGS),
|
||||
FEET(Inventory.PAPERDOLL_FEET),
|
||||
CLOAK(Inventory.PAPERDOLL_CLOAK),
|
||||
LRHAND(Inventory.PAPERDOLL_RHAND),
|
||||
HAIR(Inventory.PAPERDOLL_HAIR),
|
||||
HAIR2(Inventory.PAPERDOLL_HAIR2),
|
||||
RBRACELET(Inventory.PAPERDOLL_RBRACELET),
|
||||
LBRACELET(Inventory.PAPERDOLL_LBRACELET),
|
||||
DECO1(Inventory.PAPERDOLL_DECO1),
|
||||
DECO2(Inventory.PAPERDOLL_DECO2),
|
||||
DECO3(Inventory.PAPERDOLL_DECO3),
|
||||
DECO4(Inventory.PAPERDOLL_DECO4),
|
||||
DECO5(Inventory.PAPERDOLL_DECO5),
|
||||
DECO6(Inventory.PAPERDOLL_DECO6),
|
||||
BELT(Inventory.PAPERDOLL_BELT),
|
||||
BROOCH(Inventory.PAPERDOLL_BROOCH),
|
||||
BROOCH_JEWEL(Inventory.PAPERDOLL_BROOCH_JEWEL1),
|
||||
BROOCH_JEWEL2(Inventory.PAPERDOLL_BROOCH_JEWEL2),
|
||||
BROOCH_JEWEL3(Inventory.PAPERDOLL_BROOCH_JEWEL3),
|
||||
BROOCH_JEWEL4(Inventory.PAPERDOLL_BROOCH_JEWEL4),
|
||||
BROOCH_JEWEL5(Inventory.PAPERDOLL_BROOCH_JEWEL5),
|
||||
BROOCH_JEWEL6(Inventory.PAPERDOLL_BROOCH_JEWEL6);
|
||||
|
||||
private final int _paperdollSlot;
|
||||
|
||||
private InventorySlot(int paperdollSlot)
|
||||
{
|
||||
_paperdollSlot = paperdollSlot;
|
||||
}
|
||||
|
||||
public int getSlot()
|
||||
{
|
||||
return _paperdollSlot;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMask()
|
||||
{
|
||||
return ordinal();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user