#include <stash.h>
Public Types | |
enum | stash_update_mode { ST_PASSIVE, ST_AGGRESSIVE } |
Public Member Functions | |
StashTracker () | |
void | search_stashes () |
LevelStashes & | get_current_level () |
LevelStashes * | find_current_level () |
LevelStashes * | find_level (const level_id &pos) |
ShopInfo & | get_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 |
StashTracker::StashTracker | ( | ) | [inline] |
static bool StashTracker::is_level_untrackable | ( | ) | [inline, static] |
void StashTracker::search_stashes | ( | ) |
LevelStashes & StashTracker::get_current_level | ( | ) |
LevelStashes * StashTracker::find_current_level | ( | ) |
LevelStashes * StashTracker::find_level | ( | const level_id & | pos | ) |
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 |
) |
bool StashTracker::update_stash | ( | const coord_def & | c | ) |
void StashTracker::add_stash | ( | int | x = -1 , |
|
int | y = -1 , |
|||
bool | verbose = false | |||
) |
void StashTracker::no_stash | ( | int | x = -1 , |
|
int | y = -1 | |||
) |
void StashTracker::save | ( | writer & | outf | ) | const |
void StashTracker::load | ( | reader & | inf | ) |
void StashTracker::write | ( | std::ostream & | os, | |
bool | identify = false | |||
) | const |
void StashTracker::dump | ( | const char * | filename, | |
bool | identify = false | |||
) | const |
void StashTracker::remove_shop | ( | const coord_def & | c | ) |
friend class ST_ItemIterator [friend] |