Struct TransactionContext
- Namespace
- Shard.Gameplay.Universe.Transactions
- Assembly
- Shard.Gameplay.Universe.dll
A stack-only context for resources in a transaction scope.
public readonly ref struct TransactionContext
- Inherited Members
Methods
IsOwnedBy(World)
Checks whether this context belongs to the current scope of the specified world.
public bool IsOwnedBy(World world)
Parameters
worldWorld
Returns
OpenNested()
Opens a child savepoint. The returned transaction controls only the child scope.
public Transaction OpenNested()