mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
[Quest API] Add getdeityname(deity_id) to Perl/Lua. (#1404)
- Add quest::getdeityname(deity_id) to Perl. - Add eq.get_deity_name(deity_id) to Lua. Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
+7
-1
@@ -4601,6 +4601,7 @@ std::string QuestManager::gethexcolorcode(std::string color_name) {
|
||||
double QuestManager::GetAAEXPModifierByCharID(uint32 character_id, uint32 zone_id) const {
|
||||
return database.GetAAEXPModifier(character_id, zone_id);
|
||||
}
|
||||
|
||||
double QuestManager::GetEXPModifierByCharID(uint32 character_id, uint32 zone_id) const {
|
||||
return database.GetEXPModifier(character_id, zone_id);
|
||||
}
|
||||
@@ -4625,6 +4626,11 @@ void QuestManager::CrossZoneLDoNUpdate(uint8 type, uint8 subtype, int identifier
|
||||
safe_delete(pack);
|
||||
}
|
||||
|
||||
std::string QuestManager::getdeityname(uint32 deity_id) {
|
||||
return EQ::deity::DeityName(static_cast<EQ::deity::DeityType>(deity_id));
|
||||
}
|
||||
|
||||
std::string QuestManager::getinventoryslotname(int16 slot_id) {
|
||||
return EQ::invslot::GetInvPossessionsSlotName(slot_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user