Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YGYOOO/WorldX
/ functions
Functions
1,010 in github.com/YGYOOO/WorldX
⨍
Functions
1,010
◇
Types & classes
133
↓ 2 callers
Function
initLogger
(logDir, fileName = "pipeline.log")
generators/map/src/utils/logger.mjs:11
↓ 2 callers
Method
interruptCharacterForDialogue
(charId: string)
server/src/simulation/simulation-engine.ts:784
↓ 2 callers
Method
isAxisAligned
(a: GridPoint, b: GridPoint)
client/src/systems/PathfindingManager.ts:391
↓ 2 callers
Function
isDirectory
(targetPath: string)
server/src/utils/world-directories.ts:98
↓ 2 callers
Method
isKnownCharacter
(charId: string)
server/src/simulation/simulation-engine.ts:726
↓ 2 callers
Method
isPixelWalkable
(x: number, y: number)
client/src/systems/MapManager.ts:646
↓ 2 callers
Function
isSceneTransitionTick
( tick: number, config?: SceneTimeConfig, )
server/src/utils/time-helpers.ts:83
↓ 2 callers
Method
listDialogueSessions
()
server/src/core/world-manager.ts:519
↓ 2 callers
Function
listGeneratedWorlds
()
server/src/utils/world-directories.ts:29
↓ 2 callers
Function
listLibraryWorlds
()
server/src/utils/world-directories.ts:33
↓ 2 callers
Function
loadPromptTemplate
(name: string)
server/src/utils/config-loader.ts:107
↓ 2 callers
Function
loadWorldConfig
()
server/src/utils/config-loader.ts:25
↓ 2 callers
Function
logError
(step, error)
orchestrator/src/models/llm-client.mjs:39
↓ 2 callers
Function
logModelImageResponse
(step, model, savedPath, sizeBytes)
generators/map/src/utils/logger.mjs:64
↓ 2 callers
Function
magnitude
(vector)
generators/map/src/demo-region-overlay.mjs:644
↓ 2 callers
Function
magnitude
(v)
generators/map/src/utils/overlay-extraction.mjs:274
↓ 2 callers
Method
maybeShowActionMonologue
(event: SimulationEvent)
client/src/scenes/WorldScene.ts:610
↓ 2 callers
Function
memoryToParams
(m: MemoryEntry)
server/src/store/memory-store.ts:32
↓ 2 callers
Function
modeToggleBtnStyle
(active: boolean, mode: ViewMode)
client/src/ui/panels/TopBar.tsx:652
↓ 2 callers
Method
moveSpriteAlongDialoguePath
( sprite: CharacterSprite, path: { x: number; y: number }[] | [], target: { x: number; y: number }
client/src/systems/CharacterMovement.ts:410
↓ 2 callers
Method
moveToLocation
( charId: string, locationId: string, options: { force?: boolean; mainAreaPointId?: string | null
client/src/systems/CharacterMovement.ts:25
↓ 2 callers
Method
normalizeSpeaker
( rawSpeaker: string | undefined, profileA: { id: string; name: string }, profileB: { id: string;
server/src/simulation/dialogue-generator.ts:316
↓ 2 callers
Method
parseDialogueSession
( key: string, raw: string, )
server/src/core/world-manager.ts:581
↓ 2 callers
Function
parseTimeToMinutes
(value: string)
server/src/utils/config-loader.ts:372
↓ 2 callers
Function
parseTimeToMinutes
(timeStr)
orchestrator/src/world-design-utils.mjs:192
↓ 2 callers
Function
patchJSON
(path: string, body?: unknown)
client/src/ui/services/api-client.ts:54
↓ 2 callers
Function
pauseWorldIfNeeded
()
client/src/ui/panels/TopBar.tsx:204
↓ 2 callers
Function
pixelIdx
(x, y)
generators/character/src/utils/chromakey.mjs:39
↓ 2 callers
Function
pointToTile
( point: MainAreaPointConfig, tileSize: number, gridWidth: number, gridHeight: number, )
server/src/core/world-manager.ts:861
↓ 2 callers
Function
pointToTile
(point, tileSize, gridWidth, gridHeight)
orchestrator/src/main-area-points.mjs:403
↓ 2 callers
Function
postGoogleNativeImage
(parts, { apiKey, signal })
generators/map/src/models/gemini-flash-img.mjs:79
↓ 2 callers
Function
primaryBtnStyle
(busy: boolean)
client/src/ui/panels/GodPanel.tsx:402
↓ 2 callers
Function
printResult
(result)
scripts/compare-models.mjs:153
↓ 2 callers
Function
rank
(id: string)
client/src/ui/utils/library-world-sort.ts:21
↓ 2 callers
Method
rankDialogueApproachCandidates
( candidates: Array<{ x: number; y: number; distance: number }>, desiredTarget: { x: number; y: number
client/src/systems/CharacterMovement.ts:367
↓ 2 callers
Method
readMeta
(worldDir: string, timelineId: string)
server/src/services/timeline-manager.ts:242
↓ 2 callers
Function
reapExpired
()
server/src/api/routes/sandbox-chat.ts:30
↓ 2 callers
Method
reconcileDialogueSessions
()
server/src/simulation/simulation-engine.ts:549
↓ 2 callers
Function
rejectIfSimulationBusy
(res: Response)
server/src/api/routes/world.ts:22
↓ 2 callers
Function
rejectIfSimulationBusy
(res: Response)
server/src/api/routes/timeline.ts:13
↓ 2 callers
Function
relativeTimeLabel
( memoryDay: number, memoryTick: number, now: GameTime, )
server/src/utils/time-helpers.ts:212
↓ 2 callers
Function
resizeImage
(imageBuffer, targetWidth, options = {})
generators/map/src/utils/image-utils.mjs:8
↓ 2 callers
Function
resolveRequestTimeoutMs
(requestTimeoutMs, timeoutEnvKey)
generators/map/src/models/gemini-pro.mjs:29
↓ 2 callers
Function
resolveRequestTimeoutMs
(requestTimeoutMs, timeoutEnvKey)
generators/map/src/models/gemini-flash-img.mjs:31
↓ 2 callers
Method
restorePersistedTime
()
server/src/core/world-manager.ts:372
↓ 2 callers
Function
rowCoverage
(y)
generators/map/src/demo-region-overlay.mjs:546
↓ 2 callers
Function
rowCoverage
(y)
generators/map/src/utils/overlay-extraction.mjs:194
↓ 2 callers
Function
run
(name, cmd, args, cwd)
scripts/dev.mjs:13
↓ 2 callers
Function
runNodeScript
(scriptPath, args, { env = {}, timeoutMs = 0, label = "Process" } = {})
orchestrator/src/index.mjs:260
↓ 2 callers
Method
saveDialogueSession
(session: DialogueSession)
server/src/core/world-manager.ts:533
↓ 2 callers
Function
scanWorldsDir
(baseDir: string, source: WorldSource)
server/src/utils/world-directories.ts:47
↓ 2 callers
Method
sendStructuredRequest
( messages: Message[], model: string, temperature?: number, timeoutMs?: number, structured
server/src/llm/llm-client.ts:230
↓ 2 callers
Function
set
(key: string, val: string)
client/src/ui/panels/CharacterDetail.tsx:461
↓ 2 callers
Method
setDevTickDurationMinutes
(minutes: number)
server/src/services/app-context.ts:110
↓ 2 callers
Method
setDialogueActionState
(participantIds: string[], action: string | null)
client/src/scenes/WorldScene.ts:532
↓ 2 callers
Method
showBubble
( text: string, duration = 3000, textStyleOverrides: Partial<Phaser.Types.GameObjects.Text.TextSty
client/src/objects/CharacterSprite.ts:423
↓ 2 callers
Function
split
(s: string)
client/src/ui/panels/CharacterDetail.tsx:119
↓ 2 callers
Method
stopFollowing
()
client/src/systems/CameraController.ts:224
↓ 2 callers
Method
stopWalkingAnimation
()
client/src/objects/CharacterSprite.ts:762
↓ 2 callers
Function
summarizePayload
(payload: unknown)
client/src/ui/utils/event-format.ts:167
↓ 2 callers
Method
syncSpriteLocation
(sprite: CharacterSprite)
client/src/systems/CharacterMovement.ts:422
↓ 2 callers
Function
terminatePid
(pid, signal)
scripts/stop-dev.mjs:46
↓ 2 callers
Function
terminateProcess
(proc, signal)
scripts/dev.mjs:81
↓ 2 callers
Function
truncate
(input: string, max: number)
client/src/ui/pages/CreateWorldPage.tsx:689
↓ 2 callers
Method
updateDomLabelStyle
()
client/src/objects/CharacterSprite.ts:569
↓ 2 callers
Function
updateObjectState
(objectId: string, patch: Partial<ObjectRuntimeState>)
server/src/store/world-state-store.ts:61
↓ 2 callers
Function
useGoogleNativeProvider
()
generators/character/src/models/gemini-flash-img.mjs:13
↓ 2 callers
Method
waitForTickPlaybackCompletion
(eventCount: number)
client/src/systems/PlaybackController.ts:413
↓ 2 callers
Function
withRetry
(fn, logStep)
generators/map/src/models/gemini-pro.mjs:15
↓ 2 callers
Function
withRetry
(fn, logStep)
generators/map/src/models/gemini-flash-img.mjs:17
↓ 2 callers
Function
writeEvent
(event: JobEvent)
server/src/api/routes/worlds-create.ts:87
↓ 2 callers
Function
zoneLabel
(zone: string)
server/src/llm/prompt-builder.ts:441
↓ 2 callers
Method
zoomBy
(factor: number)
client/src/systems/CameraController.ts:139
↓ 1 callers
Function
absoluteTick
(day: number, tick: number, ticksPerScene: number)
client/src/ui/panels/DialoguePanel.tsx:23
↓ 1 callers
Method
advanceReplayTick
()
client/src/systems/PlaybackController.ts:173
↓ 1 callers
Method
advanceTick
()
server/src/core/world-manager.ts:133
↓ 1 callers
Method
appendTickEvents
(gameTime: GameTime, events: SimulationEvent[])
server/src/services/timeline-manager.ts:124
↓ 1 callers
Method
applyBubbleTextStyle
(overrides: Phaser.Types.GameObjects.Text.TextStyle)
client/src/objects/CharacterSprite.ts:666
↓ 1 callers
Method
applyEdgeCosts
(map: MapManager)
client/src/systems/PathfindingManager.ts:22
↓ 1 callers
Function
applyEmotionEffect
( effect: { type: string; target: string; value: any }, charId: string, characterManager: CharacterManag
server/src/simulation/action-executor.ts:454
↓ 1 callers
Function
applyEventToSnapshot
( prev: CreateJobSnapshot | null, event: CreateJobEvent, jobId: string, )
client/src/ui/pages/CreateWorldPage.tsx:622
↓ 1 callers
Method
applySceneConfigOverride
(override: Partial<SceneConfig>)
server/src/core/world-manager.ts:121
↓ 1 callers
Method
approachForDialogue
( initiatorId: string, responderId: string, )
client/src/systems/CharacterMovement.ts:151
↓ 1 callers
Method
areMainAreaPointsReachableWithinSteps
( pointA: string, pointB: string, maxSteps: number, )
server/src/core/world-manager.ts:255
↓ 1 callers
Method
attachLineReaders
(job: ActiveJob)
server/src/core/create-job-manager.ts:240
↓ 1 callers
Function
attachPathBasedMainAreaPointAdjacency
( points: MainAreaPointConfig[], collisionData: number[], gridWidth: number, gridHeight: number, til
server/src/core/world-manager.ts:734
↓ 1 callers
Function
beginSimulationTick
()
server/src/services/simulation-activity.ts:3
↓ 1 callers
Function
buildActionMenu
( charId: string, perception: Perception, worldManager: WorldManager, characterManager: CharacterManag
server/src/simulation/action-menu-builder.ts:8
↓ 1 callers
Function
buildConfigFromEnv
()
server/src/llm/llm-client.ts:310
↓ 1 callers
Function
buildDefaultOutputPath
(inputPath)
generators/character/src/erase-bottom-row.mjs:89
↓ 1 callers
Method
buildDialogueFinalizeMessages
(params: { participants: { profile: CharacterProfile; state: CharacterState; memoriesAbo
server/src/llm/prompt-builder.ts:220
↓ 1 callers
Method
buildDialogueTurnMessages
(params: { participants: { profile: CharacterProfile; state: CharacterState; memoriesAbo
server/src/llm/prompt-builder.ts:150
↓ 1 callers
Function
buildElementObjects
(designedElements, tmjObjects)
orchestrator/src/config-generator.mjs:342
↓ 1 callers
Function
buildGoogleNativeBody
(parts)
generators/map/src/models/gemini-flash-img.mjs:70
↓ 1 callers
Function
buildGoogleNativeBody
(parts)
generators/character/src/models/gemini-flash-img.mjs:37
↓ 1 callers
Function
buildGoogleNativeUrl
(apiKey)
generators/map/src/models/gemini-flash-img.mjs:65
↓ 1 callers
Function
buildGoogleNativeUrl
(apiKey)
generators/character/src/models/gemini-flash-img.mjs:32
↓ 1 callers
Function
buildHistoryRecords
(events: SimulationEvent[])
client/src/ui/panels/CharacterDetail.tsx:310
↓ 1 callers
Function
buildLocations
(tmjRegions, tmjObjects, worldDesign, tmj, options = {})
orchestrator/src/config-generator.mjs:185
↓ 1 callers
Function
buildMainAreaPoints
({ tmj, collisionLayer, regions = [], elementObjects = [] })
orchestrator/src/main-area-points.mjs:13
← previous
next →
301–400 of 1,010, ranked by callers