terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
NPCAimedTarget.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000637 RID: 1591
9 public struct NPCAimedTarget
10 {
11 // Token: 0x1700069B RID: 1691
12 // (get) Token: 0x06003632 RID: 13874 RVA: 0x000021DB File Offset: 0x000003DB
13 public bool Invalid
14 {
15 get
16 {
17 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18 }
19 }
20
21 // Token: 0x1700069C RID: 1692
22 // (get) Token: 0x06003633 RID: 13875 RVA: 0x00212548 File Offset: 0x00210748
24 {
25 get
26 {
27 int width = this.Width;
28 int height = this.Height;
29 float x = this.Position.X;
30 float y = this.Position.Y;
31 if (!true)
32 {
33 }
34 return 1;
35 }
36 }
37
38 // Token: 0x1700069D RID: 1693
39 // (get) Token: 0x06003634 RID: 13876 RVA: 0x00212588 File Offset: 0x00210788
41 {
42 get
43 {
44 int width = this.Width;
45 int height = this.Height;
46 Vector2 vector;
47 return vector;
48 }
49 }
50
51 // Token: 0x06003635 RID: 13877 RVA: 0x002125A4 File Offset: 0x002107A4
52 public NPCAimedTarget(NPC npc)
53 {
56 int width = npc.width;
57 Vector2 position = npc.position;
58 Vector2 velocity = npc.velocity;
59 }
60
61 // Token: 0x06003636 RID: 13878 RVA: 0x002125D4 File Offset: 0x002107D4
62 public NPCAimedTarget(Player player, bool ignoreTank = true)
63 {
64 int num = 1;
66 Rectangle hitbox = player.Hitbox;
67 int width = player.width;
68 Vector2 position = player.position;
69 Vector2 velocity = player.velocity;
70 int tankPet = player.tankPet;
71 int tankPet2 = player.tankPet;
72 int num2 = 3;
74 Rectangle hitbox2 = player.Hitbox;
75 int width2 = player.width;
76 Vector2 position2 = player.position;
77 Vector2 velocity2 = player.velocity;
78 }
79
80 // Token: 0x040076F2 RID: 30450
82
83 // Token: 0x040076F3 RID: 30451
85
86 // Token: 0x040076F4 RID: 30452
87 public int Width;
88
89 // Token: 0x040076F5 RID: 30453
90 public int Height;
91
92 // Token: 0x040076F6 RID: 30454
94
95 // Token: 0x040076F7 RID: 30455
97 }
98}
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Rectangle Hitbox
Definition Entity.cs:414
Vector2 position
Definition Entity.cs:460
NPCAimedTarget(Player player, bool ignoreTank=true)