[Quest API] Add Augment Slot Type/Visible to GetItemStat (#2686)

* [Quest API] Add Augment Slot Type/Visible to GetItemStat

# Notes
- Adds the ability to get an item's augment slot types and augment slot visibility information.

* const
This commit is contained in:
Alex King
2023-01-01 11:35:15 -05:00
committed by GitHub
parent 3a4ba6f422
commit 1531650b3a
11 changed files with 371 additions and 348 deletions
+2 -2
View File
@@ -3633,9 +3633,9 @@ std::string QuestManager::getinventoryslotname(int16 slot_id) {
return EQ::invslot::GetInvPossessionsSlotName(slot_id);
}
int QuestManager::getitemstat(uint32 item_id, std::string stat_identifier) {
const int QuestManager::getitemstat(uint32 item_id, std::string stat_identifier) {
QuestManagerCurrentQuestVars();
return EQ::InventoryProfile::GetItemStatValue(item_id, stat_identifier.c_str());
return EQ::InventoryProfile::GetItemStatValue(item_id, stat_identifier);
}
int QuestManager::getspellstat(uint32 spell_id, std::string stat_identifier, uint8 slot) {