decord/alpha/source/modules/game_relationships/GameRelationshipManager.tsx

44 lines
1.7 KiB
TypeScript
Raw Normal View History

// Module ID: 14315
// Function ID: 14316
// Name: GameRelationshipManager
// Dependencies: [7244, 1074, 1983, 573, 6770, 2]
2026-07-23 10:11:24 +00:00
// Module 14315 (GameRelationshipManager)
import DispatcherDefault from "Dispatcher" /* 573 */;
import GameRelationshipStore from "GameRelationshipStore" /* 7244 */;
import LifecycleManager from "LifecycleManager" /* 1983 */;
2026-07-20 16:05:17 +00:00
const RelationshipTypes = fn(1074).RelationshipTypes;
2026-07-29 08:29:29 +00:00
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) {
2026-07-29 08:29:29 +00:00
set.add(type.applicationId);
}
});
const applications = set(closure_1[4]).fetchApplications(Array.from(set));
2026-07-29 08:29:29 +00:00
};
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
const prototype = GameRelationshipManager.prototype;
prototype["_initialize"] = function _initialize() {
const subscription = DispatcherDefault.subscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
2026-07-29 08:29:29 +00:00
};
prototype["_terminate"] = function _terminate() {
DispatcherDefault.unsubscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
2026-07-29 08:29:29 +00:00
};
prototype["destroy"] = function destroy() {
DispatcherDefault.unsubscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
2026-07-29 08:29:29 +00:00
};
const gameRelationshipManager = new GameRelationshipManager();
const size = fn(2);
const result = size.fileFinishedImporting("modules/game_relationships/GameRelationshipManager.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default gameRelationshipManager;