v2.4.0
2020.3+

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
TypeDescription
String

The correlation id.

EnvironmentId

Getter for the environment id that the message is for.

Declaration
string EnvironmentId { get; }
Property Value
TypeDescription
String

The environment id.

Id

Getter for the id of the received message's envelope.

Declaration
string Id { get; }
Property Value
TypeDescription
String

The id.

Message

Getter for the message that was sent from Cloud Code for the player.

Declaration
string Message { get; }
Property Value
TypeDescription
String

The received message.

MessageType

Getter for the type of message that was received.

Declaration
string MessageType { get; }
Property Value
TypeDescription
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
TypeDescription
String

The project id.

Source

Getter for the source of the message's envelope.

Declaration
string Source { get; }
Property Value
TypeDescription
String

The source.

SpecVersion

Getter for the spec version of the received message's envelope.

Declaration
string SpecVersion { get; }
Property Value
TypeDescription
String

The spec version.

Time

Getter for the time when the message was created.

Declaration
DateTime Time { get; }
Property Value
TypeDescription
DateTime

The date and time.

Type

Getter for the type of the message's envelope.

Declaration
string Type { get; }
Property Value
TypeDescription
String

The source.