Class SimpleRPCCore
java.lang.Object
com.hypherionmc.simplerpc.discord.SimpleRPCCore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Create a new instance of this classvoidsetClientConfig(ClientConfig clientConfig) Called when the config is loaded/reloaded THIS IS INTERNAL.voidsetLangCode(String code) Update the current game language codevoidsetReplayModConfig(ReplayModConfig replayModConfig) Called when the ReplayMod config is loaded/reloaded THIS IS INTERNAL.voidsetServerEntriesConfig(ServerEntriesConfig serverEntriesConfig) Called when the server entries config is loaded/reloaded THIS IS INTERNAL.
-
Field Details
-
INSTANCE
-
replayModConfig
-
-
Constructor Details
-
SimpleRPCCore
public SimpleRPCCore()
-
-
Method Details
-
init
public void init()Create a new instance of this class -
setLangCode
Update the current game language code- Parameters:
code- The current language identifier in use by the game
-
setClientConfig
Called when the config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!- Parameters:
clientConfig- The newClientConfigto use
-
setServerEntriesConfig
Called when the server entries config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!- Parameters:
serverEntriesConfig- The newServerEntriesConfigto use
-
setReplayModConfig
Called when the ReplayMod config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!- Parameters:
replayModConfig- The newReplayModConfigto use
-