Свойство | Тип | Описание | |
---|---|---|---|
DummyChest | Chest | ||
DummyChestIndex | int |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | IChest |
public ChestManager ( Terraria.Plugins.Common.PluginTrace pluginTrace, |
||
pluginTrace | Terraria.Plugins.Common.PluginTrace | |
config | ||
serverMetadataHandler | ||
worldMetadata | ||
cooperationHandler | ||
Результат | System |
public CreateChestData ( System.Drawing.Point chestLocation ) : IChest | ||
chestLocation | System.Drawing.Point | |
Результат | IChest |
public DestroyChest ( IChest chest ) : void | ||
chest | IChest | |
Результат | void |
public DestroyChest ( System.Drawing.Point anyTileLocation ) : void | ||
anyTileLocation | System.Drawing.Point | |
Результат | void |
public EnsureBankChest ( ProtectionEntry protection, bool resetContent ) : bool | ||
protection | ProtectionEntry | |
resetContent | bool | |
Результат | bool |
public EnsureRefillChest ( ProtectionEntry protection ) : bool | ||
protection | ProtectionEntry | |
Результат | bool |
public EnumerateAllChests ( ) : IEnumerable |
||
Результат | IEnumerable |
public EnumerateProtectorChests ( ) : IEnumerable |
||
Результат | IEnumerable |
public PlaceChest ( ushort tileType, int style, System.Drawing.Point placeLocation ) : IChest | ||
tileType | ushort | |
style | int | |
placeLocation | System.Drawing.Point | |
Результат | 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 | |
Результат | 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 | |
Результат | 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 | |
Результат | void |
public TryRefillChest ( IChest chest, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chest | IChest | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
Результат | bool |
public TryRefillChest ( System.Drawing.Point chestLocation, Terraria.Plugins.CoderCow.Protector.RefillChestMetadata refillChestData ) : bool | ||
chestLocation | System.Drawing.Point | |
refillChestData | Terraria.Plugins.CoderCow.Protector.RefillChestMetadata | |
Результат | bool |