Пример #1
0
        private static void LoadDBCs()
        {
            RandomPropPointReader = new MappedDBCReader <ItemLevelInfo, ItemRandPropPointConverter>(
                RealmServerConfiguration.GetDBCFile(WCellConstants.DBC_RANDPROPPOINTS));

            EnchantMgr.Init();

            RandomPropertiesReader =
                new MappedDBCReader <ItemRandomPropertyEntry, ItemRandomPropertiesConverter>(RealmServerConfiguration.GetDBCFile(
                                                                                                 WCellConstants.DBC_ITEMRANDOMPROPERTIES));

            RandomSuffixReader =
                new MappedDBCReader <ItemRandomSuffixEntry, ItemRandomSuffixConverter>(RealmServerConfiguration.GetDBCFile(
                                                                                           WCellConstants.DBC_ITEMRANDOMSUFFIX));

            ScalingStatDistributionReader = new MappedDBCReader <ScalingStatDistributionEntry, ScalingStatDistributionConverter>(RealmServerConfiguration.GetDBCFile(
                                                                                                                                     WCellConstants.DBC_SCALINGSTATDISTRIBUTION));

            ScalingStatValuesReader = new MappedDBCReader <ScalingStatValues, ScalingStatValuesConverter>(RealmServerConfiguration.GetDBCFile(
                                                                                                              WCellConstants.DBC_SCALINGSTATVALUES));
        }