Click or drag to resize

GhostMessages Class

Class that handles all sending and receiving of messages
Inheritance Hierarchy
SystemObject
  ImmerseSDK.MultiplayerGhostMessages

Namespace:  ImmerseSDK.Multiplayer
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static class Messages

The GhostMessages type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberQueued
Returns the number of queued messages across all message types
Top
Methods
  NameDescription
Public methodStatic memberDelete(UInt16, MessageID)
Deletes a persisted ghost message. Destination is set to Unity. This is just a normal message that is sent with a 0 length payload. Note: persisted messages also require message handlers to be set up so they can receive messages (and know about deleted messages)
Public methodStatic memberDelete(MortarDestinations, UInt16, MessageID)
Deletes a persisted ghost message. This is just a normal message that is sent with a 0 length payload. Note: persisted messages also require message handlers to be set up so they can receive messages (and know about deleted messages)
Public methodStatic memberReset
Used in Unit Testing
Top
Events
  NameDescription
Public eventStatic memberOnPersistedMessagesReceived
Fired when we received all the initial persisted state messages
Top
Fields
  NameDescription
Public fieldStatic memberPersistedMessagesReceived
True only when we received all the initial persisted state messages
Top
See Also