Class SimpleRPCCore

java.lang.Object
com.hypherionmc.simplerpc.discord.SimpleRPCCore

public final class SimpleRPCCore extends Object
  • Field Details

  • Constructor Details

    • SimpleRPCCore

      public SimpleRPCCore()
  • Method Details

    • init

      public void init()
      Create a new instance of this class
    • setLangCode

      public void setLangCode(String code)
      Update the current game language code
      Parameters:
      code - The current language identifier in use by the game
    • setClientConfig

      @Internal public void setClientConfig(ClientConfig clientConfig)
      Called when the config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!
      Parameters:
      clientConfig - The new ClientConfig to use
    • setServerEntriesConfig

      @Internal public void setServerEntriesConfig(ServerEntriesConfig serverEntriesConfig)
      Called when the server entries config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!
      Parameters:
      serverEntriesConfig - The new ServerEntriesConfig to use
    • setReplayModConfig

      public void setReplayModConfig(ReplayModConfig replayModConfig)
      Called when the ReplayMod config is loaded/reloaded THIS IS INTERNAL. LEAVE THIS SHIT ALONE!
      Parameters:
      replayModConfig - The new ReplayModConfig to use