SaveGame..::..CountChests Method
Count the number of chests adjacent to the player, filling in a map coordinate with the
location of the last one found
Namespace:
AngbandOS.CoreAssembly: AngbandOS.Core (in AngbandOS.Core.dll)
Syntax
public int CountChests( out Nullable<GridCoordinate> mapCoordinate, bool trappedOnly )
Parameters
- mapCoordinate
- Type: Nullable<(Of <(<'GridCoordinate>)>)>%
The coordinate to fill in with the location
- trappedOnly
- Type: Boolean
True if we're only interested in trapped chests