NetworkEvent Constructor
Initializes a new instance of the NetworkEvent class.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public NetworkEvent( int eventCode, Action<IDataStream> actionEvent )
Parameters
- eventCode
- Type: Int32
The unique code for the event.
- actionEvent
- Type: Action<(Of <(<'IDataStream>)>)>
The action to be executed when the event is triggered.