MCPcopy Create free account

hub / github.com/a16z-infra/ai-town / functions

Functions321 in github.com/a16z-infra/ai-town

↓ 1 callersFunctionuseHistoricalTime
(engineStatus?: Doc<'engines'>)
src/hooks/useHistoricalTime.ts:4
↓ 1 callersFunctionuseHistoricalValue
( fields: FieldConfig, historicalTime: number | undefined, value: T | undefined, history: ArrayBuffer
src/hooks/useHistoricalValue.ts:4
↓ 1 callersFunctionuseWorldHeartbeat
()
src/hooks/useWorldHeartbeat.ts:6
↓ 1 callersFunctionwanderDestination
(worldMap: WorldMap)
convex/aiTown/agentOperations.ts:172
↓ 1 callersFunctionwrite_map_file
(bg_tiles_0, bg_tiles_1, obj_tiles_1, obj_tiles_2, animated_tiles)
src/editor/mapfile.js:25
FunctionButton
(props: { className?: string; href?: string; imgUrl: string; onClick?: MouseEventHandler; title?: st
src/components/buttons/Button.tsx:4
FunctionCharacter
({ textureUrl, spritesheetData, x, y, orientation, isMoving = false, isThinking = false, isSpe
src/components/Character.tsx:6
FunctionContextSingleton
()
src/editor/secontext.js:6
FunctionContextSingleton
()
src/editor/lecontext.js:6
FunctionConvexClientProvider
({ children }: { children: ReactNode })
src/components/ConvexClientProvider.tsx:22
FunctionDebugPath
({ player, tileDim }: { player: Player; tileDim: number })
src/components/DebugPath.tsx:8
FunctionDebugTimeManager
(props: { timeManager: HistoricalTimeManager; width: number; height: number; })
src/components/DebugTimeManager.tsx:7
FunctionDragState
()
src/editor/le.js:102
FunctionDragState
()
src/editor/se.js:101
FunctionFreezeButton
()
src/components/FreezeButton.tsx:5
FunctionGame
()
src/components/Game.tsx:17
FunctionHome
()
src/App.tsx:20
FunctionInteractButton
()
src/components/buttons/InteractButton.tsx:13
FunctionLoginButton
()
src/components/buttons/LoginButton.tsx:3
FunctionMessageInput
({ worldId, engineId, humanPlayer, conversation, }: { worldId: Id<'worlds'>; engineId: Id<'engines
src/components/MessageInput.tsx:10
FunctionMessages
({ worldId, engineId, conversation, inConversationWithMe, humanPlayer, scrollViewRef, }: { world
src/components/Messages.tsx:10
FunctionMusicButton
()
src/components/buttons/MusicButton.tsx:8
FunctionPixiGame
(props: { worldId: Id<'worlds'>; engineId: Id<'engines'>; game: ServerGame; historicalTime: number | u
src/components/PixiGame.tsx:18
FunctionPlayer
({ game, isViewer, player, onClick, historicalTime, }: { game: ServerGame; isViewer: boolean;
src/components/Player.tsx:18
FunctionPlayerDetails
({ worldId, engineId, game, playerId, setSelectedElement, scrollViewRef, }: { worldId: Id<'world
src/components/PlayerDetails.tsx:13
FunctionPositionIndicator
(props: { destination: { x: number; y: number; t: number }; tileDim: number; })
src/components/PositionIndicator.tsx:8
FunctionPoweredByConvex
()
src/components/PoweredByConvex.tsx:2
FunctionViewerIndicator
()
src/components/Character.tsx:111
FunctionapplyProps
(viewport, oldProps: any, newProps: any)
src/components/PixiViewport.tsx:47
FunctionbeginStep
(now: number)
convex/engine/abstractGame.ts:19
FunctioncenterCompositePane
(x, y)
src/editor/se.js:690
FunctioncompareNumbers
(a: number, b: number)
convex/util/minheap.test.ts:4
FunctioncompareStringsByLength
(a: string, b: string)
convex/util/minheap.test.ts:52
Functioncompress
(input: number[])
convex/util/FastIntegerCompression.ts:65
FunctioncomputeHowManyIntegers
(input: ArrayBuffer)
convex/util/FastIntegerCompression.ts:99
Functionconstructor
(public engine: Doc<'engines'>)
convex/engine/abstractGame.ts:13
Methodconstructor
(fields: FieldConfig, initialValue: T)
convex/engine/historicalObject.ts:80
Methodconstructor
(serialized: SerializedAgentDescription)
convex/aiTown/agentDescription.ts:9
Methodconstructor
(serialized: SerializedConversationMembership)
convex/aiTown/conversationMembership.ts:23
Methodconstructor
(serialized: SerializedConversation)
convex/aiTown/conversation.ts:31
Methodconstructor
(serialized: SerializedPlayer)
convex/aiTown/player.ts:72
Methodconstructor
(serialized: SerializedWorld)
convex/aiTown/world.ts:31
Methodconstructor
(serialized: SerializedWorldMap)
convex/aiTown/worldMap.ts:49
Methodconstructor
(serialized: SerializedPlayerDescription)
convex/aiTown/playerDescription.ts:18
Methodconstructor
( engine: Doc<'engines'>, public worldId: Id<'worlds'>, state: GameState, )
convex/aiTown/game.ts:65
Methodconstructor
(serialized: SerializedAgent)
convex/aiTown/agent.ts:38
Methodconstructor
(body: ReadableStream<Uint8Array>, stopWords: string[])
convex/util/llm.ts:605
Methodconstructor
(app, pane, num, mod = null)
src/editor/le.js:118
Methodconstructor
(app, mod = g_ctx)
src/editor/le.js:302
Methodconstructor
(app)
src/editor/le.js:371
Methodconstructor
(app, pane, num, mod = null)
src/editor/se.js:117
Methodconstructor
(app, mod = g_ctx)
src/editor/se.js:316
Methodconstructor
(app)
src/editor/se.js:361
FunctioncontinueConversationMessage
( ctx: ActionCtx, worldId: Id<'worlds'>, conversationId: GameId<'conversations'>, playerId: GameId<'pl
convex/agent/conversation.ts:78
Functioncreate
(props: ViewportProps)
src/components/PixiViewport.tsx:22
Functiondownload
(data, filename, type)
src/editor/spritefile.js:14
Functiondownload
(data, filename, type)
src/editor/eutils.js:3
Functiondraw
(g: PixiGraphics)
src/components/PositionIndicator.tsx:13
FunctionfetchModeration
(content: string)
convex/util/llm.ts:260
FunctionflipSwitch
()
src/components/FreezeButton.tsx:14
Functiongenerate_level_file
()
src/editor/mapfile.js:101
Functiongenerate_sprite_file
()
src/editor/spritefile.js:32
FunctioninitCompositePNGLoader
()
src/editor/lehtmlui.js:41
FunctioninitCompositePNGLoader
()
src/editor/sehtmlui.js:33
FunctioninitLevelLoader
(callme)
src/editor/lehtmlui.js:112
FunctioninitMainHTMLWindow
()
src/editor/lehtmlui.js:9
FunctioninitMainHTMLWindow
()
src/editor/sehtmlui.js:9
FunctioninitSpriteSheetLoader
()
src/editor/lehtmlui.js:61
FunctioninitTilesetLoader
(callme)
src/editor/lehtmlui.js:81
FunctioninitTilesetLoader
(callme)
src/editor/sehtmlui.js:52
FunctionisSimpleObject
(value: unknown)
convex/util/isSimpleObject.ts:1
FunctionjoinOrLeaveGame
()
src/components/buttons/InteractButton.tsx:47
FunctionlatestMemoryOfType
( db: DatabaseReader, playerId: GameId<'players'>, type: T, )
convex/agent/memory.ts:438
FunctionleaveConversationMessage
( ctx: ActionCtx, worldId: Id<'worlds'>, conversationId: GameId<'conversations'>, playerId: GameId<'pl
convex/agent/conversation.ts:136
FunctionloadMapFromModuleFinish
(mod)
src/editor/le.js:440
Methodneighbors
(p: Point)
convex/aiTown/conversation.ts:80
FunctionnewTilesetFromFile
()
src/editor/se.js:1197
FunctiononAcceptInvite
()
src/components/PlayerDetails.tsx:97
FunctiononCompositeMousedown
(layer, e)
src/editor/le.js:925
FunctiononCompositeMousedown
(layer, e)
src/editor/se.js:799
FunctiononLeaveConversation
()
src/components/PlayerDetails.tsx:119
FunctiononLevelCreateAnimatedSprite
(row)
src/editor/se.js:893
FunctiononLevelDrag
(layer, e)
src/editor/le.js:988
FunctiononLevelDrag
(layer, e)
src/editor/se.js:860
FunctiononLevelDragEnd
(layer, e)
src/editor/le.js:1022
FunctiononLevelDragEnd
(layer, e)
src/editor/se.js:899
FunctiononLevelMouseOut
(e)
src/editor/le.js:889
FunctiononLevelMouseOut
(e)
src/editor/se.js:767
FunctiononLevelMousemove
(e)
src/editor/le.js:901
FunctiononLevelMousemove
(e)
src/editor/se.js:775
FunctiononLevelMouseover
(e)
src/editor/le.js:811
FunctiononLevelMouseover
(e)
src/editor/se.js:704
FunctiononLevelPointerDown
(layer, e)
src/editor/le.js:968
FunctiononLevelPointerDown
(layer, e)
src/editor/se.js:840
FunctiononMapPointerDown
(e: any)
src/components/PixiGame.tsx:40
FunctiononMapPointerUp
(e: any)
src/components/PixiGame.tsx:50
FunctiononRejectInvite
()
src/components/PlayerDetails.tsx:108
FunctiononScroll
()
src/components/Messages.tsx:48
FunctiononStartConversation
()
src/components/PlayerDetails.tsx:90
FunctiononTilesetDrag
(e)
src/editor/le.js:706
← previousnext →201–300 of 321, ranked by callers