M_Global_Config = {}

function M_Global_Config:getData(key)
	if self.datas == nil then
		return nil
	end
	return self.datas[key]
end

function M_Global_Config:init()
	self.datas = {}
	self.datas["TestKey1"] = {Key = "TestKey1", Desc = "XX字段", IntValue = 1, IntListValue = {2,3}, StrValue = "", StrListValue = {"lbt","lbbt"}, BoolValue = true}
	self.datas["TestKey2"] = {Key = "TestKey2", Desc = "XX说明", IntValue = 2, IntListValue = {}, StrValue = "lbt", StrListValue = {}, BoolValue = false}
	self.datas["dropGL"] = {Key = "dropGL", Desc = "道县id8 随机强化石打开获取权重,权重", IntValue = nil, IntListValue = {10,20,50,30}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["dropID"] = {Key = "dropID", Desc = "道县id8 随机强化石打开获取道具ID,道具ID", IntValue = nil, IntListValue = {11,22,15,13}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["WarTime"] = {Key = "WarTime", Desc = "每一关战斗时长（s）", IntValue = 120, IntListValue = {}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["SkillWeight"] = {Key = "SkillWeight", Desc = "技能选择权重 传说权重,史诗权重", IntValue = nil, IntListValue = {2,1}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["Rampage"] = {Key = "Rampage", Desc = "狂暴技能：魔币消耗倍数，奖励倍数", IntValue = nil, IntListValue = {2,2}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["TreasureChestRewards"] = {Key = "TreasureChestRewards", Desc = "魔导石宝箱  奖励百分比", IntValue = nil, IntListValue = {100,125,150}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["TreasureChestProbability"] = {Key = "TreasureChestProbability", Desc = "魔导石宝箱  奖励概率（万分比）", IntValue = nil, IntListValue = {5000,2500,2500}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["SuperTriggered"] = {Key = "SuperTriggered", Desc = "鱼阵时间触发 基础间隔,随机偏移", IntValue = nil, IntListValue = {60,20}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["Death"] = {Key = "Death", Desc = "主角受击次数死亡", IntValue = 5, IntListValue = {}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["MonsterRefresh"] = {Key = "MonsterRefresh", Desc = "刷怪圈(外圈直径,内圈直径)", IntValue = nil, IntListValue = {30,20}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["Experience1"] = {Key = "Experience1", Desc = "道具ID：5 提供的经验值", IntValue = 10, IntListValue = {}, StrValue = "", StrListValue = {}, BoolValue = nil}
	self.datas["Experience2"] = {Key = "Experience2", Desc = "道具ID：6 提供的经验值", IntValue = 20, IntListValue = {}, StrValue = "", StrListValue = {}, BoolValue = nil}
end

M_Global_Config:init()
