//internal static EventsHandler Events; public static void Initialize() { Z.EntityFramework.Extensions.LicenseManager.AddLicense("1294;103-aididhaiqal02", "d8a78218-810c-f032-ae9d-0f8257e4501c"); // Initialize our stuff. CSV.Initialize(); Game_Events.Initialize(); Home.Initialize(); NPC.Initialize(); Fingerprint.Initialize(); ResourcesManager.Initialize(); ObjectManager.Initialize(); Logger.Initialize(); ExceptionLogger.Initialize(); Gateway.Initialize(); Timers.Initialize(); Timers.Run(); // Start listening since we're done initializing. Gateway.Listen(); if (Constants.UseDiscord) { Client.Initialize(); } //Events = new EventsHandler(); Parser.Initialize(); }
public static void Initialize() { // Initialize our stuff. CSV.Initialize(); Game_Events.Initialize(); Deck.Initialize(); Files.Cards.Initialize(); Fingerprint.Initialize(); Arenas.Initialize(); Rarities.Initialize(); Logic.Structure.Game.Cards.Initialize(); Chests.Initialize(); ResourcesManager.Initialize(); ObjectManager.Initialize(); Logger.Initialize(); ExceptionLogger.Initialize(); Gateway.Initialize(); Timers.Initialize(); Timers.Run(); // Start listening since we're done initializing. Gateway.Listen(); if (Constants.UseDiscord) { Client.Initialize(); } Events = new EventsHandler(); }