StashTracker Class Reference

#include <stash.h>

List of all members.

Public Types

enum  stash_update_mode { ST_PASSIVE, ST_AGGRESSIVE }

Public Member Functions

 StashTracker ()
void search_stashes ()
LevelStashesget_current_level ()
LevelStashesfind_current_level ()
LevelStashesfind_level (const level_id &pos)
ShopInfoget_shop (const coord_def &c)
void remove_level (const level_id &which=level_id::current())
void update_corpses ()
void update_visible_stashes (StashTracker::stash_update_mode=ST_PASSIVE)
bool update_stash (const coord_def &c)
void add_stash (int x=-1, int y=-1, bool verbose=false)
void no_stash (int x=-1, int y=-1)
void save (writer &) const
void load (reader &)
void write (std::ostream &os, bool identify=false) const
void dump (const char *filename, bool identify=false) const
void remove_shop (const coord_def &c)

Static Public Member Functions

static bool is_level_untrackable ()

Friends

class ST_ItemIterator


Member Enumeration Documentation

Enumerator:
ST_PASSIVE 
ST_AGGRESSIVE 


Constructor & Destructor Documentation

StashTracker::StashTracker (  )  [inline]


Member Function Documentation

static bool StashTracker::is_level_untrackable (  )  [inline, static]

void StashTracker::search_stashes (  ) 

Here is the call graph for this function:

LevelStashes & StashTracker::get_current_level (  ) 

Here is the call graph for this function:

LevelStashes * StashTracker::find_current_level (  ) 

Here is the call graph for this function:

LevelStashes * StashTracker::find_level ( const level_id pos  ) 

ShopInfo& StashTracker::get_shop ( const coord_def c  )  [inline]

Here is the call graph for this function:

void StashTracker::remove_level ( const level_id which = level_id::current()  ) 

void StashTracker::update_corpses (  ) 

void StashTracker::update_visible_stashes ( StashTracker::stash_update_mode  mode = ST_PASSIVE  ) 

Here is the call graph for this function:

bool StashTracker::update_stash ( const coord_def c  ) 

Here is the call graph for this function:

void StashTracker::add_stash ( int  x = -1,
int  y = -1,
bool  verbose = false 
)

Here is the call graph for this function:

void StashTracker::no_stash ( int  x = -1,
int  y = -1 
)

Here is the call graph for this function:

void StashTracker::save ( writer outf  )  const

Here is the call graph for this function:

void StashTracker::load ( reader inf  ) 

Here is the call graph for this function:

void StashTracker::write ( std::ostream &  os,
bool  identify = false 
) const

void StashTracker::dump ( const char *  filename,
bool  identify = false 
) const

Here is the call graph for this function:

void StashTracker::remove_shop ( const coord_def c  ) 

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ST_ItemIterator [friend]


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

Generated on Thu Jan 13 13:42:25 2011 by  doxygen 1.5.6