2017-06-13 20:16:49 +00:00
|
|
|
package buttondevteam.website;
|
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
import buttondevteam.lib.player.ChromaGamerBase;
|
|
|
|
import buttondevteam.lib.player.PlayerData;
|
|
|
|
import buttondevteam.lib.player.UserClass;
|
|
|
|
|
|
|
|
@UserClass(foldername = "web")
|
|
|
|
public class WebUser extends ChromaGamerBase {
|
|
|
|
private UUID uuid;
|
|
|
|
|
|
|
|
public UUID getUUID() {
|
|
|
|
if (uuid == null)
|
|
|
|
uuid = UUID.fromString(getFileName());
|
|
|
|
return uuid;
|
|
|
|
}
|
|
|
|
|
|
|
|
public PlayerData<UUID> sessionID() {
|
2017-11-23 22:25:56 +00:00
|
|
|
return data(new UUID(0, 0));
|
2017-06-13 20:16:49 +00:00
|
|
|
}
|
|
|
|
}
|