Example #1
0
        public static void InitVersion(FileDataVersion version)
        {
            switch (version)
            {
            case FileDataVersion.Warlords:
                Instance = new WoD.LightManager();
                break;

            case FileDataVersion.Lichking:
                Instance = new Wotlk.LightManager();
                break;

            default:
                throw new NotSupportedException("Sorry, version not supported yet");
            }
        }
Example #2
0
        public static void InitVersion(FileDataVersion version)
        {
            switch(version)
            {
                case FileDataVersion.Warlords:
                    Instance = new WoD.LightManager();
                    break;

                case FileDataVersion.Lichking:
                    Instance = new Wotlk.LightManager();
                    break;

                default:
                    throw new NotSupportedException("Sorry, version not supported yet");
            }
        }