Fix clan tags

This commit is contained in:
Brentdevent 2023-04-26 23:54:31 +02:00
parent 2efe11a139
commit f3c6b64523
2 changed files with 5 additions and 0 deletions

View File

@ -332,6 +332,8 @@ namespace auth
const auto password_text = (password && password->current.value.string) ? password->current.value.string : "";
game::Info_SetValueForKey(s, "password", password_text);
game::Info_SetValueForKey(s, "clanAbbrev", game::LiveStats_GetClanTagText(0));
}
struct component final : generic_component

View File

@ -83,6 +83,9 @@ namespace game
// Live
WEAK symbol<bool(uint64_t, int*, bool)> Live_GetConnectivityInformation{0x141E0C380};
// LiveStats
WEAK symbol<const char*(const int controllerIndex)> LiveStats_GetClanTagText{0x141E9CE20};
// Info
WEAK symbol<const char*(const char*, const char* key)> Info_ValueForKey{0x1422E87B0};
WEAK symbol<void(char* s, const char* key, const char* value)> Info_SetValueForKey{0x1422E8410};