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 booleanallowDelete()static AccountInfo.OneShotAccountcreateStartup(LaunchData launchData)java.lang.StringgetSessionId()java.lang.StringgetTypeId()protected voidreadCustomNbt(NBTTagCompound nbt)protected voidwriteCustomNbt(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:
getTypeIdin classAccountInfo
-
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionIdin classAccountInfo
-
writeCustomNbt
protected void writeCustomNbt(NBTTagCompound nbt)
- Specified by:
writeCustomNbtin classAccountInfo
-
readCustomNbt
protected void readCustomNbt(NBTTagCompound nbt)
- Specified by:
readCustomNbtin classAccountInfo
-
allowDelete
public boolean allowDelete()
- Overrides:
allowDeletein classAccountInfo
-
createStartup
public static AccountInfo.OneShotAccount createStartup(LaunchData launchData)
-
-