Created
September 28, 2014 19:34
-
-
Save Mailaender/f7b1f048b3e9c9d3a946 to your computer and use it in GitHub Desktop.
OpenRA.Mods.RA.dll decompiled with ikdasm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.class public auto ansi beforefieldinit OpenRA.Mods.RA.SpreadDamageWarhead | |
extends [OpenRA.Game]OpenRA.GameRules.DamageWarhead | |
{ | |
.field public initonly valuetype [OpenRA.Game]OpenRA.WRange Spread | |
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 1C 52 61 6E 67 65 20 62 65 74 // .......Range bet | |
77 65 65 6E 20 66 61 6C 6C 6F 66 66 20 73 74 65 // ween falloff ste | |
70 73 2E 00 00 ) // ps... | |
.field public valuetype [OpenRA.Game]OpenRA.WRange[] Range | |
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 3F 52 61 6E 67 65 73 20 61 74 // ......?Ranges at | |
20 77 68 69 63 68 20 65 61 63 68 20 46 61 6C 6C // which each Fall | |
6F 66 66 20 73 74 65 70 20 69 73 20 64 65 66 69 // off step is defi | |
6E 65 64 2E 20 4F 76 65 72 72 69 64 65 73 20 53 // ned. Overrides S | |
70 72 65 61 64 2E 00 00 ) // pread... | |
.field public initonly int32[] Falloff | |
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 24 44 61 6D 61 67 65 20 70 65 // ......$Damage pe | |
72 63 65 6E 74 61 67 65 20 61 74 20 65 61 63 68 // rcentage at each | |
20 72 61 6E 67 65 20 73 74 65 70 00 00 ) // range step.. | |
.method public hidebysig specialname rtspecialname | |
instance void .ctor() cil managed | |
{ | |
// Code size 50 (0x32) | |
.maxstack 8 | |
IL_0000: ldarg.0 | |
IL_0001: ldc.i4.s 43 | |
IL_0003: newobj instance void [OpenRA.Game]OpenRA.WRange::.ctor(int32) | |
IL_0008: stfld valuetype [OpenRA.Game]OpenRA.WRange OpenRA.Mods.RA.SpreadDamageWarhead::Spread | |
IL_000d: ldarg.0 | |
IL_000e: ldnull | |
IL_000f: stfld valuetype [OpenRA.Game]OpenRA.WRange[] OpenRA.Mods.RA.SpreadDamageWarhead::Range | |
IL_0014: ldarg.0 | |
IL_0015: ldc.i4.7 | |
IL_0016: newarr [mscorlib]System.Int32 | |
IL_001b: dup | |
IL_001c: ldtoken field valuetype '<PrivateImplementationDetails>{e53291d4-c487-408a-8f79-72ca42788835}'/'$ArrayType=28' '<PrivateImplementationDetails>{e53291d4-c487-408a-8f79-72ca42788835}'::'$field-2' | |
IL_0021: call void [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, | |
valuetype [mscorlib]System.RuntimeFieldHandle) | |
IL_0026: stfld int32[] OpenRA.Mods.RA.SpreadDamageWarhead::Falloff | |
IL_002b: ldarg.0 | |
IL_002c: call instance void [OpenRA.Game]OpenRA.GameRules.DamageWarhead::.ctor() | |
IL_0031: ret | |
} // end of method SpreadDamageWarhead::.ctor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment