Class RichPresenceEvents
java.lang.Object
com.hypherionmc.simplerpc.discord.RichPresenceEvents
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetCustomRPC(@Nullable RichPresenceBuilder newPresence) Set your own RPC state, overriding any displayed RPCvoidsetRPCState(RichPresenceState state) Update the current state of the RPCvoidsetRPCState(RichPresenceState state, GameType type) Update the current RPC state, with additional game type
-
Method Details
-
setRPCState
Update the current state of the RPC- Parameters:
state- WhatRPCStateshould be shown
-
setRPCState
Update the current RPC state, with additional game type- Parameters:
state- WhatRPCStateshould be showntype- What kind ofGameTypeis the player in
-
setCustomRPC
Set your own RPC state, overriding any displayed RPC- Parameters:
newPresence- A fully constructedRichPresenceBuilderinstance
-