OfferWallPlugin$3.smali

.class final Lcom/tradplus/ads/unity/OfferWallPlugin$3;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/unity/OfferWallPlugin;->show(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/tradplus/ads/unity/OfferWallPlugin;


# direct methods
.method constructor <init>(Lcom/tradplus/ads/unity/OfferWallPlugin;Ljava/lang/String;)V
    .registers 3

    iput-object p1, p0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;->b:Lcom/tradplus/ads/unity/OfferWallPlugin;

    iput-object p2, p0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;->a:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 4

    iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;->b:Lcom/tradplus/ads/unity/OfferWallPlugin;

    # getter for: Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
    invoke-static {v0}, Lcom/tradplus/ads/unity/OfferWallPlugin;->access$000(Lcom/tradplus/ads/unity/OfferWallPlugin;)Lcom/tradplus/ads/open/offerwall/TPOfferWall;

    move-result-object v0

    if-eqz v0, :cond_17

    iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;->b:Lcom/tradplus/ads/unity/OfferWallPlugin;

    # getter for: Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
    invoke-static {v0}, Lcom/tradplus/ads/unity/OfferWallPlugin;->access$000(Lcom/tradplus/ads/unity/OfferWallPlugin;)Lcom/tradplus/ads/open/offerwall/TPOfferWall;

    move-result-object v0

    invoke-static {}, Lcom/tradplus/ads/unity/TradplusUnityPlugin;->getActivity()Landroid/app/Activity;

    move-result-object v1

    iget-object v2, p0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/tradplus/ads/open/offerwall/TPOfferWall;->showAd(Landroid/app/Activity;Ljava/lang/String;)V

    :cond_17
    return-void
.end method