mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
[Cleanup] Remove GetStartCount() and InitStartTimer() from zone_launch.cpp and zone_launch.h (#3121)
# Notes - These are unused.
This commit is contained in:
parent
b2757143a8
commit
a6efb1e8b5
@ -28,11 +28,6 @@
|
|||||||
int ZoneLaunch::s_running = 0; //the number of zones running under this launcher
|
int ZoneLaunch::s_running = 0; //the number of zones running under this launcher
|
||||||
Timer ZoneLaunch::s_startTimer(1); //I do not trust this things state after static initialization
|
Timer ZoneLaunch::s_startTimer(1); //I do not trust this things state after static initialization
|
||||||
|
|
||||||
void ZoneLaunch::InitStartTimer() {
|
|
||||||
s_startTimer.Start(1);
|
|
||||||
s_startTimer.Trigger();
|
|
||||||
}
|
|
||||||
|
|
||||||
ZoneLaunch::ZoneLaunch(WorldServer *world, const char *launcher_name,
|
ZoneLaunch::ZoneLaunch(WorldServer *world, const char *launcher_name,
|
||||||
const char *zone_name, uint16 port, const EQEmuConfig *config)
|
const char *zone_name, uint16 port, const EQEmuConfig *config)
|
||||||
: m_state(StateStartPending),
|
: m_state(StateStartPending),
|
||||||
|
|||||||
@ -39,10 +39,6 @@ public:
|
|||||||
void SendStatus() const;
|
void SendStatus() const;
|
||||||
|
|
||||||
const char *GetZone() const { return(m_zone.c_str()); }
|
const char *GetZone() const { return(m_zone.c_str()); }
|
||||||
uint32 GetStartCount() const { return(m_startCount); }
|
|
||||||
|
|
||||||
//should only be called during process init to setup the start timer.
|
|
||||||
static void InitStartTimer();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool IsRunning() const { return(m_state == StateStarted || m_state == StateStopPending || m_state == StateRestartPending); }
|
bool IsRunning() const { return(m_state == StateStarted || m_state == StateStopPending || m_state == StateRestartPending); }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user