Interface IMessageReceivedEvent
Event triggered when a message is received from Cloud Code.
Namespace: Unity.Services.CloudCode.Subscriptions
Assembly: Unity.Services.CloudCode.dll
Syntax
public interface IMessageReceivedEvent
Properties
CorrelationId
Getter for the correlation id that the message is for.
Declaration
string CorrelationId { get; }
Property Value
| Type | Description |
|---|---|
| string |
EnvironmentId
Getter for the environment id that the message is for.
Declaration
string EnvironmentId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Getter for the id of the received message's envelope.
Declaration
string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Message
Getter for the message that was sent from Cloud Code for the player.
Declaration
string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
MessageType
Getter for the type of message that was received.
Declaration
string MessageType { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProjectId
Getter for the project id that the message is for.
Declaration
string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Source
Getter for the source of the message's envelope.
Declaration
string Source { get; }
Property Value
| Type | Description |
|---|---|
| string |
SpecVersion
Getter for the spec version of the received message's envelope.
Declaration
string SpecVersion { get; }
Property Value
| Type | Description |
|---|---|
| string |
Time
Getter for the time when the message was created.
Declaration
DateTime Time { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Type
Getter for the type of the message's envelope.
Declaration
string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |