Fish_LoadResourceCFG = {} function Fish_LoadResourceCFG:getData(key) if self.datas == nil then return nil end return self.datas[key] end function Fish_LoadResourceCFG:init() self.datas = {} self.datas[1] = {ID = 1, ResType = 1, ResPath = "fish/huolongzhua.ExportJson"} self.datas[2] = {ID = 2, ResType = 1, ResPath = "Turret/wanga.ExportJson"} self.datas[3] = {ID = 3, ResType = 2, ResPath = "fish/fish01.plist"} self.datas[4] = {ID = 4, ResType = 2, ResPath = "fish/fish02.plist"} self.datas[5] = {ID = 5, ResType = 2, ResPath = "fish/fish03.plist"} self.datas[6] = {ID = 6, ResType = 2, ResPath = "fish/fish04.plist"} self.datas[7] = {ID = 7, ResType = 2, ResPath = "fish/fish05.plist"} self.datas[8] = {ID = 8, ResType = 2, ResPath = "fish/fish06.plist"} self.datas[9] = {ID = 9, ResType = 2, ResPath = "fish/fish07.plist"} self.datas[10] = {ID = 10, ResType = 2, ResPath = "fish/fish08.plist"} self.datas[11] = {ID = 11, ResType = 2, ResPath = "fish/fish09.plist"} self.datas[12] = {ID = 12, ResType = 2, ResPath = "fish/fish10.plist"} self.datas[13] = {ID = 13, ResType = 2, ResPath = "fish/fish11.plist"} self.datas[14] = {ID = 14, ResType = 2, ResPath = "fish/fish12.plist"} self.datas[15] = {ID = 15, ResType = 2, ResPath = "fish/fish13.plist"} self.datas[16] = {ID = 16, ResType = 2, ResPath = "fish/fish14.plist"} self.datas[17] = {ID = 17, ResType = 2, ResPath = "fish/fish15.plist"} self.datas[18] = {ID = 18, ResType = 2, ResPath = "fish/fish16.plist"} self.datas[19] = {ID = 19, ResType = 2, ResPath = "fish/fish17.plist"} self.datas[20] = {ID = 20, ResType = 2, ResPath = "fish/fish18.plist"} self.datas[21] = {ID = 21, ResType = 2, ResPath = "fish/fish19.plist"} self.datas[22] = {ID = 22, ResType = 2, ResPath = "Effect/GoldDrop.plist"} self.datas[23] = {ID = 23, ResType = 2, ResPath = "Effect/SilverDrop.plist"} self.datas[24] = {ID = 24, ResType = 1, ResPath = "fish/JINhama.ExportJson"} end Fish_LoadResourceCFG:init()