Property | Type | Description | |
---|---|---|---|
DummyChest | Chest | ||
DummyChestIndex | int |
Method | 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 |
Method | 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 | |
return | IChest |
public ChestManager ( Terraria.Plugins.Common.PluginTrace pluginTrace, |
||
pluginTrace | Terraria.Plugins.Common.PluginTrace | |
config | ||
serverMetadataHandler | ||
worldMetadata | ||
cooperationHandler | ||
return | System |
public CreateChestData ( System.Drawing.Point chestLocation ) : IChest | ||
chestLocation | System.Drawing.Point | |
return | IChest |
public DestroyChest ( System.Drawing.Point anyTileLocation ) : void | ||
anyTileLocation | System.Drawing.Point | |
return | void |
public EnsureBankChest ( ProtectionEntry protection, bool resetContent ) : bool | ||
protection | ProtectionEntry | |
resetContent | bool | |
return | bool |
public EnsureRefillChest ( ProtectionEntry protection ) : bool | ||
protection | ProtectionEntry | |
return | bool |
public EnumerateProtectorChests ( ) : IEnumerable |
||
return | IEnumerable |
public PlaceChest ( ushort tileType, int style, System.Drawing.Point placeLocation ) : IChest | ||
tileType | ushort | |
style | int | |
placeLocation | System.Drawing.Point | |
return | 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 | |
return | 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 | |
return | 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 | |
return | void |
public TryRefillChest ( IChest chest, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chest | IChest | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
return | bool |
public TryRefillChest ( System.Drawing.Point chestLocation, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chestLocation | System.Drawing.Point | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
return | bool |