Class RealmsScreenSection
java.lang.Object
com.hypherionmc.simplerpc.config.presence.RealmsScreenSection
- All Implemented Interfaces:
RichPresenceContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleancom.hypherionmc.craterlib.libs.moonconfig.core.fields.RandomArrayList<RichPresenceModel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert the config to a RichPresencebooleanisActive()Is the current RPC section active, and should it be usedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypherionmc.simplerpc.api.rpc.RichPresenceContainer
overrideWith
-
Field Details
-
enabled
public boolean enabled -
presence
public com.hypherionmc.craterlib.libs.moonconfig.core.fields.RandomArrayList<RichPresenceModel> presence
-
-
Constructor Details
-
RealmsScreenSection
public RealmsScreenSection()
-
-
Method Details
-
buildPresence
Description copied from interface:RichPresenceContainerConvert the config to a RichPresence- Specified by:
buildPresencein interfaceRichPresenceContainer- Returns:
- A copy of
RichPresenceBuilderready to be used
-
isActive
public boolean isActive()Description copied from interface:RichPresenceContainerIs the current RPC section active, and should it be used- Specified by:
isActivein interfaceRichPresenceContainer- Returns:
Boolean.TRUEif enabled
-