Struct CharacterPersistRequest
One character row to write in a batched save, with the claim that authorises it.
public readonly struct CharacterPersistRequest
- Inherited Members
Remarks
The batched sibling of calling PersistOwnedAsync or PersistAsync once per
character. Ownership decides which of the two a row behaves as: with a claim the
write additionally requires that the row is still claimed by that server under that token;
without one it is guarded by the monotonic version alone.
Constructors
CharacterPersistRequest(CharacterData, CharacterSessionLeaseData?)
Initializes a new batched-save entry.
public CharacterPersistRequest(CharacterData data, CharacterSessionLeaseData? ownership)
Parameters
dataCharacterDataThe snapshot to write.
ownershipCharacterSessionLeaseData?The claim this server holds, or null to write ungated.
Fields
Data
The snapshot to write. Its Version must exceed the stored version.
public readonly CharacterData Data
Field Value
Ownership
The claim this server holds for the character, or null to write ungated.
public readonly CharacterSessionLeaseData? Ownership