Public Member Functions | |
void | postLoad (uint ticks, CProjectItem *project) |
void | preSave (uint ticks) |
void | postSave () |
void | update (uint ticks) |
void | stop (uint id) |
void | setPersisent (uint id, bool flag) |
Public Member Functions inherited from Titanic::List< CTimeEventInfo > | |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
void | destroyContents () |
CTimeEventInfo * | add () |
bool | contains (const CTimeEventInfo *item) const |
Public Member Functions inherited from Titanic::CSaveableObject | |
virtual ClassDef * | getType () const |
bool | isInstanceOf (const ClassDef *classDef) const |
virtual void | saveHeader (SimpleFile *file, int indent) |
virtual void | saveFooter (SimpleFile *file, int indent) |
Public Member Functions inherited from Common::List< CTimeEventInfo *> | |
constexpr | List () |
List (const List< CTimeEventInfo * > &list) | |
iterator | insert (iterator pos, const CTimeEventInfo * &element) |
void | insert (iterator pos, iterator2 first, iterator2 last) |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
iterator | reverse_erase (iterator pos) |
void | remove (const CTimeEventInfo * &val) |
void | push_front (const CTimeEventInfo * &element) |
void | push_back (const CTimeEventInfo * &element) |
void | pop_front () |
void | pop_back () |
CTimeEventInfo * & | front () |
const CTimeEventInfo * & | front () const |
CTimeEventInfo * & | back () |
const CTimeEventInfo * & | back () const |
List< CTimeEventInfo * > & | operator= (const List< CTimeEventInfo * > &list) |
size_type | size () const |
void | clear () |
bool | empty () const |
iterator | begin () |
const_iterator | begin () const |
iterator | reverse_begin () |
const_iterator | reverse_begin () const |
iterator | end () |
const_iterator | end () const |
Additional Inherited Members | |
Public Types inherited from Common::List< CTimeEventInfo *> | |
typedef ListInternal::Iterator< CTimeEventInfo * > | iterator |
typedef ListInternal::ConstIterator< CTimeEventInfo * > | const_iterator |
typedef CTimeEventInfo * | value_type |
typedef uint | size_type |
Static Public Member Functions inherited from Titanic::CSaveableObject | |
static void | initClassList () |
static void | freeClassList () |
static CSaveableObject * | createInstance (const Common::String &name) |
Static Public Attributes inherited from Titanic::CSaveableObject | |
static ClassDef * | _type |
Protected Types inherited from Common::List< CTimeEventInfo *> | |
typedef ListInternal::NodeBase | NodeBase |
typedef ListInternal::Node< CTimeEventInfo * > | Node |
Protected Member Functions inherited from Common::List< CTimeEventInfo *> | |
void | insert (NodeBase *pos, const CTimeEventInfo * &element) |
NodeBase | erase (NodeBase *pos) |
Protected Attributes inherited from Common::List< CTimeEventInfo *> | |
NodeBase | _anchor |
void Titanic::CTimeEventInfoList::postLoad | ( | uint | ticks, |
CProjectItem * | project | ||
) |
Called after loading a game has finished
void Titanic::CTimeEventInfoList::preSave | ( | uint | ticks | ) |
Called when a game is about to be saved
void Titanic::CTimeEventInfoList::postSave | ( | ) |
Called when a game has finished being saved
void Titanic::CTimeEventInfoList::update | ( | uint | ticks | ) |
Handles an update
void Titanic::CTimeEventInfoList::stop | ( | uint | id | ) |
Remove an item with the given Id
void Titanic::CTimeEventInfoList::setPersisent | ( | uint | id, |
bool | flag | ||
) |
Sets whether a timer with a given Id will be persisent across saves