Enum ItemWriteOutcome
- Namespace
- FishMMO.Server.Core.World.SceneServer
- Assembly
- FishMMO.Server.dll
What became of one item write — an incremental batch, a snapshot, or a departing character's flush.
public enum ItemWriteOutcome : byte
Fields
NotOwned = 2Refused because this server no longer holds the character's claim. Another server is authoritative, and writing our copy over its state is the one thing that must not happen.
Rejected = 3Failed for a reason another attempt cannot change. Logged where it happened.
Retry = 4Failed in a way worth another attempt: a lost connection, a timeout, a failed commit.
Superseded = 1Not applied because a write captured later has already landed and says more. Nothing is missing and nothing needs repairing.
Written = 0The write committed.
Remarks
The item write used to report nothing at all: it caught every failure itself and returned a plain task, so a departure flush that failed looked exactly like one that landed, and the session it belonged to was handed back regardless. Only Retry asks the caller to act; every other value is final.