#include <C4PlayerInfo.h>
Public Types | |
enum | Flags { PIF_Joined = 1 << 0 , PIF_Removed = 1 << 2 , PIF_HasRes = 1 << 3 , PIF_JoinIssued = 1 << 4 , PIF_TempFile = 1 << 5 , PIF_InScenarioFile = 1 << 6 , PIF_JoinedForSavegameOnly = 1 << 7 , PIF_Disconnected = 1 << 8 , PIF_Won = 1 << 9 , PIF_VotedOut = 1 << 10 , PIF_AttributesFixed = 1 << 11 , PIF_NoScenarioInit = 1 << 12 , PIF_NoEliminationCheck = 1 << 13 , PIF_Invisible = 1 << 14 , PIF_NoScenarioSave = 1 << 15 , PIF_SyncFlags = PIF_Joined | PIF_Removed | PIF_HasRes | PIF_InScenarioFile | PIF_JoinedForSavegameOnly | PIF_Disconnected | PIF_Won | PIF_VotedOut | PIF_AttributesFixed | PIF_NoScenarioInit | PIF_NoEliminationCheck | PIF_Invisible | PIF_NoScenarioSave , PIF_SavegameTakeoverFlags = PIF_Joined | PIF_Removed | PIF_JoinIssued | PIF_AttributesFixed | PIF_NoScenarioInit | PIF_NoEliminationCheck | PIF_Invisible | PIF_NoScenarioSave } |
enum | Attribute { PLRATT_Color =0 , PLRATT_Name =1 , PLRATT_Last =2 } |
enum | AttributeLevel { PLRAL_Current , PLRAL_Original , PLRAL_Alternate } |
Public Member Functions | |
C4PlayerInfo () | |
void | Clear () |
bool | LoadFromLocalFile (const char *szFilename) |
bool | SetAsScriptPlayer (const char *szName, uint32_t dwColor, uint32_t dwFlags, C4ID idExtra) |
void | SetJoined (int32_t iNumber) |
void | SetJoinIssued () |
void | SetRemoved () |
void | SetID (int32_t iToID) |
void | SetColor (DWORD dwUseClr) |
void | SetOriginalColor (DWORD dwUseClr) |
void | SetFilename (const char *szToFilename) |
void | SetToScenarioFilename (const char *szScenFilename) |
void | SetTempFile () |
void | SetTeam (int32_t idToTeam) |
void | DeleteTempFile () |
void | LoadResource () |
void | DiscardResource () |
void | SetAssociatedSavegamePlayer (int32_t aidSavegamePlayer) |
int32_t | GetAssociatedSavegamePlayerID () const |
void | SetJoinForSavegameOnly () |
bool | IsJoinForSavegameOnly () |
bool | SetSavegameResume (C4PlayerInfo *pSavegameInfo) |
void | SetAuthID (const char *sznAuthID) |
void | SetLeagueData (const char *szAccount, const char *szNewClanTag, int32_t iScore, int32_t iRank, int32_t iRankSymbol, const char *szProgressData) |
void | SetLeaguePerformance (int32_t iNewPerf) |
void | SetLeagueProgressData (const char *szNewProgressData) |
void | SetVotedOut () |
void | SetLeagueProjectedGain (int32_t iProjectedGain) |
void | ResetLeagueProjectedGain () |
void | SetForcedName (const char *szNewName) |
void | CompileFunc (StdCompiler *pComp) |
C4PlayerType | GetType () const |
uint32_t | GetColor () const |
uint32_t | GetLobbyColor () const |
uint32_t | GetOriginalColor () const |
uint32_t | GetAlternateColor () const |
const char * | GetName () const |
const char * | GetOriginalName () const |
const char * | GetForcedName () const |
StdStrBuf | GetLobbyName () const |
const char * | GetFilename () const |
const char * | GetLocalJoinFilename () const |
C4Network2Res * | GetRes () const |
bool | IsRemoved () const |
bool | HasJoined () const |
bool | IsJoined () const |
bool | HasJoinIssued () const |
bool | HasJoinPending () const |
bool | IsUsingColor () const |
bool | IsUsingName () const |
bool | IsUsingAttribute (Attribute eAttr) const |
bool | IsUsingPlayerFile () const |
bool | IsUsingTeam () const |
bool | IsAttributesFixed () const |
bool | IsInvisible () const |
bool | IsScenarioInitDesired () const |
bool | IsScenarioSaveDesired () const |
C4ID | GetScriptPlayerExtraID () const |
bool | IsNoEliminationCheck () const |
bool | HasAutoGeneratedColor () |
bool | HasWon () const |
bool | HasTeamWon () const |
const char * | getAuthID () const |
const char * | getLeagueAccount () const |
int32_t | getLeagueScore () const |
int32_t | getLeagueRank () const |
int32_t | getLeagueRankSymbol () const |
int32_t | getLeagueScoreProjected () const |
int32_t | GetInGameNumber () const |
bool | IsLeagueProjectedGainValid () const |
int32_t | GetLeagueProjectedGain () const |
const char * | GetLeagueProgressData () const |
int32_t | GetID () const |
int32_t | GetTeam () const |
bool | IsTempFile () const |
DWORD | GetFlags () |
void | SetDisconnected () |
void | SetWinner () |
bool | LoadBigIcon (C4FacetSurface &fctTarget) |
Definition at line 42 of file C4PlayerInfo.h.
Enumerator | |
---|---|
PLRAL_Current | |
PLRAL_Original | |
PLRAL_Alternate |
Definition at line 73 of file C4PlayerInfo.h.
enum C4PlayerInfo::Flags |
Definition at line 46 of file C4PlayerInfo.h.
|
inline |
Definition at line 103 of file C4PlayerInfo.h.
void C4PlayerInfo::Clear | ( | ) |
Definition at line 31 of file C4PlayerInfo.cpp.
References C4PT_User, StdStrBuf::Clear(), C4Network2ResCore::Clear(), DeleteTempFile(), and C4ID::None.
Referenced by LoadFromLocalFile(), and SetAsScriptPlayer().
void C4PlayerInfo::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 172 of file C4PlayerInfo.cpp.
References C4PT_Script, C4PT_User, C4Game::C4S, Game, C4Network2Res::getCore(), C4Scenario::Head, StdCompiler::isDeserializer(), StdCompiler::isSerializer(), mkBitfieldAdapt(), mkIntPackAdapt(), mkNamingAdapt(), mkParAdapt(), C4ID::None, PIF_AttributesFixed, PIF_Disconnected, PIF_HasRes, PIF_Invisible, PIF_Joined, PIF_JoinedForSavegameOnly, PIF_JoinIssued, PIF_NoEliminationCheck, PIF_NoScenarioInit, PIF_NoScenarioSave, PIF_Removed, PIF_SyncFlags, PIF_VotedOut, PIF_Won, StdCompiler::RCT_All, C4SHead::Replay, and StdCompiler::Value().
void C4PlayerInfo::DeleteTempFile | ( | ) |
Definition at line 53 of file C4PlayerInfo.cpp.
References StdStrBuf::Clear(), EraseItem(), StdStrBuf::getData(), and PIF_TempFile.
Referenced by Clear(), and C4PlayerInfoList::RecreatePlayers().
void C4PlayerInfo::DiscardResource | ( | ) |
Definition at line 309 of file C4PlayerInfo.cpp.
References C4Network2ResCore::Clear(), and PIF_HasRes.
Referenced by C4Network2Reference::InitLocal(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::SetAsRestoreInfos(), and SetToScenarioFilename().
|
inline |
Definition at line 156 of file C4PlayerInfo.h.
|
inline |
Definition at line 126 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::GetActiveScriptPlayerCount(), GetLobbyColor(), C4PlayerInfoList::GetPlayerInfoBySavegameID(), C4PlayerInfoList::RestoreSavegameInfos(), C4GameLobby::MainDlg::Start(), and C4PlayerInfoList::UpdatePlayerAttributes().
|
inline |
Definition at line 183 of file C4PlayerInfo.h.
References StdStrBuf::getData().
Referenced by C4LeagueClient::AuthCheck().
|
inline |
Definition at line 153 of file C4PlayerInfo.h.
Referenced by C4Player::CreateGraphs(), C4Network2Players::GetClientChatColor(), GetLobbyColor(), C4Player::Init(), C4Player::ScenarioInit(), SetSavegameResume(), and C4PlayerInfoList::UpdatePlayerAttributes().
|
inline |
Definition at line 161 of file C4PlayerInfo.h.
References StdStrBuf::getData().
Referenced by C4PlayerInfoList::FindSavegameResumePlayerInfo(), LoadBigIcon(), LoadResource(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerList::Save(), and C4PlayerInfoList::SetAsRestoreInfos().
|
inline |
Definition at line 198 of file C4PlayerInfo.h.
Referenced by SetSavegameResume().
|
inline |
Definition at line 159 of file C4PlayerInfo.h.
References StdStrBuf::getData().
|
inline |
Definition at line 194 of file C4PlayerInfo.h.
Referenced by C4Team::AddPlayer(), C4PlayerInfoList::AssignPlayerIDs(), DisconnectData::CompileFunc(), C4PlayerInfoList::CreateRestoreInfosForJoinedScriptPlayers(), C4PlayerInfoList::FindSavegameResumePlayerInfo(), C4PlayerInfoList::FindUnassociatedRestoreInfo(), C4PlayerInfoList::FixIDCounter(), C4PlayerInfoList::GetClientInfoByPlayerID(), C4PlayerInfoList::GetNextPlayerInfoByID(), C4PlayerInfoList::GetPlayerInfoByID(), C4Network2Players::HandlePlayerInfoUpdRequest(), C4Player::Init(), C4Network2Reference::InitLocal(), C4Network2::LeagueUpdateProcessReply(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4MessageInput::ProcessCommand(), C4TeamList::ReassignAllTeams(), C4TeamList::RecheckPlayerInfoTeams(), C4Team::RecheckPlayers(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4PlayerInfoList::RemoveUnassociatedPlayers(), C4PlayerInfoList::RestoreSavegameInfos(), C4Player::ScenarioAndTeamInit(), C4PlayerInfoList::SetAsRestoreInfos(), and SetSavegameResume().
|
inline |
Definition at line 189 of file C4PlayerInfo.h.
Referenced by C4Player::FindNewOwner(), C4Player::Init(), and C4PlayerInfoList::RemoveUnassociatedPlayers().
|
inline |
Definition at line 184 of file C4PlayerInfo.h.
References StdStrBuf::getData().
Referenced by DisconnectData::CompileFunc().
|
inline |
Definition at line 192 of file C4PlayerInfo.h.
References StdStrBuf::getData().
Referenced by C4RoundResultsPlayer::EvaluatePlayer().
|
inline |
Definition at line 191 of file C4PlayerInfo.h.
Referenced by C4Network2::LeagueUpdateProcessReply().
|
inline |
Definition at line 186 of file C4PlayerInfo.h.
|
inline |
Definition at line 187 of file C4PlayerInfo.h.
|
inline |
Definition at line 185 of file C4PlayerInfo.h.
|
inline |
Definition at line 188 of file C4PlayerInfo.h.
uint32_t C4PlayerInfo::GetLobbyColor | ( | ) | const |
Definition at line 127 of file C4PlayerInfo.cpp.
References Game, GetAssociatedSavegamePlayerID(), GetColor(), GetOriginalColor(), GetTeam(), C4TeamList::GetTeamByID(), C4TeamList::GetTeamDist(), HasJoined(), C4TeamList::IsTeamColors(), C4TeamList::TEAMDIST_RandomInv, and C4Game::Teams.
Referenced by C4Network2Players::GetClientChatColor().
StdStrBuf C4PlayerInfo::GetLobbyName | ( | ) | const |
Definition at line 140 of file C4PlayerInfo.cpp.
References StdStrBuf::Format(), StdStrBuf::getData(), StdStrBuf::getLength(), and StdStrBuf::Ref().
const char * C4PlayerInfo::GetLocalJoinFilename | ( | ) | const |
Definition at line 119 of file C4PlayerInfo.cpp.
References StdStrBuf::getData(), and C4Network2Res::getFile().
Referenced by C4PlayerInfoList::RecreatePlayers(), and C4PlayerInfoList::SetAsRestoreInfos().
|
inline |
Definition at line 157 of file C4PlayerInfo.h.
References StdStrBuf::getData(), and StdStrBuf::getLength().
Referenced by C4PlayerInfoList::CreateRestoreInfosForJoinedScriptPlayers(), C4PlayerInfoList::FindSavegameResumePlayerInfo(), C4PlayerInfoList::GetActivePlayerInfoByName(), C4PlayerInfoList::GetActivePlayerNames(), C4Team::GetNameWithParticipants(), C4Player::Init(), C4PlayerList::Join(), C4Network2::LeaguePlrAuth(), C4Network2::LeaguePlrAuthCheck(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4MessageInput::ProcessCommand(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4PlayerInfoList::RemoveUnassociatedPlayers(), C4PlayerInfoList::RestoreSavegameInfos(), and C4GameSave::WriteDescPlayers().
|
inline |
Definition at line 155 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::FindSavegameResumePlayerInfo(), and GetLobbyColor().
|
inline |
Definition at line 158 of file C4PlayerInfo.h.
References StdStrBuf::getData().
|
inline |
Definition at line 163 of file C4PlayerInfo.h.
Referenced by C4Network2Players::HandlePlayerInfoUpdRequest(), LoadBigIcon(), and C4PlayerInfoList::RecreatePlayers().
|
inline |
Definition at line 178 of file C4PlayerInfo.h.
Referenced by C4Player::Init().
|
inline |
Definition at line 195 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::AddInfo(), GetLobbyColor(), C4PlayerInfoList::HasSameTeamPlayers(), C4Player::Init(), C4TeamList::ReassignAllTeams(), C4PlayerInfoList::RecheckAutoGeneratedTeams(), C4TeamList::RecheckPlayerInfoTeams(), C4Team::RecheckPlayers(), C4Player::ScenarioInit(), SetSavegameResume(), C4PlayerInfoList::UpdatePlayerAttributes(), and C4GameSave::WriteDescPlayers().
|
inline |
Definition at line 152 of file C4PlayerInfo.h.
Referenced by C4Team::AddPlayer(), C4PlayerInfoList::CreateRestoreInfosForJoinedScriptPlayers(), C4PlayerInfoList::GetActiveScriptPlayerCount(), C4ClientPlayerInfos::GetPlayerInfo(), C4Player::GetType(), C4Network2Players::HandlePlayerInfoUpdRequest(), C4Player::Init(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4TeamList::RecheckPlayerInfoTeams(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4PlayerList::Save(), C4Player::ScenarioAndTeamInit(), and C4PlayerInfoList::SetAsRestoreInfos().
|
inline |
Definition at line 180 of file C4PlayerInfo.h.
|
inline |
Definition at line 165 of file C4PlayerInfo.h.
References PIF_Joined.
Referenced by GetLobbyColor(), IsJoined(), C4Network2Players::OnClientPart(), C4PlayerInfoList::UpdatePlayerAttributes(), and C4GameSave::WriteDescPlayers().
|
inline |
Definition at line 167 of file C4PlayerInfo.h.
References PIF_Joined, and PIF_JoinIssued.
Referenced by C4Team::GetFirstUnjoinedPlayerID(), C4PlayerInfoList::GetJoinIssuedPlayerCount(), C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue(), C4TeamList::ReassignAllTeams(), and C4PlayerInfoList::RecreatePlayerFiles().
|
inline |
Definition at line 168 of file C4PlayerInfo.h.
References PIF_Joined, and PIF_Removed.
Referenced by C4PlayerInfoList::GetJoinPendingPlayerCount().
bool C4PlayerInfo::HasTeamWon | ( | ) | const |
Definition at line 162 of file C4PlayerInfo.cpp.
References Game, C4TeamList::GetTeamByID(), HasWon(), C4Team::HasWon(), and C4Game::Teams.
|
inline |
Definition at line 181 of file C4PlayerInfo.h.
References PIF_Won.
Referenced by HasTeamWon(), and C4Team::HasWon().
|
inline |
|
inline |
Definition at line 175 of file C4PlayerInfo.h.
References PIF_Invisible.
Referenced by C4PlayerInfoList::GetActivePlayerCount(), C4PlayerInfoList::GetActivePlayerNames(), C4PlayerInfoList::GetActiveScriptPlayerCount(), C4Player::IsInvisible(), and C4GameSave::WriteDescPlayers().
|
inline |
Definition at line 166 of file C4PlayerInfo.h.
References HasJoined(), and PIF_Removed.
Referenced by C4Team::AddPlayer(), DisconnectData::CompileFunc(), C4Player::FindNewOwner(), C4PlayerInfoList::FindUnassociatedRestoreInfo(), C4Player::Init(), C4Network2::LeagueNotifyDisconnect(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4PlayerInfoList::RemoveUnassociatedPlayers(), and C4PlayerInfoList::SetAsRestoreInfos().
|
inline |
|
inline |
Definition at line 190 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::ResetLeagueProjectedGain().
|
inline |
Definition at line 179 of file C4PlayerInfo.h.
References PIF_NoEliminationCheck.
Referenced by C4Player::Init().
|
inline |
Definition at line 164 of file C4PlayerInfo.h.
References PIF_Removed.
Referenced by DisconnectData::CompileFunc(), C4PlayerInfoList::GetActivePlayerCount(), C4PlayerInfoList::GetActivePlayerInfoByName(), C4PlayerInfoList::GetActivePlayerNames(), C4PlayerInfoList::GetActiveScriptPlayerCount(), C4PlayerInfoList::GetStartupCount(), IsUsingColor(), IsUsingName(), IsUsingPlayerFile(), IsUsingTeam(), C4Network2::LeagueNotifyDisconnect(), LoadResource(), and C4GameSave::WriteDescPlayers().
|
inline |
Definition at line 176 of file C4PlayerInfo.h.
References PIF_NoScenarioInit.
Referenced by C4Player::Init().
|
inline |
Definition at line 177 of file C4PlayerInfo.h.
References PIF_NoScenarioSave.
Referenced by C4PlayerInfoList::SetAsRestoreInfos().
|
inline |
Definition at line 196 of file C4PlayerInfo.h.
References PIF_TempFile.
Referenced by C4PlayerInfoList::RecreatePlayers().
|
inline |
Definition at line 171 of file C4PlayerInfo.h.
References IsUsingColor(), IsUsingName(), and PLRATT_Color.
|
inline |
Definition at line 169 of file C4PlayerInfo.h.
References IsRemoved().
Referenced by IsUsingAttribute().
|
inline |
Definition at line 170 of file C4PlayerInfo.h.
References StdStrBuf::getLength(), and IsRemoved().
Referenced by IsUsingAttribute().
|
inline |
Definition at line 172 of file C4PlayerInfo.h.
References IsRemoved().
|
inline |
Definition at line 173 of file C4PlayerInfo.h.
References IsRemoved().
Referenced by C4PlayerInfoList::HasSameTeamPlayers(), and C4Team::RecheckPlayers().
bool C4PlayerInfo::LoadBigIcon | ( | C4FacetSurface & | fctTarget | ) |
Definition at line 349 of file C4PlayerInfo.cpp.
References C4Group::AccessEntry(), C4CFN_BigIcon, C4FCT_Full, C4NetResMaxBigicon, C4Network2Res::getFile(), GetFilename(), GetRes(), C4Network2Res::isComplete(), C4FacetSurface::Load(), and C4Group::Open().
bool C4PlayerInfo::LoadFromLocalFile | ( | const char * | szFilename | ) |
Definition at line 66 of file C4PlayerInfo.cpp.
References C4Network2ResList::AddByGroup(), C4PT_User, C4Game::C4S, Clear(), Game, C4Network2Res::getCore(), C4Network2ResList::getRefRes(), C4Scenario::Head, C4Network2::isEnabled(), C4PlayerInfoCore::Load(), Network, NRT_Player, C4Reloc::Open(), PIF_HasRes, C4PlayerInfoCore::PrefColor2Dw, C4PlayerInfoCore::PrefColorDw, C4PlayerInfoCore::PrefName, Reloc, C4SHead::Replay, and C4Network2::ResList.
Referenced by C4ClientPlayerInfos::C4ClientPlayerInfos().
void C4PlayerInfo::LoadResource | ( | ) |
Definition at line 289 of file C4PlayerInfo.cpp.
References C4Network2ResList::AddByCore(), C4Game::C4S, Game, GetFilename(), C4Network2ResCore::getID(), C4Scenario::Head, IsRemoved(), LogF(), Network, PIF_HasRes, PIF_InScenarioFile, C4SHead::Replay, and C4Network2::ResList.
|
inline |
Definition at line 145 of file C4PlayerInfo.h.
Referenced by C4Network2Players::HandlePlayerInfoUpdRequest(), and C4PlayerInfoList::ResetLeagueProjectedGain().
bool C4PlayerInfo::SetAsScriptPlayer | ( | const char * | szName, |
uint32_t | dwColor, | ||
uint32_t | dwFlags, | ||
C4ID | idExtra | ||
) |
Definition at line 104 of file C4PlayerInfo.cpp.
References C4PT_Script, Clear(), and ValidatedStdCopyStrBufBase::CopyValidated().
|
inline |
Definition at line 124 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::CreateRestoreInfosForJoinedScriptPlayers(), and C4PlayerInfoList::RestoreSavegameInfos().
|
inline |
Definition at line 133 of file C4PlayerInfo.h.
Referenced by C4Network2Players::HandlePlayerInfoUpdRequest(), and C4Network2::LeaguePlrAuth().
|
inline |
Definition at line 115 of file C4PlayerInfo.h.
Referenced by C4Team::AddPlayer(), and C4PlayerInfoList::UpdatePlayerAttributes().
|
inline |
Definition at line 200 of file C4PlayerInfo.h.
References PIF_Disconnected.
Referenced by C4Player::EvaluateLeague(), and C4PlayerList::Remove().
void C4PlayerInfo::SetFilename | ( | const char * | szToFilename | ) |
Definition at line 274 of file C4PlayerInfo.cpp.
Referenced by C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::SetAsRestoreInfos(), and SetToScenarioFilename().
|
inline |
Definition at line 147 of file C4PlayerInfo.h.
References StdStrBuf::Clear(), and ValidatedStdCopyStrBufBase::CopyValidated().
|
inline |
Definition at line 114 of file C4PlayerInfo.h.
Referenced by C4PlayerInfoList::AssignPlayerIDs().
void C4PlayerInfo::SetJoined | ( | int32_t | iNumber | ) |
Definition at line 333 of file C4PlayerInfo.cpp.
References C4Game::FrameCounter, Game, and PIF_Joined.
Referenced by C4Player::Init().
|
inline |
|
inline |
Definition at line 112 of file C4PlayerInfo.h.
References PIF_JoinIssued.
Referenced by C4PlayerInfoList::LocalJoinUnjoinedPlayersInQueue().
|
inline |
Definition at line 135 of file C4PlayerInfo.h.
References StdStrBuf::Copy(), and ValidatedStdCopyStrBufBase::CopyValidated().
Referenced by C4LeagueClient::GetAuthCheckReply().
|
inline |
Definition at line 137 of file C4PlayerInfo.h.
Referenced by C4Network2Reference::InitLocal().
|
inline |
Definition at line 139 of file C4PlayerInfo.h.
References StdStrBuf::Clear(), and StdStrBuf::Copy().
|
inline |
Definition at line 143 of file C4PlayerInfo.h.
Referenced by C4Network2::LeagueUpdateProcessReply().
|
inline |
Definition at line 116 of file C4PlayerInfo.h.
Referenced by C4MessageInput::ProcessCommand().
void C4PlayerInfo::SetRemoved | ( | ) |
Definition at line 341 of file C4PlayerInfo.cpp.
References C4Game::FrameCounter, Game, PIF_Joined, and PIF_Removed.
Referenced by C4PlayerList::Remove(), and C4PlayerInfoList::RemoveUnassociatedPlayers().
bool C4PlayerInfo::SetSavegameResume | ( | C4PlayerInfo * | pSavegameInfo | ) |
Definition at line 322 of file C4PlayerInfo.cpp.
References GetColor(), GetFlags(), GetID(), GetTeam(), and PIF_SavegameTakeoverFlags.
Referenced by C4PlayerInfoList::RestoreSavegameInfos().
|
inline |
Definition at line 120 of file C4PlayerInfo.h.
Referenced by C4Team::AddPlayer(), C4TeamList::ReassignAllTeams(), and C4TeamList::RecheckPlayerInfoTeams().
|
inline |
Definition at line 119 of file C4PlayerInfo.h.
References PIF_TempFile.
Referenced by C4PlayerInfoList::RecreatePlayerFiles().
void C4PlayerInfo::SetToScenarioFilename | ( | const char * | szScenFilename | ) |
Definition at line 279 of file C4PlayerInfo.cpp.
References DiscardResource(), PIF_InScenarioFile, and SetFilename().
|
inline |
|
inline |
Definition at line 201 of file C4PlayerInfo.h.
References PIF_Won.
Referenced by C4Player::EvaluateLeague().