Class TradeSession.CommitState
- Namespace
- FishMMO.Server.Implementation.World.SceneServer
- Assembly
- FishMMO.Server.dll
What the commit has done so far, so a refusal at any point can be undone exactly.
Null until the commit starts. Owned by TradeSystem.Commit.
public sealed class TradeSession.CommitState
- Inheritance
-
TradeSession.CommitState
- Inherited Members
Fields
Applied
The applied item exchange, or null when the apply aborted before mutating.
public TradeExchange.Applied Applied
Field Value
FailureReason
Why the session closes if the commit does not land.
public TradeCloseReason FailureReason
Field Value
Finished
True once the outcome has been handled, whichever way it went.
public bool Finished
Field Value
FirstDeducted
Currency taken from each side in memory before the write; refunded on refusal.
public long FirstDeducted
Field Value
FirstSide
The rows each side's write carried, kept for the client notification.
public TradeExchange.Side FirstSide
Field Value
OfferLocksReleased
True once the offered slots' locks were released for the apply.
public bool OfferLocksReleased
Field Value
SecondDeducted
public long SecondDeducted
Field Value
SecondSide
public TradeExchange.Side SecondSide
Field Value
StartedAt
Server time the commit was handed to the persistence layer.
public double StartedAt