Record Class ClientConfigInstance

java.lang.Object
java.lang.Record
com.wildfire.client.config.ClientConfigInstance

public record ClientConfigInstance(ConfigValue<Boolean> firstTimeLoad, ConfigValue<Boolean> showToast, ConfigValue<Boolean> armorStat, ConfigValue<ShowPlayerListMode> playerListMode, ConfigValue<Boolean> hideOwnContributorTag, CloudSyncConfig cloudSync, ConfigOverrides overrides) extends Record
  • Field Details

  • Constructor Details

    • ClientConfigInstance

      public ClientConfigInstance(ConfigValue<Boolean> firstTimeLoad, ConfigValue<Boolean> showToast, ConfigValue<Boolean> armorStat, ConfigValue<ShowPlayerListMode> playerListMode, ConfigValue<Boolean> hideOwnContributorTag, CloudSyncConfig cloudSync, ConfigOverrides overrides)
      Creates an instance of a ClientConfigInstance record class.
      Parameters:
      firstTimeLoad - the value for the firstTimeLoad record component
      showToast - the value for the showToast record component
      armorStat - the value for the armorStat record component
      playerListMode - the value for the playerListMode record component
      hideOwnContributorTag - the value for the hideOwnContributorTag record component
      cloudSync - the value for the cloudSync record component
      overrides - the value for the overrides record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • firstTimeLoad

      public ConfigValue<Boolean> firstTimeLoad()
      Returns the value of the firstTimeLoad record component.
      Returns:
      the value of the firstTimeLoad record component
    • showToast

      public ConfigValue<Boolean> showToast()
      Returns the value of the showToast record component.
      Returns:
      the value of the showToast record component
    • armorStat

      public ConfigValue<Boolean> armorStat()
      Returns the value of the armorStat record component.
      Returns:
      the value of the armorStat record component
    • playerListMode

      public ConfigValue<ShowPlayerListMode> playerListMode()
      Returns the value of the playerListMode record component.
      Returns:
      the value of the playerListMode record component
    • hideOwnContributorTag

      public ConfigValue<Boolean> hideOwnContributorTag()
      Returns the value of the hideOwnContributorTag record component.
      Returns:
      the value of the hideOwnContributorTag record component
    • cloudSync

      public CloudSyncConfig cloudSync()
      Returns the value of the cloudSync record component.
      Returns:
      the value of the cloudSync record component
    • overrides

      public ConfigOverrides overrides()
      Returns the value of the overrides record component.
      Returns:
      the value of the overrides record component