1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 04:07:46 +00:00
sapphire/src/world/Inventory/ItemUtil.h

28 lines
590 B
C
Raw Normal View History

#ifndef SAPPHIRE_ITEMUTIL_H
#define SAPPHIRE_ITEMUTIL_H
#include <Common.h>
#include "ForwardsZone.h"
namespace Sapphire::Items::Util
2018-10-28 21:53:21 +01:00
{
2018-10-28 21:53:21 +01:00
ItemPtr loadItem( uint64_t uId );
2018-10-28 21:53:21 +01:00
/*! check if weapon category qualifies the weapon as onehanded */
bool isOneHandedWeapon( Common::ItemUICategory weaponCategory );
2018-10-28 21:53:21 +01:00
bool isArmory( uint16_t containerId );
2018-10-28 21:53:21 +01:00
bool isEquipment( uint16_t containerId );
2018-10-28 21:53:21 +01:00
uint16_t getCharaEquipSlotCategoryToArmoryId( uint8_t slotId );
2018-10-28 21:53:21 +01:00
Common::ContainerType getContainerType( uint32_t containerId );
2018-10-28 21:53:21 +01:00
uint32_t getNextUId();
}
#endif //SAPPHIRE_ITEMMGR_H