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.SerializableObjectRepresents 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFirstLoginTimeMillis()longgetLastLoginTimeMillis()NetworkConnectionInfogetLastNetworkConnectionInfo()de.dytanic.cloudnet.common.document.gson.JsonDocumentgetProperties()@NotNull java.util.UUIDgetUniqueId()Return the unique identifier of a player from the Minecraft Java or Bedrock Editionjava.lang.StringgetXBoxId()Returns the XBoxId from the offlinePlayer if the player has to be connect from the Minecraft Bedrock EditionvoidsetFirstLoginTimeMillis(long firstLoginTimeMillis)voidsetLastLoginTimeMillis(long lastLoginTimeMillis)voidsetLastNetworkConnectionInfo(@NotNull NetworkConnectionInfo lastNetworkConnectionInfo)voidsetName(@NotNull java.lang.String name)Sets the players namevoidsetProperties(@NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument properties)
-
-
-
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)
-
getLastNetworkConnectionInfo
NetworkConnectionInfo getLastNetworkConnectionInfo()
-
setLastNetworkConnectionInfo
void setLastNetworkConnectionInfo(@NotNull @NotNull NetworkConnectionInfo lastNetworkConnectionInfo)
-
getProperties
de.dytanic.cloudnet.common.document.gson.JsonDocument getProperties()
- Specified by:
getPropertiesin interfacede.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable
-
setProperties
void setProperties(@NotNull @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument properties)
-
-