Get SpatialOS

Sites

Menu

MockConnectionHandler Class

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

Inheritance

Improbable.Gdk.Core.IConnectionHandler


Methods

CreateEntity Source
void CreateEntity(long entityId, EntityTemplate template)

Parameters
ChangeAuthority Source
void ChangeAuthority(long entityId, uint componentId, Authority newAuthority)

Parameters
  • long entityId :
  • uint componentId :
  • Authority newAuthority :
UpdateComponent<T> Source
void UpdateComponent<T>(long entityId, uint componentId, T update)

Parameters
  • long entityId :
  • uint componentId :
  • T update :
AddEvent<T> Source
void AddEvent<T>(long entityId, uint componentId, T ev)

Parameters
  • long entityId :
  • uint componentId :
  • T ev :
UpdateComponentAndAddEvents<TUpdate, TEvent> Source
void UpdateComponentAndAddEvents<TUpdate, TEvent>(long entityId, uint componentId, TUpdate update, params TEvent [] events)

Parameters
  • long entityId :
  • uint componentId :
  • TUpdate update :
  • params TEvent [] events :
GetMessagesReceived Source
void GetMessagesReceived(ref ViewDiff viewDiff)

Parameters
GetMessagesToSendContainer Source
MessagesToSend GetMessagesToSendContainer()

PushMessagesToSend Source
void PushMessagesToSend(MessagesToSend messages)

Parameters
IsConnected Source
bool IsConnected()

Dispose Source
void Dispose()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums