All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codedisaster.steamworks.SteamUniverse Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.codedisaster.steamworks;

public enum SteamUniverse {
	Invalid(0),
	Public(1),
	Beta(2),
	Internal(3),
	Dev(4);

	private final int value;
	private static final SteamUniverse[] values = values();

	SteamUniverse(int value) {
		this.value = value;
	}

	static SteamUniverse byValue(int value) {
		for (SteamUniverse type : values) {
			if (type.value == value) {
				return type;
			}
		}
		return Invalid;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy