Package net.minecraft.src
Class AccountInfo.OneShotAccount
- java.lang.Object
-
- net.minecraft.src.AccountInfo
-
- net.minecraft.src.AccountInfo.OneShotAccount
-
- Enclosing class:
- AccountInfo
public static final class AccountInfo.OneShotAccount extends AccountInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.src.AccountInfo
AccountInfo.MsaAccount, AccountInfo.OfflineAccount, AccountInfo.OneShotAccount
-
-
Constructor Summary
Constructors Constructor Description OneShotAccount()
OneShotAccount(java.lang.String username, java.lang.String sessionId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowDelete()
static AccountInfo.OneShotAccount
createStartup(LaunchData launchData)
java.lang.String
getSessionId()
java.lang.String
getTypeId()
protected void
readCustomNbt(NBTTagCompound nbt)
protected void
writeCustomNbt(NBTTagCompound nbt)
-
Methods inherited from class net.minecraft.src.AccountInfo
allowedInSafeMode, fromNbt, getUsername, isOffline, readNbt, setUsername, toNbt, writeNbt
-
-
-
-
Method Detail
-
getTypeId
public java.lang.String getTypeId()
- Specified by:
getTypeId
in classAccountInfo
-
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId
in classAccountInfo
-
writeCustomNbt
protected void writeCustomNbt(NBTTagCompound nbt)
- Specified by:
writeCustomNbt
in classAccountInfo
-
readCustomNbt
protected void readCustomNbt(NBTTagCompound nbt)
- Specified by:
readCustomNbt
in classAccountInfo
-
allowDelete
public boolean allowDelete()
- Overrides:
allowDelete
in classAccountInfo
-
createStartup
public static AccountInfo.OneShotAccount createStartup(LaunchData launchData)
-
-