Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NarraLeaf/narraleaf-react
/ functions
Functions
1,297 in github.com/NarraLeaf/narraleaf-react
⨍
Functions
1,297
◇
Types & classes
271
↓ 8 callers
Method
onSkipControllerRegister
(callback: (skipController: SkipController<T, []>) => void)
src/util/data.ts:376
↓ 8 callers
Method
parsePath
* 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 callers
Method
parseUrl
(url)
project/test/router.js:105
↓ 8 callers
Method
push
(...items: (CalledActionResult | Awaitable<CalledActionResult>)[])
src/game/nlcore/action/stackModel.ts:471
↓ 8 callers
Method
serialize
()
src/game/nlcore/elements/built-in/Gallery.ts:61
↓ 8 callers
Method
setVolume
(sound: SoundElement, volume: number, duration: number = 0)
src/game/player/lib/AudioManager.ts:145
↓ 8 callers
Method
tryParsePosition
(arg: any)
src/game/nlcore/elements/transform/position.ts:152
↓ 8 callers
Method
unknownTypeError
()
src/game/nlcore/action/actions.ts:22
↓ 8 callers
Method
values
()
src/game/nlcore/elements/persistent/storable.ts:195
↓ 7 callers
Method
abort
(src: string)
src/game/player/lib/ImageCacheManager.ts:136
↓ 7 callers
Method
buildUrl
* 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 callers
Method
getCtx
@internal
src/game/nlcore/elements/script.ts:28
↓ 7 callers
Method
getScene
(name: string | Scene, assert = false, error?: (message: string) => Error)
src/game/nlcore/elements/story.ts:192
↓ 7 callers
Method
info
(tag: string, ...args: any[])
src/util/logger.ts:20
↓ 7 callers
Function
invalidRef
()
src/game/player/elements/video/video.tsx:44
↓ 7 callers
Method
isPause
@internal
src/game/nlcore/elements/character/word.ts:107
↓ 7 callers
Method
isSrcRegistered
(src: string | Sound | Image | null)
src/game/nlcore/action/srcManager.ts:178
↓ 7 callers
Method
schedule
(callback: (scheduleHandle: ScheduleHandle) => void, ms: number)
src/game/player/gameState.ts:292
↓ 7 callers
Method
setGroupVolume
(type: SoundType, volume: number)
src/game/player/lib/AudioManager.ts:349
↓ 7 callers
Function
usePreference
( key: K )
src/game/player/lib/preferences.tsx:11
↓ 6 callers
Method
back
()
project/test/router.js:236
↓ 6 callers
Method
changeState
(gameState: GameState, handler: (state: ExposedState[ExposedStateType.video]) => void, injection: ActionExecut
src/game/nlcore/action/actions/videoAction.ts:89
↓ 6 callers
Method
construct
@internal
src/game/nlcore/elements/condition.ts:193
↓ 6 callers
Method
depends
(events: EventToken<T>[])
src/util/data.ts:517
↓ 6 callers
Method
executeAction
(gameState: GameState, injection: ActionExecutionInjection)
src/game/nlcore/action/actions/displayableAction.ts:24
↓ 6 callers
Method
findElementByScene
(scene: Scene)
src/game/player/gameState.ts:178
↓ 6 callers
Method
getCurrentPath
* Get current path * @example * ```typescript * const router = new LayoutRouter(game, "/home"); * console.log(router.getCurrentPat
src/game/player/lib/PageRouter/router.tsx:66
↓ 6 callers
Method
getQueryParam
(key)
project/test/router.js:134
↓ 6 callers
Method
getSrcFromTags
@internal
src/game/nlcore/elements/displayable/image.ts:199
↓ 6 callers
Method
getStackModelForce
@internal
src/game/nlcore/game/liveGame.ts:780
↓ 6 callers
Method
on
(eventName, handler)
project/test/router.js:7
↓ 6 callers
Method
pop
()
src/util/data.ts:1483
↓ 6 callers
Method
pushAction
@internal
src/game/nlcore/elements/sound.ts:271
↓ 6 callers
Method
reset
* Reset the game state * * **Note**: calling this method will lose the current game state
src/game/nlcore/game/liveGame.ts:603
↓ 6 callers
Method
resolvePath
* Resolve relative path to absolute path
project/test/router.js:479
↓ 6 callers
Method
stop
(sound: SoundElement, duration: number = 0)
src/game/player/lib/AudioManager.ts:120
↓ 6 callers
Method
toActions
(chainedActions: ChainedActions)
src/game/nlcore/action/chain.ts:22
↓ 6 callers
Method
toCoord2D
(pos: IPosition | D2Position)
src/game/nlcore/elements/transform/position.ts:81
↓ 6 callers
Method
unlock
(key: symbol)
src/game/nlcore/elements/transform/transform.ts:151
↓ 6 callers
Function
useRouter
()
src/game/player/lib/PageRouter/router.tsx:1197
↓ 5 callers
Method
_init
@internal
src/game/nlcore/elements/scene.ts:660
↓ 5 callers
Method
_log
(tag: string, ...args: any[])
src/util/logger.ts:92
↓ 5 callers
Method
assign
(key: symbol, state: Partial<T>)
src/game/nlcore/elements/transform/transform.ts:124
↓ 5 callers
Method
canGoBack
()
project/test/router.js:186
↓ 5 callers
Method
canGoForward
()
project/test/router.js:190
↓ 5 callers
Method
clear
* Clear the gallery * @chainable * @example * ```ts * scene.action([ * gallery.clear() * ]); * ```
src/game/nlcore/elements/built-in/Gallery.ts:142
↓ 5 callers
Method
colorLog
(color: React.CSSProperties["color"], tag: string, ...args: any[])
src/util/logger.ts:100
↓ 5 callers
Method
emit
(eventName, ...args)
project/test/router.js:44
↓ 5 callers
Method
execute
()
src/game/nlcore/action/stackModel.ts:228
↓ 5 callers
Method
exit
(state: GameState)
src/game/nlcore/action/actions/sceneAction.ts:120
↓ 5 callers
Method
find
(callbackfn: (notification: string, id: string, array: string[]) => boolean)
src/game/player/lib/notification.ts:68
↓ 5 callers
Method
getDefaultConfig
()
src/util/config.ts:48
↓ 5 callers
Method
getExposedStateAsync
(key: ExposedKeys[T], onExpose: (state: ExposedState[T]) => void)
src/game/player/gameState.ts:573
↓ 5 callers
Method
getGameState
()
src/game/nlcore/game/liveGame.ts:710
↓ 5 callers
Method
getLastScene
()
src/game/player/gameState.ts:272
↓ 5 callers
Method
getSrc
(src: Src | string | Image)
src/game/nlcore/action/srcManager.ts:62
↓ 5 callers
Method
getText
@internal
src/game/nlcore/elements/character/word.ts:47
↓ 5 callers
Method
has
(_, prop)
src/game/nlcore/elements/character.ts:69
↓ 5 callers
Method
isChained
(value: any)
src/game/nlcore/action/chain.ts:18
↓ 5 callers
Method
isEnded
()
src/game/player/elements/say/UIDialog.tsx:134
↓ 5 callers
Method
isSentence
@internal
src/game/nlcore/elements/character/sentence.ts:48
↓ 5 callers
Method
isStaticImageData
* Accepts: {@link StaticImageData} * @param src
src/game/nlcore/common/Utils.ts:85
↓ 5 callers
Method
onPreferenceChange
(arg0: U | ((key: StringKeyof<T>, value: T[StringKeyof<T>]) => void), listener?: (value: T[U]) => void)
src/game/nlcore/game/preference.ts:37
↓ 5 callers
Method
once
(event: K, listener: EventListener<Type[K]>)
src/util/data.ts:541
↓ 5 callers
Method
parseUrl
* 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 callers
Method
reset
()
src/game/player/lib/AudioManager.ts:324
↓ 5 callers
Method
resolveCurrentSrc
(image: Image)
src/game/nlcore/action/actions/imageAction.ts:30
↓ 5 callers
Method
stringifyWithContent
(name: string, content: string)
src/game/nlcore/action/actions.ts:52
↓ 5 callers
Method
unregisterUnmountingPath
@internal
src/game/player/lib/PageRouter/router.tsx:1163
↓ 5 callers
Function
useDialogContext
()
src/game/player/elements/say/context.ts:8
↓ 5 callers
Method
wrap
( callbackfn: (notification: string, id: string, array: string[]) => T )
src/game/player/lib/notification.ts:38
↓ 4 callers
Method
all
* Resolves when all of the provided awaitables settle.
src/util/data.ts:288
↓ 4 callers
Method
assertScreenshot
()
src/game/nlcore/game/liveGame.ts:345
↓ 4 callers
Method
buildPath
(segments)
project/test/router.js:303
↓ 4 callers
Function
cleanup
()
src/game/player/elements/player/KeyEventAnnouncer.tsx:35
↓ 4 callers
Function
cleanup
()
src/game/player/elements/video/video.tsx:85
↓ 4 callers
Method
clear
()
src/game/player/lib/Preloaded.ts:82
↓ 4 callers
Method
combineActions
@internal
src/game/nlcore/action/chain.ts:110
↓ 4 callers
Method
constructMaps
@internal
src/game/nlcore/game/liveGame.ts:530
↓ 4 callers
Method
exactMatch
* 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 callers
Method
extract
( keys: T[], )
src/util/config.ts:127
↓ 4 callers
Method
flush
()
src/game/player/gameState.ts:247
↓ 4 callers
Method
forEachChild
@internal
src/game/nlcore/action/constructable.ts:23
↓ 4 callers
Method
get
(index: number)
src/util/data.ts:1521
↓ 4 callers
Method
getAllChildren
@internal
src/game/nlcore/action/constructable.ts:53
↓ 4 callers
Method
getCurrentUrl
()
project/test/router.js:101
↓ 4 callers
Method
getFutureActions
(_story: Story, _options: ActionSearchOptions)
src/game/nlcore/action/action.ts:63
↓ 4 callers
Method
getGameStateForce
()
src/game/nlcore/game/liveGame.ts:714
↓ 4 callers
Method
getHistoryIndex
()
project/test/router.js:182
↓ 4 callers
Method
getLastSceneIfNot
(scene: Scene | null | void)
src/game/player/gameState.ts:670
↓ 4 callers
Method
getScreenshotOptions
@internal
src/game/nlcore/game/liveGame.ts:555
↓ 4 callers
Method
getSrcURL
@internal
src/game/nlcore/elements/displayable/image.ts:182
↓ 4 callers
Method
getStory
()
src/game/player/gameState.ts:476
↓ 4 callers
Method
isPathsUnmounting
@internal
src/game/player/lib/PageRouter/router.tsx:1158
↓ 4 callers
Method
isStackModelsAwaiting
(type: StackModelWaiting["type"], stackModels: StackModel[])
src/game/nlcore/action/stackModel.ts:105
↓ 4 callers
Function
iterate
()
src/game/player/elements/say/Sentence.tsx:173
↓ 4 callers
Method
load
@internal
src/game/nlcore/elements/persistent/storable.ts:212
↓ 4 callers
Method
lock
()
src/game/nlcore/elements/transform/transform.ts:135
↓ 4 callers
Method
normalizePath
* Normalize path by removing duplicate slashes and trailing slashes
project/test/router.js:524
↓ 4 callers
Method
onAbort
(listener: () => void)
src/util/data.ts:659
← previous
next →
101–200 of 1,297, ranked by callers