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

◆ DrawPet()

void GUIPlayerSelectMenu.DrawPet ( Player player,
Projectile proj,
Vector2 playerPosition,
bool animated )
inline

Definition at line 192 of file GUIPlayerSelectMenu.cs.

193 {
194 if (!true)
195 {
196 }
197 if (proj.height == 0)
198 {
199 }
200 Vector2 screenPosition = Main.screenPosition;
201 int num = 1;
202 proj.direction = num;
203 int myPlayer = Main.myPlayer;
204 proj.owner = myPlayer;
205 int myPlayer2 = Main.myPlayer;
206 int myPlayer3 = Main.myPlayer;
207 if (player == null || player != null)
208 {
209 Vector2 oldPosition = player.oldPosition;
210 int myPlayer4 = Main.myPlayer;
211 if (playerPosition == null || playerPosition != null)
212 {
213 return;
214 }
215 }
216 throw new ArrayTypeMismatchException();
217 }
class f__AnonymousType0<< Count > j__TPar
Vector2 oldPosition
Definition Entity.cs:466
static int myPlayer
Definition Main.cs:2337
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973

References j__TPar, Terraria.Main.myPlayer, Terraria.Entity.oldPosition, and Terraria.Main.screenPosition.