Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
46 lines
1.5 KiB
TypeScript
46 lines
1.5 KiB
TypeScript
// Module ID: 11552
|
|
// Function ID: 11553
|
|
// Name: FirstPartyRichPresenceStore
|
|
// Dependencies: [11553, 1332, 504, 573, 2]
|
|
|
|
// Module 11552 (FirstPartyRichPresenceStore)
|
|
import initializeDefault from "initialize" /* 504 */;
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import _modDef1332 from "module_1332" /* 1332 */;
|
|
import StageChannelSelfRichPresenceStoreDefault from "StageChannelSelfRichPresenceStore" /* 11553 */;
|
|
|
|
function updateActivities() {
|
|
items = [];
|
|
const iter = items[Symbol.iterator]();
|
|
while (iter !== undefined) {
|
|
let activity = nextResult.getActivity();
|
|
if (null != activity) {
|
|
let arr = items.push(tmp3);
|
|
}
|
|
continue;
|
|
}
|
|
const tmp6 = _modDef1332(items, items);
|
|
let flag = !tmp6;
|
|
if (!tmp6) {
|
|
flag = true;
|
|
}
|
|
return flag;
|
|
}
|
|
let items = [StageChannelSelfRichPresenceStoreDefault];
|
|
items = [];
|
|
const Store = initializeDefault.Store;
|
|
class FirstPartyRichPresenceStore extends Store {
|
|
}
|
|
const prototype = FirstPartyRichPresenceStore.prototype;
|
|
prototype["initialize"] = function initialize() {
|
|
this.syncWith(items, updateActivities);
|
|
};
|
|
prototype["getActivities"] = function getActivities() {
|
|
return items;
|
|
};
|
|
FirstPartyRichPresenceStore.displayName = "FirstPartyRichPresenceStore";
|
|
const firstPartyRichPresenceStore = new FirstPartyRichPresenceStore(DispatcherDefault);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/rich_presence/FirstPartyRichPresenceStore.tsx");
|
|
|
|
export default firstPartyRichPresenceStore;
|