Class OwnerPermissionObject
Inherited Members
UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindFirstObjectByType(System.Type)
UnityEngine.Object.FindAnyObjectByType(System.Type)
UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class OwnerPermissionObject : NetworkBehaviour
Fields
ClientTargetedNetworkObjects
Declaration
public static List<OwnerPermissionObject> ClientTargetedNetworkObjects
Field Value
| Type | Description |
|---|---|
| List<OwnerPermissionObject> |
CurrentlySpawning
Declaration
public static int CurrentlySpawning
Field Value
| Type | Description |
|---|---|
| Int32 |
MyNetworkListOwner
Declaration
public NetworkList<int> MyNetworkListOwner
Field Value
| Type | Description |
|---|---|
| NetworkList<Int32> |
MyNetworkListServer
Declaration
public NetworkList<int> MyNetworkListServer
Field Value
| Type | Description |
|---|---|
| NetworkList<Int32> |
MyNetworkVariableOwner
Declaration
public NetworkVariable<int> MyNetworkVariableOwner
Field Value
| Type | Description |
|---|---|
| NetworkVariable<Int32> |
MyNetworkVariableServer
Declaration
public NetworkVariable<int> MyNetworkVariableServer
Field Value
| Type | Description |
|---|---|
| NetworkVariable<Int32> |
Objects
Declaration
public static OwnerPermissionObject[, ] Objects
Field Value
| Type | Description |
|---|---|
| OwnerPermissionObject[,] |
Methods
CheckLists(NetworkList<Int32>, NetworkList<Int32>)
Declaration
public static void CheckLists(NetworkList<int> listA, NetworkList<int> listB)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkList<Int32> | listA | |
| NetworkList<Int32> | listB |
ListOwnerChanged(NetworkListEvent<Int32>)
Declaration
public void ListOwnerChanged(NetworkListEvent<int> listEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkListEvent<Int32> | listEvent |
ListServerChanged(NetworkListEvent<Int32>)
Declaration
public void ListServerChanged(NetworkListEvent<int> listEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkListEvent<Int32> | listEvent |
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()
Overrides
OwnerChanged(Int32, Int32)
Declaration
public void OwnerChanged(int before, int after)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | before | |
| Int32 | after |
ServerChanged(Int32, Int32)
Declaration
public void ServerChanged(int before, int after)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | before | |
| Int32 | after |
VerifyConsistency()
Declaration
public static void VerifyConsistency()