Files
rr3-apk/decompiled-community/sources/com/firemonkeys/cloudcellapi/SerialisedNotificationInfo.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

56 lines
1.7 KiB
Java

package com.firemonkeys.cloudcellapi;
import java.io.Serializable;
import java.util.Vector;
/* loaded from: classes2.dex */
public class SerialisedNotificationInfo implements Serializable {
static final boolean s_bLog = false;
int nVersion = 2;
private Vector<String> m_vsNotifications = new Vector<>();
private boolean m_bNotificationsAllowed = true;
public boolean AreNotificationsAllowed() {
return this.m_bNotificationsAllowed;
}
public void LOG(String str) {
}
public void SetAreNotificationsAllowed(boolean z) {
this.m_bNotificationsAllowed = z;
}
public void Print(String str) {
LOG(str);
LOG("Notification count = " + this.m_vsNotifications);
for (int i = 0; i < this.m_vsNotifications.size(); i++) {
LOG("Notification (" + i + ") = " + this.m_vsNotifications.get(i));
}
LOG("-----");
}
public final int GetNotificationCount() {
LOG("Notification size = " + this.m_vsNotifications.size());
return this.m_vsNotifications.size();
}
public final String GetNotificationString(int i) throws Exception {
if (i >= 0 && i < this.m_vsNotifications.size()) {
LOG("Notification at index (" + i + ") = " + this.m_vsNotifications.get(i));
return this.m_vsNotifications.get(i);
}
throw new Exception("Trying to get a notification form an invalid index!");
}
public void AddNotification(String str) {
LOG("Add notification to the vector (" + str + ")");
this.m_vsNotifications.add(str);
}
public void ClearAll() {
LOG("Clear all notifications from vector");
this.m_vsNotifications.clear();
}
}