mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 14:36:37 +00:00
Scanning optimization work from over a year ago from EZ - cleaned up a bit
This commit is contained in:
+8
-1
@@ -1,3 +1,4 @@
|
||||
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2016 EQEMu Development Team (http://eqemu.org)
|
||||
|
||||
@@ -169,6 +170,12 @@ public:
|
||||
|
||||
void DisplayInfo(Mob *mob);
|
||||
|
||||
std::unordered_map<Mob *, float> close_mobs;
|
||||
Timer mob_scan_close;
|
||||
Timer mob_check_moving_timer;
|
||||
|
||||
void GetCloseMobList(std::list<std::pair<Mob *, float>> &m_list);
|
||||
|
||||
//Somewhat sorted: needs documenting!
|
||||
|
||||
//Attack
|
||||
@@ -968,7 +975,7 @@ public:
|
||||
void SetEntityVariable(const char *id, const char *m_var);
|
||||
bool EntityVariableExists(const char *id);
|
||||
|
||||
void AI_Event_Engaged(Mob* attacker, bool iYellForHelp = true);
|
||||
void AI_Event_Engaged(Mob* attacker, bool yell_for_help = true);
|
||||
void AI_Event_NoLongerEngaged();
|
||||
|
||||
FACTION_VALUE GetSpecialFactionCon(Mob* iOther);
|
||||
|
||||
Reference in New Issue
Block a user