csharp
public sealed class ContainerResultWhat happened when a transaction was applied.
Remarks
The change list is what a ledger entry is written from. Doc 28 § Inventory: a mutation that crosses an ownership boundary is recorded in doc 27's ledger. The kernel does not know what an owner is, so it reports what moved and the caller decides whether that crossed one.
Fields and properties (5)
public static ContainerResult EmptyNothing was asked for, and nothing went wrong.
public ContainerFailure FailureWhy it did not apply, or None.
public bool AppliedWhether it applied.
public string MessageWhat went wrong, in a sentence, or the empty string.
public IReadOnlyList<ContainerChange> ChangesWhat moved, in order. Empty when it did not apply.
Used by (5)
- AtomicityTestsVixen.Gameplay.Inventory.Tests
- BindingTestsVixen.Gameplay.Inventory.Tests
- ConservationOracleTestsVixen.Gameplay.Inventory.Tests
- ContainerSetVixen.Gameplay.Inventory
- ContainerTransactionTestsVixen.Gameplay.Inventory.Tests