From 41f99c3993780d26d3ac1c8a47b6022596979e40 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 27 Jun 2025 21:03:27 +0100 Subject: [PATCH] Made method protected added comments --- .../Services/LocationLifecycleService.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs b/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs index 1853c74b..2b9dca2b 100644 --- a/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs @@ -153,7 +153,8 @@ public class LocationLifecycleService var result = new StartLocalRaidResponseData { - ServerId = $"{request.Location}.{request.PlayerSide} {_timeUtil.GetTimeStamp()}", // TODO - does this need to be more verbose - investigate client? + // PVE_OFFLINE_xxxxxxxx_27_06_2025_20_20_44 + ServerId = $"{request.Location}.{request.PlayerSide} {_timeUtil.GetTimeStamp()}", // Only used for metrics in client ServerSettings = _databaseService.GetLocationServices(), // TODO - is this per map or global? Profile = new ProfileInsuredItems { @@ -194,7 +195,7 @@ public class LocationLifecycleService result.Transition.TransitionRaidId = transitionData.TransitionRaidId; result.Transition.TransitionCount += 1; - // Used by client to determine infil location) - client adds the map player is transiting to later + // Used by client to determine infil location - client adds the map player is transiting to later result.Transition.VisitedLocations.Add(transitionData.SptLastVisitedLocation); // Complete, clean up as no longer needed @@ -789,7 +790,7 @@ public class LocationLifecycleService /// /// Scav profile with quest progress post-raid /// Server pmc profile to copy scav quest progress into - private void MigrateScavQuestProgressToPmcProfile(PmcData scavProfile, PmcData pmcProfile) + protected void MigrateScavQuestProgressToPmcProfile(PmcData scavProfile, PmcData pmcProfile) { foreach (var scavQuest in scavProfile.Quests) {