Class AdminAuditData
One recorded operator action.
public sealed class AdminAuditData
- Inheritance
-
AdminAuditData
- Inherited Members
Remarks
The write shape and the read shape are the same type on purpose. An audit row is written once and read back verbatim; a separate "create" model would only be an opportunity for the two to drift, and a field that reads back differently from how it was written is exactly the defect this table must not have.
Properties
Action
Stable dotted identifier, such as character.rename.
public string Action { get; set; }
Property Value
ActorAccessLevel
The actor's access level at the time, not now.
public byte ActorAccessLevel { get; set; }
Property Value
ActorName
The account that acted.
public string ActorName { get; set; }
Property Value
ActorSessionID
The panel session it came from, or null for an in-game action.
public long? ActorSessionID { get; set; }
Property Value
- long?
Details
Compact JSON describing what changed, or null.
public string Details { get; set; }
Property Value
ID
Surrogate key. Zero on a row that has not been written yet.
public long ID { get; set; }
Property Value
IpAddress
Where the request came from.
public string IpAddress { get; set; }
Property Value
OccurredUtc
When it happened, UTC. Set by the service if left at default.
public DateTime OccurredUtc { get; set; }
Property Value
Outcome
Why it was not, when it was not.
public string Outcome { get; set; }
Property Value
Reason
The reason the operator gave.
public string Reason { get; set; }
Property Value
Source
Where the action was taken from: the panel, or in-game chat.
public string Source { get; set; }
Property Value
Succeeded
Whether the action was carried out.
public bool Succeeded { get; set; }
Property Value
TargetID
The target's identifier as text.
public string TargetID { get; set; }
Property Value
TargetName
The target's name as it read at the time.
public string TargetName { get; set; }
Property Value
TargetType
What kind of thing was acted on.
public string TargetType { get; set; }