diff --git a/Source/Reflection.cs b/Source/Reflection.cs index f3ae56f..1d62030 100644 --- a/Source/Reflection.cs +++ b/Source/Reflection.cs @@ -53,13 +53,6 @@ public static float BioSelectionWeight(PawnBio b) { new object[] { b } ); } - public static void FillBackstorySlotShuffled(Verse.Pawn pawn, BackstorySlot slot, ref Backstory backstory, Backstory backstoryOtherSlot, List backstoryCategories, FactionDef factionType) { - ReflectionCache.Instance.PawnBioAndNameGenerator_FillBackstorySlotShuffled.Invoke(null, - new object[] { - pawn, slot, backstory, backstoryOtherSlot, backstoryCategories, factionType, null - } - ); - } public static List GetBackstoryCategoryFiltersFor(Verse.Pawn pawn, FactionDef faction) { return (List)ReflectionCache.Instance.PawnBioAndNameGenerator_GetBackstoryCategoryFiltersFor.Invoke(null, new object[] { pawn, faction } diff --git a/Source/ReflectionCache.cs b/Source/ReflectionCache.cs index c041350..5cfcb95 100644 --- a/Source/ReflectionCache.cs +++ b/Source/ReflectionCache.cs @@ -15,7 +15,6 @@ public class ReflectionCache { public MethodInfo CharacterCardUtility_WorkTagsFrom { get; set; } public MethodInfo GenFilePaths_FolderUnderSaveData { get; set; } public MethodInfo PawnBioAndNameGenerator_BioSelectionWeight { get; set; } - public MethodInfo PawnBioAndNameGenerator_FillBackstorySlotShuffled { get; set; } public MethodInfo PawnBioAndNameGenerator_GetBackstoryCategoryFiltersFor { get; set; } public MethodInfo PawnBioAndNameGenerator_IsBioUseable { get; set; } public MethodInfo PawnBioAndNameGenerator_TryGetRandomUnusedSolidBioFor { get; set; } @@ -44,9 +43,6 @@ public void Initialize() { GraphicDatabaseHeadRecords_BuildDatabaseIfNecessary = ReflectionUtil.RequiredMethod(typeof(GraphicDatabaseHeadRecords), "BuildDatabaseIfNecessary"); GenFilePaths_FolderUnderSaveData = ReflectionUtil.RequiredMethod(typeof(GenFilePaths), "FolderUnderSaveData", new Type[] { typeof(string) }); - PawnBioAndNameGenerator_FillBackstorySlotShuffled = ReflectionUtil.RequiredMethod(typeof(PawnBioAndNameGenerator), "FillBackstorySlotShuffled", - new Type[] { typeof(Pawn), typeof(BackstorySlot), typeof(Backstory).MakeByRefType(), typeof(Backstory), typeof(List), typeof(FactionDef), typeof(Nullable) }); - PawnBioAndNameGenerator_GetBackstoryCategoryFiltersFor = ReflectionUtil.RequiredMethod(typeof(PawnBioAndNameGenerator), "GetBackstoryCategoryFiltersFor", new Type[] { typeof(Pawn), typeof(FactionDef) });