Decompile fn_04259 (CreatePlayerNameDictionary)
Batch #1388 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_04259 CreatePlayerNameDictionary: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
dd7b67cbe3
commit
2830117a5d
1 changed files with 13 additions and 0 deletions
|
|
@ -99,6 +99,19 @@ void CPlayerNameDictionary::Update() {
|
|||
CPlayerNameDictionary* g_playerNameDictionary = nullptr;
|
||||
|
||||
// OFFSET: 0x0060AE30
|
||||
// FUNCTION: fn_04259
|
||||
bool CreatePlayerNameDictionary() {
|
||||
if (g_playerNameDictionary) {
|
||||
return false;
|
||||
}
|
||||
|
||||
g_playerNameDictionary = new (std::nothrow) CPlayerNameDictionary();
|
||||
if (!g_playerNameDictionary) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// OFFSET: 0x0060AF90
|
||||
// FUNCTION: fn_04260
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue