24 lines
523 B
JavaScript
24 lines
523 B
JavaScript
|
/**
|
||
|
* Class containing the data of the user currently connected to the F95Zone platform.
|
||
|
*/
|
||
|
class UserData {
|
||
|
constructor() {
|
||
|
/**
|
||
|
* User username.
|
||
|
* @type String
|
||
|
*/
|
||
|
this.username = "";
|
||
|
/**
|
||
|
* Path to the user 's profile picture.
|
||
|
* @type URL
|
||
|
*/
|
||
|
this.avatarSrc = null;
|
||
|
/**
|
||
|
* List of followed thread URLs.
|
||
|
* @type URL[]
|
||
|
*/
|
||
|
this.watchedThreads = [];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports.UserData = UserData;
|