public IFFFile() { Card = new CardCollection(); Items = new ItemCollection(); SetItem = new SetItemCollection(); Character = new CharacterCollection(); HairStyle = new HairStyleCollection(); Club = new ClubSetCollection(); Caddie = new CaddieCollection(); Skin = new SkinCollection(); CaddieItem = new CaddieItemCollection(); Mascot = new MascotCollection(); CutinInfo = new CutinInfoCollection(); GrandPrix = new GrandPrixDataCollection(); LevelPrize = new LevelUpPrizeItemCollection(); Ball = new BallCollection(); GPSpecial = new GrandPrixSpecialHoleCollection(); GPReward = new GrandPrixRankRewardCollection(); MemorialRare = new MemorialShopRareItemCollection(); MemorialCoin = new MemorialShopCoinItemCollection(); MgicBox = new CadieMagicCollection(); AuxPart = new AuxPartCollection(); Desc = new DescCollection(); Part = new PartCollection(); }
public IFFFile(string filename) { FileName = filename; Part = new PartCollection(); Card = new CardCollection(); Caddie = new CaddieCollection(); Item = new ItemCollection(); LevelUpPrizeItem = new LevelUpPrizeItemCollection(); Character = new CharacterCollection(); Ball = new BallCollection(); Ability = new AbilityCollection(); Skin = new SkinCollection(); CaddieItem = new CaddieItemCollection(); Club = new ClubCollection(); ClubSet = new ClubSetCollection(); Course = new CourseCollection(); CutinInformation = new CutinInformationCollection(); Desc = new DescCollection(); Furniture = new FurnitureCollection(); FurnitureAbility = new FurnitureAbilityCollection(); Mascot = new MascotCollection(); TikiSpecialTable = new TikiSpecialTableCollection(); TikiRecipe = new TikiRecipeCollection(); TikiPointTable = new TikiPointTableCollection(); CadieMagicBox = new CadieMagicBoxCollection(); CadieMagicBoxRandom = new CadieMagicBoxRandomCollection(); HairStyle = new HairStyleCollection(); Match = new MatchCollection(); SetItem = new SetItemCollection(); Enchant = new EnchantCollection(); Achievement = new AchievementCollection(); AuxPart = new AuxPartCollection(); }
public IffManager() { try { if (File.Exists("data/pangya_gb.iff")) { Card = new CardCollection(); Items = new ItemCollection(); SetITem = new SetItemCollection(); Character = new CharacterCollection(); HairStyle = new HairStyleCollection(); Club = new ClubSetCollection(); Caddie = new CaddieCollection(); Skin = new SkinCollection(); CaddieItem = new CaddieItemCollection(); Mascot = new MascotCollection(); CutinInfo = new CutinInfoCollection(); GrandPrix = new GrandPrixDataCollection(); LevelPrize = new LevelUpPrizeItemCollection(); Ball = new BallCollection(); GPSpecial = new GrandPrixSpecialHoleCollection(); GPReward = new GrandPrixRankRewardCollection(); MemorialRare = new MemorialShopRareItemCollection(); MemorialCoin = new MemorialShopCoinItemCollection(); MgicBox = new CadieMagicCollection(); AuxPart = new AuxPartCollection(); Part = new PartCollection(); WriteConsole.WriteLine("[SERVER_SYSTEM_IFF]: Sucess !", ConsoleColor.Green); } else { throw new Exception("[SERVER_SYSTEM_IFF]: data/pangya_gb.iff file in folder not found !"); } } catch (Exception ex) { WriteConsole.WriteLine(ex.Message, ConsoleColor.Red); Console.ReadKey(); Environment.Exit(0); } }