//List<InteractableVehicle> nullVehicles = new List<InteractableVehicle>(); protected override void Load() { Instance = this; if (Instance.Configuration.Instance.ClearVehicleDestoryListOnReload) { toRemove = new List <InteractableVehicle>(); VehicleData = new Dictionary <InteractableVehicle, DateTime>(); updateDateTime = new List <InteractableVehicle>(); } Logger.Log("AutoClear has loaded!"); }
//List<InteractableVehicle> nullVehicles = new List<InteractableVehicle>(); protected override void Load() { Instance = this; UnturnedPlayerEvents.OnPlayerChatted += UnturnedPlayerEvents_OnPlayerChatted; UnturnedPlayerEvents.OnPlayerDeath += UnturnedPlayerEvents_OnPlayerDeath; if (Instance.Configuration.Instance.ClearVehicleDestoryListOnReload) { toRemove = new List <InteractableVehicle>(); VehicleData = new Dictionary <InteractableVehicle, DateTime>(); updateDateTime = new List <InteractableVehicle>(); } /* lastMessages = new Dictionary<CSteamID, string>(); * sameMessageCount = new Dictionary<CSteamID, int>(); * chatLogPlayers = new List<CSteamID>(); */ Logger.Log("AutoClear has loaded!"); }