20 #ifndef __PSCHARACTERLIST_H__ 21 #define __PSCHARACTERLIST_H__ 30 #include "../icachedobject.h" 37 #define MAX_CHARACTERS_IN_LIST 10 88 struct psCharacterListEntry
91 unsigned int character_id;
92 char character_name[28];
93 char character_fullname[56];
void SetCharacterFullName(int index, const char *v, const char *w)
virtual void ProcessCacheTimeout()
This function is called by the generic cache if the specified ticks go by and the cache object is not...
virtual void * RecoverObject()
required for iCachedObject but not used here
#define MAX_CHARACTERS_IN_LIST
bool GetEntryValid(int index)
void SetCharacterID(int index, unsigned int v)
unsigned int GetCharacterID(int index)
const char * GetCharacterFullName(int index)
int GetValidCount()
Get the number of valid characters in list.
void SetEntryValid(int index, bool v)
Holds a list of characters associated to one account.
void SetValidCount(int size)
Set the number of valid characters in this list.
const char * GetCharacterName(int index)
virtual void DeleteSelf()
void SetCharacterName(int index, const char *v)