Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
PotionOfReturnGateInteractionChecker.cs
Go to the documentation of this file.
2
4
6{
7 internal override bool? AttemptOverridingHoverStatus(Player player, Rectangle rectangle)
8 {
10 {
11 return true;
12 }
13 return null;
14 }
15
16 internal override void DoHoverEffect(Player player, Rectangle hitbox)
17 {
18 player.noThrow = 2;
19 player.cursorItemIconEnabled = true;
20 player.cursorItemIconID = 4870;
21 }
22
23 internal override bool ShouldBlockInteraction(Player player, Rectangle hitbox)
24 {
25 return Player.BlockInteractionWithProjectiles != 0;
26 }
27
28 internal override void PerformInteraction(Player player, Rectangle hitbox)
29 {
31 }
32}
static bool SmartInteractPotionOfReturn
Definition Main.cs:2167
void DoPotionOfReturnReturnToOriginalUsePosition()
Definition Player.cs:35678