Skip to main content

set_data

Function set_data 

Source
pub fn set_data(
    uuid: impl Arg<String>,
    key: impl Arg<String>,
    value: Option<&[u8]>,
    persist: bool,
) -> bool
Expand description

Keeps value on entity uuid under key (None forgets it), synced to the clients that see it; persist saves it with the entity.