Package net.dv8tion.jda.api.events
Interface GenericEvent
-
- All Known Subinterfaces:
GenericUserPresenceEvent,GuildVoiceUpdateEvent,UpdateEvent<E,T>
- All Known Implementing Classes:
CategoryCreateEvent,CategoryDeleteEvent,CategoryUpdateNameEvent,CategoryUpdatePermissionsEvent,CategoryUpdatePositionEvent,DisconnectEvent,EmoteAddedEvent,EmoteRemovedEvent,EmoteUpdateNameEvent,EmoteUpdateRolesEvent,Event,ExceptionEvent,GenericCategoryEvent,GenericCategoryUpdateEvent,GenericEmoteEvent,GenericEmoteUpdateEvent,GenericGuildEvent,GenericGuildMemberEvent,GenericGuildMemberUpdateEvent,GenericGuildMessageEvent,GenericGuildMessageReactionEvent,GenericGuildUpdateEvent,GenericGuildVoiceEvent,GenericMessageEvent,GenericMessageReactionEvent,GenericPrivateMessageEvent,GenericPrivateMessageReactionEvent,GenericRoleEvent,GenericRoleUpdateEvent,GenericSelfUpdateEvent,GenericStoreChannelEvent,GenericStoreChannelUpdateEvent,GenericTextChannelEvent,GenericTextChannelUpdateEvent,GenericUserEvent,GenericUserUpdateEvent,GenericVoiceChannelEvent,GenericVoiceChannelUpdateEvent,GuildAvailableEvent,GuildBanEvent,GuildJoinEvent,GuildLeaveEvent,GuildMemberJoinEvent,GuildMemberLeaveEvent,GuildMemberRoleAddEvent,GuildMemberRoleRemoveEvent,GuildMemberUpdateNicknameEvent,GuildMessageDeleteEvent,GuildMessageEmbedEvent,GuildMessageReactionAddEvent,GuildMessageReactionRemoveAllEvent,GuildMessageReactionRemoveEvent,GuildMessageReceivedEvent,GuildMessageUpdateEvent,GuildReadyEvent,GuildUnavailableEvent,GuildUnbanEvent,GuildUpdateAfkChannelEvent,GuildUpdateAfkTimeoutEvent,GuildUpdateExplicitContentLevelEvent,GuildUpdateFeaturesEvent,GuildUpdateIconEvent,GuildUpdateMFALevelEvent,GuildUpdateNameEvent,GuildUpdateNotificationLevelEvent,GuildUpdateOwnerEvent,GuildUpdateRegionEvent,GuildUpdateSplashEvent,GuildUpdateSystemChannelEvent,GuildUpdateVerificationLevelEvent,GuildVoiceDeafenEvent,GuildVoiceGuildDeafenEvent,GuildVoiceGuildMuteEvent,GuildVoiceJoinEvent,GuildVoiceLeaveEvent,GuildVoiceMoveEvent,GuildVoiceMuteEvent,GuildVoiceSelfDeafenEvent,GuildVoiceSelfMuteEvent,GuildVoiceSuppressEvent,HttpRequestEvent,MessageBulkDeleteEvent,MessageDeleteEvent,MessageEmbedEvent,MessageReactionAddEvent,MessageReactionRemoveAllEvent,MessageReactionRemoveEvent,MessageReceivedEvent,MessageUpdateEvent,PrivateChannelCreateEvent,PrivateChannelDeleteEvent,PrivateMessageDeleteEvent,PrivateMessageEmbedEvent,PrivateMessageReactionAddEvent,PrivateMessageReactionRemoveEvent,PrivateMessageReceivedEvent,PrivateMessageUpdateEvent,RawGatewayEvent,ReadyEvent,ReconnectedEvent,ResumedEvent,RoleCreateEvent,RoleDeleteEvent,RoleUpdateColorEvent,RoleUpdateHoistedEvent,RoleUpdateMentionableEvent,RoleUpdateNameEvent,RoleUpdatePermissionsEvent,RoleUpdatePositionEvent,SelfUpdateAvatarEvent,SelfUpdateDiscriminatorEvent,SelfUpdateEmailEvent,SelfUpdateMFAEvent,SelfUpdateMobileEvent,SelfUpdateNameEvent,SelfUpdateNitroEvent,SelfUpdatePhoneNumberEvent,SelfUpdateVerifiedEvent,ShutdownEvent,StatusChangeEvent,StoreChannelCreateEvent,StoreChannelDeleteEvent,StoreChannelUpdateNameEvent,StoreChannelUpdatePermissionsEvent,StoreChannelUpdatePositionEvent,TextChannelCreateEvent,TextChannelDeleteEvent,TextChannelUpdateNameEvent,TextChannelUpdateNSFWEvent,TextChannelUpdateParentEvent,TextChannelUpdatePermissionsEvent,TextChannelUpdatePositionEvent,TextChannelUpdateSlowmodeEvent,TextChannelUpdateTopicEvent,UnavailableGuildJoinedEvent,UserActivityEndEvent,UserActivityStartEvent,UserTypingEvent,UserUpdateActivityOrderEvent,UserUpdateAvatarEvent,UserUpdateDiscriminatorEvent,UserUpdateNameEvent,UserUpdateOnlineStatusEvent,VoiceChannelCreateEvent,VoiceChannelDeleteEvent,VoiceChannelUpdateBitrateEvent,VoiceChannelUpdateNameEvent,VoiceChannelUpdateParentEvent,VoiceChannelUpdatePermissionsEvent,VoiceChannelUpdatePositionEvent,VoiceChannelUpdateUserLimitEvent
public interface GenericEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDAgetJDA()The current JDA instance corresponding to this EventlonggetResponseNumber()The current sequence for this event.
-
-
-
Method Detail
-
getJDA
@Nonnull JDA getJDA()
The current JDA instance corresponding to this Event- Returns:
- The corresponding JDA instance
-
getResponseNumber
long getResponseNumber()
The current sequence for this event.
This can be used to keep events in order when making sequencing system.- Returns:
- The current sequence number for this event
-
-