From 01b5d5308f88814d02d463a04630fac48be02c19 Mon Sep 17 00:00:00 2001 From: dooly Date: Thu, 30 Jan 2025 17:17:44 +1000 Subject: [PATCH] fixed up string --- .../InitalData/BasisLoadableLoader.cs | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/Basis Server/BasisNetworkServer/BasisNetworking/InitalData/BasisLoadableLoader.cs b/Basis Server/BasisNetworkServer/BasisNetworking/InitalData/BasisLoadableLoader.cs index cbd5ba105..5f23d833f 100644 --- a/Basis Server/BasisNetworkServer/BasisNetworking/InitalData/BasisLoadableLoader.cs +++ b/Basis Server/BasisNetworkServer/BasisNetworking/InitalData/BasisLoadableLoader.cs @@ -23,43 +23,10 @@ public static void LoadXML(string FolderName) Directory.CreateDirectory(newFolderPath); BNL.Log("Folder created successfully: " + newFolderPath); // Provide an example XML file content for the user to copy or uncomment - string exampleXml = @" - - 0 - - - - - - - - - - false - - - 0 - 0 - 0 - - - 0 - 0 - 0 - 1 - - - 1 - 1 - 1 - - - false -"; string exampleFilePath = Path.Combine(newFolderPath, "ExampleConfigdisabled.xml[remove]"); File.WriteAllText(exampleFilePath, exampleXml); - Console.WriteLine("Example XML file created at: " + exampleFilePath); + BNL.Log("Example XML file created at: " + exampleFilePath); } BasisLoadableConfiguration[] configurations = BasisLoadableConfiguration.LoadAllFromFolder(FolderName); @@ -100,5 +67,38 @@ public static LocalLoadResource FromBasisLoadableConfiguration(BasisLoadableConf Persist = config.Persist }; } + public const string exampleXml = @" + + 0 + + + + + + + + + + false + + + 0 + 0 + 0 + + + 0 + 0 + 0 + 1 + + + 1 + 1 + 1 + + + false +"; } }