Interface INetworkInterceptor
Allows an object to intercept BSONObjects being sent.
See AddNetworkInteceptor(INetworkInterceptor) and RemoveNetworkInterceptor(INetworkInterceptor) for adding/removing INetworkInterceptor instances.
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public interface INetworkInterceptor
Methods
InterceptSendEvent(NetworkEvent, BSONObject, INetClient, INetObject)
Declaration
bool InterceptSendEvent(NetworkEvent netEvent, BSONObject bsonObj, INetClient target, INetObject netObj)
Parameters
Type | Name | Description |
---|---|---|
NetworkEvent | netEvent | |
BSONObject | bsonObj | |
INetClient | target | |
INetObject | netObj |
Returns
Type | Description |
---|---|
System.Boolean |