141 lines
4.4 KiB
Java
141 lines
4.4 KiB
Java
|
package com.discord.widgets.stage;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||
|
/* compiled from: StageRoles.kt */
|
||
|
public final class StageRoles {
|
||
|
private static final int AUDIENCE;
|
||
|
public static final Companion Companion;
|
||
|
private static final int IS_INVITED_TO_SPEAK = 4;
|
||
|
private static final int IS_MODERATOR = 2;
|
||
|
private static final int IS_SPEAKER = 1;
|
||
|
private final int rolesFlags;
|
||
|
|
||
|
/* compiled from: StageRoles.kt */
|
||
|
public static final class Companion {
|
||
|
private Companion() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||
|
this();
|
||
|
}
|
||
|
|
||
|
/* renamed from: invoke-H48EO60$default reason: not valid java name */
|
||
|
public static /* synthetic */ int m29invokeH48EO60$default(Companion companion, boolean z2, boolean z3, boolean z4, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
z2 = false;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
z3 = false;
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
z4 = false;
|
||
|
}
|
||
|
return companion.m31invokeH48EO60(z2, z3, z4);
|
||
|
}
|
||
|
|
||
|
/* renamed from: getAUDIENCE-1LxfuJo reason: not valid java name */
|
||
|
public final int m30getAUDIENCE1LxfuJo() {
|
||
|
return StageRoles.m17access$getAUDIENCE$cp1LxfuJo();
|
||
|
}
|
||
|
|
||
|
/* renamed from: invoke-H48EO60 reason: not valid java name */
|
||
|
public final int m31invokeH48EO60(boolean z2, boolean z3, boolean z4) {
|
||
|
int i = z2 ? 1 : 0;
|
||
|
if (z3) {
|
||
|
i |= 2;
|
||
|
}
|
||
|
if (z4) {
|
||
|
i |= 4;
|
||
|
}
|
||
|
return StageRoles.m19constructorimpl(i);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
Companion companion = new Companion(null);
|
||
|
Companion = companion;
|
||
|
AUDIENCE = Companion.m29invokeH48EO60$default(companion, false, false, false, 7, null);
|
||
|
}
|
||
|
|
||
|
private /* synthetic */ StageRoles(int i) {
|
||
|
this.rolesFlags = i;
|
||
|
}
|
||
|
|
||
|
/* renamed from: access$getAUDIENCE$cp-1LxfuJo reason: not valid java name */
|
||
|
public static final /* synthetic */ int m17access$getAUDIENCE$cp1LxfuJo() {
|
||
|
return AUDIENCE;
|
||
|
}
|
||
|
|
||
|
/* renamed from: box-impl reason: not valid java name */
|
||
|
public static final /* synthetic */ StageRoles m18boximpl(int i) {
|
||
|
return new StageRoles(i);
|
||
|
}
|
||
|
|
||
|
/* renamed from: constructor-impl reason: not valid java name */
|
||
|
public static int m19constructorimpl(int i) {
|
||
|
return i;
|
||
|
}
|
||
|
|
||
|
/* renamed from: equals-impl reason: not valid java name */
|
||
|
public static boolean m20equalsimpl(int i, Object obj) {
|
||
|
return (obj instanceof StageRoles) && i == ((StageRoles) obj).m28unboximpl();
|
||
|
}
|
||
|
|
||
|
/* renamed from: equals-impl0 reason: not valid java name */
|
||
|
public static final boolean m21equalsimpl0(int i, int i2) {
|
||
|
return i == i2;
|
||
|
}
|
||
|
|
||
|
/* renamed from: hashCode-impl reason: not valid java name */
|
||
|
public static int m22hashCodeimpl(int i) {
|
||
|
return i;
|
||
|
}
|
||
|
|
||
|
/* renamed from: isAudience-impl reason: not valid java name */
|
||
|
public static final boolean m23isAudienceimpl(int i) {
|
||
|
return !m26isSpeakerimpl(i) && !m25isModeratorimpl(i);
|
||
|
}
|
||
|
|
||
|
/* renamed from: isInvitedToSpeak-impl reason: not valid java name */
|
||
|
public static final boolean m24isInvitedToSpeakimpl(int i) {
|
||
|
return (i & 4) != 0;
|
||
|
}
|
||
|
|
||
|
/* renamed from: isModerator-impl reason: not valid java name */
|
||
|
public static final boolean m25isModeratorimpl(int i) {
|
||
|
return (i & 2) != 0;
|
||
|
}
|
||
|
|
||
|
/* renamed from: isSpeaker-impl reason: not valid java name */
|
||
|
public static final boolean m26isSpeakerimpl(int i) {
|
||
|
return (i & 1) != 0;
|
||
|
}
|
||
|
|
||
|
/* renamed from: toString-impl reason: not valid java name */
|
||
|
public static String m27toStringimpl(int i) {
|
||
|
return a.k("StageRoles(rolesFlags=", i, ")");
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
return m20equalsimpl(this.rolesFlags, obj);
|
||
|
}
|
||
|
|
||
|
public final int getRolesFlags() {
|
||
|
return this.rolesFlags;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
return m22hashCodeimpl(this.rolesFlags);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
return m27toStringimpl(this.rolesFlags);
|
||
|
}
|
||
|
|
||
|
/* renamed from: unbox-impl reason: not valid java name */
|
||
|
public final /* synthetic */ int m28unboximpl() {
|
||
|
return this.rolesFlags;
|
||
|
}
|
||
|
}
|