HandleCommandLinePostConfigLoad() 공개 정적인 메소드

HandleCommandLinePostConfigLoad - Handles additional command line options after the config file is read.
public static HandleCommandLinePostConfigLoad ( string parms ) : void
parms string parms - The array of arguments passed in through the command line.
리턴 void
예제 #1
0
 /// <summary>
 /// Reloads all configuration settings, groups, regions and raises the reload event.
 /// </summary>
 public void Reload(TSPlayer player)
 {
     FileTools.SetupConfig();
     TShock.HandleCommandLinePostConfigLoad(Environment.GetCommandLineArgs());
     TShock.Groups.LoadPermisions();
     TShock.Regions.ReloadAllRegions();
     Hooks.GeneralHooks.OnReloadEvent(player);
 }
예제 #2
0
파일: Utils.cs 프로젝트: XWasHere/TShock
 /// <summary>
 /// Reloads all configuration settings, groups, regions and raises the reload event.
 /// </summary>
 public void Reload()
 {
     FileTools.SetupConfig();
     TShock.HandleCommandLinePostConfigLoad(Environment.GetCommandLineArgs());
     TShock.Groups.LoadPermisions();
     TShock.Regions.Reload();
     TShock.ItemBans.DataModel.UpdateItemBans();
     TShock.ProjectileBans.UpdateBans();
     TShock.TileBans.UpdateBans();
 }