Type Alias: EntitiesProvider
type EntitiesProvider =
| {
components: ComponentsManifest[];
options?: {
delete_on_client_disconnection?: boolean;
auto_broadcast?: boolean;
};
}
| FindEntityQuery;
Defined in: livelink.react/sources/hooks/useEntities.ts:39
A provider of entities.
Type Declaration
{
components: ComponentsManifest[];
options?: {
delete_on_client_disconnection?: boolean;
auto_broadcast?: 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; } | The creation options of the entities. |
options.delete_on_client_disconnection? | boolean | Whether to delete the entity when the client disconnects. |
options.auto_broadcast? | boolean | Deprecated Whether to broadcast the entity automatically. |
FindEntityQuery