/// <summary> /// Writes the event. /// </summary> protected void WriteEvent(ConnectedClient client, DataPacket request, out ResponsePacket response) { int index = ArgumentIndex; Event ev = GetEvent(request.Buffer, ref index); int archiveMask = GetInt32(request.Buffer, ref index); coreLogic.WriteEvent(ev, archiveMask); response = new ResponsePacket(request, client.OutBuf) { ArgumentLength = 8 }; CopyInt64(ev.EventID, client.OutBuf, ArgumentIndex); }
/// <summary> /// Writes the event. /// </summary> public void WriteEvent(Event ev, int archiveMask) { coreLogic.WriteEvent(ev, archiveMask); }
/// <summary> /// Writes the event. /// </summary> public void WriteEvent(int archiveMask, Event ev) { coreLogic.WriteEvent(archiveMask, ev); }