Class MessageHookEntry
Class that defines the MessageHooks to use with MessageHooksConditional.
Inherited Members
Namespace: Unity.Netcode.TestHelpers.Runtime
Assembly: Unity.Netcode.Runtime.Tests.dll
Syntax
public class MessageHookEntry
Constructors
MessageHookEntry(NetworkManager, ReceiptType)
Constructor that takes a NetworkManager and optional ReceiptType to check for.
Declaration
public MessageHookEntry(NetworkManager networkManager, ReceiptType type = ReceiptType.Handled)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | networkManager | The NetworkManager instance specific to this MessageHookEntry instance. |
ReceiptType | type | The ReceiptType to check for. |
Fields
m_NetworkManager
The relative NetworkManager instance for the integration test.
Declaration
protected NetworkManager m_NetworkManager
Field Value
Type | Description |
---|---|
NetworkManager |
Methods
Initialize()
Initializes the MessageHookEntry.
Declaration
public void Initialize()