Adds SetTable to DBTools, makes Tools and FileTools public, for TShock mods
This commit is contained in:
parent
383715715c
commit
8f28bd2b7d
4 changed files with 91 additions and 18 deletions
|
|
@ -20,13 +20,13 @@ using System.IO;
|
|||
|
||||
namespace TShockAPI
|
||||
{
|
||||
internal class FileTools
|
||||
public class FileTools
|
||||
{
|
||||
public static string RulesPath { get { return Path.Combine(TShock.SavePath, "rules.txt"); } }
|
||||
public static string MotdPath { get { return Path.Combine(TShock.SavePath, "motd.txt"); } }
|
||||
public static string WhitelistPath { get { return Path.Combine(TShock.SavePath, "whitelist.txt"); } }
|
||||
public static string RememberedPosPath { get { return Path.Combine(TShock.SavePath, "oldpos.xml"); } }
|
||||
public static string ConfigPath { get { return Path.Combine(TShock.SavePath, "config.json"); } }
|
||||
internal static string RulesPath { get { return Path.Combine(TShock.SavePath, "rules.txt"); } }
|
||||
internal static string MotdPath { get { return Path.Combine(TShock.SavePath, "motd.txt"); } }
|
||||
internal static string WhitelistPath { get { return Path.Combine(TShock.SavePath, "whitelist.txt"); } }
|
||||
internal static string RememberedPosPath { get { return Path.Combine(TShock.SavePath, "oldpos.xml"); } }
|
||||
internal static string ConfigPath { get { return Path.Combine(TShock.SavePath, "config.json"); } }
|
||||
|
||||
public static void CreateFile(string file)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue