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

◆ CheckPulley()

bool Terraria.Player.CheckPulley ( )
inline

Definition at line 8052 of file Player.cs.

8053 {
8054 int width = this.width;
8055 float x = this.position.X;
8056 float y = this.position.Y;
8057 if (32640 == 0)
8058 {
8059 }
8060 Tile tile;
8061 bool flag = tile.active();
8062 Tile tile2;
8063 ushort type = tile2.type;
8064 Tile tile3;
8065 bool flag2 = tile3.active();
8066 Tile tile4;
8067 ushort type2 = tile4.type;
8068 Tile tile5;
8069 bool flag3 = tile5.active();
8070 Tile tile6;
8071 ushort type3 = tile6.type;
8072 int width2 = this.width;
8073 float x2 = this.position.X;
8074 int num = 8;
8075 if (width == 0)
8076 {
8077 float x3 = this.position.X;
8078 }
8079 if (width2 == 0)
8080 {
8081 float x4 = this.position.X;
8082 }
8083 long num2 = 0L;
8084 if (num2 == 0L)
8085 {
8086 }
8087 if (num2 == 0L)
8088 {
8089 }
8090 int num3 = 2;
8091 this.pulleyDir = (byte)num3;
8092 this.direction = num;
8093 int num4 = 2;
8094 int num5 = 1;
8095 this.pulleyDir = (byte)num4;
8097 int num6 = 1;
8098 this.pulleyDir = (byte)num6;
8099 float y2 = this.position.Y;
8100 int width3 = this.width;
8101 bool wet = this.wet;
8102 if (num6 == 0)
8103 {
8104 }
8105 int num7 = 1;
8106 float y3 = this.position.Y;
8107 int num8 = 2;
8108 this.pulleyDir = (byte)num8;
8110 int width4 = this.width;
8111 bool wet2 = this.wet;
8112 if (num7 == 0)
8113 {
8114 }
8115 float y4 = this.position.Y;
8116 int num9 = 2;
8117 this.pulleyDir = (byte)num9;
8119 int width5 = this.width;
8120 bool wet3 = this.wet;
8121 if (num9 == 0)
8122 {
8123 }
8124 bool flag4;
8125 return flag4;
8126 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References Terraria.Tile.active(), j__TPar, System.L, Terraria.Entity.position, Terraria.Tile.type, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.