Click or drag to resize

MessageID Structure

Represents a unique id for a message

Namespace:  ImmerseSDK.Multiplayer.Messaging
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public struct MessageID : IComparable, IComparable<MessageID>, 
	IEquatable<MessageID>

The MessageID type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberMessageID
Public methodMessageID
Creates a new message id from a ulong value
Top
Methods
  NameDescription
Public methodAsHex
Get the MessageID as a Hexadecimal string
Public methodAsUlong
Get the messageID as a ULong
Public methodAsUserID
Returns the UserID part of this message id
Public methodCompareTo(Object)
Compares two MessageID objects by comparing the byte representation of the message id
Public methodCompareTo(MessageID)
Compares two MessageID objects by comparing the byte representation of the message id
Public methodEquals(Object)
Compares two MessageID objects by comparing their byte representations
(Overrides ValueTypeEquals(Object).)
Public methodEquals(MessageID)
Checks equality by comparing the byte representation of the message id
Public methodGetBytes
Public methodGetHashCode
HashCode of this message id
(Overrides ValueTypeGetHashCode.)
Public methodToString
String representation of the ulong value of this message id
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator - compares their byte representations
Public operatorStatic memberInequality
Inequality operator - compares their byte representations
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
The constant that defines an empty message id (0)
Top
See Also