Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused code from com.aapeli package #105

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions client/src/main/java/com/aapeli/applet/AApplet.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.aapeli.client.StringDraw;
import com.aapeli.client.TextManager;
import com.aapeli.connection.Connection;
import com.aapeli.credit.Product;
import com.aapeli.tools.QuickTimer;
import com.aapeli.tools.QuickTimerListener;
import com.aapeli.tools.Tools;
Expand Down Expand Up @@ -694,53 +693,6 @@ public void allowExternalPopups() {
this.callJavaScriptJSON("{\"block\":\"false\"}");
}

public void callJavaScriptJsonBuyConfirmNeeded(Product var1) {
String var2 = "{\"buy\":{\"status\":\"cneeded\",\"product\":\"";
var2 = var2 + var1.getProductName();
var2 = var2 + "}}";
this.callJavaScriptJSON(var2);
}

public void callJavaScriptJsonBuyConfirmAnswer(Product var1, boolean var2) {
String var3 = "{\"buy\":{\"status\":\"canswer\",\"product\":\"";
var3 = var3 + var1.getProductName();
var3 = var3 + "\",\"answer\":\"";
var3 = var3 + (var2 ? "yes" : "no");
var3 = var3 + "\"}}";
this.callJavaScriptJSON(var3);
}

public void callJavaScriptJsonBuyStarted(Product var1) {
this.callJavaScriptJsonBuyStarted(var1.getProductName());
}

public void callJavaScriptJsonBuyStarted(String var1) {
String var2 = "{\"buy\":{\"status\":\"started\",\"product\":\"";
var2 = var2 + var1;
var2 = var2 + "\"}}";
this.callJavaScriptJSON(var2);
}

public void callJavaScriptJsonBuyFinished(Product var1, int var2) {
this.callJavaScriptJsonBuyFinished(var1.getProductName(), var2);
}

public void callJavaScriptJsonBuyFinished(String var1, int var2) {
String var3 = "{\"buy\":{\"status\":\"finished\",\"product\":\"";
var3 = var3 + var1;
var3 = var3 + "\",\"result\":\"";
if (var2 == 1) {
var3 = var3 + "ok";
} else if (var2 == 0) {
var3 = var3 + "nobalance";
} else if (var2 == -1) {
var3 = var3 + "error";
}

var3 = var3 + "\"}}";
this.callJavaScriptJSON(var3);
}

public void setConnectionReference(Connection var1) {
this.connection = var1;
}
Expand Down
115 changes: 0 additions & 115 deletions client/src/main/java/com/aapeli/client/ApajaGames.java

This file was deleted.

7 changes: 0 additions & 7 deletions client/src/main/java/com/aapeli/client/AutoPopups.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class AutoPopups {

private Class78 aClass78_1327;
private Class88 aClass88_1328;
private Class85 aClass85_1329;
private long aLong1330;
private static final String aString1331 = "facebook";

Expand Down Expand Up @@ -39,8 +38,6 @@ public void gameFinished(boolean var1) {
this.method1562();
} else if (this.aClass88_1328 != null && this.aClass88_1328.method1700()) {
this.method1562();
} else if (this.aClass85_1329 != null && !var1 && this.aClass85_1329.method1678()) {
this.method1562();
}
}
}
Expand Down Expand Up @@ -78,10 +75,6 @@ public void close() {
this.aClass88_1328.method1701();
}

if (this.aClass85_1329 != null) {
this.aClass85_1329.method1679();
}

}
}

Expand Down
80 changes: 0 additions & 80 deletions client/src/main/java/com/aapeli/client/Badge.java

This file was deleted.

Loading
Loading