Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Writes the event.
 /// </summary>
 public void WriteEvent(Event ev, int archiveMask)
 {
     coreLogic.WriteEvent(ev, archiveMask);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Writes the event.
 /// </summary>
 public void WriteEvent(int archiveMask, Event ev)
 {
     coreLogic.WriteEvent(archiveMask, ev);
 }