Implemented PacketType Disassociation
This commit is contained in:
@@ -12,6 +12,7 @@ const PacketType = {
|
||||
Authentication: 'Authentication',
|
||||
AssociationRequest: 'AssociationRequest',
|
||||
AssociationResponse: 'AssociationResponse',
|
||||
Disassociation: 'Disassociation',
|
||||
Unknown: 'Unknown'
|
||||
}
|
||||
|
||||
@@ -58,6 +59,10 @@ class AssociationResponsePacket extends Packet{
|
||||
associationIsSuccessful;
|
||||
}
|
||||
|
||||
class DisassociationPacket extends Packet{
|
||||
disassociationReason;
|
||||
}
|
||||
|
||||
// Specify exports
|
||||
module.exports = {
|
||||
PacketType,
|
||||
|
||||
Reference in New Issue
Block a user