F95API/app/scripts/classes/user-data.js

27 lines
540 B
JavaScript
Raw Normal View History

"use strict";
/**
* 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-29 21:14:40 +00:00
constructor() {
2020-10-31 15:00:26 +00:00
/**
2020-11-07 17:55:20 +00:00
* User name.
* @type String
*/
2020-10-29 21:14:40 +00:00
this.username = "";
/**
2020-11-07 17:55:20 +00:00
* Path to the user's profile picture.
* @type String
*/
2020-10-29 21:14:40 +00:00
this.avatarSrc = null;
/**
2020-11-07 17:55:20 +00:00
* List of followed game thread URLs.
* @type String[]
*/
this.watchedGameThreads = [];
2020-10-29 21:14:40 +00:00
}
2020-09-29 15:11:43 +00:00
}
module.exports = UserData;