Class PlayerProfile
java.lang.Object
pro.gravit.launcher.base.profiles.PlayerProfile
- All Implemented Interfaces:
pro.gravit.launcher.core.api.model.User
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlayerProfile(UUID uuid, String username, Map<String, Texture> assets, Map<String, String> properties) PlayerProfile(UUID uuid, String username, Texture skin, Texture cloak) Deprecated.PlayerProfile(UUID uuid, String username, Texture skin, Texture cloak, Map<String, String> properties) Deprecated.PlayerProfile(pro.gravit.launcher.core.api.model.User user) -
Method Summary
Modifier and TypeMethodDescriptiongetUUID()static PlayerProfilenewOfflineProfile(String username) static UUIDofflineUUID(String username)
-
Field Details
-
uuid
-
username
-
assets
-
properties
-
-
Constructor Details
-
PlayerProfile
Deprecated. -
PlayerProfile
-
PlayerProfile
-
PlayerProfile
public PlayerProfile(pro.gravit.launcher.core.api.model.User user)
-
-
Method Details
-
newOfflineProfile
-
offlineUUID
-
getUsername
- Specified by:
getUsernamein interfacepro.gravit.launcher.core.api.model.User
-
getUUID
- Specified by:
getUUIDin interfacepro.gravit.launcher.core.api.model.User
-
getAssets
-
getProperties
-