[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:
Alex King
2024-01-06 23:17:10 -05:00
committed by GitHub
parent 43c4b13978
commit 122fe398b4
34 changed files with 393 additions and 393 deletions
+2 -2
View File
@@ -186,11 +186,11 @@ public:
void Message(uint32 type, const char *message);
void MessageString(uint32 type, uint32 string_id, uint32 distance);
void Say(const char *message);
void Say(const char* message, int language);
void Say(const char* message, uint8 language_id);
void QuestSay(Lua_Client client, const char *message);
void QuestSay(Lua_Client client, const char *message, luabind::adl::object opts);
void Shout(const char *message);
void Shout(const char* message, int language);
void Shout(const char* message, uint8 language_id);
void Emote(const char *message);
void InterruptSpell();
void InterruptSpell(int spell_id);