MCPcopy Create free account

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

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

↓ 4 callersMethodonChange
@internal
src/game/player/lib/PageRouter/router.tsx:969
↓ 4 callersMethodonComplete
()
src/game/nlcore/elements/transform/transform.ts:435
↓ 4 callersMethodonSettled
(callback: () => void)
src/game/player/Tasks.ts:251
↓ 4 callersMethodonSettled
(callback: () => void)
src/util/data.ts:355
↓ 4 callersMethodonUpdate
(callback: (width: number, height: number) => void)
src/game/player/provider/ratio.tsx:98
↓ 4 callersMethodpause
()
src/game/player/provider/ratio.tsx:88
↓ 4 callersMethodpeek
()
src/util/data.ts:1487
↓ 4 callersMethodplay
(sound: SoundElement, options: FadeOptions = { end: 1, duration: 0, })
src/game/player/lib/AudioManager.ts:67
↓ 4 callersMethodplay
* Play the video * * The action will be resolved when the video ends * @chainable
src/game/nlcore/elements/video.ts:85
↓ 4 callersMethodrequestAsyncStackModel
* **IMPORTANT**: Experimental * @internal
src/game/nlcore/game/liveGame.ts:654
↓ 4 callersMethodrequestPageTransition
@internal
src/game/player/lib/PageRouter/router.tsx:1118
↓ 4 callersMethodsafeEmit
(event: keyof DialogEvents, ...args: DialogEvents[keyof DialogEvents])
src/game/player/elements/say/UIDialog.tsx:170
↓ 4 callersMethodserialize
* Serialize current StackModel into a plain JSON-serialisable structure. * * @param frozen - When true (default), the snapshot also contains
src/game/nlcore/action/stackModel.ts:388
↓ 4 callersMethodset
(key: Key, value: T[Key])
src/game/nlcore/elements/persistent/storable.ts:48
↓ 4 callersMethodsetKeyBinding
* Set a key binding (case-insensitive) * @param type - The type of key binding * @param value - The value of the key binding * *
src/game/nlcore/game/keyMap.ts:30
↓ 4 callersFunctionsetMounted
(mounted: boolean)
src/game/player/lib/PageRouter/Page.tsx:70
↓ 4 callersMethodstop
* @chainable
src/game/nlcore/elements/sound.ts:187
↓ 4 callersMethodstringify
(strict: boolean = false)
src/game/nlcore/elements/story.ts:144
↓ 4 callersFunctiontoHex
(hex: { r: number; g: number; b: number; a?: number } | string)
src/util/data.ts:473
↓ 4 callersMethodtrigger
(type: K, ...args: Content[K])
src/game/nlcore/elements/service.ts:35
↓ 4 callersMethodupdateHistory
* Update current history entry with current path and query
project/test/router.js:555
↓ 4 callersMethodupdateHistory
* Update current history entry with current path and query * @internal
src/game/player/lib/PageRouter/router.tsx:1111
↓ 4 callersFunctionuseExposeState
( key: ExposedKeys[T], value: ExposedState[T] | (() => ExposedState[T]), deps: React.DependencyLis
src/game/player/lib/useExposeState.tsx:13
↓ 3 callersMethod_mixedSrcError
@internal
src/game/nlcore/elements/displayable/image.ts:456
↓ 3 callersMethod_sceneNotFoundError
(sceneId: string)
src/game/nlcore/action/actions/sceneAction.ts:251
↓ 3 callersMethodaddNamespace
(namespace: Namespace<T>)
src/game/nlcore/elements/persistent/storable.ts:157
↓ 3 callersMethodapplyTransition
(gameState: GameState, transition: ImageTransition, injection: ActionExecutionInjection)
src/game/nlcore/action/actions/sceneAction.ts:105
↓ 3 callersMethodassertPlayerElement
* @internal * @throws {RuntimeGameError} - If the player element isn't mounted
src/game/nlcore/game/liveGame.ts:831
↓ 3 callersMethodcheckActionChain
(actions: LogicAction.Actions[])
src/game/nlcore/action/actions/controlAction.ts:27
↓ 3 callersMethodclear
()
project/test/router.js:284
↓ 3 callersMethodconstructNodes
@internal
src/game/nlcore/elements/menu.ts:226
↓ 3 callersMethodconstructSceneRoot
@internal
src/game/nlcore/elements/scene.ts:371
↓ 3 callersMethodcopy
* Create a sound with the same configuration
src/game/nlcore/elements/sound.ts:252
↓ 3 callersMethodcreateAction
@internal
src/game/nlcore/elements/video.ts:122
↓ 3 callersMethoddeserialize
(data: StackModelRawData, actionMap: Map<string, LogicAction.Actions>)
src/game/nlcore/action/stackModel.ts:434
↓ 3 callersMethodemitOnPageMount
()
project/test/router.js:455
↓ 3 callersMethodevaluate
* Evaluate the JavaScript function and determine whether the result is true
src/game/nlcore/elements/persistent.ts:210
↓ 3 callersMethodextractParams
(path, pattern)
project/test/router.js:364
↓ 3 callersMethodflush
()
src/game/player/lib/notification.ts:137
↓ 3 callersMethodforceSkip
* Only for dialog state to call * * Force the sentence to cancel/skip all the tasks
src/game/player/elements/say/UIDialog.tsx:92
↓ 3 callersMethodforward
()
project/test/router.js:251
↓ 3 callersMethodfromData
(data: AudioManagerDataRaw, elementMap: Map<string, LogicAction.GameElement>)
src/game/player/lib/AudioManager.ts:273
↓ 3 callersMethodget
* Alias of {@link toWord}
src/game/nlcore/elements/persistent.ts:177
↓ 3 callersMethodgetAllChildrenElements
@internal
src/game/nlcore/action/constructable.ts:74
↓ 3 callersMethodgetInversionConfig
@internal
src/game/nlcore/elements/story.ts:273
↓ 3 callersMethodgetKeyBinding
* Get a key binding * @param type - The type of key binding * @returns The value of the key binding * * @example * ```ts
src/game/nlcore/game/keyMap.ts:46
↓ 3 callersMethodgetNamespaceName
@internal
src/game/nlcore/elements/persistent.ts:217
↓ 3 callersMethodgetParentPath
(path)
project/test/router.js:307
↓ 3 callersMethodgetPreloadableSrc
(story: Story, action: LogicAction.Actions)
src/game/nlcore/action/srcManager.ts:79
↓ 3 callersMethodgetSceneName
(scene: Scene | string)
src/game/nlcore/action/actions/sceneAction.ts:258
↓ 3 callersMethodgetSequenceOptions
@internal
src/game/nlcore/elements/transform/transform.ts:536
↓ 3 callersMethodgroup
(tag: string, collapsed = false)
src/util/logger.ts:68
↓ 3 callersMethodhas
(name: string)
src/game/player/lib/ImageCacheManager.ts:33
↓ 3 callersMethodhas
* Check if an item is in the gallery * @param name - The name of the item to check * @returns A lambda that returns true if the item is in t
src/game/nlcore/elements/built-in/Gallery.ts:109
↓ 3 callersFunctionhasOwnProperty
(obj: Record<string, any>, key: string)
src/util/data.ts:74
↓ 3 callersMethodisActive
()
project/test/router.js:463
↓ 3 callersMethodisIdle
()
src/game/player/elements/say/UIDialog.tsx:65
↓ 3 callersMethodisImageURL
* Accepts: {@link string}
src/game/nlcore/common/Utils.ts:103
↓ 3 callersMethodisLambda
@internal
src/game/nlcore/elements/condition.ts:14
↓ 3 callersMethodisPathsUnmounting
()
project/test/router.js:574
↓ 3 callersMethodisPreloading
(src: string)
src/game/player/lib/ImageCacheManager.ts:60
↓ 3 callersMethodisRGBAColor
(color: any)
src/game/nlcore/common/Utils.ts:118
↓ 3 callersMethodisScene
@internal
src/game/nlcore/elements/scene.ts:168
↓ 3 callersMethodisSingleWord
@internal
src/game/nlcore/elements/character/sentence.ts:98
↓ 3 callersMethodjoinPath
* Join multiple path segments into a single path
project/test/router.js:540
↓ 3 callersMethodmatch
* Check if a key matches a key binding (case-insensitive) * @param type - The type of key binding * @param key - The key to check * @re
src/game/nlcore/game/keyMap.ts:125
↓ 3 callersMethodmergeState
@internal
src/game/nlcore/elements/transform/transform.ts:300
↓ 3 callersMethodmount
(path)
project/test/router.js:413
↓ 3 callersMethodnarrativeToActions
@internal
src/game/nlcore/elements/menu.ts:216
↓ 3 callersMethodobserve
(state: GameState)
src/game/player/guard.ts:25
↓ 3 callersMethodoff
(event: K, listener: EventListener<Type[K]>)
src/util/data.ts:525
↓ 3 callersMethodoff
(lock: Lock)
src/util/data.ts:742
↓ 3 callersMethodon
(event: K, listener: EventListener<Type[K]>)
src/util/data.ts:498
↓ 3 callersMethodpush
* Push an action to the history
src/game/nlcore/action/actionHistory.ts:43
↓ 3 callersMethodpushUnchained
@internal
src/game/nlcore/elements/control.ts:152
↓ 3 callersMethodreplace
(path, queryParams)
project/test/router.js:266
↓ 3 callersMethodreset
()
src/game/nlcore/action/stackModel.ts:419
↓ 3 callersMethodsceneNotFound
()
src/game/player/gameState.ts:735
↓ 3 callersMethodsetBackgroundMusic
* Set background music * @param sound Target music * @param fade If set, the fade-out effect will be applied to the previous music, and the
src/game/nlcore/elements/scene.ts:319
↓ 3 callersMethodsetGuard
(guard: GameStateGuard)
src/game/player/Tasks.ts:294
↓ 3 callersMethodsetId
(id: string)
src/game/nlcore/action/action.ts:49
↓ 3 callersFunctionsetMounted
(mounted: boolean)
src/game/player/lib/PageRouter/Layout.tsx:87
↓ 3 callersMethodsetParent
(_: RenderableNode | null)
src/game/nlcore/action/tree/actionTree.ts:171
↓ 3 callersMethodsetPreference
(key: K, value: T[K])
src/game/nlcore/game/preference.ts:22
↓ 3 callersMethodsetStatus
* Set the status of the timeline * * if the status is already resolved or canceled, it'll silently ignore the status change
src/game/player/Tasks.ts:338
↓ 3 callersMethodsize
()
src/game/player/lib/ImageCacheManager.ts:56
↓ 3 callersFunctionsleep
(ms: number)
src/util/data.ts:608
↓ 3 callersMethodstart
()
src/util/data.ts:935
↓ 3 callersMethodstartPageTransition
()
project/test/router.js:561
↓ 3 callersMethodtoData
@internal
src/game/nlcore/elements/video.ts:93
↓ 3 callersMethodtoSeconds
@internal
src/game/nlcore/elements/transform/transform.ts:702
↓ 3 callersMethodtoSentence
@internal
src/game/nlcore/elements/character/sentence.ts:53
↓ 3 callersMethodtoString
()
src/game/nlcore/elements/character/word.ts:111
↓ 3 callersMethodtoStyle
(gameState: GameState, overwrites?: OverwriteDefinition)
src/game/nlcore/elements/transform/transform.ts:162
↓ 3 callersFunctionupdateWidth
()
src/game/player/elements/image/AspectScaleImage.tsx:79
↓ 3 callersFunctionuseDisplayable
( { element, state, skipTransform, skipTransition, overwriteDefini
src/game/player/elements/displayable/Displayable.tsx:57
↓ 3 callersFunctionuseLayout
()
src/game/player/lib/PageRouter/Layout.tsx:38
↓ 3 callersFunctionusePreloaded
()
src/game/player/provider/preloaded.tsx:33
↓ 3 callersFunctionuseRouterFlush
()
src/game/player/lib/PageRouter/routerHooks.ts:52
↓ 2 callersMethodD2PositionToCSS
(pos: D2Position, invertX = false, invertY = false)
src/game/nlcore/elements/transform/position.ts:59
← previousnext →201–300 of 1,297, ranked by callers