C# Class Terraria.Chest

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

Méthodes publiques

Свойство Type Description
bankChest bool
chestItemSpawn int[]
chestTypeToIcon int[]
dresserItemSpawn int[]
dresserTypeToIcon int[]
frame int
frameCounter int
item Item[]
name string
x int
y int

Méthodes publiques

Méthode Description
AddShop ( Item newItem ) : void
AfterPlacement_Hook ( int x, int y, int type = 21, int style, int direction = 1 ) : int
CanDestroyChest ( int X, int Y ) : bool
Chest ( bool bank = false ) : Microsoft.Xna.Framework
Clone ( ) : object
CreateChest ( int X, int Y, int id = -1 ) : int
DestroyChest ( int X, int Y ) : bool
DestroyChestDirect ( int X, int Y, int id ) : void
FindChest ( int X, int Y ) : int
FindEmptyChest ( int x, int y, int type = 21, int style, int direction = 1 ) : int
Initialize ( ) : void
MagicChest ( int i ) : void
NearOtherChests ( int x, int y ) : bool
PutItemInNearbyChest ( Item item, Vector2 position ) : Item
ServerPlaceItem ( int plr, int slot ) : void
SetupShop ( int type ) : void
SetupTravelShop ( ) : void
ToString ( ) : string
Unlock ( int X, int Y ) : bool
UpdateChestFrames ( ) : void
UsingChest ( int i ) : int
isLocked ( int x, int y ) : bool

Private Methods

Méthode Description
IsPlayerInChest ( int i ) : bool

Method Details

AddShop() public méthode

public AddShop ( Item newItem ) : void
newItem Item
Résultat void

AfterPlacement_Hook() public static méthode

public static AfterPlacement_Hook ( int x, int y, int type = 21, int style, int direction = 1 ) : int
x int
y int
type int
style int
direction int
Résultat int

CanDestroyChest() public static méthode

public static CanDestroyChest ( int X, int Y ) : bool
X int
Y int
Résultat bool

Chest() public méthode

public Chest ( bool bank = false ) : Microsoft.Xna.Framework
bank bool
Résultat Microsoft.Xna.Framework

Clone() public méthode

public Clone ( ) : object
Résultat object

CreateChest() public static méthode

public static CreateChest ( int X, int Y, int id = -1 ) : int
X int
Y int
id int
Résultat int

DestroyChest() public static méthode

public static DestroyChest ( int X, int Y ) : bool
X int
Y int
Résultat bool

DestroyChestDirect() public static méthode

public static DestroyChestDirect ( int X, int Y, int id ) : void
X int
Y int
id int
Résultat void

FindChest() public static méthode

public static FindChest ( int X, int Y ) : int
X int
Y int
Résultat int

FindEmptyChest() public static méthode

public static FindEmptyChest ( int x, int y, int type = 21, int style, int direction = 1 ) : int
x int
y int
type int
style int
direction int
Résultat int

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

MagicChest() public static méthode

public static MagicChest ( int i ) : void
i int
Résultat void

NearOtherChests() public static méthode

public static NearOtherChests ( int x, int y ) : bool
x int
y int
Résultat bool

PutItemInNearbyChest() public static méthode

public static PutItemInNearbyChest ( Item item, Vector2 position ) : Item
item Item
position Vector2
Résultat Item

ServerPlaceItem() public static méthode

public static ServerPlaceItem ( int plr, int slot ) : void
plr int
slot int
Résultat void

SetupShop() public méthode

public SetupShop ( int type ) : void
type int
Résultat void

SetupTravelShop() public static méthode

public static SetupTravelShop ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Unlock() public static méthode

public static Unlock ( int X, int Y ) : bool
X int
Y int
Résultat bool

UpdateChestFrames() public static méthode

public static UpdateChestFrames ( ) : void
Résultat void

UsingChest() public static méthode

public static UsingChest ( int i ) : int
i int
Résultat int

isLocked() public static méthode

public static isLocked ( int x, int y ) : bool
x int
y int
Résultat bool

Property Details

bankChest public_oe property

public bool bankChest
Résultat bool

chestItemSpawn public_oe static_oe property

public static int[] chestItemSpawn
Résultat int[]

chestTypeToIcon public_oe static_oe property

public static int[] chestTypeToIcon
Résultat int[]

dresserItemSpawn public_oe static_oe property

public static int[] dresserItemSpawn
Résultat int[]

dresserTypeToIcon public_oe static_oe property

public static int[] dresserTypeToIcon
Résultat int[]

frame public_oe property

public int frame
Résultat int

frameCounter public_oe property

public int frameCounter
Résultat int

item public_oe property

public Item[] item
Résultat Item[]

name public_oe property

public string name
Résultat string

x public_oe property

public int x
Résultat int

y public_oe property

public int y
Résultat int