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

com.cryptomorin.xseries.profiles.mojang.PlayerProfile Maven / Gradle / Ivy

There is a newer version: 12.1.0
Show newest version
package com.cryptomorin.xseries.profiles.mojang;

import com.mojang.authlib.GameProfile;
import org.jetbrains.annotations.ApiStatus;

import java.util.List;
import java.util.UUID;

@ApiStatus.Internal
final class PlayerProfile {
    public final UUID realUUID;
    public final GameProfile requestedGameProfile, fetchedGameProfile;
    public final List profileActions;

    PlayerProfile(UUID realUUID, GameProfile requestedGameProfile,
                  GameProfile fetchedGameProfile, List profileActions) {
        this.realUUID = realUUID;
        this.requestedGameProfile = requestedGameProfile;
        this.fetchedGameProfile = fetchedGameProfile;
        this.profileActions = profileActions;
    }

    boolean exists() {
        return fetchedGameProfile != null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy