Class MultiplayServersActionLog
A server action log.
Inherited Members
Namespace: Unity.Services.Apis.Admin.Multiplay
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "multiplay.servers.actionLog")]
[Preserve]
public class MultiplayServersActionLog
Constructors
MultiplayServersActionLog(long, string, DateTime, long, long, string, long)
Initializes a new instance of the Multiplay
Declaration
[Preserve]
public MultiplayServersActionLog(long actionID = 0, string attachment = null, DateTime date = default, long id = 0, long machineID = 0, string message = null, long serverID = 0)
Parameters
Type | Name | Description |
---|---|---|
long | actionID | ID of the action logged. (required). |
string | attachment | Attachment with the action log.. |
Date |
date | Date of the action log. (required). |
long | id | ID of the action log. (required). |
long | machineID | ID of the associated machine. (required). |
string | message | Message with the action log. (required). |
long | serverID | ID of the associated server. (required). |
Properties
ActionID
ID of the action logged.
Declaration
[DataMember(Name = "actionID", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long ActionID { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the action logged. |
Attachment
Attachment with the action log.
Declaration
[DataMember(Name = "attachment", EmitDefaultValue = false)]
[Preserve]
public string Attachment { get; set; }
Property Value
Type | Description |
---|---|
string | Attachment with the action log. |
Date
Date of the action log.
Declaration
[DataMember(Name = "date", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
Date |
Date of the action log. |
Id
ID of the action log.
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long Id { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the action log. |
MachineID
ID of the associated machine.
Declaration
[DataMember(Name = "machineID", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long MachineID { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the associated machine. |
Message
Message with the action log.
Declaration
[DataMember(Name = "message", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | Message with the action log. |
ServerID
ID of the associated server.
Declaration
[DataMember(Name = "serverID", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long ServerID { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the associated server. |