/// <summary>
 /// Unregisters the specific event
 /// </summary>
 /// <param name="pe">The event to unregister</param>
 public static void Unregister(OnCommandLoaded pe)
 {
     pe.Unregister();
 }
 /// <summary>
 /// Used to register a method to be executed when the event is fired.
 /// </summary>
 /// <param name="callback">The method to call</param>
 /// <returns>A reference to the event</returns>
 public static OnCommandLoaded Register(OnCall callback)
 {
     Logger.Log("OnCommandLoaded registered to the method " + callback.Method.Name, LogType.Debug);
     OnCommandLoaded pe = new OnCommandLoaded(callback);
     _eventQueue.Add(pe);
     return pe;
 }