mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 09:17:47 +00:00
30 lines
616 B
C++
30 lines
616 B
C++
#ifndef SAPPHIRE_ITEMUTIL_H
|
|
#define SAPPHIRE_ITEMUTIL_H
|
|
|
|
#include <Common.h>
|
|
#include "Forwards.h"
|
|
|
|
namespace Core {
|
|
namespace Items {
|
|
namespace Util {
|
|
|
|
ItemPtr loadItem( uint64_t uId );
|
|
|
|
/*! check if weapon category qualifies the weapon as onehanded */
|
|
bool isOneHandedWeapon( Common::ItemUICategory weaponCategory );
|
|
|
|
bool isArmory( uint16_t containerId );
|
|
bool isEquipment( uint16_t containerId );
|
|
uint16_t getCharaEquipSlotCategoryToArmoryId( uint8_t slotId );
|
|
|
|
Common::ContainerType getContainerType( uint32_t containerId );
|
|
|
|
uint32_t getNextUId();
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endif //SAPPHIRE_ITEMMGR_H
|