C# Class ChestControl.Chest

Afficher le fichier Open project: Deathmax/Chest-Control Class Usage Examples

Protected Properties

Свойство Type Description
ID int
Locked bool
Owner string
Position Terraria.Vector2
Refill bool
RefillItems Terraria.Item[]
RegionLock bool
WorldID int

Méthodes publiques

Méthode Description
CheckPassword ( string password ) : bool
Chest ( ) : System.Collections.Generic
GetID ( ) : int
GetOwner ( ) : string
GetPassword ( ) : string
GetPosition ( ) : Terraria.Vector2
GetRefillItemNames ( ) : List
GetRefillItems ( ) : Terraria.Item[]
HasOwner ( ) : bool
IsLocked ( ) : bool
IsOpenFor ( CPlayer player ) : bool
IsOwner ( CPlayer player ) : bool
IsOwnerConvert ( CPlayer player ) : bool
IsRefill ( ) : bool
IsRegionLocked ( ) : bool
LegacyIsOwner ( CPlayer player ) : bool
Lock ( ) : void
Reset ( ) : void
SetID ( int id ) : void
SetOwner ( CPlayer player ) : void
SetOwner ( string player ) : void
SetPassword ( string password ) : void
SetPassword ( string password, bool checkForHash ) : void
SetPosition ( Terraria.Vector2 position ) : void
SetPosition ( int x, int y ) : void
SetRefill ( bool refill ) : void
SetRefillItems ( string raw ) : void
TileIsChest ( Terraria.TileData tile ) : bool
TileIsChest ( Terraria.Vector2 position ) : bool
TileIsChest ( int x, int y ) : bool
UnLock ( ) : void
regionLock ( bool locking ) : void

Method Details

CheckPassword() public méthode

public CheckPassword ( string password ) : bool
password string
Résultat bool

Chest() public méthode

public Chest ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GetID() public méthode

public GetID ( ) : int
Résultat int

GetOwner() public méthode

public GetOwner ( ) : string
Résultat string

GetPassword() public méthode

public GetPassword ( ) : string
Résultat string

GetPosition() public méthode

public GetPosition ( ) : Terraria.Vector2
Résultat Terraria.Vector2

GetRefillItemNames() public méthode

public GetRefillItemNames ( ) : List
Résultat List

GetRefillItems() public méthode

public GetRefillItems ( ) : Terraria.Item[]
Résultat Terraria.Item[]

HasOwner() public méthode

public HasOwner ( ) : bool
Résultat bool

IsLocked() public méthode

public IsLocked ( ) : bool
Résultat bool

IsOpenFor() public méthode

public IsOpenFor ( CPlayer player ) : bool
player CPlayer
Résultat bool

IsOwner() public méthode

public IsOwner ( CPlayer player ) : bool
player CPlayer
Résultat bool

IsOwnerConvert() public méthode

public IsOwnerConvert ( CPlayer player ) : bool
player CPlayer
Résultat bool

IsRefill() public méthode

public IsRefill ( ) : bool
Résultat bool

IsRegionLocked() public méthode

public IsRegionLocked ( ) : bool
Résultat bool

LegacyIsOwner() public méthode

public LegacyIsOwner ( CPlayer player ) : bool
player CPlayer
Résultat bool

Lock() public méthode

public Lock ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SetID() public méthode

public SetID ( int id ) : void
id int
Résultat void

SetOwner() public méthode

public SetOwner ( CPlayer player ) : void
player CPlayer
Résultat void

SetOwner() public méthode

public SetOwner ( string player ) : void
player string
Résultat void

SetPassword() public méthode

public SetPassword ( string password ) : void
password string
Résultat void

SetPassword() public méthode

public SetPassword ( string password, bool checkForHash ) : void
password string
checkForHash bool
Résultat void

SetPosition() public méthode

public SetPosition ( Terraria.Vector2 position ) : void
position Terraria.Vector2
Résultat void

SetPosition() public méthode

public SetPosition ( int x, int y ) : void
x int
y int
Résultat void

SetRefill() public méthode

public SetRefill ( bool refill ) : void
refill bool
Résultat void

SetRefillItems() public méthode

public SetRefillItems ( string raw ) : void
raw string
Résultat void

TileIsChest() public static méthode

public static TileIsChest ( Terraria.TileData tile ) : bool
tile Terraria.TileData
Résultat bool

TileIsChest() public static méthode

public static TileIsChest ( Terraria.Vector2 position ) : bool
position Terraria.Vector2
Résultat bool

TileIsChest() public static méthode

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

UnLock() public méthode

public UnLock ( ) : void
Résultat void

regionLock() public méthode

public regionLock ( bool locking ) : void
locking bool
Résultat void

Property Details

ID protected_oe property

protected int ID
Résultat int

Locked protected_oe property

protected bool Locked
Résultat bool

Owner protected_oe property

protected string Owner
Résultat string

Position protected_oe property

protected Vector2,Terraria Position
Résultat Terraria.Vector2

Refill protected_oe property

protected bool Refill
Résultat bool

RefillItems protected_oe property

protected Item[],Terraria RefillItems
Résultat Terraria.Item[]

RegionLock protected_oe property

protected bool RegionLock
Résultat bool

WorldID protected_oe property

protected int WorldID
Résultat int