Document OnPlaceChest in Bouncer
This commit is contained in:
parent
d67d3e66a6
commit
863fa706c2
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ namespace TShockAPI
|
||||||
GetDataHandlers.TileEdit.Register(OnTileEdit);
|
GetDataHandlers.TileEdit.Register(OnTileEdit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>The place chest event that Bouncer hooks to prevent accidental damage.</summary>
|
||||||
|
/// <param name="sender">The object that triggered the event.</param>
|
||||||
|
/// <param name="args">The packet arguments that the event has.</param>
|
||||||
internal void OnPlaceChest(object sender, GetDataHandlers.PlaceChestEventArgs args)
|
internal void OnPlaceChest(object sender, GetDataHandlers.PlaceChestEventArgs args)
|
||||||
{
|
{
|
||||||
int tileX = args.TileX;
|
int tileX = args.TileX;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue