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

◆ TryInteractingWithMoneyTrough()

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

Definition at line 10912 of file Main.cs.

10913 {
10914 int num = 1;
10915 if (num == 0)
10916 {
10917 }
10918 if (num == 0)
10919 {
10920 if (num == 0)
10921 {
10922 }
10923 bool gameMenu = Main.gameMenu;
10924 if (num == 0)
10925 {
10926 }
10927 bool smartCursorIsUsed = Main.SmartCursorIsUsed;
10928 if (num == 0)
10929 {
10930 }
10932 if (num == 0)
10933 {
10934 }
10935 Player localPlayer = Main.LocalPlayer;
10937 if (num == 0)
10938 {
10939 }
10941 if (num == 0)
10942 {
10943 }
10944 if (num == 0)
10945 {
10946 }
10949 if (num == 0)
10950 {
10951 }
10953 if (num == 0)
10954 {
10955 }
10956 int num2 = 1;
10957 if (num2 == 0)
10958 {
10959 }
10960 int smartInteractProj = Main.SmartInteractProj;
10961 bool lastMouseInterface = localPlayer.lastMouseInterface;
10962 if (num2 == 0)
10963 {
10964 }
10965 int num3 = 1;
10966 int num4 = 2;
10968 int num5 = 3213;
10972 if (num5 == 0)
10973 {
10974 }
10976 localPlayer.GamepadEnableGrappleCooldown();
10977 if (num5 == 0)
10978 {
10979 }
10980 bool mouseRight = Main.mouseRight;
10981 if (num5 == 0)
10982 {
10983 }
10984 bool mouseRightRelease = Main.mouseRightRelease;
10985 if (Player.BlockInteractionWithProjectiles == 0)
10986 {
10987 Main.mouseRightRelease = false;
10988 int num6 = localPlayer.chest;
10989 int num7 = 257;
10992 if (num6 == 0)
10993 {
10994 }
10996 if (num6 == 0)
10997 {
10998 }
10999 int num8 = 1;
11000 long num9 = 0L;
11001 Point point;
11002 localPlayer.chestX = point;
11003 localPlayer.SetTalkNPC(num8, num9 != 0L);
11004 if (num6 == 0)
11005 {
11006 }
11007 Main.SetNPCShopIndex(0);
11008 int num10 = 1;
11010 int num11 = 1;
11011 Main.PlayInteractiveProjectileOpenCloseSound(num10, num11 != 0);
11012 Recipe.FindRecipes(false);
11013 }
11014 bool smartCursorIsUsed2 = Main.SmartCursorIsUsed;
11016 return;
11017 }
11018 }
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.PlayInteractiveProjectileOpenCloseSound(), Terraria.Main.screenPosition, Terraria.Main.SetNPCShopIndex(), Terraria.Main.SmartCursorIsUsed, Terraria.Main.SmartInteractProj, and Terraria.GameInput.PlayerInput.UsingGamepad.