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)); } }
public static void ExtractSpellFailures() { var spellFailedReasonFile = Path.Combine(ToolConfig.WCellConstantsRoot, "Spells/SpellFailedReason.cs"); SpellFailureExtractor.Extract(WoWFile, spellFailedReasonFile); }