Sites

Menu

ComponentUpdateSystem Class

Namespace: Improbable.Gdk.Core
GDK package: Core
Source

Inheritance

ComponentSystem


Methods

SendUpdate<T> Source
void SendUpdate<T>(in T update, EntityId entityId)

Parameters
SendEvent<T> Source
void SendEvent<T>(T eventToSend, EntityId entityId)

Parameters
GetEventsReceived<T> Source
MessagesSpan<ComponentEventReceived<T>> GetEventsReceived<T>()

GetEventsReceived<T> Source
MessagesSpan<ComponentEventReceived<T>> GetEventsReceived<T>(EntityId entityId)

Parameters
GetComponentUpdatesReceived<T> Source
MessagesSpan<ComponentUpdateReceived<T>> GetComponentUpdatesReceived<T>()

GetEntityComponentUpdatesReceived<T> Source
MessagesSpan<ComponentUpdateReceived<T>> GetEntityComponentUpdatesReceived<T>(EntityId entityId)

Parameters
GetAuthorityChangesReceived Source
MessagesSpan<AuthorityChangeReceived> GetAuthorityChangesReceived(uint componentId)

Parameters
  • uint componentId :
GetAuthorityChangesReceived Source
MessagesSpan<AuthorityChangeReceived> GetAuthorityChangesReceived(EntityId entityId, uint componentId)

Parameters
  • EntityId entityId :
  • uint componentId :
GetComponentsAdded Source
List<EntityId> GetComponentsAdded(uint componentId)

Parameters
  • uint componentId :
GetComponentsRemoved Source
List<EntityId> GetComponentsRemoved(uint componentId)

Parameters
  • uint componentId :
GetAuthority Source
Authority GetAuthority(EntityId entityId, uint componentId)

Parameters
  • EntityId entityId :
  • uint componentId :
GetComponent<T> Source
T GetComponent<T>(EntityId entityId)

Parameters
AcknowledgeAuthorityLoss Source
void AcknowledgeAuthorityLoss(EntityId entityId, uint componentId)

Parameters
  • EntityId entityId :
  • uint componentId :
HasComponent Source
bool HasComponent(uint componentId, EntityId entityId)

Parameters
  • uint componentId :
  • EntityId entityId :


Overrides

OnCreate Source
override void OnCreate()

OnUpdate Source
override void OnUpdate()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums