diff --git a/Fika.Core/Coop/GameMode/AFikaGame.cs b/Fika.Core/Coop/GameMode/AFikaGame.cs deleted file mode 100644 index f96be0db..00000000 --- a/Fika.Core/Coop/GameMode/AFikaGame.cs +++ /dev/null @@ -1,89 +0,0 @@ -/*using SPT.Reflection.Utils; -using BepInEx.Logging; -using Comfort.Common; -using EFT; -using EFT.InputSystem; -using EFT.UI; -using EFT.Weather; -using JsonType; -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; - -namespace Fika.Core.Coop.GameMode -{ - public abstract class AFikaGame : BaseLocalGame, IBotGame - { - public new bool InRaid { get { return true; } } - - public ISession BackEndSession { get { return PatchConstants.BackEndSession; } } - - BotsController IBotGame.BotsController - { - get - { - if (BotsController == null) - { - BotsController = (BotsController)GetType().GetFields().Where(x => x.FieldType == typeof(BotsController)).FirstOrDefault().GetValue(this); - } - return BotsController; - } - } - - private static BotsController BotsController; - - public BotsController PBotsController - { - get - { - if (BotsController == null) - { - BotsController = (BotsController)GetType().GetFields().Where(x => x.FieldType == typeof(BotsController)).FirstOrDefault().GetValue(this); - } - return BotsController; - } - } - - public IWeatherCurve WeatherCurve - { - get - { - return WeatherController.Instance.WeatherCurve; - } - } - - ManualLogSource Logger { get; set; } - - public static T Create(GInterface170 inputTree, Profile profile, GameDateTime backendDateTime, InsuranceCompanyClass insurance, MenuUI menuUI, GameUI gameUI, LocationSettingsClass.Location location, TimeAndWeatherSettings timeAndWeather, WavesSettings wavesSettings, EDateTime dateTime, Callback callback, float fixedDeltaTime, EUpdateQueue updateQueue, ISession backEndSession, TimeSpan? sessionTime) where T : AFikaGame - { - return null; - } - - public Dictionary Bots { get; set; } = new Dictionary(); - - /// - /// Reconnection handling. - /// - public override void vmethod_3() - { - base.vmethod_3(); - } - - private GClass579 GClass579; - - private WavesSpawnScenario wavesSpawnScenario_0; - - private NonWavesSpawnScenario nonWavesSpawnScenario_0; - - private Func func_1; - - public new void method_6(string backendUrl, string locationId, int variantId) - { - Logger.LogInfo("CoopGame:method_6"); - return; - } - } -} -*/ \ No newline at end of file diff --git a/Fika.Core/Coop/GameMode/CoopGame.cs b/Fika.Core/Coop/GameMode/CoopGame.cs index 167fd73c..52433f28 100644 --- a/Fika.Core/Coop/GameMode/CoopGame.cs +++ b/Fika.Core/Coop/GameMode/CoopGame.cs @@ -1291,18 +1291,6 @@ public override IEnumerator vmethod_4(BotControllerSettings controllerSettings, } } - /*Task deployTask = DeployScreen(timeBeforeDeployLocal); - - while (!deployTask.IsCompleted) - { - yield return null; - }*/ - - /*using (GClass21.StartWithToken("SessionRun")) - { - CreateExfiltrationPointAndInitDeathHandler(); - }*/ - // Add FreeCamController to GameWorld GameObject Singleton.Instance.gameObject.GetOrAddComponent(); Singleton.Instance.gameObject.GetOrAddComponent(); @@ -1315,8 +1303,6 @@ public override IEnumerator vmethod_4(BotControllerSettings controllerSettings, Singleton.Instance.MineManager.OnExplosion += OnMineExplode; } - /*runCallback.Succeed();*/ - Singleton.Instance.TimeBeforeDeployLocal = Math.Max(Singleton.Instance.TimeBeforeDeployLocal, 5); yield return base.vmethod_4(controllerSettings, spawnSystem, runCallback); diff --git a/Fika.Core/Coop/ObservedClasses/HandsControllers/CoopObservedGrenadeController.cs b/Fika.Core/Coop/ObservedClasses/HandsControllers/CoopObservedGrenadeController.cs index c71583e5..77d1e117 100644 --- a/Fika.Core/Coop/ObservedClasses/HandsControllers/CoopObservedGrenadeController.cs +++ b/Fika.Core/Coop/ObservedClasses/HandsControllers/CoopObservedGrenadeController.cs @@ -51,10 +51,10 @@ public static CoopObservedGrenadeController Create(CoopPlayer player, GrenadeCla }; }*/ - private void CreateGrenadeClass1() + /*private void CreateGrenadeClass1() { - } + }*/ public override bool CanChangeCompassState(bool newState) {