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

◆ UpdateNPC_TeleportVisuals()

void Terraria.NPC.UpdateNPC_TeleportVisuals ( )
inlineprivate

Definition at line 8889 of file NPC.cs.

8890 {
8891 float num = this.teleportTime;
8892 int num6;
8893 int num7;
8894 if (this.teleportStyle != 0)
8895 {
8896 this.teleportTime = num;
8897 float num2 = this.teleportTime;
8898 int num3 = 17096;
8899 if (num3 == 0)
8900 {
8901 }
8902 float x = this.position.X;
8903 float y = this.position.Y;
8904 int width = this.width;
8905 bool wet = this.wet;
8906 if (num3 == 0)
8907 {
8908 }
8909 int num4 = this.lastPortalColorIndex;
8910 int num5;
8911 if (num5 == 0)
8912 {
8913 }
8915 num6 = 39322;
8916 num7 = 1;
8917 return;
8918 }
8919 if (num7 == 0)
8920 {
8921 }
8922 float num8 = this.teleportTime;
8923 int num9 = 17096;
8924 Rectangle rect = this.getRect();
8925 Rectangle rect2 = this.getRect();
8926 Rectangle rect3 = this.getRect();
8927 Rectangle rect4 = this.getRect();
8928 if (num9 == 0)
8929 {
8930 }
8931 if (num6 == 0)
8932 {
8933 }
8934 float num10 = this.teleportTime;
8935 if (!true)
8936 {
8937 }
8938 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
static Color GetPortalColor(int colorIndex)
Rectangle getRect()
Definition NPC.cs:7239
int lastPortalColorIndex
Definition NPC.cs:11570
int teleportStyle
Definition NPC.cs:11078
float teleportTime
Definition NPC.cs:11081

References Terraria.GameContent.PortalHelper.GetPortalColor(), Terraria.NPC.getRect(), j__TPar, Terraria.NPC.lastPortalColorIndex, Terraria.Entity.position, Terraria.NPC.teleportStyle, Terraria.NPC.teleportTime, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.NPC.UpdateNPC().