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
↓ 2 callers
Method
isVideoAdded
(video: Video)
src/game/player/gameState.ts:170
↓ 2 callers
Method
joinPath
* Join multiple path segments into a single path * @param path Base path * @param paths Additional path segments to join * @returns Joi
src/game/player/lib/PageRouter/router.tsx:1095
↓ 2 callers
Method
layerNotFound
()
src/game/player/gameState.ts:739
↓ 2 callers
Method
matchPath
* Check if path matches pattern (supports prefix matching for nested layouts) * @param path Path to check * @param pattern Match pattern, su
src/game/player/lib/PageRouter/router.tsx:715
↓ 2 callers
Method
mergePosition
@internal
src/game/nlcore/elements/transform/transform.ts:286
↓ 2 callers
Method
mount
@internal
src/game/player/lib/PageRouter/router.tsx:916
↓ 2 callers
Method
mountDefaultHandler
(path)
project/test/router.js:430
↓ 2 callers
Method
mountState
* Mounts a new state to the game state manager * @param key - Unique identifier for the state * @param state - State object to be mounted
src/game/player/gameState.ts:525
↓ 2 callers
Method
narrativeToActions
@internal
src/game/nlcore/elements/control.ts:167
↓ 2 callers
Method
nextUnlock
()
src/util/data.ts:713
↓ 2 callers
Method
normalizePath
* Normalize path by removing duplicate slashes and trailing slashes * @param path Path to normalize * @returns Normalized path * @examp
src/game/player/lib/PageRouter/router.tsx:1056
↓ 2 callers
Method
not
@internal
src/game/nlcore/elements/condition.ts:29
↓ 2 callers
Method
offSrcManager
(srcManager: SrcManager)
src/game/player/gameState.ts:463
↓ 2 callers
Method
onPlayerEvent
* Listen to the events of the player element
src/game/nlcore/game/liveGame.ts:564
↓ 2 callers
Method
onWindowEvent
* Listen to the events of the window
src/game/nlcore/game/liveGame.ts:587
↓ 2 callers
Method
once
(eventName, handler)
project/test/router.js:36
↓ 2 callers
Function
onlyIf
(condition: boolean, value: T, fallback: object = {})
src/util/data.ts:756
↓ 2 callers
Function
onlyValidFields
(obj: T)
src/util/data.ts:1274
↓ 2 callers
Method
overwrite
(key: symbol, state: Partial<T>)
src/game/nlcore/elements/transform/transform.ts:174
↓ 2 callers
Method
pause
* @chainable
src/game/nlcore/elements/sound.ts:214
↓ 2 callers
Method
prefix
@internal
src/game/nlcore/elements/persistent.ts:222
↓ 2 callers
Method
preload
(gameState: GameState, url: string)
src/game/player/lib/ImageCacheManager.ts:64
↓ 2 callers
Method
propToCSSTransform
@internal
src/game/nlcore/elements/transform/transform.ts:309
↓ 2 callers
Method
pushListener
(listener: (value: T) => void)
src/util/data.ts:420
↓ 2 callers
Method
rawPositionToCoord2D
(arg: any)
src/game/nlcore/elements/transform/position.ts:141
↓ 2 callers
Method
registerRawSrc
(src: string)
src/game/nlcore/action/srcManager.ts:172
↓ 2 callers
Method
registerSrcManager
(srcManager: SrcManager)
src/game/player/gameState.ts:458
↓ 2 callers
Method
registerUnmountingPath
@internal
src/game/player/lib/PageRouter/router.tsx:1153
↓ 2 callers
Method
removeElements
(scene: Scene)
src/game/player/gameState.ts:703
↓ 2 callers
Method
removeNamespace
(key: string)
src/game/nlcore/elements/persistent/storable.ts:182
↓ 2 callers
Method
removeNotification
(notification: Notification)
src/game/player/lib/notification.ts:92
↓ 2 callers
Method
removeScene
(scene: Scene)
src/game/player/gameState.ts:261
↓ 2 callers
Method
replace
* Replace current path (without adding to history) * @param path New path, supports relative paths like "./settings" or "../parent" * @param
src/game/player/lib/PageRouter/router.tsx:562
↓ 2 callers
Method
requestComplete
* Only for dialog component to call * * Calling this method will request the sentence to be completed * If the sentence is already c
src/game/player/elements/say/UIDialog.tsx:79
↓ 2 callers
Method
reset
@internal
src/game/nlcore/elements/scene.ts:599
↓ 2 callers
Method
resolvePath
* Resolve relative path to absolute path * @param path Path to resolve, can be absolute or relative * @returns Resolved absolute path *
src/game/player/lib/PageRouter/router.tsx:1000
↓ 2 callers
Method
resolveStatus
()
src/game/player/Tasks.ts:315
↓ 2 callers
Method
resolveTags
* @internal * resolve tags, return the tags that aren't conflicting
src/game/nlcore/elements/displayable/image.ts:418
↓ 2 callers
Method
resume
* @chainable
src/game/nlcore/elements/sound.ts:224
↓ 2 callers
Function
roll
()
src/game/player/elements/say/Sentence.tsx:159
↓ 2 callers
Method
rollNext
* Executes the next operation in the stack * * Main responsibilities: * 1. Check and handle waiting states at the top of the stack
src/game/nlcore/action/stackModel.ts:175
↓ 2 callers
Method
sceneExists
(scene?: Scene)
src/game/player/gameState.ts:276
↓ 2 callers
Method
scheduleAutoForward
()
src/game/player/elements/say/UIDialog.tsx:177
↓ 2 callers
Method
setGameState
@internal
src/game/nlcore/game/liveGame.ts:698
↓ 2 callers
Method
setIdle
(idle: boolean)
src/game/player/elements/say/UIDialog.tsx:69
↓ 2 callers
Method
setMaxListeners
(maxListeners: number)
src/util/data.ts:582
↓ 2 callers
Method
setName
@internal
src/game/nlcore/elements/layer.ts:150
↓ 2 callers
Method
setupGroupVolume
()
src/game/player/lib/AudioManager.ts:382
↓ 2 callers
Function
show
(options?: Transform<TransformType> | Partial<TransformDefinitions.CommonTransformProps>)
src/game/nlcore/elements/displayable/displayable.ts:207
↓ 2 callers
Function
textUpdater
(w: Word<string | Pausing>[])
src/game/player/elements/say/Sentence.tsx:26
↓ 2 callers
Method
toData
@internal
src/game/nlcore/elements/scene.ts:358
↓ 2 callers
Method
toSound
@internal
src/game/nlcore/elements/sound.ts:113
↓ 2 callers
Function
trySkip
(untilEnd: boolean = false)
src/game/player/elements/say/Sentence.tsx:212
↓ 2 callers
Method
unMountState
(key: Values<ExposedKeys>)
src/game/player/gameState.ts:544
↓ 2 callers
Method
undoUntil
* Undo all actions until the given id * * If the given id is not found, nothing will happen * @param id random id generated by push
src/game/nlcore/action/actionHistory.ts:64
↓ 2 callers
Function
update
()
src/game/player/elements/say/Sentence.tsx:341
↓ 2 callers
Function
updateDisplaying
(value: Exclude<SplitWord, Pausing>)
src/game/player/elements/say/Sentence.tsx:198
↓ 2 callers
Function
useConstant
(fn: () => T)
src/game/player/lib/useConstant.tsx:4
↓ 2 callers
Function
useKeyBinding
(type: KeyBindingType)
src/game/player/lib/keyMap.ts:6
↓ 2 callers
Function
useRouterSyncHook
(handler: (router: LayoutRouter) => void, deps: React.DependencyList)
src/game/player/lib/PageRouter/routerHooks.ts:40
↓ 2 callers
Method
validateVoice
@internal
src/game/nlcore/elements/scene.ts:152
↓ 2 callers
Method
warn
(tag: string, ...args: any[])
src/util/logger.ts:26
↓ 2 callers
Method
weakError
(tag: string, ...args: any[])
src/util/logger.ts:56
↓ 1 callers
Method
$clear
* Clear the gallery * * After calling this method, the gallery will be empty INSTANTLY
src/game/nlcore/elements/built-in/Gallery.ts:159
↓ 1 callers
Method
_applyTransition
@internal
src/game/nlcore/elements/displayable/text.ts:233
↓ 1 callers
Method
_applyTransition
@internal
src/game/nlcore/elements/displayable/image.ts:364
↓ 1 callers
Method
_createAction
@internal
src/game/nlcore/elements/service.ts:76
↓ 1 callers
Method
_exit
@internal
src/game/nlcore/elements/scene.ts:641
↓ 1 callers
Method
_flush
@internal
src/game/nlcore/elements/displayable/image.ts:399
↓ 1 callers
Method
_initBackground
@internal
src/game/nlcore/elements/scene.ts:678
↓ 1 callers
Method
_initWearable
@internal
src/game/nlcore/elements/displayable/image.ts:388
↓ 1 callers
Method
_invalidSrcHandlerError
@internal
src/game/nlcore/elements/displayable/image.ts:463
↓ 1 callers
Method
_invalidTagGroupDefinitionError
@internal
src/game/nlcore/elements/displayable/image.ts:477
↓ 1 callers
Method
_invalidWearableError
@internal
src/game/nlcore/elements/displayable/image.ts:470
↓ 1 callers
Method
_jumpTo
@internal
src/game/nlcore/elements/scene.ts:630
↓ 1 callers
Method
_registerActionHandler
@internal
src/game/nlcore/elements/service.ts:71
↓ 1 callers
Method
_setDarkness
@internal
src/game/nlcore/elements/displayable/image.ts:604
↓ 1 callers
Method
_setIsBackground
@internal
src/game/nlcore/elements/displayable/image.ts:508
↓ 1 callers
Method
_setSrc
@internal
src/game/nlcore/elements/displayable/image.ts:483
↓ 1 callers
Method
_transitionToScene
@internal
src/game/nlcore/elements/scene.ts:650
↓ 1 callers
Method
abortAll
* Aborts all active timelines and removes any that are already settled.
src/game/player/Tasks.ts:392
↓ 1 callers
Method
abortAll
()
src/game/player/lib/ImageCacheManager.ts:129
↓ 1 callers
Method
abortStackTop
()
src/game/nlcore/action/stackModel.ts:280
↓ 1 callers
Method
add
(name: string, src: string)
src/game/player/lib/ImageCacheManager.ts:37
↓ 1 callers
Method
addElement
(element: PlayerStateElement)
src/game/player/gameState.ts:225
↓ 1 callers
Method
addPushValidator
(validator: (item: T) => boolean)
src/util/data.ts:1465
↓ 1 callers
Method
addScene
(scene: Scene)
src/game/player/gameState.ts:232
↓ 1 callers
Method
addSideEffect
@internal
src/game/nlcore/game.ts:241
↓ 1 callers
Method
addVideo
(video: Video)
src/game/player/gameState.ts:155
↓ 1 callers
Method
all
* Creates a new awaitable that resolves when all of the given awaitables resolve. * All input awaitables are attached to a timeline for global tr
src/game/player/Tasks.ts:97
↓ 1 callers
Method
animate
@internal
src/game/nlcore/elements/transform/transform.ts:391
↓ 1 callers
Method
any
* Execute all actions at the same time, waiting for any one action to complete * @chainable
src/game/nlcore/elements/control.ts:40
↓ 1 callers
Method
applyHandler
( key: string, value: any )
src/util/config.ts:88
↓ 1 callers
Function
applyTransform
(transform: Transform, resolve: () => void)
src/game/player/elements/displayable/Displayable.tsx:190
↓ 1 callers
Method
applyTransition
(state: GameState, element: Displayable<any, any>, transition: TransitionType, injection: ActionExecutionInjec
src/game/nlcore/action/actions/displayableAction.ts:79
↓ 1 callers
Method
assignActionId
@internal
src/game/nlcore/elements/scene.ts:543
↓ 1 callers
Method
assignElementId
@internal
src/game/nlcore/elements/scene.ts:552
↓ 1 callers
Method
atToSeconds
@internal
src/game/nlcore/elements/transform/transform.ts:710
↓ 1 callers
Method
bindWearable
* Bind this image to a parent image as a wearable * @param parent - The parent image
src/game/nlcore/elements/displayable/image.ts:320
↓ 1 callers
Method
bold
(text: string | Word)
src/game/nlcore/elements/character/word.ts:32
← previous
next →
401–500 of 1,297, ranked by callers