decord/alpha/source/modules/game_relationships/GameRelationshipManager.tsx
github-actions 97fd043558 chore: update source for alpha 347.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
2026-09-19 06:52:51 +00:00

43 lines
1.7 KiB
TypeScript

// Module ID: 14819
// Function ID: 14820
// Name: GameRelationshipManager
// Dependencies: [7892, 1074, 1982, 573, 7403, 2]
// Module 14819 (GameRelationshipManager)
import DispatcherDefault from "Dispatcher" /* 573 */;
import GameRelationshipStore from "GameRelationshipStore" /* 7892 */;
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;