feat: username.txt support

This commit is contained in:
2026-09-10 22:05:36 -04:00
parent a6895e1fda
commit f2d81a0bc6
6 changed files with 67 additions and 5 deletions
+19 -4
View File
@@ -1,14 +1,14 @@
#include "4J_Profile.h"
#include "PRO_Main.h"
void C_4JProfile::LoadSettings(void* gs, size_t gsSize)
int C_4JProfile::GetLockedProfile()
{
InternalProfileManager.m_ProfileData.LoadSettings(gs, gsSize);
return InternalProfileManager.GetLockedProfile();
}
void C_4JProfile::SaveSettings(void* gs, size_t gsSize)
void C_4JProfile::SetLockedProfile(int iProf)
{
InternalProfileManager.m_ProfileData.SaveSettings(gs, gsSize);
InternalProfileManager.SetLockedProfile(iProf);
}
bool C_4JProfile::IsSignedIn(int iQuadrant)
@@ -31,6 +31,11 @@ bool C_4JProfile::AllowedToPlayMultiplayer(int iProf)
return InternalProfileManager.m_Sys.AllowedToPlayMultiplayer(iProf);
}
void C_4JProfile::LoadGamertag()
{
InternalProfileManager.m_Sys.LoadGamertag();
}
void C_4JProfile::SetFakeGamerTag(char *name)
{
InternalProfileManager.m_Sys.SetFakeGamertag(name);
@@ -71,6 +76,16 @@ bool C_4JProfile::IsSystemUIDisplayed()
return 0; //str1k3r - matches durango profile lib
}
void C_4JProfile::LoadSettings(void* gs, size_t gsSize)
{
InternalProfileManager.m_ProfileData.LoadSettings(gs, gsSize);
}
void C_4JProfile::SaveSettings(void* gs, size_t gsSize)
{
InternalProfileManager.m_ProfileData.SaveSettings(gs, gsSize);
}
void C_4JProfile::SetDebugFullOverride(bool bVal)
{
InternalProfileManager.m_Sys.SetDebugFullOverride(bVal);