Interface INetcodePlugin
Netcode plugin to hook into the session lifetime
public interface INetcodePlugin : IDisposable
- Inherited Members
Methods
OnEndpointAdded(INetcodeSession, EndPoint, NetcodePlayer)
Start endpoint hook
void OnEndpointAdded(INetcodeSession session, EndPoint endpoint, NetcodePlayer player)
Parameters
session
INetcodeSessionendpoint
EndPointplayer
NetcodePlayer
OnEndpointClosed(INetcodeSession, EndPoint, NetcodePlayer)
Close endpoint hook
void OnEndpointClosed(INetcodeSession session, EndPoint endpoint, NetcodePlayer player)
Parameters
session
INetcodeSessionendpoint
EndPointplayer
NetcodePlayer
OnFrameBegin(INetcodeSession, bool)
Beginning of a frame hook
void OnFrameBegin(INetcodeSession session, bool isSynchronizing)
Parameters
session
INetcodeSessionisSynchronizing
bool
OnSessionClose(INetcodeSession)
Session close hook
void OnSessionClose(INetcodeSession session)
Parameters
session
INetcodeSession
OnSessionStart(INetcodeSession)
Session start hook
void OnSessionStart(INetcodeSession session)
Parameters
session
INetcodeSession