Files
rr3-apk/decompiled-community/sources/com/facebook/gamingservices/model/CustomUpdateLocalizedText.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

94 lines
3.4 KiB
Java

package com.facebook.gamingservices.model;
import com.mbridge.msdk.newreward.player.view.hybrid.util.MRAIDCommunicatorUtil;
import java.util.HashMap;
import java.util.Map;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class CustomUpdateLocalizedText {
/* renamed from: default, reason: not valid java name */
private final String f0default;
private final HashMap<String, String> localizations;
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ CustomUpdateLocalizedText copy$default(CustomUpdateLocalizedText customUpdateLocalizedText, String str, HashMap hashMap, int i, Object obj) {
if ((i & 1) != 0) {
str = customUpdateLocalizedText.f0default;
}
if ((i & 2) != 0) {
hashMap = customUpdateLocalizedText.localizations;
}
return customUpdateLocalizedText.copy(str, hashMap);
}
public final String component1() {
return this.f0default;
}
public final HashMap<String, String> component2() {
return this.localizations;
}
public final CustomUpdateLocalizedText copy(String str, HashMap<String, String> hashMap) {
Intrinsics.checkNotNullParameter(str, "default");
return new CustomUpdateLocalizedText(str, hashMap);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof CustomUpdateLocalizedText)) {
return false;
}
CustomUpdateLocalizedText customUpdateLocalizedText = (CustomUpdateLocalizedText) obj;
return Intrinsics.areEqual(this.f0default, customUpdateLocalizedText.f0default) && Intrinsics.areEqual(this.localizations, customUpdateLocalizedText.localizations);
}
public final String getDefault() {
return this.f0default;
}
public final HashMap<String, String> getLocalizations() {
return this.localizations;
}
public int hashCode() {
int hashCode = this.f0default.hashCode() * 31;
HashMap<String, String> hashMap = this.localizations;
return hashCode + (hashMap == null ? 0 : hashMap.hashCode());
}
public String toString() {
return "CustomUpdateLocalizedText(default=" + this.f0default + ", localizations=" + this.localizations + ')';
}
public CustomUpdateLocalizedText(String str, HashMap<String, String> hashMap) {
Intrinsics.checkNotNullParameter(str, "default");
this.f0default = str;
this.localizations = hashMap;
}
public /* synthetic */ CustomUpdateLocalizedText(String str, HashMap hashMap, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : hashMap);
}
public final JSONObject toJSONObject() {
JSONObject jSONObject = new JSONObject();
jSONObject.put(MRAIDCommunicatorUtil.STATES_DEFAULT, this.f0default);
HashMap<String, String> hashMap = this.localizations;
if (hashMap != null) {
JSONObject jSONObject2 = new JSONObject();
for (Map.Entry<String, String> entry : hashMap.entrySet()) {
jSONObject2.put(entry.getKey(), entry.getValue());
}
jSONObject.put("localizations", jSONObject2);
}
return jSONObject;
}
}