public void MemoryDump(IRocketPlayer caller, string[] args) //dangerous command, can crash server
 {
     if (!System.IO.Directory.Exists("Profiler"))
     {
         System.IO.Directory.CreateDirectory("Profiler");
     }
     UnityHeapDump.Create("Profiler/Dump");
     UnturnedChat.Say(caller, "Dumped memory at Profiler/Dump");
 }
Beispiel #2
0
 public static void DumpIt()
 {
     UnityHeapDump.Create();
 }