C# Class Terraria.ModLoader.BuffLoader

Mostrar archivo Open project: bluemagic123/tModLoader Class Usage Examples

Private Properties

Property Type Description
BuffLoader System
IsModBuff bool
ReserveBuffID int
ResizeArrays void
Unload void

Public Methods

Method Description
CanBeCleared ( int buff ) : bool
CustomBuffTipSize ( string buffTip, List sizes ) : void
DrawCustomBuffTip ( string buffTip, SpriteBatch spriteBatch, int originX, int originY ) : void
GetBuff ( int type ) : ModBuff
LongerExpertDebuff ( int buff ) : bool
ModifyBuffTip ( int buff, string &tip, int &rare ) : void
ReApply ( int buff, NPC npc, int time, int buffIndex ) : bool
ReApply ( int buff, Player player, int time, int buffIndex ) : bool
Update ( int buff, NPC npc, int &buffIndex ) : void
Update ( int buff, Player player, int &buffIndex ) : void

Private Methods

Method Description
BuffLoader ( ) : System
IsModBuff ( int type ) : bool
ReserveBuffID ( ) : int
ResizeArrays ( ) : void
Unload ( ) : void

Method Details

CanBeCleared() public static method

public static CanBeCleared ( int buff ) : bool
buff int
return bool

CustomBuffTipSize() public static method

public static CustomBuffTipSize ( string buffTip, List sizes ) : void
buffTip string
sizes List
return void

DrawCustomBuffTip() public static method

public static DrawCustomBuffTip ( string buffTip, SpriteBatch spriteBatch, int originX, int originY ) : void
buffTip string
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
originX int
originY int
return void

GetBuff() public static method

public static GetBuff ( int type ) : ModBuff
type int
return ModBuff

LongerExpertDebuff() public static method

public static LongerExpertDebuff ( int buff ) : bool
buff int
return bool

ModifyBuffTip() public static method

public static ModifyBuffTip ( int buff, string &tip, int &rare ) : void
buff int
tip string
rare int
return void

ReApply() public static method

public static ReApply ( int buff, NPC npc, int time, int buffIndex ) : bool
buff int
npc NPC
time int
buffIndex int
return bool

ReApply() public static method

public static ReApply ( int buff, Player player, int time, int buffIndex ) : bool
buff int
player Player
time int
buffIndex int
return bool

Update() public static method

public static Update ( int buff, NPC npc, int &buffIndex ) : void
buff int
npc NPC
buffIndex int
return void

Update() public static method

public static Update ( int buff, Player player, int &buffIndex ) : void
buff int
player Player
buffIndex int
return void