Binato/server/Packets/UserStatsRequest.js

14 lines
453 B
JavaScript
Raw Normal View History

2020-08-27 13:09:35 +01:00
const UserPresenceBundle = require("./UserPresenceBundle.js"),
UserPresence = require("./UserPresence.js"),
StatusUpdate = require("./StatusUpdate.js");
2021-01-26 12:26:46 +00:00
module.exports = function (currentUser, data = [0]) {
2020-08-27 13:09:35 +01:00
UserPresenceBundle(currentUser);
for (let i1 = 0; i1 < data.length; i1++) {
const CurrentUserID = data[i1];
UserPresence(currentUser, CurrentUserID);
StatusUpdate(currentUser, CurrentUserID);
}
}