TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ CanHover()

bool Terraria.Mount.CanHover ( )
inline

Definition at line 2440 of file Mount.cs.

2441 {
2442 if (!_active || !_data.usesHover)
2443 {
2444 return false;
2445 }
2446 if (_type == 49)
2447 {
2448 return _frameState == 4;
2449 }
2450 if (!_data.usesHover)
2451 {
2452 return false;
2453 }
2454 return true;
2455 }
bool _active
Definition Mount.cs:334
MountData _data
Definition Mount.cs:290
int _frameState
Definition Mount.cs:304

References Terraria.Mount._active, Terraria.Mount._data, Terraria.Mount._frameState, Terraria.Mount._type, and Terraria.Mount.MountData.usesHover.

Referenced by Terraria.Player.PlayerFrame(), Terraria.Mount.TryBeginningFlight(), and Terraria.Player.Update().

+ Here is the caller graph for this function: