Interface IMessageReceivedEvent
Event triggered when a message is received from Cloud Code.
Namespace: Unity.Services.CloudCode.Subscriptions
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 | The correlation id. |
EnvironmentId
Getter for the environment id that the message is for.
Declaration
string EnvironmentId { get; }
Property Value
Type | Description |
---|---|
String | The environment id. |
Id
Getter for the id of the received message's envelope.
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
String | The id. |
Message
Getter for the message that was sent from Cloud Code for the player.
Declaration
string Message { get; }
Property Value
Type | Description |
---|---|
String | The received message. |
MessageType
Getter for the type of message that was received.
Declaration
string MessageType { get; }
Property Value
Type | Description |
---|---|
String | The type of message that was received. |
ProjectId
Getter for the project id that the message is for.
Declaration
string ProjectId { get; }
Property Value
Type | Description |
---|---|
String | The project id. |
Source
Getter for the source of the message's envelope.
Declaration
string Source { get; }
Property Value
Type | Description |
---|---|
String | The source. |
SpecVersion
Getter for the spec version of the received message's envelope.
Declaration
string SpecVersion { get; }
Property Value
Type | Description |
---|---|
String | The spec version. |
Time
Getter for the time when the message was created.
Declaration
DateTime Time { get; }
Property Value
Type | Description |
---|---|
DateTime | The date and time. |
Type
Getter for the type of the message's envelope.
Declaration
string Type { get; }
Property Value
Type | Description |
---|---|
String | The source. |