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); } }
public static void Send(WorldPacket pkg) { pkg.Set(0, (int)(pkg.BaseStream.Length - 4)); m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length); }
public void Send(WorldPacket pkg) { pkg.Set(0, (int)(pkg.BaseStream.Length - 4)); m_client.Send(pkg.GetBuffer(), pkg.BaseStream.Length); }