public extern static void SetEventReportReceivedCallback(IntPtr exConnPtr, NetSimAgent.EventReportReceivedCallback eventReportReceivedCallback);
public void SetEventReportReceivedCallback(System.IntPtr exConnPtr, NetSimAgent.EventReportReceivedCallback eventReportReceivedCallback) { CppEventReport.SetEventReportReceivedCallback(exConnPtr, eventReportReceivedCallback); }
void Start() { eventReportReceivedCallback = new NetSimAgent.EventReportReceivedCallback(EventReportReceived); NetSimAgent.Instance.SetEventReportReceivedCallback(ExerciseConnection.ExerciseConnectionPtr, eventReportReceivedCallback); }