behavior__actors_with_aspect

Function behavior__actors_with_aspect 

Source
pub unsafe extern "C" fn behavior__actors_with_aspect(
    aspect_guid_hi: u64,
    aspect_guid_lo: u64,
    __ark_byte_size: *mut u32,
) -> ErrorCode
Expand description

Retrieve a list of all actors with the given aspect GUID

The returned byte stream is encoded as follows:

|— u32 —| |— ActorId —| |— ActorId —| |— repeat..

The first u32 in the byte stream indicates the total amount of ActorIds

§Errors

Returns crate::ErrorCode::NotFound on an unrecognized aspect guid