MCPcopy Index your code

hub / github.com/nkzw-tech/athena-crisis / functions

Functions2,131 in github.com/nkzw-tech/athena-crisis

↓ 1,215 callersFunctionvec
(x: number, y: number)
athena/map/vec.tsx:5
↓ 1,038 callersMethodcreate
( player: Player | PlayerID, config?: { behavior?: AIBehavior | null; label?: PlayerID | n
athena/info/Unit.tsx:716
↓ 994 callersMethodset
(name: T, value?: string | number)
ui/cssVar.tsx:77
↓ 834 callersMethodcopy
({ ammo, behavior, capturing, completed, fuel, health, id, label, moved,
athena/map/Unit.tsx:931
↓ 488 callersMethodhas
(index: number)
athena/map/BitSet.tsx:62
↓ 331 callersMethodgetPlayer
(player: EntityOrPlayerID)
athena/MapData.tsx:305
↓ 321 callersMethodset
()
hera/__tests__/GameMap.test.tsx:29
↓ 281 callersFunctionsprite
(x: number, y: number)
athena/info/Tile.tsx:56
↓ 222 callersFunctionEndTurnAction
()
apollo/action-mutators/ActionMutators.tsx:50
↓ 222 callersFunctionexecuteGameActions
( map: MapData, actions: Actions, effects?: Effects, mutateAction?: MutateActionResponseFn, )
tests/executeGameActions.tsx:13
↓ 218 callersFunctionsprite
(x: number, y: number)
athena/info/Unit.tsx:20
↓ 209 callersMethodapply
()
hera/__tests__/GameMap.test.tsx:26
↓ 193 callersFunctionsnapshotEncodedActionResponse
( encodedGameActionResponse: EncodedGameActionResponse, )
tests/snapshotEncodedActionResponse.tsx:5
↓ 180 callersMethodmatchesPlayer
(objectA: AnyEntity, objectB: AnyEntity)
athena/MapData.tsx:226
↓ 162 callersFunctionMoveAction
( from: Vector, to: Vector, path?: ReadonlyArray<Vector> | null, complete?: boolean, )
apollo/action-mutators/ActionMutators.tsx:6
↓ 161 callersMethodgetCurrentPlayer
()
athena/MapData.tsx:332
↓ 158 callersMethodright
(n = 1)
athena/info/Decorator.tsx:98
↓ 153 callersFunctionAttackUnitAction
(from: Vector, to: Vector)
apollo/action-mutators/ActionMutators.tsx:20
↓ 147 callersFunctionupdate
()
hera/editor/panels/EntityPanel.tsx:154
↓ 138 callersMethodcreateMap
({ config, ...data }: Partial<Omit<PlainMap, 'config'>> & { config?: Partial<PlainMapConfig>;
athena/MapData.tsx:573
↓ 125 callersMethodgetTileInfo
(vector: Vector, layer?: TileLayer)
athena/MapData.tsx:273
↓ 117 callersMethodcreateVisionObject
(player: PlayerOrPlayerID)
athena/MapData.tsx:525
↓ 115 callersFunctionwithModifiers
(map: MapData)
athena/lib/withModifiers.tsx:4
↓ 107 callersMethodadd
(index: number)
athena/map/BitSet.tsx:30
↓ 101 callersMethodfrom
(player: Player, name: string)
athena/map/Player.tsx:306
↓ 100 callersMethodequals
({ height, width }: SizeVector)
athena/MapData.tsx:168
↓ 95 callersFunctionCharacterMessage
(props: Props)
hera/ui/CharacterMessage.tsx:293
↓ 92 callersFunctionvalidateObjectives
(map: MapData)
athena/Objectives.tsx:855
↓ 91 callersFunctiongetColor
(color: BaseColor, alpha?: number)
ui/getColor.tsx:134
↓ 89 callersMethodhasAbility
(ability: Ability)
athena/info/Unit.tsx:697
↓ 85 callersMethodgetCostFor
(player: Player | null)
athena/info/Unit.tsx:609
↓ 84 callersFunctionexecute
( map: MapData, vision: VisionT, action: Action, mutateAction?: MutateActionResponseFn, )
apollo/Action.tsx:1169
↓ 82 callersFunctionresetBehavior
(defaultBehavior?: MapBehaviorConstructor | null)
hera/behavior/Behavior.tsx:6
↓ 80 callersMethodtoJSON
()
athena/map/Unit.tsx:852
↓ 80 callersFunctionupdatePlayer
(teams: Teams, player: Player)
athena/lib/updatePlayer.tsx:4
↓ 78 callersFunctionCaptureAction
(from: Vector)
apollo/action-mutators/ActionMutators.tsx:26
↓ 77 callersMethoddown
(n = 1)
athena/info/Decorator.tsx:102
↓ 76 callersMethodcontains
(size: { x: number; y: number })
athena/MapData.tsx:222
↓ 73 callersFunctionuseInput
( type: T, fn: (event: CustomEvent<Events[T]>) => void, layer: InputLayer = 'base', )
ui/controls/useInput.tsx:4
↓ 72 callersFunctionpixelBorder
( color: string = applyVar('border-color'), size: string | number = 4, )
ui/pixelBorder.tsx:3
↓ 69 callersMethodisVisible
(map: MapData, vector: Vector)
athena/Vision.tsx:77
↓ 66 callersMethodisOpponent
(objectA: AnyEntity, objectB: AnyEntity)
athena/MapData.tsx:234
↓ 61 callersFunctiondefineObjectives
(objectives: ReadonlyArray<Objective>)
tests/__tests__/CustomObjectives.test.tsx:71
↓ 60 callersFunctionAttackBuildingAction
(from: Vector, to: Vector)
apollo/action-mutators/ActionMutators.tsx:23
↓ 59 callersMethodgetTileIndex
(vector: Vector)
athena/MapData.tsx:265
↓ 58 callersFunctionsnapshotGameState
(gameState: GameState | null)
tests/snapshotGameState.tsx:4
↓ 57 callersFunctionRescueAction
(from: Vector, to: Vector)
apollo/action-mutators/ActionMutators.tsx:60
↓ 54 callersFunctionapplyActionResponse
( map: MapData, vision: VisionT, actionResponse: ActionResponse, )
apollo/actions/applyActionResponse.tsx:34
↓ 53 callersFunctionexecuteGameAction
( map: MapData, vision: VisionT, effects: Effects, action: Action, AIRegistry: AIRegistryT | null,
apollo/actions/executeGameAction.tsx:76
↓ 51 callersMethodsetFuel
(fuel: number)
athena/map/Unit.tsx:606
↓ 48 callersFunctionmoveable
( map: MapData, unit: Unit, start: Vector, radius: number = unit.info.getRadiusFor(map.getPlayer(unit)
athena/Radius.tsx:173
↓ 48 callersFunctionsprite
(x: number, y: number)
athena/info/Decorator.tsx:7
↓ 47 callersMethodcapture
()
athena/map/Unit.tsx:572
↓ 45 callersMethodwithSupply
(supply: Supply)
athena/info/Unit.tsx:427
↓ 44 callersMethodplaySound
(sound: SoundName, rate = 1)
ui/AudioPlayer.tsx:73
↓ 44 callersFunctionprintGameState
(actionResponse: ActionResponse | string, screenshot: Image)
tests/printGameState.tsx:7
↓ 43 callersMethodgetTile
(vector: Vector, layer?: TileLayer)
athena/MapData.tsx:269
↓ 40 callersMethodhasAttack
()
athena/info/Unit.tsx:649
↓ 40 callersMethodtoMatchImageSnapshot
()
@types/vitest.d.ts:2
↓ 39 callersFunctioncanDeploy
( map: MapData, unit: UnitInfo, to: Vector, ignoreBlocklist: boolean, )
athena/lib/canDeploy.tsx:6
↓ 37 callersFunctiongameHasEnded
( gameState: ReadonlyArray<readonly [ActionResponse, ...Array<unknown>]> | null, )
apollo/lib/gameHasEnded.tsx:3
↓ 37 callersFunctiongetTileInfo
(item: TileField, layer?: TileLayer)
athena/info/Tile.tsx:1762
↓ 35 callersMethodgetPlayers
()
athena/MapData.tsx:319
↓ 35 callersMethodisCapturing
()
athena/map/Unit.tsx:528
↓ 35 callersMethodmatchesTeam
(objectA: AnyEntity, objectB: AnyEntity)
athena/MapData.tsx:230
↓ 34 callersMethodgetRadiusFor
(player: Player | null)
athena/info/Unit.tsx:617
↓ 33 callersMethodgetVisibility
(map: MapData, vector: Vector)
athena/Vision.tsx:97
↓ 33 callersMethodisLeader
()
athena/map/Unit.tsx:715
↓ 33 callersFunctionoptional
(map: MapData)
tests/__tests__/CustomObjectives.test.tsx:76
↓ 33 callersMethodtoJSON
()
apollo/attack-direction/getAttackDirection.tsx:9
↓ 32 callersMethodcanCapture
(player: Player | null)
athena/map/Unit.tsx:474
↓ 32 callersMethodcanTransportUnits
()
athena/info/Unit.tsx:674
↓ 31 callersMethodcanBuildUnits
(player: Player)
athena/map/Building.tsx:86
↓ 31 callersFunctiontoPlayerIDs
(ids: ReadonlyArray<number>)
athena/map/Player.tsx:557
↓ 31 callersMethodup
(n = 1)
athena/info/Decorator.tsx:106
↓ 30 callersFunctionCreateBuildingAction
(from: Vector, id: number)
apollo/action-mutators/ActionMutators.tsx:36
↓ 30 callersMethodisCurrentPlayer
(object: AnyEntity)
athena/MapData.tsx:336
↓ 30 callersMethodisUnfolded
()
athena/map/Unit.tsx:559
↓ 30 callersMethodleft
(n = 1)
athena/map/SpriteVector.tsx:13
↓ 30 callersMethodmaybeGetPlayer
(player: EntityOrPlayerID)
athena/MapData.tsx:310
↓ 30 callersFunctiontoPlayerID
(id: number)
athena/map/Player.tsx:458
↓ 29 callersMethodcomplete
()
athena/map/Unit.tsx:632
↓ 28 callersFunctioncaptureOne
( map: MapData, viewers: string, options?: CaptureOptions, )
tests/screenshot.tsx:90
↓ 28 callersFunctiongetSkillConfig
(skill: Skill)
athena/info/Skill.tsx:729
↓ 28 callersMethodisHQ
()
athena/info/Building.tsx:224
↓ 28 callersMethodisLongRange
()
athena/info/Unit.tsx:657
↓ 28 callersFunctiononComplete
()
hera/hooks/useUnitState.tsx:18
↓ 27 callersFunctionCreateUnitAction
(from: Vector, id: number, to: Vector)
apollo/action-mutators/ActionMutators.tsx:30
↓ 26 callersMethodcreate
()
hera/behavior/CreateUnit.tsx:178
↓ 25 callersFunctioncount
(units: ImmutableMap<Vector, Unit>)
apollo/lib/checkObjective.tsx:90
↓ 25 callersMethodisBeingRescuedBy
(player: PlayerID)
athena/map/Unit.tsx:540
↓ 25 callersMethodisTransportingUnits
()
athena/map/Unit.tsx:544
↓ 25 callersMethodrecover
()
athena/map/Unit.tsx:620
↓ 25 callersFunctionscheduleTimer
(fn, delay)
hera/card/InlineTileList.tsx:60
↓ 24 callersFunctionclipBorder
(size = 4, sides: 'all' | 'top' = 'all')
ui/clipBorder.tsx:1
↓ 23 callersMethodcanAttackAt
(distance: number, player: Player)
athena/map/Unit.tsx:496
↓ 23 callersMethodgetRangeFor
(player: Player | null)
athena/info/Unit.tsx:625
↓ 22 callersMethodgetFirstPlayerID
()
athena/MapData.tsx:315
↓ 22 callersFunctionisUnit
(entity: Entity)
athena/map/Entity.tsx:140
↓ 21 callersFunctionRadiusItem
(vector: Vector, cost: number = 0, parent?: Vector | null)
athena/Radius.tsx:33
next →1–100 of 2,131, ranked by callers