48 void serialize(std::ostream &os, u8 map_format_version)
const;
49 void deSerialize(std::istream &is, u8 map_format_version);
53 std::map<v3s16, std::multimap<double, NodeTimer>::iterator>::iterator n =
63 std::map<v3s16, std::multimap<double, NodeTimer>::iterator>::iterator n =
66 double removed_time = n->second->first;
84 std::multimap<double, NodeTimer>::iterator it =
m_timers.emplace(trigger_time, timer);
102 std::vector<NodeTimer>
step(
float dtime);
106 std::map<v3s16, std::multimap<double, NodeTimer>::iterator>
m_iterators;
Definition nodetimer.h:43
std::multimap< double, NodeTimer > m_timers
Definition nodetimer.h:105
void insert(const NodeTimer &timer)
Definition nodetimer.h:81
std::map< v3s16, std::multimap< double, NodeTimer >::iterator > m_iterators
Definition nodetimer.h:106
void remove(v3s16 p)
Definition nodetimer.h:62
double m_time
Definition nodetimer.h:108
void set(const NodeTimer &timer)
Definition nodetimer.h:90
NodeTimer get(const v3s16 &p)
Definition nodetimer.h:52
double m_next_trigger_time
Definition nodetimer.h:107
std::vector< NodeTimer > step(float dtime)
Definition nodetimer.cpp:113
void clear()
Definition nodetimer.h:95
void serialize(std::ostream &os, u8 map_format_version) const
Definition nodetimer.cpp:31
void deSerialize(std::istream &is, u8 map_format_version)
Definition nodetimer.cpp:60
Definition nodetimer.h:21
f32 timeout
Definition nodetimer.h:33
f32 elapsed
Definition nodetimer.h:34
v3s16 position
Definition nodetimer.h:35
void serialize(std::ostream &os) const
Definition nodetimer.cpp:15
NodeTimer(const v3s16 &position_)
Definition nodetimer.h:24
NodeTimer(f32 timeout_, f32 elapsed_, v3s16 position_)
Definition nodetimer.h:26
void deSerialize(std::istream &is)
Definition nodetimer.cpp:21
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
static std::string p(std::string path)
Definition test_filesys.cpp:53