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

◆ SmartInteractLookup_PrepareCommonlyUsedInfo()

void Terraria.Player.SmartInteractLookup_PrepareCommonlyUsedInfo ( [Out] Microsoft::Xna::Framework::Vector2 mousevec,
[Out] int LX,
[Out] int HX,
[Out] int LY,
[Out] int HY )
inlineprivate

Definition at line 5151 of file Player.cs.

5152 {
5153 int num = 1;
5154 if (num == 0)
5155 {
5156 }
5158 Microsoft.Xna.Framework.Vector2 screenPosition = Main.screenPosition;
5159 if (num == 0)
5160 {
5161 }
5162 float x = this.position.X;
5163 if (num == 0)
5164 {
5165 }
5166 int tileRangeX = Player.tileRangeX;
5167 int num2 = 15744;
5168 int num3 = 32640;
5169 LX.m_value = num2;
5170 float x2 = this.position.X;
5171 int width = this.width;
5172 int tileRangeX2 = Player.tileRangeX;
5173 HX.m_value = num2;
5174 float y = this.position.Y;
5175 int tileRangeY = Player.tileRangeY;
5176 LY.m_value = num2;
5177 float y2 = this.position.Y;
5178 int height = this.height;
5179 int tileRangeY2 = Player.tileRangeY;
5180 HY.m_value = num2;
5181 if (num3 == 0)
5182 {
5183 }
5184 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
static int tileRangeX
Definition Player.cs:38
static int tileRangeY
Definition Player.cs:52

References Terraria.Entity.height, j__TPar, Terraria.Main.MouseScreen, Terraria.Entity.position, Terraria.Main.screenPosition, Terraria.Player.tileRangeX, Terraria.Player.tileRangeY, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.