Skip to content

Instantly share code, notes, and snippets.

@notfood
Created July 5, 2019 17:41
Show Gist options
  • Save notfood/355266780581314bc675e72285c9a184 to your computer and use it in GitHub Desktop.
Save notfood/355266780581314bc675e72285c9a184 to your computer and use it in GitHub Desktop.
.method private hidebysig
instance void '<delegateMovement>b__9_0' () cil managed
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = (
01 00 00 00
)
// Method begins at RVA 0x27e0
// Code size 192 (0xc0)
.maxstack 4
.locals init (
[0] bool,
[1] bool,
[2] bool,
[3] valuetype ['Assembly-CSharp']Verse.LocalTargetInfo
)
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldfld bool BattleMounts.Jobs.JobDriver_Mounted_BattleMount::isFinished
IL_0007: stloc.1
IL_0008: ldloc.1
IL_0009: brfalse.s IL_0011
IL_000b: nop
IL_000c: br IL_00bf
IL_0011: ldarg.0
IL_0012: call class BattleMounts.Base BattleMounts.Base::get_Instance()
IL_0017: callvirt instance class [GiddyUpCore]GiddyUpCore.Storage.ExtendedDataStorage BattleMounts.Base::GetExtendedDataStorage()
IL_001c: ldarg.0
IL_001d: call instance class ['Assembly-CSharp']Verse.Pawn BattleMounts.Jobs.JobDriver_Mounted_BattleMount::get_Rider()
IL_0022: callvirt instance class [GiddyUpCore]GiddyUpCore.Storage.ExtendedPawnData [GiddyUpCore]GiddyUpCore.Storage.ExtendedDataStorage::GetExtendedDataFor(class ['Assembly-CSharp']Verse.Pawn)
IL_0027: stfld class [GiddyUpCore]GiddyUpCore.Storage.ExtendedPawnData BattleMounts.Jobs.JobDriver_Mounted_BattleMount::riderData
IL_002c: ldarg.0
IL_002d: ldarg.0
IL_002e: ldfld class [GiddyUpCore]GiddyUpCore.Storage.ExtendedPawnData BattleMounts.Jobs.JobDriver_Mounted_BattleMount::riderData
IL_0033: call instance bool BattleMounts.Jobs.JobDriver_Mounted_BattleMount::cancelJobIfNeeded(class [GiddyUpCore]GiddyUpCore.Storage.ExtendedPawnData)
IL_0038: stloc.0
IL_0039: ldloc.0
IL_003a: stloc.2
IL_003b: ldloc.2
IL_003c: brfalse.s IL_0041
IL_003e: nop
IL_003f: br.s IL_00bf
IL_0041: ldarg.0
IL_0042: ldfld class ['Assembly-CSharp']Verse.Pawn ['Assembly-CSharp']Verse.AI.JobDriver::pawn
IL_0047: callvirt instance class ['Assembly-CSharp']Verse.Pawn_DrawTracker ['Assembly-CSharp']Verse.Pawn::get_Drawer()
IL_004c: ldarg.0
IL_004d: call instance class ['Assembly-CSharp']Verse.Pawn BattleMounts.Jobs.JobDriver_Mounted_BattleMount::get_Rider()
IL_0052: callvirt instance class ['Assembly-CSharp']Verse.Pawn_DrawTracker ['Assembly-CSharp']Verse.Pawn::get_Drawer()
IL_0057: ldfld class ['Assembly-CSharp']Verse.PawnTweener ['Assembly-CSharp']Verse.Pawn_DrawTracker::tweener
IL_005c: stfld class ['Assembly-CSharp']Verse.PawnTweener ['Assembly-CSharp']Verse.Pawn_DrawTracker::tweener
IL_0061: ldarg.0
IL_0062: ldfld class ['Assembly-CSharp']Verse.Pawn ['Assembly-CSharp']Verse.AI.JobDriver::pawn
IL_0067: ldarg.0
IL_0068: call instance class ['Assembly-CSharp']Verse.Pawn BattleMounts.Jobs.JobDriver_Mounted_BattleMount::get_Rider()
IL_006d: callvirt instance valuetype ['Assembly-CSharp']Verse.IntVec3 ['Assembly-CSharp']Verse.Thing::get_Position()
IL_0072: callvirt instance void ['Assembly-CSharp']Verse.Thing::set_Position(valuetype ['Assembly-CSharp']Verse.IntVec3)
IL_0077: nop
IL_0078: ldarg.0
IL_0079: ldfld class ['Assembly-CSharp']Verse.Pawn ['Assembly-CSharp']Verse.AI.JobDriver::pawn
IL_007e: ldarg.0
IL_007f: call instance class ['Assembly-CSharp']Verse.Pawn BattleMounts.Jobs.JobDriver_Mounted_BattleMount::get_Rider()
IL_0084: callvirt instance valuetype ['Assembly-CSharp']Verse.Rot4 ['Assembly-CSharp']Verse.Thing::get_Rotation()
IL_0089: callvirt instance void ['Assembly-CSharp']Verse.Thing::set_Rotation(valuetype ['Assembly-CSharp']Verse.Rot4)
IL_008e: nop
IL_008f: ldarg.0
IL_0090: ldfld class ['Assembly-CSharp']Verse.Pawn ['Assembly-CSharp']Verse.AI.JobDriver::pawn
IL_0095: ldfld class ['Assembly-CSharp']RimWorld.Pawn_MeleeVerbs ['Assembly-CSharp']Verse.Pawn::meleeVerbs
IL_009a: ldarg.0
IL_009b: call instance class ['Assembly-CSharp']Verse.Pawn BattleMounts.Jobs.JobDriver_Mounted_BattleMount::get_Rider()
IL_00a0: callvirt instance valuetype ['Assembly-CSharp']Verse.LocalTargetInfo ['Assembly-CSharp']Verse.Pawn::get_TargetCurrentlyAimingAt()
IL_00a5: stloc.3
IL_00a6: ldloca.s 3
IL_00a8: call instance class ['Assembly-CSharp']Verse.Thing ['Assembly-CSharp']Verse.LocalTargetInfo::get_Thing()
IL_00ad: ldarg.0
IL_00ae: ldfld class ['Assembly-CSharp']Verse.AI.Job ['Assembly-CSharp']Verse.AI.JobDriver::job
IL_00b3: ldfld class ['Assembly-CSharp']Verse.Verb ['Assembly-CSharp']Verse.AI.Job::verbToUse
IL_00b8: ldc.i4.0
IL_00b9: callvirt instance bool ['Assembly-CSharp']RimWorld.Pawn_MeleeVerbs::TryMeleeAttack(class ['Assembly-CSharp']Verse.Thing, class ['Assembly-CSharp']Verse.Verb, bool)
IL_00be: pop
IL_00bf: ret
} // end of method JobDriver_Mounted_BattleMount::'<delegateMovement>b__9_0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment