docs.unity.cn
    Show / Hide Table of Contents

    Class RpcQueueTests

    The RpcQueue unit tests validate:

    • Maximum buffer size that can be sent (currently 1MB is the default maximum MessageQueueHistoryFrame size)
    • That all RPCs invoke at the appropriate NetworkUpdateStage (Client and Server)
    • A lower level MessageQueueContainer test that validates MessageQueueFrameItems after they have been put into the queue
    Inheritance
    Object
    RpcQueueTests
    Namespace: Unity.Netcode.RuntimeTests
    Syntax
    public class RpcQueueTests

    Methods

    BufferDataValidation()

    This tests the RPC Queue outbound and inbound buffer capabilities.

    Declaration
    public IEnumerator BufferDataValidation()
    Returns
    Type Description
    IEnumerator

    IEnumerator

    Setup()

    Declaration
    public void Setup()

    TearDown()

    Declaration
    public void TearDown()
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use