MCPcopy Create free account

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

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

↓ 95 callersMethodpush
@internal
src/game/nlcore/action/chain.ts:47
↓ 74 callersMethodchain
@internal
src/game/nlcore/action/chain.ts:73
↓ 73 callersMethodmap
* Map the notifications to a new array * * **Note:** The callback function is called with the notification message, the **id** of the notif
src/game/player/lib/notification.ts:56
↓ 47 callersMethodgetContent
()
src/game/nlcore/action/tree/actionTree.ts:28
↓ 46 callersMethodforEach
(callback: (node: RenderableNode) => void)
src/game/nlcore/action/tree/actionTree.ts:179
↓ 43 callersMethodresolve
(value: T)
src/util/data.ts:148
↓ 42 callersMethodemit
(event: K, ...args: Type[K])
src/util/data.ts:531
↓ 40 callersMethoddebug
(tag: string, ...args: any[])
src/util/logger.ts:38
↓ 39 callersMethodgetId
()
src/game/nlcore/action/action.ts:45
↓ 34 callersMethodcancel
()
src/util/data.ts:655
↓ 34 callersMethodnavigate
(path, queryParams)
project/test/router.js:194
↓ 34 callersMethodpush
(...items: T[])
src/util/data.ts:1474
↓ 34 callersMethodsetContent
(content: ContentNodeType)
src/game/nlcore/action/action.ts:53
↓ 33 callersMethodforEach
(callbackfn: (notification: string, id: string, array: string[]) => void)
src/game/player/lib/notification.ts:64
↓ 33 callersMethodthen
(callback: (value: T) => void)
src/util/data.ts:346
↓ 32 callersMethodget
(_, prop)
src/game/nlcore/elements/character.ts:62
↓ 32 callersMethodgetLiveGame
()
src/game/player/gameState.ts:194
↓ 31 callersMethodgetChild
()
src/game/nlcore/action/tree/actionTree.ts:121
↓ 31 callersMethodpush
@internal
src/game/nlcore/elements/control.ts:137
↓ 30 callersMethodfilter
(callbackfn: (notification: string, id: string, array: string[]) => boolean)
src/game/player/lib/notification.ts:60
↓ 30 callersMethodon
* Register an action handler * @param key action type * @param handler handler, the arguments are the same as the action content type
src/game/nlcore/elements/service.ts:30
↓ 28 callersMethodattachTimeline
* Attaches a new timeline or an awaitable to the task pool. * If an Awaitable is provided, it wraps it into a new Timeline. * Automatically
src/game/player/Tasks.ts:376
↓ 28 callersMethodhas
(src: string | string[])
src/game/player/lib/Preloaded.ts:58
↓ 26 callersMethodget
(src: string)
src/game/player/lib/Preloaded.ts:52
↓ 25 callersMethodexactMatch
(path, pattern)
project/test/router.js:339
↓ 23 callersMethodfrom
@internal
src/game/nlcore/elements/condition.ts:24
↓ 23 callersMethodgetCurrentPath
()
project/test/router.js:85
↓ 23 callersMethodset
(_, prop, value)
src/game/nlcore/elements/character.ts:65
↓ 23 callersMethodwarn
(type: GuardWarningType, message: string)
src/game/player/guard.ts:30
↓ 22 callersMethodjoin
( config: T | Config<T, any>, )
src/util/config.ts:113
↓ 21 callersMethodcreate
* Create a new transform with the given config. The sequences will be empty. * @param config - The config for the transform. * @returns A ne
src/game/nlcore/elements/transform/transform.ts:262
↓ 21 callersFunctionuseGame
()
src/game/player/provider/game-state.tsx:37
↓ 20 callersMethodabort
()
src/game/player/Tasks.ts:262
↓ 20 callersFunctiondeepMerge
(obj1: Record<string, any>, obj2: Record<string, any>, ...objs: Record<string, any>[])
src/util/data.ts:73
↓ 20 callersMethodget
(key: Key)
src/game/nlcore/elements/persistent/storable.ts:58
↓ 19 callersMethodadd
* Add an item to the gallery * @chainable * @param name - The name of the item to add * @example * ```ts * scene.action([
src/game/nlcore/elements/built-in/Gallery.ts:94
↓ 19 callersMethodresolve
(tags: SelectElementFromEach<Tags> | string[])
src/game/nlcore/elements/displayable/image.ts:432
↓ 17 callersMethodregisterSkipController
(skipController: SkipController<T, []>)
src/util/data.ts:322
↓ 16 callersMethodentries
()
src/game/nlcore/elements/persistent/storable.ts:199
↓ 15 callersMethodadd
(src: PreloadedSrc<T>)
src/game/player/lib/Preloaded.ts:43
↓ 15 callersMethodassertGameState
* @internal * @throws {RuntimeGameError} - If the game state isn't found
src/game/nlcore/game/liveGame.ts:821
↓ 14 callersMethodassign
@internal
src/game/nlcore/elements/character/word.ts:96
↓ 14 callersMethodforEach
(fn: (item: T) => void)
src/util/data.ts:1507
↓ 14 callersMethodis
(parent: new (...args: any[]) => T, type: string)
src/game/nlcore/action/actions.ts:37
↓ 14 callersMethodisSettled
()
src/game/player/Tasks.ts:231
↓ 14 callersMethodisUnknown
(arg: any)
src/game/nlcore/elements/transform/position.ts:55
↓ 14 callersMethodkeys
()
src/game/nlcore/elements/persistent/storable.ts:191
↓ 14 callersFunctionlistener
(event: KeyboardEvent)
src/game/player/elements/menu/UIMenu/Item.tsx:52
↓ 14 callersMethodtoString
()
src/game/nlcore/common/Utils.ts:57
↓ 13 callersMethodgetLiveGame
()
src/game/nlcore/game.ts:220
↓ 13 callersMethodgetNamespace
@internal
src/game/nlcore/elements/persistent.ts:51
↓ 13 callersMethodisAwaitable
(obj: any)
src/util/data.ts:135
↓ 13 callersMethodupdate
(width: number, height: number, scale: number)
src/game/player/provider/ratio.tsx:46
↓ 13 callersFunctionuseFlush
(deps?: React.DependencyList)
src/game/player/lib/flush.tsx:3
↓ 13 callersMethodweakWarn
(tag: string, ...args: any[])
src/util/logger.ts:50
↓ 12 callersMethodemitOnChange
@internal
src/game/player/lib/PageRouter/router.tsx:974
↓ 12 callersMethodhas
(plugin: IGamePluginRegistry)
src/game/nlcore/game/plugin/plugin.ts:33
↓ 12 callersMethodnext
@internal
src/game/nlcore/game/liveGame.ts:616
↓ 12 callersMethodorUnknown
(arg: T | UnknownAble<T> | undefined)
src/game/nlcore/elements/transform/position.ts:97
↓ 12 callersMethodstringifyWithName
(name: string)
src/game/nlcore/action/actions.ts:48
↓ 11 callersMethodcall
* Call method to implement tag function functionality * @internal
src/game/nlcore/elements/character.ts:180
↓ 11 callersMethoderror
(tag: string, ...args: any[])
src/util/logger.ts:32
↓ 11 callersMethodisColor
* Accepts: {@link Color}
src/game/nlcore/common/Utils.ts:110
↓ 11 callersMethodisEnabled
(type: keyof Extract<GameConfig["app"]["logger"], object>)
src/util/logger.ts:86
↓ 11 callersMethodisImageSrc
* Accepts: {@link ImageSrc}
src/game/nlcore/common/Utils.ts:96
↓ 11 callersMethodlog
(tag: string, ...args: any[])
src/util/logger.ts:14
↓ 11 callersMethodparsePath
(path)
project/test/router.js:299
↓ 11 callersMethodsetChild
(child: RenderableNode | null)
src/game/nlcore/action/tree/actionTree.ts:102
↓ 11 callersMethodsrcToURL
(src: string | NextJSStaticImageData)
src/game/nlcore/common/Utils.ts:70
↓ 10 callersMethodbuildUrl
(path, query)
project/test/router.js:122
↓ 10 callersMethodemitOnChange
()
project/test/router.js:471
↓ 10 callersMethodevaluate
@internal
src/game/nlcore/elements/condition.ts:44
↓ 10 callersMethodforward
* Go forward to next path * @example * ```typescript * const router = new LayoutRouter(game, "/home"); * router.navigate("/about")
src/game/player/lib/PageRouter/router.tsx:527
↓ 10 callersMethodgetExposedStateForce
(key: ExposedKeys[T])
src/game/player/gameState.ts:565
↓ 10 callersMethodisCalledActionResult
(action: CalledActionResult | Awaitable<CalledActionResult> | StackModel | undefined | null)
src/game/nlcore/action/stackModel.ts:83
↓ 10 callersMethodregister
(game: Game)
src/game/nlcore/game/plugin/plugin.ts:5
↓ 10 callersFunctionuseRatio
()
src/game/player/provider/ratio.tsx:134
↓ 9 callersMethodattachChild
(arg0: Awaitable | Timeline)
src/game/player/Tasks.ts:272
↓ 9 callersFunctioncreateMicroTask
(t: () => (() => void) | void)
src/util/data.ts:957
↓ 9 callersMethodgetActions
@internal
src/game/nlcore/action/chain.ts:52
↓ 9 callersMethodgetHistory
()
project/test/router.js:178
↓ 9 callersMethodgetSceneRoot
@internal
src/game/nlcore/elements/scene.ts:582
↓ 9 callersMethodgetSrc
(src: Src | string)
src/game/player/lib/Preloaded.ts:87
↓ 9 callersMethodisEmpty
()
src/game/nlcore/action/stackModel.ts:467
↓ 9 callersMethodisTagSrc
@internal
src/game/nlcore/elements/displayable/image.ts:162
↓ 9 callersMethodisWord
(obj: any)
src/game/nlcore/elements/character/word.ts:21
↓ 9 callersMethodmatchPath
(path, pattern)
project/test/router.js:315
↓ 9 callersMethodpushChange
@internal
src/game/nlcore/elements/transform/transform.ts:696
↓ 9 callersMethodsay
( contentOrText: SentencePrompt | Sentence | TemplateStringsArray, configOrArg0?: SentenceUser
src/game/nlcore/elements/character.ts:107
↓ 9 callersMethodtoData
(item: CalledActionResult | Awaitable<CalledActionResult>)
src/game/nlcore/action/stackModel.ts:389
↓ 8 callersMethodabort
* **Note**: Calling this method won't trigger the `then` callbacks.
src/util/data.ts:400
↓ 8 callersMethodcopy
@internal
src/game/nlcore/elements/character/word.ts:102
↓ 8 callersMethoddeserialize
(data: Record<string, any>)
src/game/nlcore/elements/built-in/Gallery.ts:67
↓ 8 callersMethodfromData
@internal
src/game/nlcore/action/baseElement.ts:23
↓ 8 callersMethodgetCurrentQuery
()
project/test/router.js:93
↓ 8 callersMethodgetPreference
(key: K)
src/game/nlcore/game/preference.ts:27
↓ 8 callersMethodgetStorable
()
src/game/nlcore/game/liveGame.ts:107
↓ 8 callersMethodkeys
()
src/util/config.ts:44
↓ 8 callersMethodmap
(fn: (item: T) => U)
src/util/data.ts:1517
↓ 8 callersMethodonAbort
(handler: () => void)
src/game/nlcore/elements/service.ts:56
next →1–100 of 1,297, ranked by callers