NetworkStats.MessageTypeUnion Struct

Namespace: Improbable.Gdk.CoreSource

Describes a type of a message.

Inheritance

IEquatable<MessageTypeUnion>

Notes

  • Implemented as a C-style union. Can be thought of as a sum type where the discriminants are: Update, CommandRequest, CommandResponse, WorldCommandRequest, WorldCommandResponse


Fields

CommandInfo Source
uint CommandInfo


Static Methods

Update Source
MessageTypeUnion Update(uint componentId)

Parameters
  • uint componentId :

CommandRequest Source
MessageTypeUnion CommandRequest(uint componentId, uint commandIndex)

Parameters
  • uint componentId :
  • uint commandIndex :

CommandResponse Source
MessageTypeUnion CommandResponse(uint componentId, uint commandIndex)

Parameters
  • uint componentId :
  • uint commandIndex :

WorldCommandRequest Source
MessageTypeUnion WorldCommandRequest(WorldCommand worldCommand)

Parameters

WorldCommandResponse Source
MessageTypeUnion WorldCommandResponse(WorldCommand worldCommand)

Parameters


Methods

Equals Source
bool Equals(MessageTypeUnion other)

Parameters


Overrides

Equals Source
override bool Equals(object obj)

Parameters
  • object obj :

GetHashCode Source
override int GetHashCode()


Operators

operator== Source
bool operator==(MessageTypeUnion left, MessageTypeUnion right)

Parameters

operator!= Source
bool operator!=(MessageTypeUnion left, MessageTypeUnion right)

Parameters

Updated about a year ago


NetworkStats.MessageTypeUnion Struct


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.