Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 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);
     }
 }