mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
more specific logging
This commit is contained in:
parent
c08557f37d
commit
1e514a8b61
@ -161,6 +161,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
const std::map<LWOOBJID, LWOOBJID>& GetModels() const;
|
const std::map<LWOOBJID, LWOOBJID>& GetModels() const;
|
||||||
|
|
||||||
|
LWOCLONEID GetCloneId() { return clone_Id; };
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* This
|
* This
|
||||||
|
@ -1241,12 +1241,12 @@ void WorldShutdownProcess(uint32_t zoneId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (PropertyManagementComponent::Instance() != nullptr) {
|
if (PropertyManagementComponent::Instance() != nullptr) {
|
||||||
Game::logger->Log("WorldServer", "Saving ALL property data!\n");
|
Game::logger->Log("WorldServer", "Saving ALL property data for zone %i clone %i!\n", zoneId, PropertyManagementComponent::Instance()->GetCloneId());
|
||||||
PropertyManagementComponent::Instance()->Save();
|
PropertyManagementComponent::Instance()->Save();
|
||||||
Game::logger->Log("WorldServer", "ALL property data saved!\n");
|
Game::logger->Log("WorldServer", "ALL property data saved for zone %i clone %i!\n", zoneId, PropertyManagementComponent::Instance()->GetCloneId());
|
||||||
}
|
}
|
||||||
|
|
||||||
Game::logger->Log("WorldServer", "ALL DATA HAS BEEN SAVED!\n");
|
Game::logger->Log("WorldServer", "ALL DATA HAS BEEN SAVED FOR ZONE %i INSTANCE %i!\n", zoneId, instanceID);
|
||||||
|
|
||||||
while (Game::server->GetReplicaManager()->GetParticipantCount() > 0) {
|
while (Game::server->GetReplicaManager()->GetParticipantCount() > 0) {
|
||||||
const auto& player = Game::server->GetReplicaManager()->GetParticipantAtIndex(0);
|
const auto& player = Game::server->GetReplicaManager()->GetParticipantAtIndex(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user