C# Class Terraria.ModLoader.GlobalBuff

Afficher le fichier Open project: JavidPack/TerraCustom Class Usage Examples

Méthodes publiques

Méthode Description
Autoload ( string &name ) : bool
CustomBuffTipSize ( string buffTip, List sizes ) : void
DrawCustomBuffTip ( string buffTip, SpriteBatch spriteBatch, int originX, int originY ) : void
ModifyBuffTip ( int type, string &tip, int &rare ) : void
ReApply ( int type, NPC npc, int time, int buffIndex ) : bool
ReApply ( int type, Player player, int time, int buffIndex ) : bool
Update ( int type, NPC npc, int &buffIndex ) : void
Update ( int type, Player player, int &buffIndex ) : void

Method Details

Autoload() public méthode

public Autoload ( string &name ) : bool
name string
Résultat bool

CustomBuffTipSize() public méthode

public CustomBuffTipSize ( string buffTip, List sizes ) : void
buffTip string
sizes List
Résultat void

DrawCustomBuffTip() public méthode

public DrawCustomBuffTip ( string buffTip, SpriteBatch spriteBatch, int originX, int originY ) : void
buffTip string
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
originX int
originY int
Résultat void

ModifyBuffTip() public méthode

public ModifyBuffTip ( int type, string &tip, int &rare ) : void
type int
tip string
rare int
Résultat void

ReApply() public méthode

public ReApply ( int type, NPC npc, int time, int buffIndex ) : bool
type int
npc NPC
time int
buffIndex int
Résultat bool

ReApply() public méthode

public ReApply ( int type, Player player, int time, int buffIndex ) : bool
type int
player Player
time int
buffIndex int
Résultat bool

Update() public méthode

public Update ( int type, NPC npc, int &buffIndex ) : void
type int
npc NPC
buffIndex int
Résultat void

Update() public méthode

public Update ( int type, Player player, int &buffIndex ) : void
type int
player Player
buffIndex int
Résultat void