Class: entity_memory_object
Memory record that points to a living entity.
Source
C++ class entity_memory_object : memory_object
Custom Constructor
entity_memory_object
Remarks
Used for entity-alive memories such as hit records.
Extends
Extended by
Constructors
Constructor
ts
protected new entity_memory_object(): entity_memory_object;Engine-created entity memory record.
Returns
entity_memory_object
Overrides
Methods
object()
ts
object(): game_object;Get the remembered entity.
Returns
Remembered game object.
Remarks
The binding expects the native memory record to still point to a live object.
Properties
__name
ts
readonly __name: string;LuaBind instance constructor name.
Inherited from
last_level_time
ts
readonly last_level_time: number;Previous level time recorded for this memory entry.
Inherited from
level_time
ts
readonly level_time: number;Level time when this memory entry was last updated.
Inherited from
object_info
ts
readonly object_info: object_params;Snapshot of the remembered entity.
self_info
ts
readonly self_info: object_params;Snapshot of the object that owns this memory.
__name
ts
readonly static __name: string;LuaBind class constructor name.