EntityClass
Represents an entity
Type parameters
▪ T
▪ U
Hierarchy
EntityClass
Index
Constructors
constructor
Methods
generateId
unserialize
Constructors
constructor
+ new EntityClass(params
: T & U, context
: Context): Entity‹T›
Parameters:
Name
Type
params
T & U
context
Returns: Entity‹T›
Methods
generateId
▸ generateId(identifiers
: U): string
generate a unique identifier for an entity
Parameters:
Name
Type
identifiers
U
Returns: string
unserialize
▸ unserialize(uid
: string): U
unserialize serialized entity information
Parameters:
Name
Type
uid
string
Returns: U
Last updated
Was this helpful?