Record Class BedrockRealmPermissions
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.features.realms.BedrockRealmPermissions
-
Constructor Summary
ConstructorsConstructorDescriptionBedrockRealmPermissions(boolean owner, Set<String> actions) Creates an instance of aBedrockRealmPermissionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.booleanfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanowner()Returns the value of theownerrecord component.static BedrockRealmPermissionsresolve(long realmId, String userId, com.google.gson.JsonObject world, com.google.gson.JsonArray definitions, com.google.gson.JsonArray assignments) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BedrockRealmPermissions
-
-
Method Details
-
allows
-
resolve
public static BedrockRealmPermissions resolve(long realmId, String userId, com.google.gson.JsonObject world, com.google.gson.JsonArray definitions, com.google.gson.JsonArray assignments) -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
owner
public boolean owner()Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
actions
-