decord/beta/source/modules/game_relationships/GameRelationshipManager.tsx
github-actions 84d017ff78 chore: update source for beta 348.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 16:18:32 +00:00

43 lines
1.7 KiB
TypeScript

// Module ID: 14106
// Function ID: 14107
// Name: GameRelationshipManager
// Dependencies: [7071, 1074, 1983, 573, 6584, 2]
// Module 14106 (GameRelationshipManager)
import DispatcherDefault from "Dispatcher" /* 573 */;
import GameRelationshipStore from "GameRelationshipStore" /* 7071 */;
import LifecycleManager from "LifecycleManager" /* 1983 */;
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;