You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/net/dv8tion/jda/core/events/Event.java
+30-9
Original file line number
Diff line number
Diff line change
@@ -18,32 +18,47 @@
18
18
importnet.dv8tion.jda.core.JDA;
19
19
20
20
/**
21
-
* <b><u>Event</u></b><br>
22
-
* Fired for every event.<br>
23
-
* All events JDA fires are based on an instance of this class.<br>
24
-
* <br>
25
-
* Use: Used in {@link net.dv8tion.jda.core.hooks.EventListener EventListener} implementations to distinguish what event is being fired.<br><br>
26
-
* Example implementation: {@link net.dv8tion.jda.core.hooks.ListenerAdapter ListenerAdapter}
21
+
* Top-level event type
22
+
* <br>All events JDA fires are derived from this class.
23
+
*
24
+
* <p>Can be used to check if an Object is a JDA event in {@link net.dv8tion.jda.core.hooks.EventListener EventListener} implementations to distinguish what event is being fired.
Copy file name to clipboardExpand all lines: src/main/java/net/dv8tion/jda/core/events/ReconnectedEvent.java
+5-5
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@
18
18
importnet.dv8tion.jda.core.JDA;
19
19
20
20
/**
21
-
* <b><u>ReconnectedEvent</u></b><br>
22
-
* Fired if JDA successfully re-established it's connection to the WebSocket.<br>
23
-
* All Objects have been replaced when this is fired and events were likely missed in the downtime.<br>
24
-
* <br>
25
-
* Use: This marks the continuation of event flow stopped by the {@link net.dv8tion.jda.core.events.DisconnectEvent DisconnectEvent}. User should replace any cached Objects (like User/Guild objects).
21
+
* Indicates if JDA successfully re-established its connection to the gateway.
22
+
* <br>All Objects have been replaced when this is fired and events were likely missed in the downtime.
23
+
*
24
+
* <p>Can be used to mark the continuation of event flow which was stopped by the {@link net.dv8tion.jda.core.events.DisconnectEvent DisconnectEvent}.
25
+
* User should replace any cached Objects (like User/Guild objects).
0 commit comments