C# Class Terraria.ModLoader.ModMountData

Mostra file Open project: JavidPack/TerraCustom Class Usage Examples

Public Methods

Method Description
AimAbility ( Player player, Vector2 mousePosition ) : void
Autoload ( string &name, string &texture, string>.IDictionary extraTextures ) : bool
CustomBodyFrame ( ) : bool
ModMountData ( ) : Microsoft.Xna.Framework
SetDefaults ( ) : void
UpdateEffects ( Player player ) : void
UpdateFrame ( Player mountedPlayer, int state, Vector2 velocity ) : bool
UseAbility ( Player player, Vector2 mousePosition, bool toggleOn ) : void

Private Methods

Method Description
SetupMount ( Mount mountData ) : void

Method Details

AimAbility() public method

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

Autoload() public method

public Autoload ( string &name, string &texture, string>.IDictionary extraTextures ) : bool
name string
texture string
extraTextures string>.IDictionary
return bool

CustomBodyFrame() public method

public CustomBodyFrame ( ) : bool
return bool

ModMountData() public method

public ModMountData ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

SetDefaults() public method

public SetDefaults ( ) : void
return void

UpdateEffects() public method

public UpdateEffects ( Player player ) : void
player Terraria.Player
return void

UpdateFrame() public method

public UpdateFrame ( Player mountedPlayer, int state, Vector2 velocity ) : bool
mountedPlayer Terraria.Player
state int
velocity Vector2
return bool

UseAbility() public method

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