mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 03:07:45 +00:00
31 lines
601 B
C
31 lines
601 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 getArmoryToEquipSlot( uint8_t slotId );
|
||
|
|
||
|
Common::ContainerType getContainerType( uint32_t containerId );
|
||
|
|
||
|
uint32_t getNextUId();
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
#endif //SAPPHIRE_ITEMMGR_H
|