namespace Minecraft.Server.FourKit.Entity; /// /// Represents a player identity that may or may not currently be online. /// public interface OfflinePlayer { /// Returns the name of this player. /// The player's name. string getName(); /// Gets a Player object that this represents, if there is one. /// A instance if the player is online; otherwise null. Player? getPlayer(); /// /// Returns the UUID that uniquely identifies this player across sessions. /// This is the player-specific UUID, not the entity UUID. /// /// The player's unique identifier. Guid getUniqueId(); /// Checks if this player is currently online. /// true if the player is online; otherwise false. bool isOnline(); }