Skip to content

Log Entities

logAllEntities(this, includeBackgroundEffects, entityTypeFilter?): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:35

Helper function for printing out every entity (or filtered entity) in the current room.

void

boolean

EntityType

void


logAllGridEntities(this, includeWalls?, gridEntityTypeFilter?): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:91

Helper function for printing out every grid entity (or filtered grid entity) in the current room.

void

boolean = false

Optional. Whether oto log the walls. Default is false.

GridEntityType

Optional. If specified, will only log the given GridEntityType. Default is undefined.

void


logEntities(this, entities): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:145

Helper function for logging an array of specific entities.

void

readonly Entity[]

void


logEntity(this, entity): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:152

Helper function to log information about a specific entity.

void

Entity

void


logGridEntities(this, gridEntities): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:158

Helper function for logging an array of specific grid entities.

void

readonly GridEntity[]

void


logGridEntity(this, gridEntity): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:168

Helper function for log information about a specific grid entity.

void

GridEntity

void


logPtrHash(this, ptrHash): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:177

Helper function to log information about the entity that corresponding to a pointer hash. (Only use this when debugging, since retrieving the corresponding entity is expensive.)

void

PtrHash

void


logPtrHashes(this, ptrHashes): void

Defined in: packages/isaacscript-common/src/functions/logEntities.ts:191

Helper function to log information about the entity that corresponding to one or more pointer hashes. (Only use this when debugging, since retrieving the corresponding entity is expensive.)

void

readonly PtrHash[]

void