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 validatesMessageQueueFrameItems
after they have been put into the queue
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()