CImportGame Class
The structure used for this class is CImportGame
Quick Ref |
void CImportGame::CImportGame() |
void CImportGame::~CImportGame() |
void CImportGame::CopyGlobals(CInfGame* pGame, bool importNpcs) |
long CImportGame::GetCharacter(CString characterName) |
long CImportGame::GetCharacterAtIndex(int index) |
CStringList* CImportGame::GetImportableCharacters(int importAll) |
long CImportGame::GetNPCAtIndex(int index) |
unsigned char CImportGame::LoadGame(CString& sInFile) |
unsigned char CImportGame::Unmarshal(CFile* pFile) |
Constructors
Name |
Description |
Constructs a |
|
Destroys a |
CImportGame::CImportGame
Constructs a CImportGame object
void CImportGame::CImportGame();
Remarks
Constructs a CImportGame object
CImportGame::~CImportGame
Destroys the CImportGame object
void CImportGame::~CImportGame();
Remarks
Destroys the CImportGame object
Methods
Name |
Description |
CImportGame::CopyGlobals
void CImportGame::CopyGlobals(
CInfGame* pGame,
bool importNpcs);
Parameters
CInfGame* pGame -
boolimportNpcs -
Remarks
CImportGame::GetCharacter
long CImportGame::GetCharacter(CString characterName);
Parameters
CString characterName -
Return Value
Returns long
Remarks
CImportGame::GetCharacterAtIndex
long CImportGame::GetCharacterAtIndex(int index);
Parameters
inindex -
Return Value
Returns long
Remarks
CImportGame::GetImportableCharacters
CStringList* CImportGame::GetImportableCharacters(int importAll);
Parameters
intimportAll -
Return Value
Returns CStringList*
Remarks
CImportGame::GetNPCAtIndex
long CImportGame::GetNPCAtIndex(int index);
Parameters
intindex -
Return Value
Returns long
Remarks
CImportGame::LoadGame
unsigned char CImportGame::LoadGame(CString& sInFile);
Parameters
CString& sInFile -
Return Value
Returns unsigned char
Remarks
CImportGame::Unmarshal
unsigned char CImportGame::Unmarshal(CFile* pFile);
Parameters
CFile* pFile -
Return Value
Returns unsigned char
Remarks