Example #1
0
 private static void ExtractFromExe(string exeName)
 {
     using (WoWFile file = new WoWFile(exeName))
     {
         UpdateFieldExtractor.DumpEnums(file, String.Format("UpdateFields_{0}.cs", file.Version));
         SpellFailureExtractor.Extract(file, String.Format("SpellFailedReason_{0}.cs", file.Version));
     }
 }
Example #2
0
        public static void ExtractSpellFailures()
        {
            var spellFailedReasonFile = Path.Combine(ToolConfig.WCellConstantsRoot, "Spells/SpellFailedReason.cs");

            SpellFailureExtractor.Extract(WoWFile, spellFailedReasonFile);
        }