Beispiel #1
0
 public virtual ulong Enqueue(ushort reqId, byte[] data, uint size)
 {
     if (data != null && size > (uint)data.Length)
     {
         size = (uint)data.Length;
     }
     unsafe
     {
         fixed(byte *buffer = data)
         {
             return(ServerCoreLoader.Enqueue(m_nHandle, reqId, buffer, size));
         }
     }
 }