C# Class Terraria.UI.ChestUI

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
ButtonHovered bool[]
ButtonScale float[]

Méthodes publiques

Méthode Description
DepositAll ( ) : void
Draw ( SpriteBatch spritebatch ) : void
LootAll ( ) : void
MoveCoins ( Item pInv, Item cInv ) : void
QuickStack ( ) : void
RenameChest ( ) : void
RenameChestCancel ( ) : void
Restock ( ) : void
TryPlacingInChest ( Item I, bool justCheck ) : bool
TryPlacingInPlayer ( int slot, bool justCheck ) : bool
UpdateHover ( int ID, bool hovering ) : void

Private Methods

Méthode Description
DrawButton ( SpriteBatch spriteBatch, int ID, int X, int Y ) : void
DrawButtons ( SpriteBatch spritebatch ) : void
DrawName ( SpriteBatch spritebatch ) : void
DrawSlots ( SpriteBatch spriteBatch ) : void

Method Details

DepositAll() public static méthode

public static DepositAll ( ) : void
Résultat void

Draw() public static méthode

public static Draw ( SpriteBatch spritebatch ) : void
spritebatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

LootAll() public static méthode

public static LootAll ( ) : void
Résultat void

MoveCoins() public static méthode

public static MoveCoins ( Item pInv, Item cInv ) : void
pInv Terraria.Item
cInv Terraria.Item
Résultat void

QuickStack() public static méthode

public static QuickStack ( ) : void
Résultat void

RenameChest() public static méthode

public static RenameChest ( ) : void
Résultat void

RenameChestCancel() public static méthode

public static RenameChestCancel ( ) : void
Résultat void

Restock() public static méthode

public static Restock ( ) : void
Résultat void

TryPlacingInChest() public static méthode

public static TryPlacingInChest ( Item I, bool justCheck ) : bool
I Terraria.Item
justCheck bool
Résultat bool

TryPlacingInPlayer() public static méthode

public static TryPlacingInPlayer ( int slot, bool justCheck ) : bool
slot int
justCheck bool
Résultat bool

UpdateHover() public static méthode

public static UpdateHover ( int ID, bool hovering ) : void
ID int
hovering bool
Résultat void

Property Details

ButtonHovered public_oe static_oe property

public static bool[] ButtonHovered
Résultat bool[]

ButtonScale public_oe static_oe property

public static float[] ButtonScale
Résultat float[]