Class Discordo
java.lang.Object
com.jackmeng.halcyoninae.halcyon.runtime.Discordo
- All Implemented Interfaces:
InfoViewTP.InfoViewUpdateListener
Represents the Discord Rich Presence Interfacing.
This class was originally found in 2.0 but I later decided to change this and it is what it is now.
It should not be called by any external processes, and should remain independent. Due to this, this class is completely "lonely" and must rely completely on listeners and process calls to function and/or update it's own state.
- Since:
- 2.0
- Author:
- Jack Meng
-
Field Details
-
PROJECT_ID
- See Also:
-
STATE
- See Also:
-
rpc
protected net.arikia.dev.drpc.DiscordRichPresence rpc
-
-
Constructor Details
-
Discordo
public Discordo()
-
-
Method Details
-
start
public void start()Starts the dispatch of the RPC -
set
- Parameters:
title
- A title to dispatch as
-
infoView
- Specified by:
infoView
in interfaceInfoViewTP.InfoViewUpdateListener
- Parameters:
info
-
-