Interface ICloudOfflinePlayer

  • All Superinterfaces:
    de.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable, de.dytanic.cloudnet.common.INameable, de.dytanic.cloudnet.driver.serialization.SerializableObject
    All Known Subinterfaces:
    ICloudPlayer
    All Known Implementing Classes:
    CloudOfflinePlayer, CloudPlayer

    public interface ICloudOfflinePlayer
    extends de.dytanic.cloudnet.common.INameable, de.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable, de.dytanic.cloudnet.driver.serialization.SerializableObject
    Represents the data of an offlinePlayer instance that is saved on the database on CloudNet The player does not need to be online for this item to be provisioned
    • Method Detail

      • getUniqueId

        @NotNull
        @NotNull java.util.UUID getUniqueId()
        Return the unique identifier of a player from the Minecraft Java or Bedrock Edition
      • setName

        void setName​(@NotNull
                     @NotNull java.lang.String name)
        Sets the players name
        Parameters:
        name - the name, that should be changed from this object
      • getXBoxId

        java.lang.String getXBoxId()
        Returns the XBoxId from the offlinePlayer if the player has to be connect from the Minecraft Bedrock Edition
      • getFirstLoginTimeMillis

        long getFirstLoginTimeMillis()
      • setFirstLoginTimeMillis

        void setFirstLoginTimeMillis​(long firstLoginTimeMillis)
      • getLastLoginTimeMillis

        long getLastLoginTimeMillis()
      • setLastLoginTimeMillis

        void setLastLoginTimeMillis​(long lastLoginTimeMillis)
      • setLastNetworkConnectionInfo

        void setLastNetworkConnectionInfo​(@NotNull
                                          @NotNull NetworkConnectionInfo lastNetworkConnectionInfo)
      • getProperties

        de.dytanic.cloudnet.common.document.gson.JsonDocument getProperties()
        Specified by:
        getProperties in interface de.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable
      • setProperties

        void setProperties​(@NotNull
                           @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument properties)