mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[Cleanup] Remove is_authenticatd, LSShutDownUpdate(), and SetInstanceID() from zoneserver.h (#3109)
# Notes - These are unsued.
This commit is contained in:
parent
04fba27467
commit
4491bb9a70
@ -74,7 +74,6 @@ ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> in_c
|
||||
zone_os_process_id = 0;
|
||||
client_port = 0;
|
||||
is_booting_up = false;
|
||||
is_authenticated = false;
|
||||
is_static_zone = false;
|
||||
zone_player_count = 0;
|
||||
|
||||
@ -143,20 +142,6 @@ bool ZoneServer::SetZone(uint32 in_zone_id, uint32 in_instance_id, bool in_is_st
|
||||
return true;
|
||||
}
|
||||
|
||||
void ZoneServer::LSShutDownUpdate(uint32 zone_id) {
|
||||
if (WorldConfig::get()->UpdateStats) {
|
||||
auto pack = new ServerPacket;
|
||||
pack->opcode = ServerOP_LSZoneShutdown;
|
||||
pack->size = sizeof(ZoneShutdown_Struct);
|
||||
pack->pBuffer = new uchar[pack->size];
|
||||
memset(pack->pBuffer, 0, pack->size);
|
||||
auto zsd = (ZoneShutdown_Struct*) pack->pBuffer;
|
||||
zsd->zone = zone_id ? zone_id : GetPrevZoneID();
|
||||
zsd->zone_wid = GetID();
|
||||
loginserverlist.SendPacket(pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
}
|
||||
void ZoneServer::LSBootUpdate(uint32 zone_id, uint32 instanceid, bool startup) {
|
||||
if (WorldConfig::get()->UpdateStats) {
|
||||
auto pack = new ServerPacket;
|
||||
|
||||
@ -46,7 +46,6 @@ public:
|
||||
void IncomingClient(Client* client);
|
||||
void LSBootUpdate(uint32 zone_id, uint32 instance_id = 0, bool startup = false);
|
||||
void LSSleepUpdate(uint32 zone_id);
|
||||
void LSShutDownUpdate(uint32 zone_id);
|
||||
uint32 GetPrevZoneID() { return zone_server_previous_zone_id; }
|
||||
void ChangeWID(uint32 iCharID, uint32 iWID);
|
||||
void SendGroupIDs();
|
||||
@ -74,7 +73,6 @@ public:
|
||||
std::string GetUUID() const { return tcpc->GetUUID(); }
|
||||
|
||||
inline uint32 GetInstanceID() { return instance_id; }
|
||||
inline void SetInstanceID(uint32 i) { instance_id = i; }
|
||||
|
||||
inline uint32 GetZoneOSProcessID() { return zone_os_process_id; }
|
||||
|
||||
@ -88,7 +86,6 @@ private:
|
||||
uint16 client_port;
|
||||
bool is_booting_up;
|
||||
bool is_static_zone;
|
||||
bool is_authenticated;
|
||||
uint32 zone_player_count;
|
||||
char compiled[25];
|
||||
char zone_name[32];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user