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

◆ TryInteractingWithVoidLens()

static int Terraria.Main.TryInteractingWithVoidLens ( Projectile proj)
inlinestaticprivate

Definition at line 10802 of file Main.cs.

10803 {
10804 int num = 1;
10805 if (num == 0)
10806 {
10807 }
10808 if (num == 0)
10809 {
10810 if (num == 0)
10811 {
10812 }
10813 bool gameMenu = Main.gameMenu;
10814 if (num == 0)
10815 {
10816 }
10817 bool smartCursorIsUsed = Main.SmartCursorIsUsed;
10818 if (num == 0)
10819 {
10820 }
10822 if (num == 0)
10823 {
10824 }
10825 Player localPlayer = Main.LocalPlayer;
10827 if (num == 0)
10828 {
10829 }
10831 if (num == 0)
10832 {
10833 }
10834 if (num == 0)
10835 {
10836 }
10839 if (num == 0)
10840 {
10841 }
10844 if (rectangle == null)
10845 {
10846 }
10847 int num2 = 1;
10848 if (num2 == 0)
10849 {
10850 }
10851 int smartInteractProj = Main.SmartInteractProj;
10852 bool lastMouseInterface = localPlayer.lastMouseInterface;
10853 if (num2 == 0)
10854 {
10855 }
10856 int num3 = 1;
10857 int num4 = 2;
10859 int num5 = 4131;
10862 if (num5 == 0)
10863 {
10864 }
10866 localPlayer.GamepadEnableGrappleCooldown();
10867 if (num5 == 0)
10868 {
10869 }
10870 bool mouseRight = Main.mouseRight;
10871 if (num5 == 0)
10872 {
10873 }
10874 bool mouseRightRelease = Main.mouseRightRelease;
10875 if (Player.BlockInteractionWithProjectiles == 0)
10876 {
10877 Main.mouseRightRelease = false;
10878 int num6 = localPlayer.chest;
10879 int num7 = 257;
10882 if (num6 == 0)
10883 {
10884 }
10885 int disableVoidBag = localPlayer.disableVoidBag;
10886 localPlayer.chest = disableVoidBag;
10887 if (disableVoidBag == 0)
10888 {
10889 }
10890 int num8 = 1;
10891 long num9 = 0L;
10892 Point point;
10893 localPlayer.chestX = point;
10894 localPlayer.SetTalkNPC(num8, num9 != 0L);
10895 if (disableVoidBag == 0)
10896 {
10897 }
10898 Main.SetNPCShopIndex(0);
10899 Main.playerInventory = true;
10900 if (disableVoidBag == 0)
10901 {
10902 }
10903 Recipe.FindRecipes(false);
10904 }
10905 bool smartCursorIsUsed2 = Main.SmartCursorIsUsed;
10907 return;
10908 }
10909 }
class f__AnonymousType0<< Count > j__TPar
static bool mouseRight
Definition Main.cs:685
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static bool mouseRightRelease
Definition Main.cs:2043
static bool gameMenu
Definition Main.cs:2673

References Terraria.Player.BlockInteractionWithProjectiles, Terraria.Recipe.FindRecipes(), Terraria.Main.gameMenu, j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.LocalPlayer, Terraria.Main.mouseRight, Terraria.Main.mouseRightRelease, Terraria.Main.MouseScreen, Terraria.Main.screenPosition, Terraria.Main.SetNPCShopIndex(), Terraria.Main.SmartCursorIsUsed, Terraria.Main.SmartInteractProj, and Terraria.GameInput.PlayerInput.UsingGamepad.