Package net.minecraft.src
Class AccountInfo
- java.lang.Object
-
- net.minecraft.src.AccountInfo
-
- Direct Known Subclasses:
AccountInfo.MsaAccount
,AccountInfo.OfflineAccount
,AccountInfo.OneShotAccount
public abstract class AccountInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountInfo.MsaAccount
static class
AccountInfo.OfflineAccount
static class
AccountInfo.OneShotAccount
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
allowDelete()
boolean
allowedInSafeMode()
static AccountInfo
fromNbt(NBTTagCompound nbt)
abstract java.lang.String
getSessionId()
abstract java.lang.String
getTypeId()
java.lang.String
getUsername()
boolean
isOffline()
protected abstract void
readCustomNbt(NBTTagCompound nbt)
void
readNbt(NBTTagCompound nbt)
void
setUsername(java.lang.String username)
NBTTagCompound
toNbt()
protected abstract void
writeCustomNbt(NBTTagCompound nbt)
void
writeNbt(NBTTagCompound nbt)
-
-
-
Method Detail
-
getUsername
public final java.lang.String getUsername()
-
setUsername
public final void setUsername(java.lang.String username)
-
isOffline
public final boolean isOffline()
-
getTypeId
public abstract java.lang.String getTypeId()
-
getSessionId
public abstract java.lang.String getSessionId()
-
writeNbt
public final void writeNbt(NBTTagCompound nbt)
-
writeCustomNbt
protected abstract void writeCustomNbt(NBTTagCompound nbt)
-
readNbt
public final void readNbt(NBTTagCompound nbt)
-
readCustomNbt
protected abstract void readCustomNbt(NBTTagCompound nbt)
-
toNbt
public final NBTTagCompound toNbt()
-
fromNbt
public static AccountInfo fromNbt(NBTTagCompound nbt)
-
allowDelete
public boolean allowDelete()
-
allowedInSafeMode
public boolean allowedInSafeMode()
-
-