Expand description
Built-in verbs for the Bevy Remote Protocol.
Structs§
- BrpDespawn
Entity Params world.despawn_entity: Given an ID, despawns the entity with that ID.- BrpGet
Components Params world.get_components: Retrieves one or more components from the entity with the given ID.- BrpGet
Resources Params world.get_resources: Retrieves the value of a given resource.- BrpGet
Resources Response - The response to a
world.get_resourcesrequest. - BrpInsert
Components Params world.insert_components: Adds one or more components to an entity.- BrpInsert
Resources Params world.insert_resources: Inserts a resource into the world with a given value.- BrpJson
Schema Query Filter - Constraints that can be placed on a query to include or exclude certain definitions.
- BrpList
Components Params world.list_components: Returns a list of all type names of registered components in the system (no params provided), or those on an entity (params provided).- BrpList
Components Watching Response - A single response from a
world.list_components+watchrequest. - BrpMutate
Components Params world.mutate_components:- BrpMutate
Resources Params world.mutate_resources:- BrpQuery
- Describes the data that is to be fetched in a query.
- BrpQuery
Filter - Additional constraints that can be placed on a query to include or exclude certain entities.
- BrpQuery
Params world.query: Performs a query over components in the ECS, returning entities and component values that match.- BrpQuery
Row - One query match result: a single entity paired with the requested components.
- BrpRemove
Components Params world.remove_components: Deletes one or more components from an entity.- BrpRemove
Resources Params world.remove_resources: Removes the given resource from the world.- BrpReparent
Entities Params world.reparent_entities: Assign a new parent to one or more entities.- BrpSpawn
Entity Params world.spawn_entity: Creates a new entity with the given components and responds with its ID.- BrpSpawn
Entity Response - A response from the world to the client that specifies a single entity.
- Json
Schema Type Limit - Additional
BrpJsonSchemaQueryFilterconstraints that can be placed on a query to include or exclude certain definitions.
Enums§
- BrpGet
Components Response - The response to a
world.get_componentsrequest. - BrpGet
Components Watching Response - A single response from a
world.get_components+watchrequest. - Component
Selector - A selector for components in a query.
Constants§
- BRP_
DESPAWN_ COMPONENTS_ METHOD - The method path for a
world.despawn_entityrequest. - BRP_
GET_ COMPONENTS_ AND_ WATCH_ METHOD - The method path for a
world.get_components+watchrequest. - BRP_
GET_ COMPONENTS_ METHOD - The method path for a
world.get_componentsrequest. - BRP_
GET_ RESOURCE_ METHOD - The method path for a
world.get_resourcesrequest. - BRP_
INSERT_ COMPONENTS_ METHOD - The method path for a
world.insert_componentsrequest. - BRP_
INSERT_ RESOURCE_ METHOD - The method path for a
world.insert_resourcesrequest. - BRP_
LIST_ COMPONENTS_ AND_ WATCH_ METHOD - The method path for a
world.list_components+watchrequest. - BRP_
LIST_ COMPONENTS_ METHOD - The method path for a
world.list_componentsrequest. - BRP_
LIST_ RESOURCES_ METHOD - The method path for a
world.list_resourcesrequest. - BRP_
MUTATE_ COMPONENTS_ METHOD - The method path for a
world.mutate_componentsrequest. - BRP_
MUTATE_ RESOURCE_ METHOD - The method path for a
world.mutate_resourcesrequest. - BRP_
QUERY_ METHOD - The method path for a
world.queryrequest. - BRP_
REGISTRY_ SCHEMA_ METHOD - The method path for a
registry.schemarequest. - BRP_
REMOVE_ COMPONENTS_ METHOD - The method path for a
world.remove_componentsrequest. - BRP_
REMOVE_ RESOURCE_ METHOD - The method path for a
world.remove_resourcesrequest. - BRP_
REPARENT_ ENTITIES_ METHOD - The method path for a
world.reparent_entitiesrequest. - BRP_
SPAWN_ ENTITY_ METHOD - The method path for a
world.spawn_entityrequest. - RPC_
DISCOVER_ METHOD - The method path for a
rpc.discoverrequest.
Functions§
- export_
registry_ types - Handles a
registry.schemarequest (list all registry types in form of schema) coming from a client. - process_
remote_ despawn_ entity_ request - Handles a
world.despawn_entity(despawn entity) request coming from a client. - process_
remote_ get_ components_ request - Handles a
world.get_componentsrequest coming from a client. - process_
remote_ get_ components_ watching_ request - Handles a
world.get_components+watchrequest coming from a client. - process_
remote_ get_ resources_ request - Handles a
world.get_resourcesrequest coming from a client. - process_
remote_ insert_ components_ request - Handles a
world.insert_componentsrequest (insert components) coming from a client. - process_
remote_ insert_ resources_ request - Handles a
world.insert_resourcesrequest coming from a client. - process_
remote_ list_ components_ request - Handles a
world.list_componentsrequest (list all components) coming from a client. - process_
remote_ list_ components_ watching_ request - Handles a
world.list_components+watchrequest coming from a client. - process_
remote_ list_ methods_ request - Handles a
rpc.discoverrequest coming from a client. - process_
remote_ list_ resources_ request - Handles a
world.list_resourcesrequest coming from a client. - process_
remote_ mutate_ components_ request - Handles a
world.mutate_componentsrequest coming from a client. - process_
remote_ mutate_ resources_ request - Handles a
world.mutate_resourcesrequest coming from a client. - process_
remote_ query_ request - Handles a
world.queryrequest coming from a client. - process_
remote_ remove_ components_ request - Handles a
world.remove_componentsrequest (remove components) coming from a client. - process_
remote_ remove_ resources_ request - Handles a
world.remove_resourcesrequest coming from a client. - process_
remote_ reparent_ entities_ request - Handles a
world.reparent_entitiesrequest coming from a client. - process_
remote_ spawn_ entity_ request - Handles a
world.spawn_entityrequest coming from a client.
Type Aliases§
- BrpList
Components Response - The response to a
world.list_componentsrequest. - BrpList
Resources Response - The response to a
world.list_resourcesrequest. - BrpQuery
Response - The response to a
world.queryrequest.