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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientConfigInstance(ConfigValue<Boolean> firstTimeLoad, ConfigValue<Boolean> showToast, ConfigValue<Boolean> armorStat, ConfigValue<ShowPlayerListMode> playerListMode, ConfigValue<Boolean> hideOwnContributorTag, CloudSyncConfig cloudSync, ConfigOverrides overrides) Creates an instance of aClientConfigInstancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearmorStatrecord component.Returns the value of thecloudSyncrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstTimeLoadrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehideOwnContributorTagrecord component.Returns the value of theoverridesrecord component.Returns the value of theplayerListModerecord component.Returns the value of theshowToastrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
FIRST_TIME_LOAD
-
SHOW_TOAST
-
PLAYER_LIST_MODE
-
ARMOR_STAT
-
HIDE_OWN_CONTRIBUTOR_TAG
-
-
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 aClientConfigInstancerecord class.- Parameters:
firstTimeLoad- the value for thefirstTimeLoadrecord componentshowToast- the value for theshowToastrecord componentarmorStat- the value for thearmorStatrecord componentplayerListMode- the value for theplayerListModerecord componenthideOwnContributorTag- the value for thehideOwnContributorTagrecord componentcloudSync- the value for thecloudSyncrecord componentoverrides- the value for theoverridesrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
firstTimeLoad
Returns the value of thefirstTimeLoadrecord component.- Returns:
- the value of the
firstTimeLoadrecord component
-
showToast
Returns the value of theshowToastrecord component.- Returns:
- the value of the
showToastrecord component
-
armorStat
Returns the value of thearmorStatrecord component.- Returns:
- the value of the
armorStatrecord component
-
playerListMode
Returns the value of theplayerListModerecord component.- Returns:
- the value of the
playerListModerecord component
-
hideOwnContributorTag
Returns the value of thehideOwnContributorTagrecord component.- Returns:
- the value of the
hideOwnContributorTagrecord component
-
cloudSync
Returns the value of thecloudSyncrecord component.- Returns:
- the value of the
cloudSyncrecord component
-
overrides
Returns the value of theoverridesrecord component.- Returns:
- the value of the
overridesrecord component
-