This commit is contained in:
fabjuuuh
2020-09-25 13:43:00 +02:00
parent d0071bd13c
commit cf9341a93e
2 changed files with 26 additions and 1 deletions

22
Server/SaveData.cs Normal file
View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Server
{
class SaveData
{
public SaveData()
{
}
public void WriteData(string data)
{
using (StreamWriter sw = File.AppendText(Directory.GetCurrentDirectory() + "/data.txt"))
{
sw.WriteLine(data);
}
}
}
}