Public Member Functions | |
Npc_protection_timer (Npc_timer_list *l) | |
virtual | ~Npc_protection_timer () |
void | handle_event (unsigned long curtime, long udata) |
Private Attributes | |
uint32 | end_time |
Definition at line 116 of file npctime.cc.
Npc_protection_timer::Npc_protection_timer | ( | Npc_timer_list * | l | ) | [inline] |
Definition at line 120 of file npctime.cc.
References end_time, and Game::get_ticks().
Here is the call graph for this function:
virtual Npc_protection_timer::~Npc_protection_timer | ( | ) | [inline, virtual] |
Definition at line 124 of file npctime.cc.
References Npc_timer::list, and Npc_timer_list::protection.
void Npc_protection_timer::handle_event | ( | unsigned long | curtime, | |
long | udata | |||
) | [virtual] |
Implements Time_sensitive.
Definition at line 503 of file npctime.cc.
References Time_queue::add(), Game_window::add_dirty(), Game_window::get_tqueue(), gwin, Exult_server::npc, Obj_flags::protection, and Wearing_ring().
Here is the call graph for this function:
uint32 Npc_protection_timer::end_time [private] |