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.5.0.0 (3.5.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 methodAsDescription
Prints out a verbose string with details og the id
Public methodAsHex
Get the MessageID as a Hexidecimal string
Public methodAsUlong
Get the messageID as a ULong
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 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