2020-10-16 07:58:42 +00:00
|
|
|
"use strict";
|
2020-10-02 12:01:51 +00:00
|
|
|
|
2020-09-29 21:38:08 +00:00
|
|
|
/**
|
|
|
|
* Class containing the data of the user currently connected to the F95Zone platform.
|
|
|
|
*/
|
2020-09-29 15:11:43 +00:00
|
|
|
class UserData {
|
2020-10-08 21:09:05 +00:00
|
|
|
constructor() {
|
|
|
|
/**
|
|
|
|
* User username.
|
|
|
|
* @type String
|
|
|
|
*/
|
2020-10-16 07:58:42 +00:00
|
|
|
this.username = "";
|
2020-10-08 21:09:05 +00:00
|
|
|
/**
|
|
|
|
* Path to the user's profile picture.
|
|
|
|
* @type String
|
|
|
|
*/
|
|
|
|
this.avatarSrc = null;
|
|
|
|
/**
|
|
|
|
* List of followed thread URLs.
|
|
|
|
* @type URL[]
|
|
|
|
*/
|
|
|
|
this.watchedThreads = [];
|
|
|
|
}
|
2020-09-29 15:11:43 +00:00
|
|
|
}
|
2020-09-29 21:38:08 +00:00
|
|
|
|
2020-10-08 21:09:05 +00:00
|
|
|
module.exports = UserData;
|