Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
43 lines
1.7 KiB
TypeScript
43 lines
1.7 KiB
TypeScript
// Module ID: 14828
|
|
// Function ID: 14829
|
|
// Name: GameRelationshipManager
|
|
// Dependencies: [7899, 1078, 1986, 577, 7410, 2]
|
|
|
|
// Module 14828 (GameRelationshipManager)
|
|
import DispatcherDefault from "Dispatcher" /* 577 */;
|
|
import GameRelationshipStore from "GameRelationshipStore" /* 7899 */;
|
|
import LifecycleManager from "LifecycleManager" /* 1986 */;
|
|
|
|
const RelationshipTypes = fn(1078).RelationshipTypes;
|
|
class GameRelationshipManager extends tmp2 {
|
|
constructor() {
|
|
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
applyArgumentsResult.handlePostConnectionOpen = function handlePostConnectionOpen() {
|
|
gameRelationships = gameRelationships.getGameRelationships();
|
|
const set = new Set();
|
|
const values = gameRelationships.values();
|
|
const item = values.forEach((type) => {
|
|
if (type.type === constants.PENDING_INCOMING) {
|
|
set.add(type.applicationId);
|
|
}
|
|
});
|
|
const applications = set(closure_1[4]).fetchApplications(Array.from(set));
|
|
};
|
|
return applyArgumentsResult;
|
|
}
|
|
}
|
|
const prototype = GameRelationshipManager.prototype;
|
|
prototype["_initialize"] = function _initialize() {
|
|
const subscription = DispatcherDefault.subscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
|
|
};
|
|
prototype["_terminate"] = function _terminate() {
|
|
DispatcherDefault.unsubscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
|
|
};
|
|
prototype["destroy"] = function destroy() {
|
|
DispatcherDefault.unsubscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
|
|
};
|
|
const gameRelationshipManager = new GameRelationshipManager();
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/game_relationships/GameRelationshipManager.tsx");
|
|
|
|
export default gameRelationshipManager;
|