源战役客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

25 行
601 B

using LuaFramework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
public class WriteFile
{
public static void save(string information)
{
if (File.Exists(Util.DataPath + "pos_text.txt"))
{
File.Delete(Util.DataPath + "pos_text.txt");
}
FileStream aFile = new FileStream(Util.DataPath + "pos_text.txt", FileMode.OpenOrCreate);
StreamWriter sw = new StreamWriter(aFile);
sw.Write(information);
sw.Close();
sw.Dispose();
}
}