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

◆ DrawNPCs()

void Terraria.Main.DrawNPCs ( bool behindTiles = false)
inlineprotected

Definition at line 9211 of file Main.cs.

9212 {
9213 int num = 1;
9214 if (num == 0)
9215 {
9216 }
9219 int screenWidth = Main.screenWidth;
9220 int screenHeight = Main.screenHeight;
9221 int num2 = 32640;
9222 int num3 = 790;
9225 int screenWidth2 = Main.screenWidth;
9226 int screenHeight2 = Main.screenHeight;
9227 if (num == 0)
9228 {
9229 }
9230 if (num3 == 0)
9231 {
9232 }
9233 if (num3 == 0)
9234 {
9235 }
9236 if (num2 == 0)
9237 {
9238 }
9239 bool isMechQueenUp = NPC.IsMechQueenUp;
9240 if (num3 != 0)
9241 {
9242 if (num3 == 0)
9243 {
9244 }
9245 if (num3 == 0)
9246 {
9247 }
9248 if (num2 == 0)
9249 {
9250 }
9251 long num4 = 0L;
9252 int num5 = 32768;
9253 Microsoft.Xna.Framework.Graphics.Color color = Lighting.GetColor(1073741824, (int)num4);
9254 if (num5 == 0)
9255 {
9256 }
9259 }
9260 }
class f__AnonymousType0<< Count > j__TPar
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static int screenHeight
Definition Main.cs:2015
static int screenWidth
Definition Main.cs:2001

References Terraria.Lighting.GetColor(), Terraria.NPC.IsMechQueenUp, j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.screenHeight, Terraria.Main.screenPosition, and Terraria.Main.screenWidth.

Referenced by Terraria.Main.DoDraw_DrawNPCsBehindTiles(), and Terraria.Main.DoDraw_DrawNPCsOverTiles().