Record Class OnlineChainJavaData
java.lang.Object
java.lang.Record
com.soulfiremc.server.account.service.OnlineChainJavaData
- All Implemented Interfaces:
AccountData
public record OnlineChainJavaData(com.google.gson.JsonObject authChain)
extends Record
implements AccountData
-
Constructor Summary
ConstructorsConstructorDescriptionOnlineChainJavaData(com.google.gson.JsonObject authChain) Creates an instance of aOnlineChainJavaDatarecord 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 OnlineChainJavaDatanet.raphimc.minecraftauth.java.JavaAuthManagergetJavaAuthManager(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
-
OnlineChainJavaData
public OnlineChainJavaData(com.google.gson.JsonObject authChain) Creates an instance of aOnlineChainJavaDatarecord class.- Parameters:
authChain- the value for theauthChainrecord component
-
-
Method Details
-
getJavaAuthManager
public net.raphimc.minecraftauth.java.JavaAuthManager getJavaAuthManager(@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
-