using CommonLang; using CommonLang.Property; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XmdsBattleClientBot { public class BotConfig { //------------------------------------------------------------------------------------- [Desc("登录地址", "登录")] [OptionalValue("192.168.0.151:8888")] public string LoginUrl = "192.168.0.249:8888"; [Desc("选择服务器ID", "登录")] public int ServerID = 10003; [Desc("Desc", "登录-常量")] public int Appid = 80; [Desc("Channel", "登录-常量")] public int Channel = 0; [Desc("SdkVersion", "登录-常量")] public string SdkVersion = ""; [Desc("SdkExpansion", "登录-常量")] public string SdkExpansion = ""; [Desc("LoginType", "登录-常量")] public int LoginType = 0; [Desc("显示版本号", "登录-常量")] public string ClientVersion = "1.0.0"; [Desc("SVN版本号", "登录-常量")] public string SVNVersion = "10000"; [Desc("逻辑版本号", "登录-常量")] public int LogicVersion = 10000; [Desc("客户端区域信息", "登录-常量")] public string ClientRegion = "CHN"; [Desc("手机系统 5是IOS,6是android.", "登录-常量")] public int OSType = 5; [Desc("MacAddr", "登录-常量")] public string MacAddr = "1234"; //------------------------------------------------------------------------------------- [Desc("使用MPQ资源", "资源")] public bool UseMPQ = false; //------------------------------------------------------------------------------------- [Desc("资源加载地址", "资源")] [OptionalValue( "http://192.168.1.208/xmds/res_develop/", "http://192.168.1.208/xmds/res_release/")] [DependOnProperty("UseMPQ")] public string ResourcesURL = "http://192.168.1.208/xmds/res_develop/"; [Desc("资源地址", "资源")] [DirectoryPath] [DependOnProperty("UseMPQ", false)] public string DataRoot = @"D:\Xmds\GameEditors\GameEditor\data"; [Desc("Lua代码地址", "资源")] [DirectoryPath] [DependOnProperty("UseMPQ", false)] public string LuaRoot = @"D:\Xmds\GameEditors\UIEdit\res\ui_edit\lua"; //------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------- [Desc("客户端FPS", "显示")] public int ClientFPS = 3000; [Desc("不显示战斗画面", "显示")] public bool NoBattleView = false; [Desc("节省内存模式", "显示")] public bool SaveMemory = true; //------------------------------------------------------------------------------------- } }