93 lines
1.9 KiB
C++
93 lines
1.9 KiB
C++
#include "4J_Profile.h"
|
|
#include "PRO_Main.h"
|
|
|
|
int C_4JProfile::GetLockedProfile()
|
|
{
|
|
return InternalProfileManager.GetLockedProfile();
|
|
}
|
|
|
|
void C_4JProfile::SetLockedProfile(int iProf)
|
|
{
|
|
InternalProfileManager.SetLockedProfile(iProf);
|
|
}
|
|
|
|
bool C_4JProfile::IsSignedIn(int iQuadrant)
|
|
{
|
|
return InternalProfileManager.m_Sys.IsSignedIn(iQuadrant);
|
|
}
|
|
|
|
bool C_4JProfile::IsSignedInLive(int iProf)
|
|
{
|
|
return InternalProfileManager.m_Sys.IsSignedInLive(iProf);
|
|
}
|
|
|
|
bool C_4JProfile::IsGuest(int iQuadrant)
|
|
{
|
|
return InternalProfileManager.m_Sys.IsGuest(iQuadrant);
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
char* C_4JProfile::GetGamertag(int iPad)
|
|
{
|
|
return InternalProfileManager.m_Sys.GetGamertag(iPad);
|
|
}
|
|
|
|
wstring C_4JProfile::GetDisplayName(int iPad)
|
|
{
|
|
return InternalProfileManager.m_Sys.GetDisplayName(iPad);
|
|
}
|
|
|
|
int C_4JProfile::GetPrimaryPad()
|
|
{
|
|
return InternalProfileManager.m_Sys.GetPrimaryPad();
|
|
}
|
|
|
|
void C_4JProfile::SetPrimaryPad(int iPad)
|
|
{
|
|
InternalProfileManager.m_Sys.SetPrimaryPad(iPad);
|
|
}
|
|
|
|
bool C_4JProfile::IsFullVersion()
|
|
{
|
|
return InternalProfileManager.m_Sys.IsFullVersion();
|
|
}
|
|
|
|
HRESULT C_4JProfile::GetLiveConnectionStatus()
|
|
{
|
|
return S_OK; //str1k3r - matches durango profile lib
|
|
}
|
|
|
|
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);
|
|
}
|