|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Locks an unlocked chest.
| X | The x-coordinate of the unlocked chest, in tile coordinates. |
| Y | The y-coordinate of the unlocked chest, in tile coordinates. |
true if the chest successfully locked, false otherwise.Definition at line 645 of file Chest.cs.
References Terraria.ID.TileID.Count, Terraria.NPC.downedPlantBoss, Terraria.Framing.GetTileSafely(), Terraria.ModLoader.TileLoader.LockChest(), Terraria.GameContent.Achievements.AchievementsHelper.NotifyProgressionEvent(), Terraria.Audio.SoundEngine.PlaySound(), and Terraria.Main.tile.
Referenced by Terraria.MessageBuffer.GetData(), and Terraria.Player.PlaceThing_LockChest().
Here is the call graph for this function:
Here is the caller graph for this function: