Fish_DropGoldCFG.lua 1.6 KB

12345678910111213141516171819202122232425
  1. Fish_DropGoldCFG = {}
  2. function Fish_DropGoldCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_DropGoldCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, ResType = 2, ResName = "SilverDrop", ResPath = "Effect/SilverDrop.plist", Width = 50, Height = 50, Scale = 1}
  11. self.datas[2] = {ID = 2, ResType = 2, ResName = "SilverDrop", ResPath = "Effect/SilverDrop.plist", Width = 50, Height = 50, Scale = 1}
  12. self.datas[3] = {ID = 3, ResType = 2, ResName = "SilverDrop", ResPath = "Effect/SilverDrop.plist", Width = 50, Height = 50, Scale = 1}
  13. self.datas[4] = {ID = 4, ResType = 2, ResName = "GoldDrop2", ResPath = "Effect/GoldDrop2.plist", Width = 50, Height = 50, Scale = 1}
  14. self.datas[5] = {ID = 5, ResType = 2, ResName = "GoldDrop2", ResPath = "Effect/GoldDrop2.plist", Width = 50, Height = 50, Scale = 1}
  15. self.datas[6] = {ID = 6, ResType = 2, ResName = "GoldDrop2", ResPath = "Effect/GoldDrop2.plist", Width = 50, Height = 50, Scale = 1}
  16. self.datas[7] = {ID = 7, ResType = 2, ResName = "BeadDrop", ResPath = "Effect/BeadDrop.plist", Width = 40, Height = 40, Scale = 1}
  17. self.datas[8] = {ID = 8, ResType = 3, ResName = "", ResPath = "Common3/M_ITEM10.png", Width = 80, Height = 80, Scale = 1}
  18. self.datas[9] = {ID = 9, ResType = 3, ResName = "", ResPath = "Common3/M_SP.png", Width = 50, Height = 50, Scale = 1}
  19. self.datas[10] = {ID = 10, ResType = 3, ResName = "", ResPath = "Common3/M_LG_Icon.png", Width = 80, Height = 80, Scale = 1.5}
  20. self.datas[11] = {ID = 11, ResType = 3, ResName = "", ResPath = "Common3/M_MoonCake.png", Width = 80, Height = 80, Scale = 1.5}
  21. end
  22. Fish_DropGoldCFG:init()