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

◆ UpdateCursorMovement()

void GUIVirtualInputController.UpdateCursorMovement ( )
inlineprivate

Definition at line 438 of file GUIVirtualInputController.cs.

439 {
440 int num = 1;
441 if (num == 0)
442 {
443 }
444 int myPlayer = Main.myPlayer;
445 if (num == 0 && num == 0)
446 {
447 return;
448 }
450 if (cursor != null)
451 {
453 if (!cursor2.Down)
454 {
455 }
456 int worldMouseX = Main.worldMouseX;
457 this.lastWorldCursorPointX = worldMouseX;
458 int worldMouseY = Main.worldMouseY;
459 this.lastWorldCursorPointY = worldMouseY;
460 return;
461 }
462 if (this.wasWorldCursorActive)
463 {
464 return;
465 }
466 long num2 = 0L;
467 this.wasWorldCursorActive = num2 != 0L;
468 int num3;
469 if (num3 == 0)
470 {
471 }
473 float x = this.movementAxis.X;
474 float y = this.movementAxis.Y;
475 int num4 = 1;
476 if (num4 == 0)
477 {
478 }
479 int value = num4.m_value;
481 if (!leftStickAiming)
482 {
483 float x2 = this.fireAxis.X;
484 float y2 = this.fireAxis.Y;
485 if (!leftStickAiming)
486 {
487 }
488 int num5 = 1;
489 if (num5 == 0)
490 {
491 }
492 int value2 = num5.m_value;
493 if (num5 == 0)
494 {
495 }
496 float num6;
498 return;
499 }
500 bool flag;
501 if (!flag)
502 {
503 }
504 float num7;
506 if (!flag)
507 {
508 }
509 Vector2 screenPosition = Main.screenPosition;
511 float screenYOffset = Main.screenYOffset;
512 bool mapFullscreen = Main.mapFullscreen;
513 }
class f__AnonymousType0<< Count > j__TPar
static float screenYOffset
Definition Main.cs:1945
static int myPlayer
Definition Main.cs:2337
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static float GamepadCursorAlpha
Definition Main.cs:3707
static int worldMouseY
Definition Main.cs:629
static bool mapFullscreen
Definition Main.cs:1441
static int worldMouseX
Definition Main.cs:615

References fireAxis, Terraria.Main.GamepadCursorAlpha, j__TPar, System.L, LeftStickAiming, Terraria.Main.mapFullscreen, movementAxis, Terraria.Main.myPlayer, Terraria.Main.screenPosition, Terraria.Main.screenYOffset, System.value, wasWorldCursorActive, Terraria.Main.worldMouseX, Terraria.Main.worldMouseY, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.