예제 #1
0
 public static void Load()
 {
     if (s_index == null)
     {
         s_index = new GameDbfIndex();
     }
     else
     {
         s_index.Initialize();
     }
     Achieve           = Dbf.Load("ACHIEVE", (Dbf.RecordAddedListener)null);
     Adventure         = Dbf.Load("ADVENTURE", (Dbf.RecordAddedListener)null);
     AdventureData     = Dbf.Load("ADVENTURE_DATA", (Dbf.RecordAddedListener)null);
     AdventureMission  = Dbf.Load("ADVENTURE_MISSION", (Dbf.RecordAddedListener)null);
     AdventureMode     = Dbf.Load("ADVENTURE_MODE", (Dbf.RecordAddedListener)null);
     Banner            = Dbf.Load("BANNER", (Dbf.RecordAddedListener)null);
     Booster           = Dbf.Load("BOOSTER", (Dbf.RecordAddedListener)null);
     Board             = Dbf.Load("BOARD", (Dbf.RecordAddedListener)null);
     Card              = Dbf.Load("CARD", new Dbf.RecordAddedListener(s_index.OnCardAdded));
     CardBack          = Dbf.Load("CARD_BACK", (Dbf.RecordAddedListener)null);
     FixedReward       = Dbf.Load("FIXED_REWARD", (Dbf.RecordAddedListener)null);
     FixedRewardAction = Dbf.Load("FIXED_REWARD_ACTION", new Dbf.RecordAddedListener(s_index.OnFixedRewardActionAdded));
     FixedRewardMap    = Dbf.Load("FIXED_REWARD_MAP", new Dbf.RecordAddedListener(s_index.OnFixedRewardMapAdded));
     Hero              = Dbf.Load("HERO", (Dbf.RecordAddedListener)null);
     Scenario          = Dbf.Load("SCENARIO", (Dbf.RecordAddedListener)null);
     Season            = Dbf.Load("SEASON", (Dbf.RecordAddedListener)null);
     Wing              = Dbf.Load("WING", (Dbf.RecordAddedListener)null);
 }
예제 #2
0
 public static GameDbfIndex GetIndex()
 {
     if (s_index == null)
     {
         s_index = new GameDbfIndex();
     }
     return(s_index);
 }