v.smali
.class public Lcom/sandboxol/blockymods/view/fragment/partycreate/v;
.super Ljava/lang/Object;
.source "PartyCreateModel.java"
# instance fields
.field private a:Lcom/sandboxol/blockymods/e/b/c/f;
# direct methods
.method public constructor <init>()V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Lcom/sandboxol/blockymods/view/fragment/partycreate/u;
invoke-direct {v0, p0}, Lcom/sandboxol/blockymods/view/fragment/partycreate/u;-><init>(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;)V
iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/partycreate/v;->a:Lcom/sandboxol/blockymods/e/b/c/f;
return-void
.end method
.method static synthetic a(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;)Lcom/sandboxol/blockymods/e/b/c/f;
.registers 1
.line 2
iget-object p0, p0, Lcom/sandboxol/blockymods/view/fragment/partycreate/v;->a:Lcom/sandboxol/blockymods/e/b/c/f;
return-object p0
.end method
.method private a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroidx/databinding/ObservableField;Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;)V
.registers 37
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"IIIIII",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Landroidx/databinding/ObservableField<",
"Ljava/lang/Boolean;",
">;",
"Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;",
")V"
}
.end annotation
.line 7
invoke-static/range {p10 .. p10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_16
invoke-virtual/range {p10 .. p10}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
move-result-object v0
const-string v3, "b"
invoke-virtual {v0, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_16
const/4 v0, 0x1
goto :goto_17
:cond_16
const/4 v0, 0x0
.line 8
:goto_17
invoke-static {}, Lcom/sandboxol/center/entity/AccountCenter;->newInstance()Lcom/sandboxol/center/entity/AccountCenter;
move-result-object v3
iget-object v3, v3, Lcom/sandboxol/center/entity/AccountCenter;->userId:Landroidx/databinding/ObservableField;
invoke-virtual {v3}, Landroidx/databinding/ObservableField;->get()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Long;
invoke-virtual {v3}, Ljava/lang/Long;->longValue()J
move-result-wide v3
const/4 v5, 0x0
move/from16 v15, p8
if-ne v15, v2, :cond_2d
const/4 v1, 0x1
:cond_2d
new-instance v2, Lcom/sandboxol/blockymods/view/fragment/partycreate/t;
move-object v6, v2
move-object/from16 v7, p0
move-object/from16 v8, p2
move-object/from16 v9, p3
move/from16 v10, p4
move/from16 v11, p5
move/from16 v12, p6
move/from16 v13, p7
move-object/from16 v14, p11
move-object/from16 v15, p10
move-object/from16 v16, p12
move/from16 v17, p8
move/from16 v18, p9
move-object/from16 v19, p14
move-object/from16 v20, p1
move-object/from16 v21, p13
invoke-direct/range {v6 .. v21}, Lcom/sandboxol/blockymods/view/fragment/partycreate/t;-><init>(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;Ljava/lang/String;Ljava/lang/String;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILcom/sandboxol/greendao/entity/PartyCreateGameConfig;Landroid/content/Context;Landroidx/databinding/ObservableField;)V
move/from16 p2, v0
move-wide/from16 p3, v3
move-object/from16 p5, v5
move/from16 p6, v1
move-object/from16 p7, v2
invoke-static/range {p1 .. p7}, Lcom/sandboxol/imchat/web/ChatGameApi;->getPartyAuthTest(Landroid/content/Context;ZJLjava/lang/String;ZLcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method static synthetic a(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroidx/databinding/ObservableField;Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;)V
.registers 15
.line 1
invoke-direct/range {p0 .. p14}, Lcom/sandboxol/blockymods/view/fragment/partycreate/v;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroidx/databinding/ObservableField;Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;)V
return-void
.end method
# virtual methods
.method public a()V
.registers 1
return-void
.end method
.method public a(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/interfaces/OnDataListener;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/sandboxol/common/interfaces/OnDataListener<",
"Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;",
">;)V"
}
.end annotation
.line 3
new-instance v0, Lcom/sandboxol/blockymods/view/fragment/partycreate/q;
invoke-direct {v0, p0, p3, p1}, Lcom/sandboxol/blockymods/view/fragment/partycreate/q;-><init>(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;Lcom/sandboxol/common/interfaces/OnDataListener;Landroid/content/Context;)V
invoke-static {p1, p2, v0}, Lcom/sandboxol/center/web/GameApi;->getPartyCreateGameConfig(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIIILandroidx/databinding/ObservableField;Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;)V
.registers 30
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"IIIIII",
"Landroidx/databinding/ObservableField<",
"Ljava/lang/Boolean;",
">;",
"Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;",
")V"
}
.end annotation
move-object/from16 v15, p1
const/4 v0, 0x1
.line 4
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
move-object/from16 v13, p12
invoke-virtual {v13, v0}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V
.line 5
invoke-static {}, Lcom/sandboxol/center/utils/DialogUtils;->newsInstant()Lcom/sandboxol/center/utils/DialogUtils;
move-result-object v0
invoke-virtual {v0, v15}, Lcom/sandboxol/center/utils/DialogUtils;->showLoadingDialog(Landroid/content/Context;)V
.line 6
new-instance v14, Lcom/sandboxol/blockymods/view/fragment/partycreate/s;
move-object v0, v14
move-object/from16 v1, p0
move-object/from16 v2, p1
move-object/from16 v3, p2
move/from16 v4, p6
move/from16 v5, p7
move/from16 v6, p8
move/from16 v7, p9
move/from16 v8, p10
move/from16 v9, p11
move-object/from16 v10, p3
move-object/from16 v11, p4
move-object/from16 v12, p5
move-object v15, v14
move-object/from16 v14, p13
invoke-direct/range {v0 .. v14}, Lcom/sandboxol/blockymods/view/fragment/partycreate/s;-><init>(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;Landroid/content/Context;Ljava/lang/String;IIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroidx/databinding/ObservableField;Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;)V
move-object/from16 v0, p1
move-object/from16 v1, p2
move-object v2, v15
invoke-static {v0, v1, v2}, Lcom/sandboxol/center/web/GameApi;->getChatRoomId(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public b(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/interfaces/OnDataListener;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/sandboxol/common/interfaces/OnDataListener<",
"Ljava/util/List<",
"Lcom/sandboxol/greendao/entity/PartyCreateGameConfig;",
">;>;)V"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/blockymods/view/fragment/partycreate/r;
invoke-direct {v0, p0, p3, p1}, Lcom/sandboxol/blockymods/view/fragment/partycreate/r;-><init>(Lcom/sandboxol/blockymods/view/fragment/partycreate/v;Lcom/sandboxol/common/interfaces/OnDataListener;Landroid/content/Context;)V
invoke-static {p1, p2, v0}, Lcom/sandboxol/center/web/GameApi;->getPartyGameModeConfig(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method