C# Class Terraria.ModLoader.GlobalBuff

Mostrar archivo Open project: JavidPack/TerraCustom Class Usage Examples

Public Methods

Method 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 method

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

CustomBuffTipSize() public method

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

DrawCustomBuffTip() public method

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

ModifyBuffTip() public method

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

ReApply() public method

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

ReApply() public method

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

Update() public method

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

Update() public method

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