@@ -0,0 +1,1636 @@
+package com.github.to2mbn.jyal;%0A%0Aimport java.util.Map;%0Aimport java.util.Objects;%0Aimport java.util.UUID;%0A%0Apublic class GameProfile %7B%0A%0A%09private UUID uuid;%0A%09private String name;%0A%09private boolean legacy;%0A%09private Map%3CString, String%3E properties;%0A%0A%09public GameProfile(UUID uuid, String name, boolean legacy, Map%3CString, String%3E properties) %7B%0A%09%09Objects.requireNonNull(uuid);%0A%09%09Objects.requireNonNull(name);%0A%09%09Objects.requireNonNull(legacy);%0A%09%09Objects.requireNonNull(properties);%0A%09%09this.uuid = uuid;%0A%09%09this.name = name;%0A%09%09this.legacy = legacy;%0A%09%09this.properties = properties;%0A%09%7D%0A%0A%09public UUID getUuid() %7B%0A%09%09return uuid;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public boolean isLegacy() %7B%0A%09%09return legacy;%0A%09%7D%0A%0A%09public Map%3CString, String%3E getProperties() %7B%0A%09%09return properties;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22GameProfile %5Buuid=%22 + uuid + %22, name=%22 + name + %22, legacy=%22 + legacy + %22, properties=%22 + properties + %22%5D%22;%0A%09%7D%0A%0A%09@Override%0A%09public int hashCode() %7B%0A%09%09int prime = 31;%0A%09%09int result = 1;%0A%09%09result = prime * result + (legacy ? 1231 : 1237);%0A%09%09result = prime * result + ((name == null) ? 0 : name.hashCode());%0A%09%09result = prime * result + ((properties == null) ? 0 : properties.hashCode());%0A%09%09result = prime * result + ((uuid == null) ? 0 : uuid.hashCode());%0A%09%09return result;%0A%09%7D%0A%0A%09@Override%0A%09public boolean equals(Object obj) %7B%0A%09%09if (obj == this) %7B%0A%09%09%09return true;%0A%09%09%7D%0A%0A%09%09if (obj instanceof GameProfile) %7B%0A%09%09%09GameProfile another = (GameProfile) obj;%0A%09%09%09return legacy == another.legacy && uuid.equals(another.uuid) && name.equals(another.name) && properties.equals(another.properties);%0A%09%09%7D%0A%0A%09%09return false;%0A%09%7D%0A%0A%7D%0A

add GameProfile