Пример #1
0
 public static void Send(WorldPacket pkg)
 {
     try {
         pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
         m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
     } catch (Exception exp) {
         DebugLogger.Log("", exp);
     }
 }
Пример #2
0
 public static void Send(WorldPacket pkg)
 {
     pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
     m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
 }
Пример #3
0
 public void Send(WorldPacket pkg)
 {
     pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
     m_client.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
 }