Class OwnerPermissionObject
Inherited Members
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()