25 lines
596 B
Java
25 lines
596 B
Java
package com.discord.api.botuikit;
|
|
/* compiled from: Component.kt */
|
|
public enum ComponentType {
|
|
UNKNOWN(0, Component.class),
|
|
ACTION_ROW(1, ActionRowComponent.class),
|
|
BUTTON(2, ButtonComponent.class),
|
|
SELECT(3, SelectComponent.class);
|
|
|
|
private final Class<? extends Component> clazz;
|
|
private final int type;
|
|
|
|
private ComponentType(int i, Class cls) {
|
|
this.type = i;
|
|
this.clazz = cls;
|
|
}
|
|
|
|
public final Class<? extends Component> getClazz() {
|
|
return this.clazz;
|
|
}
|
|
|
|
public final int getType() {
|
|
return this.type;
|
|
}
|
|
}
|