C# Класс Terraria.ModLoader.ModBuff

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
canBeCleared bool
longerExpertDebuff bool

Открытые методы

Метод Описание
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

Описание методов

Autoload() публичный Метод

public Autoload ( string &name, string &texture ) : bool
name string
texture string
Результат bool

ModifyBuffTip() публичный Метод

public ModifyBuffTip ( string &tip, int &rare ) : void
tip string
rare int
Результат void

ReApply() публичный Метод

public ReApply ( Terraria.NPC npc, int time, int buffIndex ) : bool
npc Terraria.NPC
time int
buffIndex int
Результат bool

ReApply() публичный Метод

public ReApply ( Player player, int time, int buffIndex ) : bool
player Terraria.Player
time int
buffIndex int
Результат bool

SetDefaults() публичный Метод

public SetDefaults ( ) : void
Результат void

Update() публичный Метод

public Update ( Terraria.NPC npc, int &buffIndex ) : void
npc Terraria.NPC
buffIndex int
Результат void

Update() публичный Метод

public Update ( Player player, int &buffIndex ) : void
player Terraria.Player
buffIndex int
Результат void

Описание свойств

canBeCleared публичное свойство

public bool canBeCleared
Результат bool

longerExpertDebuff публичное свойство

public bool longerExpertDebuff
Результат bool