Record Class BedrockData
java.lang.Object
java.lang.Record
com.soulfiremc.server.account.service.BedrockData
- All Implemented Interfaces:
AccountData
public record BedrockData(com.google.gson.JsonObject authChain)
extends Record
implements AccountData
-
Constructor Summary
ConstructorsConstructorDescriptionBedrockData(com.google.gson.JsonObject authChain) Creates an instance of aBedrockDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectReturns the value of theauthChainrecord component.final booleanIndicates whether some other object is "equal to" this one.static BedrockDatanet.raphimc.minecraftauth.bedrock.BedrockAuthManagergetBedrockAuthManager(SFProxy proxyData) final inthashCode()Returns a hash code value for this object.toProto()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BedrockData
public BedrockData(com.google.gson.JsonObject authChain) Creates an instance of aBedrockDatarecord class.- Parameters:
authChain- the value for theauthChainrecord component
-
-
Method Details
-
getBedrockAuthManager
public net.raphimc.minecraftauth.bedrock.BedrockAuthManager getBedrockAuthManager(@Nullable SFProxy proxyData) -
fromProto
-
toProto
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
authChain
public com.google.gson.JsonObject authChain()Returns the value of theauthChainrecord component.- Returns:
- the value of the
authChainrecord component
-