示例#1
0
 /// <summary>
 /// 从配置读取
 /// </summary>
 public static void readConfig()
 {
     NetNotOpen       = TextConfig.getText("netNotOpen");
     ServerNotRespond = TextConfig.getText("serverNotRespond");
     SocketClosed     = TextConfig.getText("socketClosed");
     NeedHotfix       = TextConfig.getText("needHotfix");
 }
示例#2
0
文件: GTextEnum.cs 项目: ethan0w/tank
 /// <summary>
 /// 从配置读取
 /// </summary>
 public static void readConfig()
 {
     Ok     = TextConfig.getText("ok");
     Cancel = TextConfig.getText("cancel");
 }