Created
April 25, 2020 02:47
-
-
Save mattmess1221/508ae06a3c31452b8560fae356be59d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package splooge.api.world; | |
import kotlin.jvm.internal.PropertyReference1; | |
import kotlin.reflect.KDeclarationContainer; | |
import kotlin.jvm.internal.PropertyReference1Impl; | |
import kotlin.jvm.internal.Reflection; | |
import org.jetbrains.annotations.NotNull; | |
import kotlin.reflect.KProperty; | |
import splooge.api.EnumProvider; | |
import kotlin.Metadata; | |
import splooge.api.IEnum; | |
@Metadata(mv = { 1, 1, 16 }, bv = { 1, 0, 3 }, k = 1, d1 = { "\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u0000 \u00022\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0002¨\u0006\u0003" }, d2 = { "Lsplooge/api/world/GameMode;", "Lsplooge/api/IEnum;", "Companion", "Splooge" }) | |
public interface GameMode extends IEnum<GameMode> | |
{ | |
public static final Companion Companion = GameMode.Companion.$$INSTANCE; | |
@Metadata(mv = { 1, 1, 16 }, bv = { 1, 0, 3 }, k = 1, d1 = { "\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0013\b\u0086\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0003R\u001b\u0010\u0004\u001a\u00020\u00028FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u0007\u0010\b\u001a\u0004\b\u0005\u0010\u0006R\u001b\u0010\t\u001a\u00020\u00028FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u000b\u0010\b\u001a\u0004\b\n\u0010\u0006R\u001b\u0010\f\u001a\u00020\u00028FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u000e\u0010\b\u001a\u0004\b\r\u0010\u0006R\u001b\u0010\u000f\u001a\u00020\u00028FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u0011\u0010\b\u001a\u0004\b\u0010\u0010\u0006R\u001b\u0010\u0012\u001a\u00020\u00028FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u0014\u0010\b\u001a\u0004\b\u0013\u0010\u0006¨\u0006\u0015" }, d2 = { "Lsplooge/api/world/GameMode$Companion;", "Lsplooge/api/EnumProvider;", "Lsplooge/api/world/GameMode;", "()V", "ADVENTURE", "getADVENTURE", "()Lsplooge/api/world/GameMode;", "ADVENTURE$delegate", "Lsplooge/api/world/GameMode$Companion;", "CREATIVE", "getCREATIVE", "CREATIVE$delegate", "NOT_SET", "getNOT_SET", "NOT_SET$delegate", "SPECTATOR", "getSPECTATOR", "SPECTATOR$delegate", "SURVIVAL", "getSURVIVAL", "SURVIVAL$delegate", "Splooge" }) | |
public static final class Companion extends EnumProvider<GameMode> | |
{ | |
static final /* synthetic */ KProperty[] $$delegatedProperties; | |
@NotNull | |
private static final Companion NOT_SET$delegate; | |
@NotNull | |
private static final Companion SURVIVAL$delegate; | |
@NotNull | |
private static final Companion CREATIVE$delegate; | |
@NotNull | |
private static final Companion ADVENTURE$delegate; | |
@NotNull | |
private static final Companion SPECTATOR$delegate; | |
static final /* synthetic */ Companion $$INSTANCE; | |
static { | |
$$delegatedProperties = new KProperty[] { (KProperty)Reflection.property1((PropertyReference1)new PropertyReference1Impl((KDeclarationContainer)Reflection.getOrCreateKotlinClass((Class)Companion.class), "NOT_SET", "getNOT_SET()Lsplooge/api/world/GameMode;")), (KProperty)Reflection.property1((PropertyReference1)new PropertyReference1Impl((KDeclarationContainer)Reflection.getOrCreateKotlinClass((Class)Companion.class), "SURVIVAL", "getSURVIVAL()Lsplooge/api/world/GameMode;")), (KProperty)Reflection.property1((PropertyReference1)new PropertyReference1Impl((KDeclarationContainer)Reflection.getOrCreateKotlinClass((Class)Companion.class), "CREATIVE", "getCREATIVE()Lsplooge/api/world/GameMode;")), (KProperty)Reflection.property1((PropertyReference1)new PropertyReference1Impl((KDeclarationContainer)Reflection.getOrCreateKotlinClass((Class)Companion.class), "ADVENTURE", "getADVENTURE()Lsplooge/api/world/GameMode;")), (KProperty)Reflection.property1((PropertyReference1)new PropertyReference1Impl((KDeclarationContainer)Reflection.getOrCreateKotlinClass((Class)Companion.class), "SPECTATOR", "getSPECTATOR()Lsplooge/api/world/GameMode;")) }; | |
SPECTATOR$delegate = (ADVENTURE$delegate = (CREATIVE$delegate = (SURVIVAL$delegate = (NOT_SET$delegate = ($$INSTANCE = new Companion()))))); | |
} | |
@NotNull | |
public final GameMode getNOT_SET() { | |
return Companion.NOT_SET$delegate.getValue(this, (KProperty<?>)Companion.$$delegatedProperties[0]); | |
} | |
@NotNull | |
public final GameMode getSURVIVAL() { | |
return Companion.SURVIVAL$delegate.getValue(this, (KProperty<?>)Companion.$$delegatedProperties[1]); | |
} | |
@NotNull | |
public final GameMode getCREATIVE() { | |
return Companion.CREATIVE$delegate.getValue(this, (KProperty<?>)Companion.$$delegatedProperties[2]); | |
} | |
@NotNull | |
public final GameMode getADVENTURE() { | |
return Companion.ADVENTURE$delegate.getValue(this, (KProperty<?>)Companion.$$delegatedProperties[3]); | |
} | |
@NotNull | |
public final GameMode getSPECTATOR() { | |
return Companion.SPECTATOR$delegate.getValue(this, (KProperty<?>)Companion.$$delegatedProperties[4]); | |
} | |
private Companion() { | |
super(GameMode.class); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package splooge.api.world | |
import splooge.api.EnumProvider | |
import splooge.api.IEnum | |
interface GameMode : IEnum<GameMode> { | |
companion object : EnumProvider<GameMode>(GameMode::class.java) { | |
val NOT_SET by this | |
val SURVIVAL by this | |
val CREATIVE by this | |
val ADVENTURE by this | |
val SPECTATOR by this | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment