Professional Documents
Culture Documents
Harmony Log
Harmony Log
GraphicMeshSet
Verse.HumanlikeMeshPoolUtility::GetHumanlikeBodySetForPawn(Verse.Pawn pawn)
### Replacement: static Verse.GraphicMeshSet
Verse.HumanlikeMeshPoolUtility::Verse.HumanlikeMeshPoolUtility.GetHumanlikeBodySetF
orPawn_Patch0(Verse.Pawn pawn)
IL_0000: // start original
IL_0000: call static System.Boolean Verse.ModsConfig::get_BiotechActive()
IL_0005: brfalse => Label0
IL_000A: ldarg.0
IL_000B: ldfld Verse.Pawn_AgeTracker Verse.Pawn::ageTracker
IL_0010: callvirt RimWorld.LifeStageDef Verse.Pawn_AgeTracker::get_CurLifeStage()
IL_0015: ldflda System.Nullable`1<System.Single>
RimWorld.LifeStageDef::bodyWidth
IL_001A: call System.Boolean System.Nullable`1<System.Single>::get_HasValue()
IL_001F: brfalse => Label1
IL_0024: ldarg.0
IL_0025: ldfld Verse.Pawn_AgeTracker Verse.Pawn::ageTracker
IL_002A: callvirt RimWorld.LifeStageDef Verse.Pawn_AgeTracker::get_CurLifeStage()
IL_002F: ldflda System.Nullable`1<System.Single>
RimWorld.LifeStageDef::bodyWidth
IL_0034: call System.Single System.Nullable`1<System.Single>::get_Value()
IL_0039: box System.Single
IL_003E: ldarg.0
IL_003F: call static Verse.GraphicMeshSet
AlienRace.HarmonyPatches::GetHumanlikeBodySetForPawnHelper(System.Object
lifestageFactor, Verse.Pawn pawn)
IL_0044: br => Label2
IL_0049: Label0
IL_0049: Label1
IL_0049: ldc.r4 1.5
IL_004E: box System.Single
IL_0053: ldarg.0
IL_0054: call static Verse.GraphicMeshSet
AlienRace.HarmonyPatches::GetHumanlikeBodySetForPawnHelper(System.Object
lifestageFactor, Verse.Pawn pawn)
IL_0059: // end original
IL_0059: Label2
IL_0059: ret
DONE