Class NetworkObjectOwnershipTests
Inheritance
NetworkObjectOwnershipTests
Syntax
public class NetworkObjectOwnershipTests : NetcodeIntegrationTest
Constructors
NetworkObjectOwnershipTests(NetcodeIntegrationTest.HostOrServer)
Declaration
public NetworkObjectOwnershipTests(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
OnServerAndClientsCreated()
Declaration
protected override void OnServerAndClientsCreated()
Overrides
TestOwnedObjectCounts()
Declaration
public IEnumerator TestOwnedObjectCounts()
Returns
TestOwnershipCallbacks(NetworkObjectOwnershipTests.OwnershipChecks)
Declaration
public IEnumerator TestOwnershipCallbacks(NetworkObjectOwnershipTests.OwnershipChecks ownershipChecks)
Parameters
Returns
TestOwnershipCallbacksSeveralClients(NetworkObjectOwnershipTests.OwnershipChecks)
Verifies that switching ownership between several clients works properly
Declaration
public IEnumerator TestOwnershipCallbacksSeveralClients(NetworkObjectOwnershipTests.OwnershipChecks ownershipChecks)
Parameters
Returns
TestPlayerIsOwned()
Declaration
public void TestPlayerIsOwned()