Exemple #1
0
 public static void Send(WorldPacket pkg)
 {
     DebugLogger.ILog("Sending packet " + pkg.ToString());
     try {
         pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
         m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
     } catch (Exception exp) {
         DebugLogger.ILog("", exp);
     }
 }