|
|
|
@ -7,17 +7,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <cstdint> |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace devilution { |
|
|
|
|
|
|
|
|
|
|
|
// Forward declared structs to avoid circular dependencies
|
|
|
|
// Forward declared structs to avoid circular dependencies
|
|
|
|
struct Item; |
|
|
|
struct Item; |
|
|
|
|
|
|
|
struct TCmdPItem; |
|
|
|
struct Player; |
|
|
|
struct Player; |
|
|
|
|
|
|
|
|
|
|
|
namespace devilution { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool IsCreationFlagComboValid(uint16_t iCreateInfo); |
|
|
|
bool IsCreationFlagComboValid(uint16_t iCreateInfo); |
|
|
|
bool IsTownItemValid(uint16_t iCreateInfo, const Player &player); |
|
|
|
bool IsTownItemValid(uint16_t iCreateInfo, const Player &player); |
|
|
|
bool IsShopPriceValid(const Item &item); |
|
|
|
bool IsShopPriceValid(const Item &item); |
|
|
|
bool IsUniqueMonsterItemValid(uint16_t iCreateInfo, uint32_t dwBuff); |
|
|
|
bool IsUniqueMonsterItemValid(uint16_t iCreateInfo, uint32_t dwBuff); |
|
|
|
bool IsDungeonItemValid(uint16_t iCreateInfo, uint32_t dwBuff); |
|
|
|
bool IsDungeonItemValid(uint16_t iCreateInfo, uint32_t dwBuff); |
|
|
|
bool IsItemValid(const Player &player, const Item &item); |
|
|
|
bool IsItemValid(const Player &player, const Item &item); |
|
|
|
|
|
|
|
bool IsItemDeltaValid(const TCmdPItem &itemDelta); |
|
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|
|
|
|
} // namespace devilution
|
|
|
|
|