Structs§
- Incoming
Message - An incoming message sent from the controller module
- Local
Behavior Registration - Describes a behavior local to a behavior module
- Local
Module Registration - Contains all registration info for an external behavior module
- Outgoing
Message - An outgoing message that can be sent from a behavior instance to the controller module
- Outgoing
Message Addr - An outgoing message’s address, targeting either an entire actor or a specific behavior
Constants§
- CONTROLLER_
SENTINEL_ ACTOR_ ID - Sentinel value indicating that a message is a system message, with open interpretation of what this entails, by the behavior module.
- INCOMING_
MESSAGE_ NO_ INSTANCE_ SENTINEL - Sentinel value indicating that a system message has no instance tied to it.
- INVALID_
GUID_ COMPONENT
Statics§
- API
- FFI API
Functions§
- actors_
with_ aspect - Retrieve a list of all actors with the given aspect GUID
- aspect_
get - Retrieve a serialized representation of aspect data of the given actor and aspect guid if it exists
- behavior__
actors_ ⚠with_ aspect - Retrieve a list of all actors with the given aspect GUID
- behavior__
aspect_ ⚠get - Retrieve a serialized representation of aspect data of the given actor and aspect guid if it exists
- behavior__
random_ ⚠seed_ value - A single 128-bit random value, unique to this run.
- behavior__
send_ ⚠outgoing_ messages - Batch send
OutgoingMessage
s back to the controller module - random_
seed_ value - A single 128-bit random value, unique to this run.
- send_
outgoing_ messages - Batch send
OutgoingMessage
s back to the controller module
Type Aliases§
- ActorId
- Foreign
Behavior Instance Id - A unique id of a couple comprising a local behavior type id within a behavior module as well as an instance id
- Guid
- Local
Behavior Type Id - A unique id local to a behavior module representing a behavior type