discord-jadx/app/src/main/java/com/discord/analytics/generated/events/TrackGameOpened.java
2021-12-17 22:59:34 +01:00

80 lines
3.5 KiB
Java

package com.discord.analytics.generated.events;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackAfCard;
import com.discord.analytics.generated.traits.TrackAfCardReceiver;
import com.discord.analytics.generated.traits.TrackAfGame;
import com.discord.analytics.generated.traits.TrackAfGameReceiver;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackGameOpened.kt */
public final class TrackGameOpened implements AnalyticsSchema, TrackBaseReceiver, TrackAfCardReceiver, TrackAfGameReceiver {
private final transient String analyticsSchemaTypeName = "game_opened";
private final Long applicationId = null;
private final Long messageId = null;
private final Long numLauncherApplications = null;
private final Long otherUserId = null;
private final CharSequence partyId = null;
private final CharSequence source = null;
private TrackAfCard trackAfCard;
private TrackAfGame trackAfGame;
private TrackBase trackBase;
private final CharSequence type = null;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackGameOpened)) {
return false;
}
TrackGameOpened trackGameOpened = (TrackGameOpened) obj;
return m.areEqual(this.type, trackGameOpened.type) && m.areEqual(this.source, trackGameOpened.source) && m.areEqual(this.applicationId, trackGameOpened.applicationId) && m.areEqual(this.partyId, trackGameOpened.partyId) && m.areEqual(this.otherUserId, trackGameOpened.otherUserId) && m.areEqual(this.messageId, trackGameOpened.messageId) && m.areEqual(this.numLauncherApplications, trackGameOpened.numLauncherApplications);
}
public int hashCode() {
CharSequence charSequence = this.type;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
CharSequence charSequence2 = this.source;
int hashCode2 = (hashCode + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
Long l = this.applicationId;
int hashCode3 = (hashCode2 + (l != null ? l.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.partyId;
int hashCode4 = (hashCode3 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
Long l2 = this.otherUserId;
int hashCode5 = (hashCode4 + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.messageId;
int hashCode6 = (hashCode5 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.numLauncherApplications;
if (l4 != null) {
i = l4.hashCode();
}
return hashCode6 + i;
}
public String toString() {
StringBuilder R = a.R("TrackGameOpened(type=");
R.append(this.type);
R.append(", source=");
R.append(this.source);
R.append(", applicationId=");
R.append(this.applicationId);
R.append(", partyId=");
R.append(this.partyId);
R.append(", otherUserId=");
R.append(this.otherUserId);
R.append(", messageId=");
R.append(this.messageId);
R.append(", numLauncherApplications=");
return a.F(R, this.numLauncherApplications, ")");
}
}