//Methods /// <summary> /// Resets the MPManager instance. /// </summary> public void Reset() { Log.Message("Resetting MPManager instance."); Log.Message("Resetting MPClient"); ClientUninitialize(); Log.Message("Resetting MPServer"); ServerUninitialize(); instance = new MPManager(); SetMPRole(MPRoleType.None); Log.Message("MPManager instance resetted."); }