mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Languages] Cleanup language constants, use repositories (#3838)
* [Languages] Cleanup languages constants # Notes - Cleanup formatting and logic where necessary. - Cleaned up constants to use a namespace with `constexpr` instead. - Changed `LoadCharacterLanguages` to use a repository instead. * Lua GroupMessage uint8/language_id * Lua More uint8/language_id
This commit is contained in:
@@ -3789,7 +3789,7 @@ std::string lua_get_faction_name(int faction_id) {
|
||||
return quest_manager.getfactionname(faction_id);
|
||||
}
|
||||
|
||||
std::string lua_get_language_name(int language_id) {
|
||||
std::string lua_get_language_name(uint8 language_id) {
|
||||
return quest_manager.getlanguagename(language_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user