Record Class GamevalEntry
java.lang.Object
java.lang.Record
com.botwithus.bot.api.gameval.GamevalEntry
- Record Components:
type- namespace the name lives inid- the entity id; forGamevalType.COMPONENTthis is the packed(interfaceId << 16) | componentIdgameval- the symbolic name, always upper-case
One nameāid pairing from the gameval index.
-
Constructor Summary
ConstructorsConstructorDescriptionGamevalEntry(GamevalType type, int id, String gameval) Creates an instance of aGamevalEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.gameval()Returns the value of thegamevalrecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Method Details
-
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. -
type
-
id
-
gameval
-