MCPcopy Create free account

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

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

↓ 6 callersFunctionisVector
(value: unknown)
athena/map/Vector.tsx:113
↓ 6 callersMethodisVisible
(biome: Biome)
athena/info/Tile.tsx:98
↓ 6 callersFunctionmapUnits
(fn: (unitInfo: UnitInfo, index: number) => T)
athena/info/Unit.tsx:3997
↓ 6 callersFunctionmatchesActiveType
( types: ActiveUnitTypes | undefined, unit: Unit, vector: Vector | null, )
athena/lib/matchesActiveType.tsx:5
↓ 6 callersFunctionmatchesAny
(t: TileInfo)
athena/lib/getModifier.tsx:31
↓ 6 callersFunctionmatchesSame
(t: TileInfo)
athena/lib/getModifier.tsx:29
↓ 6 callersFunctionneedsSupply
(unit: Unit)
athena/lib/needsSupply.tsx:14
↓ 6 callersFunctionobjectiveHasVectors
( objective: Objective, )
athena/Objectives.tsx:640
↓ 6 callersFunctionpressed
(button?: ButtonResult)
ui/controls/setupGamePad.tsx:10
↓ 6 callersMethodreduceEachDecorator
( fn: (value: T, decorator: DecoratorInfo, vector: Vector) => T, value: T, )
athena/MapData.tsx:466
↓ 6 callersMethodremoveLeader
()
athena/map/Unit.tsx:719
↓ 6 callersFunctionshouldMove
(unit: Unit)
dionysus/OdysseusDelta.tsx:1382
↓ 6 callersFunctionsleep
( scheduleTimer: TimerFunction, { AnimationDuration, Instant }: AnimationConfig, duration: 'short' | 'lo
hera/lib/sleep.tsx:4
↓ 6 callersFunctionspawn
( actions: Actions, state: State, unitsToSpawn: ReadonlyArray<readonly [Vector, Unit]>, teams: Teams |
hera/lib/spawn.tsx:13
↓ 6 callersFunctionupdateEditorHistory
( undoContext: RefObject<EditorHistory>, entry: UndoEntry, )
hera/editor/lib/updateEditorHistory.tsx:4
↓ 6 callersFunctionuseMedia
(query: string)
ui/hooks/useMedia.tsx:3
↓ 6 callersFunctionuseOptionalInput
( type: T, fn: (event: CustomEvent<Events[T]>) => void, condition: boolean, layer: InputLayer = 'base'
ui/controls/useInput.tsx:12
↓ 6 callersFunctionuseSprites
(type: 'portraits' | 'all')
hera/hooks/useSprites.tsx:9
↓ 6 callersFunctionvalidatePlayers
(map: MapData, players: PlayerIDs)
athena/Objectives.tsx:755
↓ 5 callersFunctionBuySkillAction
(from: Vector, skill: Skill)
apollo/action-mutators/ActionMutators.tsx:67
↓ 5 callersMethodaction
(map: MapData)
dionysus/DionysusAlpha.tsx:90
↓ 5 callersFunctionaddEndTurnAnimations
( actions: Actions, actionResponse: EndTurnActionResponse, state: State, maybeExtraPositions: Promise<
hera/lib/addEndTurnAnimations.tsx:44
↓ 5 callersMethodapply
(name: T)
ui/cssVar.tsx:81
↓ 5 callersFunctionapplyHiddenActionResponse
( map: MapData, vision: VisionT, actionResponse: HiddenActionResponse, )
apollo/HiddenAction.tsx:346
↓ 5 callersFunctionattackAction
({ update }: Actions, { attackable, selectedPosition }: State)
hera/behavior/Menu.tsx:97
↓ 5 callersFunctioncanActivate
( state: Pick<State, 'currentViewer' | 'map'>, item: PlayerEffectItem, target: Vector | null, { allowM
hera/behavior/activate/activateAction.tsx:29
↓ 5 callersFunctioncanLoad
(map: MapData, maybeTransporter: Unit, unitA: Unit, vector: Vector)
athena/lib/canLoad.tsx:5
↓ 5 callersFunctioncaptureException
(error: unknown)
ui/lib/captureException.tsx:3
↓ 5 callersFunctionchangePlayer
( map: MapData, id: PlayerID, )
hera/editor/lib/changePlayer.tsx:8
↓ 5 callersMethodclearTimers
(clearTimer: ClearTimerFunction)
hera/behavior/Base.tsx:54
↓ 5 callersFunctioncolor
(value: AttributeRange)
hera/card/Range.tsx:121
↓ 5 callersFunctionconvertBiome
(map: MapData, biome: Biome)
athena/lib/convertBiome.tsx:9
↓ 5 callersFunctiondecodeGameActionResponse
( response: EncodedGameActionResponseWithError, detail?: unknown, )
apollo/lib/decodeGameActionResponse.tsx:5
↓ 5 callersFunctionencodeGameActionResponse
( clientMap: MapData, initialMap: MapData, vision: VisionT, gameState: GameState | null, timeout: Da
apollo/actions/encodeGameActionResponse.tsx:74
↓ 5 callersFunctionfilterNullables
( object: T, )
athena/lib/filterNullables.tsx:3
↓ 5 callersMethodformat
()
athena/map/Unit.tsx:891
↓ 5 callersFunctiongenerateRandomMap
( size: SizeVector, fill?: ReadonlyArray<TileInfo> | null, )
athena/generator/MapGenerator.tsx:368
↓ 5 callersFunctiongetActivatePowerTargetCluster
(map: MapData, playerID: PlayerID)
apollo/lib/getActivatePowerActionResponse.tsx:10
↓ 5 callersFunctiongetAllBuildings
()
athena/info/Building.tsx:669
↓ 5 callersFunctiongetAnyBuildingTileField
(building: BuildingInfo)
hera/lib/getAnyBuildingTileField.tsx:4
↓ 5 callersFunctiongetAttackFlashAnimation
(keyframes: string)
hera/Unit.tsx:1259
↓ 5 callersFunctiongetBuildingInfo
(id: number)
athena/info/Building.tsx:651
↓ 5 callersFunctiongetCurrentAnimationConfig
( player: Player, animationSpeed: AnimationSpeed | undefined, )
hera/lib/getCurrentAnimationConfig.tsx:5
↓ 5 callersFunctiongetDecoratorIndex
(vector: Vector, size: SizeVector)
athena/lib/getDecoratorIndex.tsx:4
↓ 5 callersFunctiongetEditorPlayerIDs
(isAdmin?: boolean)
hera/editor/lib/getEditorPlayerIDs.tsx:3
↓ 5 callersFunctiongetHealthColor
(health: number)
hera/behavior/attack/getHealthColor.tsx:4
↓ 5 callersMethodgetInstance
(name: SongName | SoundName)
ui/AudioPlayer.tsx:200
↓ 5 callersFunctiongetParentToMoveTo
( map: MapData, unit: Unit, origin: Vector, target: RadiusItem | undefined, fields: ReadonlyMap<Vect
athena/lib/getParentToMoveTo.tsx:6
↓ 5 callersFunctiongetPathCost
( map: MapData, unit: Unit, start: Vector, path: ReadonlyArray<Vector>, radius: number = unit.info.g
athena/Radius.tsx:188
↓ 5 callersMethodgetPlayerByUserId
(id: string)
athena/MapData.tsx:323
↓ 5 callersFunctiongetPossibleUnitAbilities
(unitInfos: ReadonlyArray<UnitInfo>)
athena/lib/getPossibleUnitAbilities.tsx:25
↓ 5 callersFunctiongetTranslatedBiomeName
(biome: Biome)
hera/lib/getTranslatedBiomeName.tsx:5
↓ 5 callersFunctionhalfStarIcon
(value: number, boundary: number)
hera/card/Range.tsx:33
↓ 5 callersFunctionhasBonusObjective
(map: MapData, player: PlayerID)
athena/lib/hasBonusObjective.tsx:16
↓ 5 callersFunctionhasHQ
(map: MapData, player: PlayerID | Player)
athena/lib/hasHQ.tsx:4
↓ 5 callersFunctionhasLowAmmoSupply
( info: UnitInfo, weaponId: number, currentSupply: number, )
athena/lib/hasLowAmmoSupply.tsx:3
↓ 5 callersFunctionhasMapMessageBlockingAnimation
(animations: Animations)
hera/GameMap.tsx:111
↓ 5 callersMethodhide
(biome: Biome, displayOnly = false)
athena/map/Building.tsx:78
↓ 5 callersFunctionisControlElement
()
ui/controls/isControlElement.tsx:3
↓ 5 callersFunctionisDynamicPlayerID
(id: number | string)
athena/map/Player.tsx:517
↓ 5 callersMethodmapFields
(fn: (vector: Vector, index: number) => T)
athena/MapData.tsx:382
↓ 5 callersFunctionmaybeFade
(hide?: boolean)
hera/ui/lib/maybeFade.tsx:3
↓ 5 callersFunctionmirrorVector
( vector: Vector, { height, width }: SizeVector, mirrorType: Extract<DrawingMode, 'horizontal' | 'vertic
hera/editor/lib/mirrorVector.tsx:6
↓ 5 callersFunctionobjectiveHasLabel
( objective: Objective, )
athena/Objectives.tsx:647
↓ 5 callersFunctionparseVector
(target: EventTarget | null)
hera/Mask.tsx:23
↓ 5 callersMethodpause
(temporary?: boolean)
ui/AudioPlayer.tsx:132
↓ 5 callersMethodplay
(song: SongName)
ui/AudioPlayer.tsx:39
↓ 5 callersMethodrefill
()
athena/map/Unit.tsx:612
↓ 5 callersFunctionrenderTile
( context: CanvasRenderingContext2D, tileset: TileSet, map: MapData, vision: VisionT, frame: number,
hera/render/renderTile.tsx:53
↓ 5 callersMethodrescue
(rescuing: PlayerID)
athena/map/Unit.tsx:580
↓ 5 callersFunctionresizeEffects
( effects: Effects, previousSize: SizeVector, size: SizeVector, origin: Set<ResizeOrigin>, )
apollo/lib/resizeEffects.tsx:81
↓ 5 callersFunctionresizeMap
( map: MapData, size: SizeVector, origin: Set<ResizeOrigin>, fill?: number, )
apollo/lib/resizeMap.tsx:30
↓ 5 callersMethodselect
( vector: Vector, state: State, actions: Actions, editor?: unknown, subVector?: unknown,
hera/behavior/Move.tsx:213
↓ 5 callersFunctionshouldMove
(unit: Unit)
dionysus/DionysusAlpha.tsx:1284
↓ 5 callersFunctionshouldMove
(unit: Unit)
dionysus/PersephoneBeta.tsx:1357
↓ 5 callersFunctionshouldMove
(unit: Unit)
dionysus/DiomedesEpsilon.tsx:1357
↓ 5 callersFunctiontoValue
(value: AttributeRangeWithZero)
hera/card/Range.tsx:28
↓ 5 callersFunctionuseActive
(isActive: boolean | undefined, click?: () => void, to?: Route)
ui/controls/useActive.tsx:6
↓ 5 callersFunctionuseHorizontalMenuNavigation
( initialCount: number, layer: InputLayer = 'menu', nowrap = false, initial = -1, )
ui/controls/useHorizontalMenuNavigation.tsx:8
↓ 5 callersFunctionusePress
( options: Omit<LongPressOptions, 'onCancel' | 'onStart' | 'threshold'> & { onLongPress: NonNullable<Par
ui/hooks/usePress.tsx:11
↓ 5 callersFunctionvalidateTeams
( map: MapData, teams: TeamsList, )
athena/lib/validateTeams.tsx:11
↓ 5 callersMethodwithName
(name: string)
athena/info/Unit.tsx:403
↓ 4 callersFunctionCompleteBuildingAction
(from: Vector)
apollo/action-mutators/ActionMutators.tsx:47
↓ 4 callersFunctionactivateAction
( actions: Actions, state: State, item: PlayerEffectItem, target: Vector | null, )
hera/behavior/activate/activateAction.tsx:59
↓ 4 callersMethodactivateShield
()
athena/map/Unit.tsx:844
↓ 4 callersFunctionanimateSupply
( state: State, unitsToRefill: UnitsWithPosition | Iterable<[Vector, Unit]>, onComplete: StateToStateLik
hera/lib/animateSupply.tsx:11
↓ 4 callersFunctionapplyEffects
( previousMap: MapData, activeMap: MapData, effects: Effects, actionResponse: ActionResponse, )
apollo/Effects.tsx:144
↓ 4 callersFunctionapplyObjectiveActionResponse
( map: MapData, actionResponse: ObjectiveActionResponse, )
apollo/Objective.tsx:245
↓ 4 callersFunctionapplyVisibleSpawn
(spawnAction: SpawnActionResponse)
tests/__tests__/Spawn.test.tsx:57
↓ 4 callersFunctionassignDeterministicUnitNames
( map: MapData, units: ImmutableMap<Vector, Unit>, )
athena/lib/assignDeterministicUnitNames.tsx:8
↓ 4 callersFunctionattackActionAnimation
( { update }: Actions, state: State, { attackStance, damage, directions: [direction, opposit
hera/animations/attackActionAnimation.tsx:8
↓ 4 callersFunctioncanPlaceDecorator
( map: MapData, vector: Vector, decorator: number, _getDecoratorLimit = getDecoratorLimit, )
athena/lib/canPlaceDecorator.tsx:6
↓ 4 callersFunctioncheckObjectives
( previousMap: MapData, map: MapData, actionResponse: ActionResponse, )
apollo/lib/checkObjective.tsx:399
↓ 4 callersFunctioncomplete
()
hera/Unit.tsx:485
↓ 4 callersFunctioncompleteNextAnimation
(state: State)
hera/lib/__tests__/animatePoison.test.tsx:25
↓ 4 callersFunctioncopyMap
(mapData: MapData, map: TileMap)
athena/generator/MapGenerator.tsx:365
↓ 4 callersFunctioncreateBotWithName
(player: Player)
athena/lib/createBotWithName.tsx:7
↓ 4 callersMethoddeactivate
(actions: Actions | null)
hera/behavior/Base.tsx:27
↓ 4 callersFunctiondecodeUnits
(units: PlainEntitiesList<PlainUnit>)
athena/map/Serialization.tsx:116
↓ 4 callersMethoddown
(n = 1)
athena/map/SpriteVector.tsx:10
← previousnext →301–400 of 2,131, ranked by callers