ScummVM API documentation
Saga2::ContainerNode Class Reference

Public Types

enum  ContainerNodeOwnerType {
  kReadyType = 0, kDeadType, kMentalType, kPhysicalType,
  kEnchantType
}
 
enum  ContainerNodeOwners { kNobody = 255 }
 
enum  containerAction { kActionUpdate = (1 << 0), kActionDelete = (1 << 1), kActionHide = (1 << 2), kActionShow = (1 << 3) }
 

Public Member Functions

 ContainerNode (ContainerManager &cl, ObjectID id, int type)
 
void read (Common::InSaveFile *in)
 
void write (Common::MemoryWriteStreamDynamic *out)
 
void hide ()
 
void show ()
 
void update ()
 
void markForDelete ()
 
void markForShow ()
 
void markForHide ()
 
void markForUpdate ()
 
ContainerWindowgetWindow ()
 
ContainerViewgetView ()
 
uint8 getType ()
 
uint8 getOwnerIndex ()
 
ObjectID getObject ()
 
Rect16getPosition ()
 
void setObject (ObjectID id)
 
bool isAccessable (ObjectID enactor)
 
void changeOwner (int16 newOwner)
 

Static Public Member Functions

static int32 archiveSize ()
 

Public Attributes

uint8 _mindType
 

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