Class BufferDataValidationComponent
Used in conjunction with the RpcQueueTest to validate from 1 byte to (n) MaximumBufferSize
- Sending and Receiving a continually growing buffer up to (MaximumBufferSize)
- Default maximum buffer size is 1MB
Inheritance
BufferDataValidationComponent
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class BufferDataValidationComponent : NetworkBehaviour
Fields
Name | Description |
---|---|
BufferSizeStart | The rate at which the buffer size increases until it reaches MaximumBufferSize (the default starting buffer size is 1 bytes) |
EnableTesting | Allows the external RPCQueueTest to begin testing or stop it |
MaximumBufferSize | The maximum size of the buffer to send |
Properties
Name | Description |
---|---|
TestFailed | Is checked to determine if the test exited because it failed |
Methods
Name | Description |
---|---|
IsTestComplete() | Returns back whether the test has completed the total number of iterations |