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

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

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

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

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

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

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

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

public CustomBuffTipSize ( string buffTip, List sizes ) : void
buffTip string
sizes List
Результат void

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

public DrawCustomBuffTip ( string buffTip, SpriteBatch spriteBatch, int originX, int originY ) : void
buffTip string
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
originX int
originY int
Результат void

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

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

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

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

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

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

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

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

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

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