Enum NetworkObject.OwnershipPermissionsFailureStatus
In the event of an immediate (local instance) failure to change ownership, the following ownership permission failure status codes will be returned via OnOwnershipPermissionsFailure. Locked: The NetworkObject is locked and ownership cannot be acquired. RequestRequired: The NetworkObject requires an ownership request via RequestOwnership(). RequestInProgress: The NetworkObject is already processing an ownership request and ownership cannot be acquired at this time. NotTransferrable: The NetworkObject does not have the Transferable flag set and ownership cannot be acquired.
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public enum NetworkObject.OwnershipPermissionsFailureStatus
Fields
Name | Description |
---|---|
Locked | |
NotTransferrable | |
RequestInProgress | |
RequestRequired |