Type Alias: EntitiesProvider
type EntitiesProvider =
| {
components: ComponentsManifest[];
options?: {
delete_on_client_disconnection?: boolean;
auto_broadcast?: boolean;
} & {
delete_on_unmount?: boolean;
};
}
| FindEntityQuery;
Defined in: livelink.react/sources/hooks/useEntities.ts:45
A provider of entities.
Type Declaration
{
components: ComponentsManifest[];
options?: {
delete_on_client_disconnection?: boolean;
auto_broadcast?: boolean;
} & {
delete_on_unmount?: boolean;
};
}
| Name | Type | Description |
|---|---|---|
components | ComponentsManifest[] | The components to attach to the entities with their initial values. |
options? | { delete_on_client_disconnection?: boolean; auto_broadcast?: boolean; } & { delete_on_unmount?: boolean; } | The creation options of the entities. |
FindEntityQuery