INetworkEventsCore..::..RegisterEvent Method
Registers a callback action to be invoked when an event with the specified event code occurs.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
void RegisterEvent( int eventCode, Action<IDataStream> callBack )
Parameters
- eventCode
- Type: Int32
The unique identifier for the event.
- callBack
- Type: Action<(Of <(<'IDataStream>)>)>
The action to be called when the event occurs, receiving an IDataStream as a parameter.

