MCPcopy Create free account

hub / github.com/NarraLeaf/narraleaf-react / functions

Functions1,297 in github.com/NarraLeaf/narraleaf-react

↓ 8 callersMethodonSkipControllerRegister
(callback: (skipController: SkipController<T, []>) => void)
src/util/data.ts:376
↓ 8 callersMethodparsePath
* Parse path into segments * @param path Path string, e.g. "/me/settings/a" * @returns Path segments array, e.g. ["me", "settings", "a"]
src/game/player/lib/PageRouter/router.tsx:642
↓ 8 callersMethodparseUrl
(url)
project/test/router.js:105
↓ 8 callersMethodpush
(...items: (CalledActionResult | Awaitable<CalledActionResult>)[])
src/game/nlcore/action/stackModel.ts:471
↓ 8 callersMethodserialize
()
src/game/nlcore/elements/built-in/Gallery.ts:61
↓ 8 callersMethodsetVolume
(sound: SoundElement, volume: number, duration: number = 0)
src/game/player/lib/AudioManager.ts:145
↓ 8 callersMethodtryParsePosition
(arg: any)
src/game/nlcore/elements/transform/position.ts:152
↓ 8 callersMethodunknownTypeError
()
src/game/nlcore/action/actions.ts:22
↓ 8 callersMethodvalues
()
src/game/nlcore/elements/persistent/storable.ts:195
↓ 7 callersMethodabort
(src: string)
src/game/player/lib/ImageCacheManager.ts:136
↓ 7 callersMethodbuildUrl
* Build URL from path and query parameters * @param path Path string * @param query Query parameters object * @returns Full URL string
src/game/player/lib/PageRouter/router.tsx:174
↓ 7 callersMethodgetCtx
@internal
src/game/nlcore/elements/script.ts:28
↓ 7 callersMethodgetScene
(name: string | Scene, assert = false, error?: (message: string) => Error)
src/game/nlcore/elements/story.ts:192
↓ 7 callersMethodinfo
(tag: string, ...args: any[])
src/util/logger.ts:20
↓ 7 callersFunctioninvalidRef
()
src/game/player/elements/video/video.tsx:44
↓ 7 callersMethodisPause
@internal
src/game/nlcore/elements/character/word.ts:107
↓ 7 callersMethodisSrcRegistered
(src: string | Sound | Image | null)
src/game/nlcore/action/srcManager.ts:178
↓ 7 callersMethodschedule
(callback: (scheduleHandle: ScheduleHandle) => void, ms: number)
src/game/player/gameState.ts:292
↓ 7 callersMethodsetGroupVolume
(type: SoundType, volume: number)
src/game/player/lib/AudioManager.ts:349
↓ 7 callersFunctionusePreference
( key: K )
src/game/player/lib/preferences.tsx:11
↓ 6 callersMethodback
()
project/test/router.js:236
↓ 6 callersMethodchangeState
(gameState: GameState, handler: (state: ExposedState[ExposedStateType.video]) => void, injection: ActionExecut
src/game/nlcore/action/actions/videoAction.ts:89
↓ 6 callersMethodconstruct
@internal
src/game/nlcore/elements/condition.ts:193
↓ 6 callersMethoddepends
(events: EventToken<T>[])
src/util/data.ts:517
↓ 6 callersMethodexecuteAction
(gameState: GameState, injection: ActionExecutionInjection)
src/game/nlcore/action/actions/displayableAction.ts:24
↓ 6 callersMethodfindElementByScene
(scene: Scene)
src/game/player/gameState.ts:178
↓ 6 callersMethodgetCurrentPath
* Get current path * @example * ```typescript * const router = new LayoutRouter(game, "/home"); * console.log(router.getCurrentPat
src/game/player/lib/PageRouter/router.tsx:66
↓ 6 callersMethodgetQueryParam
(key)
project/test/router.js:134
↓ 6 callersMethodgetSrcFromTags
@internal
src/game/nlcore/elements/displayable/image.ts:199
↓ 6 callersMethodgetStackModelForce
@internal
src/game/nlcore/game/liveGame.ts:780
↓ 6 callersMethodon
(eventName, handler)
project/test/router.js:7
↓ 6 callersMethodpop
()
src/util/data.ts:1483
↓ 6 callersMethodpushAction
@internal
src/game/nlcore/elements/sound.ts:271
↓ 6 callersMethodreset
* Reset the game state * * **Note**: calling this method will lose the current game state
src/game/nlcore/game/liveGame.ts:603
↓ 6 callersMethodresolvePath
* Resolve relative path to absolute path
project/test/router.js:479
↓ 6 callersMethodstop
(sound: SoundElement, duration: number = 0)
src/game/player/lib/AudioManager.ts:120
↓ 6 callersMethodtoActions
(chainedActions: ChainedActions)
src/game/nlcore/action/chain.ts:22
↓ 6 callersMethodtoCoord2D
(pos: IPosition | D2Position)
src/game/nlcore/elements/transform/position.ts:81
↓ 6 callersMethodunlock
(key: symbol)
src/game/nlcore/elements/transform/transform.ts:151
↓ 6 callersFunctionuseRouter
()
src/game/player/lib/PageRouter/router.tsx:1197
↓ 5 callersMethod_init
@internal
src/game/nlcore/elements/scene.ts:660
↓ 5 callersMethod_log
(tag: string, ...args: any[])
src/util/logger.ts:92
↓ 5 callersMethodassign
(key: symbol, state: Partial<T>)
src/game/nlcore/elements/transform/transform.ts:124
↓ 5 callersMethodcanGoBack
()
project/test/router.js:186
↓ 5 callersMethodcanGoForward
()
project/test/router.js:190
↓ 5 callersMethodclear
* Clear the gallery * @chainable * @example * ```ts * scene.action([ * gallery.clear() * ]); * ```
src/game/nlcore/elements/built-in/Gallery.ts:142
↓ 5 callersMethodcolorLog
(color: React.CSSProperties["color"], tag: string, ...args: any[])
src/util/logger.ts:100
↓ 5 callersMethodemit
(eventName, ...args)
project/test/router.js:44
↓ 5 callersMethodexecute
()
src/game/nlcore/action/stackModel.ts:228
↓ 5 callersMethodexit
(state: GameState)
src/game/nlcore/action/actions/sceneAction.ts:120
↓ 5 callersMethodfind
(callbackfn: (notification: string, id: string, array: string[]) => boolean)
src/game/player/lib/notification.ts:68
↓ 5 callersMethodgetDefaultConfig
()
src/util/config.ts:48
↓ 5 callersMethodgetExposedStateAsync
(key: ExposedKeys[T], onExpose: (state: ExposedState[T]) => void)
src/game/player/gameState.ts:573
↓ 5 callersMethodgetGameState
()
src/game/nlcore/game/liveGame.ts:710
↓ 5 callersMethodgetLastScene
()
src/game/player/gameState.ts:272
↓ 5 callersMethodgetSrc
(src: Src | string | Image)
src/game/nlcore/action/srcManager.ts:62
↓ 5 callersMethodgetText
@internal
src/game/nlcore/elements/character/word.ts:47
↓ 5 callersMethodhas
(_, prop)
src/game/nlcore/elements/character.ts:69
↓ 5 callersMethodisChained
(value: any)
src/game/nlcore/action/chain.ts:18
↓ 5 callersMethodisEnded
()
src/game/player/elements/say/UIDialog.tsx:134
↓ 5 callersMethodisSentence
@internal
src/game/nlcore/elements/character/sentence.ts:48
↓ 5 callersMethodisStaticImageData
* Accepts: {@link StaticImageData} * @param src
src/game/nlcore/common/Utils.ts:85
↓ 5 callersMethodonPreferenceChange
(arg0: U | ((key: StringKeyof<T>, value: T[StringKeyof<T>]) => void), listener?: (value: T[U]) => void)
src/game/nlcore/game/preference.ts:37
↓ 5 callersMethodonce
(event: K, listener: EventListener<Type[K]>)
src/util/data.ts:541
↓ 5 callersMethodparseUrl
* Parse URL into path and query parameters * @param url URL string, e.g. "/me/settings?a=1&b=2" * @returns Object with path and query *
src/game/player/lib/PageRouter/router.tsx:138
↓ 5 callersMethodreset
()
src/game/player/lib/AudioManager.ts:324
↓ 5 callersMethodresolveCurrentSrc
(image: Image)
src/game/nlcore/action/actions/imageAction.ts:30
↓ 5 callersMethodstringifyWithContent
(name: string, content: string)
src/game/nlcore/action/actions.ts:52
↓ 5 callersMethodunregisterUnmountingPath
@internal
src/game/player/lib/PageRouter/router.tsx:1163
↓ 5 callersFunctionuseDialogContext
()
src/game/player/elements/say/context.ts:8
↓ 5 callersMethodwrap
( callbackfn: (notification: string, id: string, array: string[]) => T )
src/game/player/lib/notification.ts:38
↓ 4 callersMethodall
* Resolves when all of the provided awaitables settle.
src/util/data.ts:288
↓ 4 callersMethodassertScreenshot
()
src/game/nlcore/game/liveGame.ts:345
↓ 4 callersMethodbuildPath
(segments)
project/test/router.js:303
↓ 4 callersFunctioncleanup
()
src/game/player/elements/player/KeyEventAnnouncer.tsx:35
↓ 4 callersFunctioncleanup
()
src/game/player/elements/video/video.tsx:85
↓ 4 callersMethodclear
()
src/game/player/lib/Preloaded.ts:82
↓ 4 callersMethodcombineActions
@internal
src/game/nlcore/action/chain.ts:110
↓ 4 callersMethodconstructMaps
@internal
src/game/nlcore/game/liveGame.ts:530
↓ 4 callersMethodexactMatch
* Check if path exactly matches pattern (requires exact segment count) * @param path Path to check * @param pattern Match pattern, supports
src/game/player/lib/PageRouter/router.tsx:766
↓ 4 callersMethodextract
( keys: T[], )
src/util/config.ts:127
↓ 4 callersMethodflush
()
src/game/player/gameState.ts:247
↓ 4 callersMethodforEachChild
@internal
src/game/nlcore/action/constructable.ts:23
↓ 4 callersMethodget
(index: number)
src/util/data.ts:1521
↓ 4 callersMethodgetAllChildren
@internal
src/game/nlcore/action/constructable.ts:53
↓ 4 callersMethodgetCurrentUrl
()
project/test/router.js:101
↓ 4 callersMethodgetFutureActions
(_story: Story, _options: ActionSearchOptions)
src/game/nlcore/action/action.ts:63
↓ 4 callersMethodgetGameStateForce
()
src/game/nlcore/game/liveGame.ts:714
↓ 4 callersMethodgetHistoryIndex
()
project/test/router.js:182
↓ 4 callersMethodgetLastSceneIfNot
(scene: Scene | null | void)
src/game/player/gameState.ts:670
↓ 4 callersMethodgetScreenshotOptions
@internal
src/game/nlcore/game/liveGame.ts:555
↓ 4 callersMethodgetSrcURL
@internal
src/game/nlcore/elements/displayable/image.ts:182
↓ 4 callersMethodgetStory
()
src/game/player/gameState.ts:476
↓ 4 callersMethodisPathsUnmounting
@internal
src/game/player/lib/PageRouter/router.tsx:1158
↓ 4 callersMethodisStackModelsAwaiting
(type: StackModelWaiting["type"], stackModels: StackModel[])
src/game/nlcore/action/stackModel.ts:105
↓ 4 callersFunctioniterate
()
src/game/player/elements/say/Sentence.tsx:173
↓ 4 callersMethodload
@internal
src/game/nlcore/elements/persistent/storable.ts:212
↓ 4 callersMethodlock
()
src/game/nlcore/elements/transform/transform.ts:135
↓ 4 callersMethodnormalizePath
* Normalize path by removing duplicate slashes and trailing slashes
project/test/router.js:524
↓ 4 callersMethodonAbort
(listener: () => void)
src/util/data.ts:659
← previousnext →101–200 of 1,297, ranked by callers