ScummVM API documentation
MM::Xeen::ItemState Struct Reference

Public Member Functions

 ItemState ()
 
void clear ()
 
bool empty () const
 
void synchronize (Common::Serializer &s)
 
void operator= (byte val)
 

Public Attributes

byte _counter: 6
 
bool _cursed: 1
 
bool _broken: 1
 

Constructor & Destructor Documentation

◆ ItemState()

MM::Xeen::ItemState::ItemState ( )
inline

Constructor

Member Function Documentation

◆ clear()

void MM::Xeen::ItemState::clear ( )
inline

Clear the state

◆ empty()

bool MM::Xeen::ItemState::empty ( ) const
inline

Returns true if the state is empty

◆ synchronize()

void MM::Xeen::ItemState::synchronize ( Common::Serializer s)

Synchronizes the item's state

◆ operator=()

void MM::Xeen::ItemState::operator= ( byte  val)

Set the entire state value


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