API reference Obsidian.API.Client
ClientEntityData class
Reads a plugin entity type's synced data fields (see EntityProperties.DataFields) from the metadata the client received.
public static class ClientEntityData
In Obsidian.API.Client.
Methods
TryGetData<T>(IClientEntity, EntityDataField<T>, T)
public static bool TryGetData<T>(this IClientEntity entity, EntityDataField<T> field, out T value);The field's value on the entity, if the server sent it: the Obsidian server sends a type's fields to the Obsidian client, at the field's EntityDataField.Index, when both registered the type with them.