C# Class Terraria.ModLoader.ModBuff

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

Méthodes publiques

Свойство Type Description
canBeCleared bool
longerExpertDebuff bool

Méthodes publiques

Méthode Description
Autoload ( string &name, string &texture ) : bool
ModifyBuffTip ( string &tip, int &rare ) : void
ReApply ( Terraria.NPC npc, int time, int buffIndex ) : bool
ReApply ( Player player, int time, int buffIndex ) : bool
SetDefaults ( ) : void
Update ( Terraria.NPC npc, int &buffIndex ) : void
Update ( Player player, int &buffIndex ) : void

Method Details

Autoload() public méthode

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

ModifyBuffTip() public méthode

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

ReApply() public méthode

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

ReApply() public méthode

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

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void

Update() public méthode

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

Update() public méthode

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

Property Details

canBeCleared public_oe property

public bool canBeCleared
Résultat bool

longerExpertDebuff public_oe property

public bool longerExpertDebuff
Résultat bool