PacketType enum

Inheritance

Constructors

PacketType(String _value)
const

Values

ready → const PacketType
const PacketType('READY')
guildCreate → const PacketType
const PacketType('GUILD_CREATE')
guildUpdate → const PacketType
const PacketType('GUILD_UPDATE')
guildIntegrationsUpdate → const PacketType
const PacketType('GUILD_INTEGRATIONS_UPDATE')
presenceUpdate → const PacketType
const PacketType('PRESENCE_UPDATE')
autoModerationRuleCreate → const PacketType
const PacketType('AUTO_MODERATION_RULE_CREATE')
autoModerationRuleDelete → const PacketType
const PacketType('AUTO_MODERATION_RULE_DELETE')
guildScheduledEventCreate → const PacketType
const PacketType('GUILD_SCHEDULED_EVENT_CREATE')
guildScheduledEventDelete → const PacketType
const PacketType('GUILD_SCHEDULED_EVENT_DELETE')
guildScheduledEventUpdate → const PacketType
const PacketType('GUILD_SCHEDULED_EVENT_UPDATE')
guildScheduledEventUserAdd → const PacketType
const PacketType('GUILD_SCHEDULED_EVENT_USER_ADD')
guildScheduledEventUserRemove → const PacketType
const PacketType('GUILD_SCHEDULED_EVENT_USER_REMOVE')
webhookUpdate → const PacketType
const PacketType('WEBHOOKS_UPDATE')
messageCreate → const PacketType
const PacketType('MESSAGE_CREATE')
messageUpdate → const PacketType
const PacketType('MESSAGE_UPDATE')
messageDelete → const PacketType
const PacketType('MESSAGE_DELETE')
channelCreate → const PacketType
const PacketType('CHANNEL_CREATE')
channelUpdate → const PacketType
const PacketType('CHANNEL_UPDATE')
channelDelete → const PacketType
const PacketType('CHANNEL_DELETE')
interactionCreate → const PacketType
const PacketType('INTERACTION_CREATE')
memberUpdate → const PacketType
const PacketType('GUILD_MEMBER_UPDATE')
memberRemove → const PacketType
const PacketType('GUILD_MEMBER_REMOVE')
memberAdd → const PacketType
const PacketType('GUILD_MEMBER_ADD')
memberJoinRequest → const PacketType
const PacketType('GUILD_JOIN_REQUEST_UPDATE')
voiceStateUpdate → const PacketType
const PacketType('VOICE_STATE_UPDATE')
resumed → const PacketType
const PacketType('RESUMED')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PacketType>
A constant List of the values in this enum, in order of their declaration.