Class CharacterAdminData
A character as an operator needs to see it.
public sealed class CharacterAdminData
- Inheritance
-
CharacterAdminData
- Inherited Members
Remarks
Deliberately not CharacterData. That type is the game's transfer shape and carries neither the soft-delete columns nor the session lease, because the game never loads a deleted character and a server already knows whether it holds the lease itself. An operator needs exactly those two things: whether the row is deleted, and whether somebody is holding it.
It carries no sub-entity data. Attributes, items and the rest are separate queries, and loading them for a list of search results would be a join per row for data no list shows.
Properties
AccessLevel
The character's own access level, separate from the account's.
public byte AccessLevel { get; set; }
Property Value
Account
Owning account name.
public string Account { get; set; }
Property Value
BindScene
Respawn scene.
public string BindScene { get; set; }
Property Value
Deleted
Whether the row is soft-deleted.
public bool Deleted { get; set; }
Property Value
ID
Primary key.
public long ID { get; set; }
Property Value
LastSaved
When the row was last written.
public DateTime LastSaved { get; set; }
Property Value
LockReason
Why it was locked.
public string? LockReason { get; set; }
Property Value
LockedAt
When the lock was placed.
public DateTime? LockedAt { get; set; }
Property Value
LockedBy
The staff account that placed the lock.
public string? LockedBy { get; set; }
Property Value
LockedUntil
When the staff lock lapses (UTC), or null when none was placed. Past means not in force.
public DateTime? LockedUntil { get; set; }
Property Value
Name
Display name, with the deletion marker stripped when the row is deleted.
public string Name { get; set; }
Property Value
RaceID
Race template ID. The panel has no template table, so it shows the ID.
public int RaceID { get; set; }
Property Value
SceneName
Current scene.
public string SceneName { get; set; }
Property Value
Selected
Whether this is the account's selected character.
public bool Selected { get; set; }
Property Value
SessionLeaseExpiresUtc
When the lease lapses. The epoch means no lease was ever taken.
public DateTime SessionLeaseExpiresUtc { get; set; }
Property Value
SessionOwnerServerID
The scene server holding the lease, or 0.
public long SessionOwnerServerID { get; set; }
Property Value
SessionState
0 offline, 1 online. Mirrors CharacterSessionState.
public int SessionState { get; set; }
Property Value
StoredName
The name as the row actually stores it, which for a deleted character carries the
DELETED marker and a GUID. Shown so an operator can tell the two apart.
public string StoredName { get; set; }
Property Value
TimeCreated
When the character was created.
public DateTime TimeCreated { get; set; }
Property Value
TimeDeleted
When it was soft-deleted, if it was.
public DateTime? TimeDeleted { get; set; }
Property Value
Version
Row version, which the persistence layer moves on every save.
public long Version { get; set; }
Property Value
WorldServerID
The world server the character last belonged to.
public long WorldServerID { get; set; }
Property Value
X
Position.
public float X { get; set; }
Property Value
Y
Position.
public float Y { get; set; }
Property Value
Z
Position.
public float Z { get; set; }