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

◆ ItemCheck_PlayInstruments()

void Terraria.Player.ItemCheck_PlayInstruments ( Item sItem)
inlineprivate

Definition at line 16176 of file Player.cs.

16177 {
16178 int num = 1;
16179 int width = this.width;
16180 int height = this.height;
16181 float x = this.position.X;
16182 float y = this.position.Y;
16183 if (num == 0)
16184 {
16185 }
16186 int mouseX = Main.mouseX;
16187 Microsoft.Xna.Framework.Vector2 screenPosition = Main.screenPosition;
16188 int mouseY = Main.mouseY;
16190 if (num == 0)
16191 {
16192 }
16193 int screenHeight = Main.screenHeight;
16194 int num2 = this.itemAnimation;
16195 this.musicDist = (float)width;
16196 if (this.itemTime == 0)
16197 {
16198 int type = sItem.type;
16199 int width2 = this.width;
16200 int height2 = this.height;
16201 float x2 = this.position.X;
16202 float y2 = this.position.Y;
16203 int useTime = sItem.useTime;
16204 this.itemTime = useTime;
16205 this.itemTimeMax = useTime;
16206 if (useTime == 0)
16207 {
16208 }
16209 int mouseX2 = Main.mouseX;
16211 int mouseY2 = Main.mouseY;
16213 if (useTime == 0)
16214 {
16215 }
16216 int screenHeight2 = Main.screenHeight;
16217 int musicNotes = Player.musicNotes;
16218 return;
16219 }
16220 bool flag = this.mouseInterface;
16221 if (!flag)
16222 {
16223 if (!flag)
16224 {
16225 }
16226 bool mouseLeft = Main.mouseLeft;
16227 if (!flag)
16228 {
16229 }
16230 bool mouseLeftRelease = Main.mouseLeftRelease;
16231 int type2 = sItem.type;
16232 int num3 = 4372;
16233 int width3 = this.width;
16234 int height3 = this.height;
16235 float x3 = this.position.X;
16236 float y3 = this.position.Y;
16237 if (type2 == 0)
16238 {
16239 }
16240 int mouseX3 = Main.mouseX;
16242 int mouseY3 = Main.mouseY;
16244 if (type2 == 0)
16245 {
16246 }
16247 int screenHeight3 = Main.screenHeight;
16248 int musicNotes2 = Player.musicNotes;
16249 if (num3 == 0)
16250 {
16251 }
16252 return;
16253 }
16254 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
bool mouseInterface
Definition Player.cs:21080
static int musicNotes
Definition Player.cs:150

References Terraria.Entity.height, Terraria.Player.itemAnimation, Terraria.Player.itemTime, j__TPar, Terraria.Player.mouseInterface, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, Terraria.Main.mouseX, Terraria.Main.mouseY, Terraria.Player.musicNotes, Terraria.Entity.position, Terraria.Main.screenHeight, Terraria.Main.screenPosition, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.