C# Class Terraria.UI.ChestUI

Mostrar archivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
ButtonHovered bool[]
ButtonScale float[]

Public Methods

Method 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

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

public static DepositAll ( ) : void
return void

Draw() public static method

public static Draw ( SpriteBatch spritebatch ) : void
spritebatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

LootAll() public static method

public static LootAll ( ) : void
return void

MoveCoins() public static method

public static MoveCoins ( Item pInv, Item cInv ) : void
pInv Terraria.Item
cInv Terraria.Item
return void

QuickStack() public static method

public static QuickStack ( ) : void
return void

RenameChest() public static method

public static RenameChest ( ) : void
return void

RenameChestCancel() public static method

public static RenameChestCancel ( ) : void
return void

Restock() public static method

public static Restock ( ) : void
return void

TryPlacingInChest() public static method

public static TryPlacingInChest ( Item I, bool justCheck ) : bool
I Terraria.Item
justCheck bool
return bool

TryPlacingInPlayer() public static method

public static TryPlacingInPlayer ( int slot, bool justCheck ) : bool
slot int
justCheck bool
return bool

UpdateHover() public static method

public static UpdateHover ( int ID, bool hovering ) : void
ID int
hovering bool
return void

Property Details

ButtonHovered public_oe static_oe property

public static bool[] ButtonHovered
return bool[]

ButtonScale public_oe static_oe property

public static float[] ButtonScale
return float[]