예제 #1
0
 public void OnInit()
 {
     Init = delegate { };
     AbilityDatabase.Setup();
     AddonMenus.Setup();
     StealthPrediction.Setup();
     HideNames.Setup();
     ActiveSkills.Setup();
     ObjectTracker.Setup();
     MenuEvents.Setup();
     DebugHelper.Setup();
     BuffTracker.Setup();
     Game.OnPreUpdate += Game_OnPreUpdate;
     DelayAction(Init.Invoke, 0.5f);
 }
예제 #2
0
 public void OnUnload()
 {
     Console.WriteLine("Unload Common Started");
     Init = null;
     AbilityDatabase.Unload();
     AddonMenus.Unload();
     StealthPrediction.Unload();
     HideNames.Unload();
     ActiveSkills.Unload();
     ObjectTracker.Unload();
     MenuEvents.Unload();
     DebugHelper.Unload();
     BuffTracker.Unload();
     Game.OnPreUpdate -= Game_OnPreUpdate;
     Console.WriteLine("Unload Common Ended");
 }