C# Class Terraria.ModLoader.ModDust

Exibir arquivo Open project: JavidPack/TerraCustom Class Usage Examples

Public Properties

Property Type Description
updateType int

Private Properties

Property Type Description
Draw void
ReserveDustID int
ResizeArrays void
SetupDust void
SetupUpdateType void
TakeDownUpdateType void
Unload void

Public Methods

Method Description
Autoload ( string &name, string &texture ) : bool
GetAlpha ( Dust dust, Color lightColor ) : Color?
GetDust ( int type ) : ModDust
MidUpdate ( Dust dust ) : bool
OnSpawn ( Dust dust ) : void
SetDefaults ( ) : void
Update ( Dust dust ) : bool

Private Methods

Method Description
Draw ( Dust dust, Color alpha, float scale ) : void
ReserveDustID ( ) : int
ResizeArrays ( ) : void
SetupDust ( Dust dust ) : void
SetupUpdateType ( Dust dust ) : void
TakeDownUpdateType ( Dust dust ) : void
Unload ( ) : void

Method Details

Autoload() public method

public Autoload ( string &name, string &texture ) : bool
name string
texture string
return bool

GetAlpha() public method

public GetAlpha ( Dust dust, Color lightColor ) : Color?
dust Terraria.Dust
lightColor Color
return Color?

GetDust() public static method

public static GetDust ( int type ) : ModDust
type int
return ModDust

MidUpdate() public method

public MidUpdate ( Dust dust ) : bool
dust Terraria.Dust
return bool

OnSpawn() public method

public OnSpawn ( Dust dust ) : void
dust Terraria.Dust
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

Update() public method

public Update ( Dust dust ) : bool
dust Terraria.Dust
return bool

Property Details

updateType public_oe property

public int updateType
return int