#include <stash.h>
Public Member Functions | |
LevelStashes () | |
const Stash * | find_stash (coord_def c) const |
Stash * | find_stash (coord_def c) |
const ShopInfo * | find_shop (const coord_def &c) const |
ShopInfo & | get_shop (const coord_def &c) |
level_id | where () const |
void | get_matching_stashes (const base_pattern &search, std::vector< stash_search_result > &results) const |
bool | update_stash (const coord_def &c) |
bool | needs_visit (const coord_def &c) const |
bool | shop_needs_visit (const coord_def &c) const |
bool | unverified_stash (const coord_def &c) const |
void | add_stash (int x=-1, int y=-1) |
void | no_stash (int x=-1, int y=-1) |
void | kill_stash (const Stash &s) |
void | save (writer &) const |
void | load (reader &) |
void | write (std::ostream &os, bool identify=false) const |
std::string | level_name () const |
std::string | short_level_name () const |
int | stash_count () const |
int | visible_stash_count () const |
bool | is_current () const |
void | remove_shop (const coord_def &c) |
Friends | |
class | StashTracker |
class | ST_ItemIterator |
LevelStashes::LevelStashes | ( | ) |
level_id LevelStashes::where | ( | ) | const |
void LevelStashes::get_matching_stashes | ( | const base_pattern & | search, | |
std::vector< stash_search_result > & | results | |||
) | const |
bool LevelStashes::update_stash | ( | const coord_def & | c | ) |
bool LevelStashes::needs_visit | ( | const coord_def & | c | ) | const |
bool LevelStashes::shop_needs_visit | ( | const coord_def & | c | ) | const |
bool LevelStashes::unverified_stash | ( | const coord_def & | c | ) | const |
void LevelStashes::add_stash | ( | int | x = -1 , |
|
int | y = -1 | |||
) |
void LevelStashes::no_stash | ( | int | x = -1 , |
|
int | y = -1 | |||
) |
void LevelStashes::kill_stash | ( | const Stash & | s | ) |
void LevelStashes::save | ( | writer & | outf | ) | const |
void LevelStashes::load | ( | reader & | inf | ) |
void LevelStashes::write | ( | std::ostream & | os, | |
bool | identify = false | |||
) | const |
std::string LevelStashes::level_name | ( | ) | const |
std::string LevelStashes::short_level_name | ( | ) | const |
int LevelStashes::stash_count | ( | ) | const [inline] |
int LevelStashes::visible_stash_count | ( | ) | const [inline] |
bool LevelStashes::is_current | ( | ) | const |
void LevelStashes::remove_shop | ( | const coord_def & | c | ) |
friend class StashTracker [friend] |
friend class ST_ItemIterator [friend] |