/// <summary> /// Tell the client about X event /// </summary> /// <param name="remoteClient"></param> /// <param name="queryEventID">ID of the event</param> public void EventInfoRequest(IClientAPI remoteClient, uint queryEventID) { //Find the event EventData data = directoryService.GetEventInfo(queryEventID.ToString()); //Send the event remoteClient.SendEventInfoReply(data); }
/// <summary> /// Tell the client about X event /// </summary> /// <param name = "remoteClient"></param> /// <param name = "queryEventID">ID of the event</param> public void EventInfoRequest(IClientAPI remoteClient, uint queryEventID) { //Find the event EventData data = directoryService.GetEventInfo(queryEventID); if (data == null) { return; } //Send the event remoteClient.SendEventInfoReply(data); }