C# Class Terraria.ModLoader.MountLoader

Datei anzeigen Open project: JavidPack/TerraCustom Class Usage Examples

Public Methods

Method Description
AimAbility ( Mount mount, Player player, Vector2 mousePosition ) : void
GetMount ( int type ) : ModMountData
UseAbility ( Player player, Vector2 mousePosition, bool toggleOn ) : void

Private Methods

Method Description
CustomBodyFrame ( Mount mount ) : bool
IsModMountData ( Mount mountData ) : bool
ReserveMountID ( ) : int
ResizeArrays ( ) : void
SetupMount ( Mount mount ) : void
Unload ( ) : void
UpdateEffects ( Player mountedPlayer ) : void
UpdateFrame ( Player mountedPlayer, int state, Vector2 velocity ) : bool

Method Details

AimAbility() public static method

public static AimAbility ( Mount mount, Player player, Vector2 mousePosition ) : void
mount Terraria.Mount
player Terraria.Player
mousePosition Vector2
return void

GetMount() public static method

public static GetMount ( int type ) : ModMountData
type int
return ModMountData

UseAbility() public static method

public static UseAbility ( Player player, Vector2 mousePosition, bool toggleOn ) : void
player Terraria.Player
mousePosition Vector2
toggleOn bool
return void