Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
43 lines
1.7 KiB
TypeScript
43 lines
1.7 KiB
TypeScript
// Module ID: 14082
|
|
// Function ID: 14083
|
|
// Name: GameRelationshipManager
|
|
// Dependencies: [7066, 1074, 1982, 573, 6579, 2]
|
|
|
|
// Module 14082 (GameRelationshipManager)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import GameRelationshipStore from "GameRelationshipStore" /* 7066 */;
|
|
import LifecycleManager from "LifecycleManager" /* 1982 */;
|
|
|
|
const RelationshipTypes = fn(1074).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;
|