Свойство | Type | Description | |
---|---|---|---|
DummyChest | Chest | ||
DummyChestIndex | int |
Méthode | Description | |
---|---|---|
ChestFromLocation ( System.Drawing.Point chestLocation, TShockAPI.TSPlayer reportToPlayer = null ) : IChest | ||
ChestManager ( Terraria.Plugins.Common.PluginTrace pluginTrace, |
||
CreateChestData ( System.Drawing.Point chestLocation ) : IChest | ||
DestroyChest ( IChest chest ) : void | ||
DestroyChest ( System.Drawing.Point anyTileLocation ) : void | ||
EnsureBankChest ( ProtectionEntry protection, bool resetContent ) : bool | ||
EnsureRefillChest ( ProtectionEntry protection ) : bool | ||
EnumerateAllChests ( ) : IEnumerable |
||
EnumerateProtectorChests ( ) : IEnumerable |
||
HandleGameSecondUpdate ( ) : void | ||
PlaceChest ( ushort tileType, int style, System.Drawing.Point placeLocation ) : IChest | ||
SetUpBankChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, int bankChestIndex, bool checkPermissions = false ) : void | ||
SetUpRefillChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, System.TimeSpan refillTime, bool oneLootPerPlayer = null, int lootLimit = null, bool autoLock = null, bool autoEmpty = null, bool fairLoot = false, bool checkPermissions = false ) : bool | ||
SetUpTradeChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, int sellAmount, int sellItemId, int payAmount, int payItemId, int lootLimit, bool checkPermissions = false ) : void | ||
TryRefillChest ( IChest chest, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
TryRefillChest ( System.Drawing.Point chestLocation, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool |
Méthode | Description | |
---|---|---|
ChestManager ( ) : System | ||
RefillChestTimer_Callback ( Terraria.Plugins.Common.TimerBase timer ) : bool |
public ChestFromLocation ( System.Drawing.Point chestLocation, TShockAPI.TSPlayer reportToPlayer = null ) : IChest | ||
chestLocation | System.Drawing.Point | |
reportToPlayer | TShockAPI.TSPlayer | |
Résultat | IChest |
public ChestManager ( Terraria.Plugins.Common.PluginTrace pluginTrace, |
||
pluginTrace | Terraria.Plugins.Common.PluginTrace | |
config | ||
serverMetadataHandler | ||
worldMetadata | ||
cooperationHandler | ||
Résultat | System |
public CreateChestData ( System.Drawing.Point chestLocation ) : IChest | ||
chestLocation | System.Drawing.Point | |
Résultat | IChest |
public DestroyChest ( IChest chest ) : void | ||
chest | IChest | |
Résultat | void |
public DestroyChest ( System.Drawing.Point anyTileLocation ) : void | ||
anyTileLocation | System.Drawing.Point | |
Résultat | void |
public EnsureBankChest ( ProtectionEntry protection, bool resetContent ) : bool | ||
protection | ProtectionEntry | |
resetContent | bool | |
Résultat | bool |
public EnsureRefillChest ( ProtectionEntry protection ) : bool | ||
protection | ProtectionEntry | |
Résultat | bool |
public EnumerateAllChests ( ) : IEnumerable |
||
Résultat | IEnumerable |
public EnumerateProtectorChests ( ) : IEnumerable |
||
Résultat | IEnumerable |
public PlaceChest ( ushort tileType, int style, System.Drawing.Point placeLocation ) : IChest | ||
tileType | ushort | |
style | int | |
placeLocation | System.Drawing.Point | |
Résultat | IChest |
public SetUpBankChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, int bankChestIndex, bool checkPermissions = false ) : void | ||
player | TShockAPI.TSPlayer | |
tileLocation | System.Drawing.Point | |
bankChestIndex | int | |
checkPermissions | bool | |
Résultat | void |
public SetUpRefillChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, System.TimeSpan refillTime, bool oneLootPerPlayer = null, int lootLimit = null, bool autoLock = null, bool autoEmpty = null, bool fairLoot = false, bool checkPermissions = false ) : bool | ||
player | TShockAPI.TSPlayer | |
tileLocation | System.Drawing.Point | |
refillTime | System.TimeSpan | |
oneLootPerPlayer | bool | |
lootLimit | int | |
autoLock | bool | |
autoEmpty | bool | |
fairLoot | bool | |
checkPermissions | bool | |
Résultat | bool |
public SetUpTradeChest ( TShockAPI.TSPlayer player, System.Drawing.Point tileLocation, int sellAmount, int sellItemId, int payAmount, int payItemId, int lootLimit, bool checkPermissions = false ) : void | ||
player | TShockAPI.TSPlayer | |
tileLocation | System.Drawing.Point | |
sellAmount | int | |
sellItemId | int | |
payAmount | int | |
payItemId | int | |
lootLimit | int | |
checkPermissions | bool | |
Résultat | void |
public TryRefillChest ( IChest chest, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chest | IChest | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
Résultat | bool |
public TryRefillChest ( System.Drawing.Point chestLocation, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chestLocation | System.Drawing.Point | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
Résultat | bool |