CGameStatsSprite Class¶
The structure used for this class is CGameStatsSprite
Quick Ref |
void CGameStatsSprite::CGameStatsSprite() |
void CGameStatsSprite::GetFavouriteSpell(CResRef& cResSpell) |
void CGameStatsSprite::GetFavouriteWeapon(CResRef& cResWeapon) |
void CGameStatsSprite::GetStrongestKill(unsigned long& strName) |
void CGameStatsSprite::GetTimeWithParty(unsigned long& nCurrentTimeWithParty) |
void CGameStatsSprite::RecordJoinParty() |
void CGameStatsSprite::RecordKill(CGameSprite* pSprite) |
void CGameStatsSprite::RecordLeaveParty() |
void CGameStatsSprite::RecordSpellUse(CResRef& cResSpell) |
void CGameStatsSprite::RecordWeaponUse(CResRef& cResWeapon) |
void CGameStatsSprite::ResetChapterStats() |
Constructors¶
Name |
Description |
Constructs a |
CGameStatsSprite::CGameStatsSprite¶
Constructs a CGameStatsSprite
object
void CGameStatsSprite::CGameStatsSprite();
Remarks
Constructs a CGameStatsSprite
object
Methods¶
Name |
Description |
Returns a characters favourite spell they have used the most |
|
Returns a characters favourite weapon they have used the most |
|
Returns a characters strongest creature they have killed |
|
Returns a characters time with the party |
|
Records the time stamp when a character joins the party |
|
Records the strongest creature killed |
|
Records the time stamp when a character leaves the party |
|
Records favourite spell used by a character |
|
Records favourite weapon used by a character |
|
Reset chapter statistics |
CGameStatsSprite::GetFavouriteSpell¶
Returns a characters favourite spell they have used the most
void CGameStatsSprite::GetFavouriteSpell(CResRef& cResSpell);
Parameters
CResRef& cResSpell - address of variable to store spell resource reference
Remarks
See also CGameStatsSprite::RecordSpellUse
CGameStatsSprite::GetFavouriteWeapon¶
Returns a characters favourite weapon they have used the most
void CGameStatsSprite::GetFavouriteWeapon(CResRef& cResWeapon);
Parameters
CResRef& cResWeapon - address of variable to store weapon resource reference
Remarks
See also CGameStatsSprite::RecordWeaponUse
CGameStatsSprite::GetStrongestKill¶
Returns a characters strongest creature they have killed
void CGameStatsSprite::GetStrongestKill(unsigned long& strName);
Parameters
unsigned long
& strName - address of string variable to store name of creature killed
Remarks
See also CGameStatsSprite::RecordKill
CGameStatsSprite::GetTimeWithParty¶
Returns a characters time with the party
void CGameStatsSprite::GetTimeWithParty(unsigned long& nCurrentTimeWithParty);
Parameters
unsigned long
& nCurrentTimeWithParty - address of long variable used to store character’s time with party
Remarks
See also CGameStatsSprite::RecordJoinParty and CGameStatsSprite::RecordLeaveParty
CGameStatsSprite::RecordJoinParty¶
Records the time stamp when a character joins the party
void CGameStatsSprite::RecordJoinParty();
Remarks
See also CGameStatsSprite::GetTimeWithParty and CGameStatsSprite::RecordLeaveParty
CGameStatsSprite::RecordKill¶
Records the strongest creature killed
void CGameStatsSprite::RecordKill(CGameSprite* pSprite);
Parameters
CGameSprite* pSprite - pointer to game sprite creature to be recorded as strongest kill by character
Remarks
See also CGameStatsSprite::GetStrongestKill
CGameStatsSprite::RecordLeaveParty¶
Records the time stamp when a character leaves the party
void CGameStatsSprite::RecordLeaveParty();
Remarks
See also CGameStatsSprite::GetTimeWithParty and CGameStatsSprite::RecordJoinParty
CGameStatsSprite::RecordSpellUse¶
Records favourite spell used by a character
void CGameStatsSprite::RecordSpellUse(CResRef& cResSpell);
Parameters
CResRef& cResSpell - address of variable for spell resource reference to store as favourite
Remarks
See also CGameStatsSprite::GetFavouriteSpell
CGameStatsSprite::RecordWeaponUse¶
Records favourite weapon used by a character
void CGameStatsSprite::RecordWeaponUse(CResRef& cResWeapon);
Parameters
CResRef& cResWeapon - address of variable for weapon resource reference to store as favourite
Remarks
CGameStatsSprite::ResetChapterStats¶
Reset chapter statistics
void CGameStatsSprite::ResetChapterStats();
Remarks