Aka_s_Yasuo.Manager.EventManager.Load C# (CSharp) Method

Load() public static method

public static Load ( ) : void
return void
        public static void Load()
        {
            Game.OnUpdate += Game_OnUpdate;
            Dash.OnDash += Dash_OnDash;
            Obj_AI_Base.OnBuffGain += Obj_AI_Base_OnBuffGain;
            Obj_AI_Base.OnBuffLose += Obj_AI_Base_OnBuffLose;
            Obj_AI_Base.OnBuffUpdate += Obj_AI_Base_OnBuffUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            foreach (var module in Variables.moduleList)
            {
                module.OnLoad();
            }
        }

Usage Example

示例#1
0
 public static void Load()
 {
     //SpellManager
     SpellManager.Load();
     //MenuManager
     MenuManager.Load();
     //EventManager
     EventManager.Load();
     //Less Fps drops i hope
     Features.Modes.drawing.Load();
 }