private static string GetConfigName(BattleEnum.Enum_BattleType battleType) { string cfgName = string.Empty; switch (battleType) { case BattleEnum.Enum_BattleType.Normal: cfgName = "SceneNormal_Client"; break; } return(cfgName); }
private static string GetLanConfigName(BattleEnum.Enum_BattleType battleType) { string cfgName = string.Empty; switch (battleType) { case BattleEnum.Enum_BattleType.Normal: cfgName = "Lan_City_Common"; break; } return(cfgName); }
public static string GetLevel(int iSectionId, BattleEnum.Enum_BattleType battleType) { string cfgName = GetConfigName(battleType); return(ConfigData.GetValue(cfgName, iSectionId.ToString(), "Level")); }
public static string GetSceneSpawn(int iSectionId, BattleEnum.Enum_BattleType battleType) { string cfgName = GetConfigName(battleType); return(ConfigData.GetValue(cfgName, iSectionId.ToString(), "SpawnPath")); }
public static string GetMonsterSpawns(int iSectionId, BattleEnum.Enum_BattleType battleType) { string cfgName = GetConfigName(battleType); return("2006;3|2016;1"); //ConfigData.GetValue(cfgName, iSectionId.ToString(), "MonsterSpawns"); }
public static string GetSectionDescription(int iSectionId, BattleEnum.Enum_BattleType battleType) { string cfgName = GetLanConfigName(battleType); return(ConfigData.GetValue(cfgName, iSectionId.ToString(), "PassDes")); }
public static ConfigRow GetSectionRow(int iSectionId, BattleEnum.Enum_BattleType battleType) { string cfgName = GetConfigName(battleType); return(ConfigData.GetValue(cfgName, iSectionId.ToString())); }