public extern static void SetEventReportReceivedCallback(IntPtr exConnPtr, NetSimAgent.EventReportReceivedCallback eventReportReceivedCallback);
Exemple #2
0
 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);
 }