Пример #1
0
 public void HookUpdate(UpdateHookCall call, bool priority = false)
 {
     if (priority)
     {
         UpdateHooks.Insert(0, call);
     }
     else
     {
         UpdateHooks.Add(call);
     }
 }
Пример #2
0
 public void HookUpdate(UpdateHookCall call, bool priority = false)
 {
     if (priority) UpdateHooks.Insert(0, call);
     else UpdateHooks.Add(call);
 }