diff --git a/project/SPT.Custom/Utils/MenuNotificationManager.cs b/project/SPT.Custom/Utils/MenuNotificationManager.cs index 9dc372b..9891829 100644 --- a/project/SPT.Custom/Utils/MenuNotificationManager.cs +++ b/project/SPT.Custom/Utils/MenuNotificationManager.cs @@ -105,7 +105,7 @@ namespace SPT.Custom.Utils { if (Singleton.Instantiated && ShouldShowBetaMessage()) { - Singleton.Instance.ShowCriticalErrorScreen(sptVersion, release.betaDisclaimerText, ErrorScreen.EButtonType.OkButton, release.betaDisclaimerTimeoutDelay, new Action(OnMessageAccepted), new Action(OnTimeOut)); + Singleton.Instance.ShowCriticalErrorScreen(sptVersion, release.betaDisclaimerText, ErrorScreen.EButtonType.OkButton, release.betaDisclaimerTimeoutDelay); _isBetaDisclaimerOpen = true; } } @@ -115,7 +115,7 @@ namespace SPT.Custom.Utils { if (Singleton.Instantiated && ShouldShowReleaseNotes()) { - Singleton.Instance.ShowCriticalErrorScreen(sptVersion, release.releaseSummaryText, ErrorScreen.EButtonType.OkButton, 36000, null, null); + Singleton.Instance.ShowCriticalErrorScreen(sptVersion, release.releaseSummaryText, ErrorScreen.EButtonType.OkButton, 36000); PlayerPrefs.SetInt("SPT_ShownReleaseNotes", 1); } } diff --git a/project/SPT.Debugging/Patches/DumpyLibPatch.cs b/project/SPT.Debugging/Patches/DumpyLibPatch.cs index e5f8682..e9601c1 100644 --- a/project/SPT.Debugging/Patches/DumpyLibPatch.cs +++ b/project/SPT.Debugging/Patches/DumpyLibPatch.cs @@ -31,21 +31,21 @@ public class DumpyLibPatch : ModulePatch public class DumplyLibMono : MonoBehaviour { - public Class301 _session; + public Class304 _session; public TarkovApplication _tarkovApplication; public FieldInfo _mainMenuController; public WaveInfo _wavesSettings; public LocalRaidSettings _localRaidSettings; public RaidSettings _raidSettings; public LocationSettingsClass _locationSettings; - public GClass1924 _endRaidClass; - public GClass1962 _completeProfile; - public GClass814 _parsedDataProfile; - // Class references are as of assembly 33420 - 02/11/2024 + public GClass1952 _endRaidClass; + public GClass1991 _completeProfile; + public GClass822 _parsedDataProfile; + // Class references are as of assembly 33420 - 26/12/2024 private void Start() { - _session = ClientAppUtils.GetClientApp().Session as Class301; + _session = ClientAppUtils.GetClientApp().Session as Class304; _tarkovApplication = ClientAppUtils.GetMainApp(); _mainMenuController = _tarkovApplication.GetType().GetField("mainMenuController"); // is null at this point so only get fieldinfo - TODO: fieldinfo came back as null _wavesSettings = new WaveInfo(2, WildSpawnType.assault, BotDifficulty.normal); // imitate loading json of wave settings @@ -91,7 +91,7 @@ public class DumplyLibMono : MonoBehaviour PlayersSpawnPlace = EPlayersSpawnPlace.SamePlace }; _locationSettings = _session.LocationSettings; - _endRaidClass = new GClass1924 + _endRaidClass = new GClass1952 { profile = null, result = ExitStatus.Left, @@ -101,10 +101,10 @@ public class DumplyLibMono : MonoBehaviour inSession = true, favorite = false, playTime = 33, - InsuredItems = new GClass1308[] {}, + InsuredItems = new GClass1321[] {}, ProfileId = "" }; - _completeProfile = new GClass1962(_session.Profile, GClass1971.Instance); + _completeProfile = new GClass1991(_session.Profile, GClass2000.Instance); _parsedDataProfile = _completeProfile.ToUnparsedData(); _endRaidClass.profile = _completeProfile.ToUnparsedData();