ScummVM API documentation
MM::MM1::Roster Struct Reference

Public Member Functions

Characteroperator[] (uint idx)
 
void synchronize (Common::Serializer &s, bool isLoadingDefaults)
 
void load ()
 
void update (const IntArray &charNums)
 
void save ()
 
void saveOriginal ()
 
void remove (Character *entry)
 
bool empty () const
 
bool full () const
 

Public Attributes

Character _items [18]
 
Maps::TownId _towns [18] = { Maps::NO_TOWN }
 

Member Function Documentation

◆ synchronize()

void MM::MM1::Roster::synchronize ( Common::Serializer s,
bool  isLoadingDefaults 
)

Synchronizes the contents of the roster

Parameters
isLoadingDefaultsTrue if we're loading the default roster of the game

◆ load()

void MM::MM1::Roster::load ( )

Load the roster

◆ update()

void MM::MM1::Roster::update ( const IntArray charNums)

Updates the roster from the party

◆ save()

void MM::MM1::Roster::save ( )

Save the roster

◆ saveOriginal()

void MM::MM1::Roster::saveOriginal ( )

Save the roster in the original format

◆ remove()

void MM::MM1::Roster::remove ( Character entry)

Deletes a character

◆ empty()

bool MM::MM1::Roster::empty ( ) const

Returns true if the roster is empty

◆ full()

bool MM::MM1::Roster::full ( ) const

Returns true if the roster is full


The documentation for this struct was generated from the following file: