docs.unity3d.com
    Show / Hide Table of Contents

    Class DeferredMessagingTest

    Inheritance
    Object
    NetcodeIntegrationTest
    DeferredMessagingTest
    Inherited Members
    NetcodeIntegrationTest.s_GlobalTimeoutHelper
    NetcodeIntegrationTest.s_DefaultWaitForTick
    NetcodeIntegrationTest.NetcodeLogAssert
    NetcodeIntegrationTest.s_GlobalNetworkObjects
    NetcodeIntegrationTest.RegisterNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DeregisterNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DeregisterNetworkObject(UInt64, UInt64)
    NetcodeIntegrationTest.TotalClients
    NetcodeIntegrationTest.k_DefaultTickRate
    NetcodeIntegrationTest.m_CreateServerFirst
    NetcodeIntegrationTest.m_PlayerPrefab
    NetcodeIntegrationTest.m_ServerNetworkManager
    NetcodeIntegrationTest.m_ClientNetworkManagers
    NetcodeIntegrationTest.m_PlayerNetworkObjects
    NetcodeIntegrationTest.m_UseHost
    NetcodeIntegrationTest.m_TargetFrameRate
    NetcodeIntegrationTest.m_EnableVerboseDebug
    NetcodeIntegrationTest.m_BypassConnectionTimeout
    NetcodeIntegrationTest.VerboseDebug(String)
    NetcodeIntegrationTest.OnSetVerboseDebug()
    NetcodeIntegrationTest.OnSetIntegrationTestMode()
    NetcodeIntegrationTest.OnOneTimeSetup()
    NetcodeIntegrationTest.OneTimeSetup()
    NetcodeIntegrationTest.OnSetup()
    NetcodeIntegrationTest.SetUp()
    NetcodeIntegrationTest.OnCreatePlayerPrefab()
    NetcodeIntegrationTest.OnPlayerPrefabGameObjectCreated()
    NetcodeIntegrationTest.CreateServerAndClients()
    NetcodeIntegrationTest.OnNewClientStarted(NetworkManager)
    NetcodeIntegrationTest.OnNewClientStartedAndConnected(NetworkManager)
    NetcodeIntegrationTest.CreateAndStartNewClient()
    NetcodeIntegrationTest.CreateAndStartNewClientWithTimeTravel()
    NetcodeIntegrationTest.StopOneClient(NetworkManager, Boolean)
    NetcodeIntegrationTest.StopOneClientWithTimeTravel(NetworkManager, Boolean)
    NetcodeIntegrationTest.CreateServerAndClients(Int32)
    NetcodeIntegrationTest.CanStartServerAndClients()
    NetcodeIntegrationTest.OnStartedServerAndClients()
    NetcodeIntegrationTest.OnTimeTravelStartedServerAndClients()
    NetcodeIntegrationTest.OnServerAndClientsConnected()
    NetcodeIntegrationTest.ClientNetworkManagerPostStartInit()
    NetcodeIntegrationTest.LogAllMessages
    NetcodeIntegrationTest.StartServerAndClients()
    NetcodeIntegrationTest.StartServerAndClientsWithTimeTravel()
    NetcodeIntegrationTest.CanClientsLoad()
    NetcodeIntegrationTest.CanClientsUnload()
    NetcodeIntegrationTest.DeRegisterSceneManagerHandler()
    NetcodeIntegrationTest.RegisterSceneManagerHandler()
    NetcodeIntegrationTest.OnCanSceneCleanUpUnload(Scene)
    NetcodeIntegrationTest.ShutdownAndCleanUp()
    NetcodeIntegrationTest.OnTearDown()
    NetcodeIntegrationTest.TearDown()
    NetcodeIntegrationTest.OnOneTimeTearDown()
    NetcodeIntegrationTest.OneTimeTearDown()
    NetcodeIntegrationTest.CanDestroyNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DestroySceneNetworkObjects()
    NetcodeIntegrationTest.EnableMessageLogging()
    NetcodeIntegrationTest.WaitForConditionOrTimeOut(Func<Boolean>, TimeoutHelper)
    NetcodeIntegrationTest.WaitForConditionOrTimeOutWithTimeTravel(Func<Boolean>, Int32)
    NetcodeIntegrationTest.WaitForConditionOrTimeOut(IConditionalPredicate, TimeoutHelper)
    NetcodeIntegrationTest.WaitForConditionOrTimeOutWithTimeTravel(IConditionalPredicate, Int32)
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOut(NetworkManager[])
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOutWithTimeTravel(NetworkManager[])
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOut()
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOutWithTimeTravel()
    NetcodeIntegrationTest.CreateNetworkObjectPrefab(String)
    NetcodeIntegrationTest.SpawnObject(GameObject, NetworkManager, Boolean)
    NetcodeIntegrationTest.SpawnObjects(GameObject, NetworkManager, Int32, Boolean)
    NetcodeIntegrationTest.AssertOnTimeout(String, TimeoutHelper)
    NetcodeIntegrationTest.WaitForTicks(NetworkManager, Int32)
    NetcodeIntegrationTest.TimeTravel(Double, Int32)
    NetcodeIntegrationTest.TimeTravelToNextTick()
    NetcodeIntegrationTest.SimulateOneFrame()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.RuntimeTests
    Syntax
    public class DeferredMessagingTest : NetcodeIntegrationTest

    Properties

    m_EnableTimeTravel

    Declaration
    protected override bool m_EnableTimeTravel { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    NetcodeIntegrationTest.m_EnableTimeTravel

    m_SetupIsACoroutine

    Declaration
    protected override bool m_SetupIsACoroutine { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    NetcodeIntegrationTest.m_SetupIsACoroutine

    m_TearDownIsACoroutine

    Declaration
    protected override bool m_TearDownIsACoroutine { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    NetcodeIntegrationTest.m_TearDownIsACoroutine

    NumberOfClients

    Declaration
    protected override int NumberOfClients { get; }
    Property Value
    Type Description
    Int32
    Overrides
    NetcodeIntegrationTest.NumberOfClients

    Methods

    OnInlineSetup()

    Declaration
    protected override void OnInlineSetup()
    Overrides
    NetcodeIntegrationTest.OnInlineSetup()

    OnInlineTearDown()

    Declaration
    protected override void OnInlineTearDown()
    Overrides
    NetcodeIntegrationTest.OnInlineTearDown()

    OnNewClientCreated(NetworkManager)

    Declaration
    protected override void OnNewClientCreated(NetworkManager networkManager)
    Parameters
    Type Name Description
    NetworkManager networkManager
    Overrides
    NetcodeIntegrationTest.OnNewClientCreated(NetworkManager)

    OnServerAndClientsCreated()

    Declaration
    protected override void OnServerAndClientsCreated()
    Overrides
    NetcodeIntegrationTest.OnServerAndClientsCreated()

    OnTimeTravelServerAndClientsConnected()

    Declaration
    protected override void OnTimeTravelServerAndClientsConnected()
    Overrides
    NetcodeIntegrationTest.OnTimeTravelServerAndClientsConnected()

    WhenAChangeOwnershipMessageArrivesBeforeASpawnArrives_ItIsDeferred()

    Declaration
    public void WhenAChangeOwnershipMessageArrivesBeforeASpawnArrives_ItIsDeferred()

    WhenAChangeOwnershipMessageIsDeferred_ItIsProcessedOnSpawn()

    Declaration
    public void WhenAChangeOwnershipMessageIsDeferred_ItIsProcessedOnSpawn()

    WhenADeferredMessageIsRemoved_OtherMessagesForDifferentObjectsAreNotRemoved(Int32)

    Declaration
    public void WhenADeferredMessageIsRemoved_OtherMessagesForDifferentObjectsAreNotRemoved(int timeout)
    Parameters
    Type Name Description
    Int32 timeout

    WhenADeferredMessageIsRemoved_OtherMessagesForSameObjectAreRemoved(Int32)

    Declaration
    public void WhenADeferredMessageIsRemoved_OtherMessagesForSameObjectAreRemoved(int timeout)
    Parameters
    Type Name Description
    Int32 timeout

    WhenADespawnArrivesBeforeASpawnArrives_ItIsDeferred()

    Declaration
    public void WhenADespawnArrivesBeforeASpawnArrives_ItIsDeferred()

    WhenADespawnIsDeferred_ItIsProcessedOnSpawn()

    Declaration
    public void WhenADespawnIsDeferred_ItIsProcessedOnSpawn()

    WhenAMessageIsDeferredForMoreThanTheConfiguredTime_ItIsRemoved(Int32)

    Declaration
    public void WhenAMessageIsDeferredForMoreThanTheConfiguredTime_ItIsRemoved(int timeout)
    Parameters
    Type Name Description
    Int32 timeout

    WhenANetworkVariableDeltaMessageArrivesBeforeASpawnArrives_ItIsDeferred()

    Declaration
    public void WhenANetworkVariableDeltaMessageArrivesBeforeASpawnArrives_ItIsDeferred()

    WhenANetworkVariableDeltaMessageIsDeferred_ItIsProcessedOnSpawn()

    Declaration
    public void WhenANetworkVariableDeltaMessageIsDeferred_ItIsProcessedOnSpawn()

    WhenAnRpcArrivesBeforeASpawnArrives_ItIsDeferred()

    Declaration
    public void WhenAnRpcArrivesBeforeASpawnArrives_ItIsDeferred()

    WhenAnRpcIsDeferred_ItIsProcessedOnSpawn()

    Declaration
    public void WhenAnRpcIsDeferred_ItIsProcessedOnSpawn()

    WhenASpawnMessageArrivesBeforeThePrefabIsAvailable_ItIsDeferred()

    Declaration
    public void WhenASpawnMessageArrivesBeforeThePrefabIsAvailable_ItIsDeferred()

    WhenASpawnMessageIsDeferred_ItIsProcessedOnAddPrefab()

    Declaration
    public void WhenASpawnMessageIsDeferred_ItIsProcessedOnAddPrefab()

    WhenMultipleAddPrefabTriggeredMessagesAreDeferred_TheyAreAllProcessedOnAddNetworkPrefab()

    Declaration
    public void WhenMultipleAddPrefabTriggeredMessagesAreDeferred_TheyAreAllProcessedOnAddNetworkPrefab()

    WhenMultipleMessagesForDifferentObjectsAreDeferredForMoreThanTheConfiguredTime_TheyAreAllRemoved(Int32)

    Declaration
    public void WhenMultipleMessagesForDifferentObjectsAreDeferredForMoreThanTheConfiguredTime_TheyAreAllRemoved(int timeout)
    Parameters
    Type Name Description
    Int32 timeout

    WhenMultipleMessagesForTheSameObjectAreDeferredForMoreThanTheConfiguredTime_TheyAreAllRemoved(Int32)

    Declaration
    public void WhenMultipleMessagesForTheSameObjectAreDeferredForMoreThanTheConfiguredTime_TheyAreAllRemoved(int timeout)
    Parameters
    Type Name Description
    Int32 timeout

    WhenMultipleSpawnTriggeredMessagesAreDeferred_TheyAreAllProcessedOnSpawn()

    Declaration
    public void WhenMultipleSpawnTriggeredMessagesAreDeferred_TheyAreAllProcessedOnSpawn()

    WhenSpawnTriggeredMessagesAreDeferredBeforeThePrefabIsAdded_AddingThePrefabCausesThemToBeProcessed()

    Declaration
    public void WhenSpawnTriggeredMessagesAreDeferredBeforeThePrefabIsAdded_AddingThePrefabCausesThemToBeProcessed()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023