behavior__aspect_get

Function behavior__aspect_get 

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

Retrieve a serialized representation of aspect data of the given actor and aspect guid if it exists

The serialization format has to be defined in a protocol that is agreed upon with the owning controller module

ยงErrors

Returns crate::ErrorCode::NotFound if no aspect data can be found for the provided arguments