Skip to content

Commit 167f733

Browse files
EmandMjabbacakes
andauthored
feat: Add SessionOwner ownership permission flag (#1427)
Co-authored-by: Amy Reeve <[email protected]>
1 parent ce675da commit 167f733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/basics/ownership.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The following ownership permission settings, defined by `NetworkObject.Ownership
2727
* `Distributable`: Ownership of this NetworkObject is automatically redistributed when a client joins or leaves, as long as ownership is not locked or a request is pending.
2828
* `Transferable`: Ownership of this NetworkObject can be transferred immediately, as long as ownership is not locked and there are no pending requests.
2929
* `RequestRequired`: Ownership of this NetworkObject must be requested before it can be transferred and will always be locked after transfer.
30+
* `SessionOwner`: This NetworkObject is always owned by the [session owner](../terms-concepts/distributed-authority.md#session-ownership) and can't be transferred or distributed. If the session owner changes, this NetworkObject is automatically transferred to the new session owner.
3031

3132
You can also use `NetworkObject.SetOwnershipLock` to lock and unlock the permission settings of a NetworkObject for a period of time, preventing ownership changes on a temporary basis.
3233

0 commit comments

Comments
 (0)