CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.
CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.
Path: blob/master/typings/gameContainer.d.ts
Views: 713
import { Game } from "./game";1import { TODO } from "./util";23type Bindings =4| "Game"5| "LocalizationService"6| "FeatureFlagProvider"7| "EnvironmentProvider"8| "URLProvider"9| "Assets"10| "Loader"11| "IFSMController"12| "FSMFactories"13| "FSMService"14| "FSMDataProvider"15| "CacheExpirationStrategy"16| "CacheStorageStrategy"17| "StoreDataProvider"18| "ChatManager"19| "StoreService"20| "TimeManager"21| "TechnicalMetricsManager"22| "VoucherDataProvider"23| "VoucherService"24| "JWTAuthProvider"25| "SessionTokenAuthProvider"26| "DungeonService"27| "DungeonDataProvider"28| "PVPNetworkHandler"29| "NetworkManager"30| "NicknameFactory"31| "NicknameController"32| "NicknameProvider"33| "DeviceInfoProvider"34| "SocketService"35| "MultiplayerSocket"36| "GameServerSocket"37| "GameServerService"38| "UUIDProvider"39| "LoggedInPlayer"40| "EventBuilder"41| "SurveyController"42| "OptimizelyWrapper"43| "GameEventReceivers"44| "GameEventBroadcaster"45| "GameAvatarDataFactory"46| "GameBattleDataFactory"47| "GameCompleteDataFactory"48| "GameDiscoveryDataFactory"49| "GameQuestionDataFactory"50| "GameSocialDataFactory"51| "ArchivesDungeonGenerator"52| "TowersDungeonGenerator"53| "GameStartDataFactory"54| "GameSinkDataFactory"55| "GameSourceDataFactory"56| "ExternalMethods"57| "MailExtensionController"58| "MailExtension"59| "PlayerService"60| "InputBlocker"61| "FXController"62| "RemoteLogger"63| "PrefabService"64| "PrefabDataProvider"65| "PrefabLoader"66| "SurveyDataProvider"67| "SurveyService"68| "FeatureRequirements"69| "BreadcrumbManager"70| "Items"71| "HttpClient"72| "DuelInviteService"73| "PvPBattleSocketRoom"74| "BattleApiSocket"75| "GeolocationService"76| "MatchmakingService"77| "BattleRoomService"78| "MathTower"79| "FeatureFlags"80| "Storage"81| "StorageSerializer"82| "StoreManager"83| "TowerTownBreadcrumbManager"84| "DefaultItems"85| "Education"86| "DialogueFactory"87| "Events"88| "Cache"89| "AssetLoader"90| "AppearanceFactory"91| "AnalyticsService";92export declare interface InversifyContainer {93applyCustomMetadataReader(arg0: unknown): unknown;94applyMiddleware(): unknown;95createChild(): unknown;96get<T extends Bindings>(binding: T): T extends keyof Mapping ? Mapping[T] : TODO;97}98export declare interface GameContainer {99inversifyContainer: InversifyContainer;100hasBinding<T>(binding: T): T extends Bindings ? true : false;101get: InversifyContainer["get"];102}103export declare interface DialogueFactory {104_game: Game;105_hands: Map<unknown, unknown>;106addGuideHand(arg0: unknown, x: number, y: number): unknown;107createBuilder(): InstanceType<DialogueBuilder>;108removeGuideHand(hand: unknown): unknown;109showAllDone(arg0: unknown): void;110showCastSpells(arg0: unknown): void;111showChooseLookOfEachFloor(arg0: unknown): void;112showForceCorrectAnswer(arg0: unknown): void;113showSpeedUpBlockPlacement(arg0: unknown): void;114showSwoopyIntroduction(arg0: unknown, arg1: unknown, arg2: unknown): void;115showTutorialCompleted(arg0: unknown): void;116}117export declare interface Dialogue {118condition: null | (() => boolean);119dialogueConfig: {120blockInput: boolean;121dialogueData: {122audio: {123d: number;124s: number;125tag: string;126};127avatar: {128animationMod: string;129atlas: string; // The character.130frameName: string; // The expression.131spineAttachment: string;132};133textKey: string;134callback: () => unknown;135136};137};138}139export declare class DialogueBuilder {140_controller: TODO;141_events: Dialogue[];142_showGuideHand: {143_hands: Map<unknown, unknown>;144_game: Game;145};146147}148f.createBuilder().addDialogue(20).start(true);149export declare interface Mappings {150DialogueFactory: DialogueFactory;151}152153154