Photon Fusion 2.0.3

Public Member Functions | List of all members
NetworkObjectProviderDummy Class Reference

A dummy implementation of the INetworkObjectProvider interface. This class is used for testing purposes and throws a NotImplementedException for all its methods. More...

Inherits INetworkObjectProvider.

Public Member Functions

NetworkObjectAcquireResult AcquireInstance (NetworkRunner runner, in NetworkObjectAcquireContext context, out NetworkObject instance)
 Acquires an instance of a prefab for a network object.
 
NetworkPrefabId GetPrefabId (NetworkRunner runner, NetworkObjectGuid prefabGuid)
 Translates guid into prefab id.
 
void ReleaseInstance (NetworkRunner runner, in NetworkObjectReleaseContext context)
 Releases an instance of a network object.
 
- Public Member Functions inherited from INetworkObjectProvider
NetworkObjectAcquireResult AcquirePrefabInstance (NetworkRunner runner, in NetworkPrefabAcquireContext context, out NetworkObject result)
 Obsolete, use AcquireInstance((NetworkRunner runner, in NetworkObjectAcquireContext context, out NetworkObject result) instead. More...
 
void Initialize (NetworkRunner networkRunner)
 Called when the NetworkRunner is starting up. More...
 
void Shutdown (NetworkRunner networkRunner)
 Called when the NetworkRunner is shutting down. More...
 

Detailed Description

A dummy implementation of the INetworkObjectProvider interface. This class is used for testing purposes and throws a NotImplementedException for all its methods.