/// <summary> /// Gets all codes. /// </summary> public static string GetAllCodes() { StringBuilder sb = new StringBuilder(); Context context = FFTPatch.Context; IGenerateCodes[] generators = new IGenerateCodes[] { FFTPatch.Abilities, FFTPatch.Jobs, FFTPatch.SkillSets, FFTPatch.MonsterSkills, FFTPatch.ActionMenus, FFTPatch.StatusAttributes, FFTPatch.PoachProbabilities, FFTPatch.JobLevels, FFTPatch.Items, FFTPatch.ItemAttributes, FFTPatch.InflictStatuses, FFTPatch.MoveFind, FFTPatch.AbilityAnimations, FFTPatch.StoreInventories, FFTPatch.Propositions }; foreach (var gen in generators) { if (gen != null) { AddGroups(sb, 24, gen.GetCodeHeader(context), gen.GenerateCodes(context)); } } return(sb.ToString()); }
/// <summary> /// Gets all codes. /// </summary> public static string GetAllCodes() { StringBuilder sb = new StringBuilder(); Context context = FFTPatch.Context; IGenerateCodes[] generators = new IGenerateCodes[] { FFTPatch.Abilities, FFTPatch.Jobs, FFTPatch.SkillSets, FFTPatch.MonsterSkills, FFTPatch.ActionMenus, FFTPatch.StatusAttributes, FFTPatch.PoachProbabilities, FFTPatch.JobLevels, FFTPatch.Items, FFTPatch.ItemAttributes, FFTPatch.InflictStatuses, FFTPatch.MoveFind, FFTPatch.AbilityAnimations, FFTPatch.StoreInventories, FFTPatch.Propositions }; foreach ( var gen in generators ) { if ( gen != null ) { AddGroups( sb, 24, gen.GetCodeHeader( context ), gen.GenerateCodes( context ) ); } } return sb.ToString(); }