2022-03-19 10:37:45 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const BitField = require('./BitField');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Data structure that makes it easy to interact with a {@link ThreadMember#flags} bitfield.
|
|
|
|
* @extends {BitField}
|
|
|
|
*/
|
2022-03-24 10:55:32 +00:00
|
|
|
class ThreadMemberFlags extends BitField {}
|
2022-03-19 10:37:45 +00:00
|
|
|
|
|
|
|
/**
|
2022-03-24 10:55:32 +00:00
|
|
|
* @name ThreadMemberFlags
|
2022-03-19 10:37:45 +00:00
|
|
|
* @kind constructor
|
2022-03-24 10:55:32 +00:00
|
|
|
* @memberof ThreadMemberFlags
|
2022-03-19 10:37:45 +00:00
|
|
|
* @param {BitFieldResolvable} [bits=0] Bit(s) to read from
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bitfield of the packed bits
|
|
|
|
* @type {number}
|
2022-03-24 10:55:32 +00:00
|
|
|
* @name ThreadMemberFlags#bitfield
|
2022-03-19 10:37:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Numeric thread member flags. There are currently no bitflags relevant to bots for this.
|
|
|
|
* @type {Object<string, number>}
|
|
|
|
*/
|
2022-03-24 10:55:32 +00:00
|
|
|
ThreadMemberFlags.FLAGS = {};
|
2022-03-19 10:37:45 +00:00
|
|
|
|
2022-03-24 10:55:32 +00:00
|
|
|
module.exports = ThreadMemberFlags;
|