Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bobtheuberfish/chiriboga
/ functions
Functions
723 in github.com/bobtheuberfish/chiriboga
⨍
Functions
723
◇
Types & classes
11
↓ 12 callers
Function
K
(a)
cardrenderer/webfont.js:20
↓ 11 callers
Method
CreateCounter
(texture, address, key, scale, hideWhenZero, clickCallback)
cardrenderer/cardrenderer.js:1951
↓ 11 callers
Function
Install
* Install a card.<br/>Makes no checks and spends no clicks, but provides opportunity to trash cards (if relevant), and spends the relevant credit cost
mechanics.js:313
↓ 11 callers
Function
r
(t,e,r)
cardrenderer/pixi.min.js:9
↓ 10 callers
Function
AgendaPoints
* Get a player's agenda points (calculated from score area).<br/>Nothing is logged. * * @method AgendaPoints * @param {Player} player either cor
utility.js:1311
↓ 10 callers
Function
AgendaPointsToWin
* Gets the agenda points required to win.<br/>Nothing is logged. * * @method AgendaPointsToWin * @returns {int} agenda points to win
utility.js:1819
↓ 10 callers
Function
B
(a,b)
jquery/jquery-3.2.1.min.js:2
↓ 10 callers
Function
CheckRez
* Check whether an installed card can be rezzed. * * @method CheckRez * @param {Card} card the card to check for rez (permission check only, not
checks.js:29
↓ 10 callers
Function
ChoicesActiveTriggers
* Gets list of active cards which have callbacks of this type, and inactive cards which have callbackName.availableWhenInactive true.<br/>Nothing is l
utility.js:2038
↓ 10 callers
Function
ChoicesHandCards
* Create a choices list from the given player's hand, limited according to Check function.</br>Nothing is logged. * * @method ChoicesHandCards *
utility.js:2242
↓ 10 callers
Function
DeckBuildRandomly
* Instance and add cards to a given array from a list of set numbers.<br/>Do not use this with agendas.<br/>Nothing is logged. * * @method DeckBui
utility.js:2836
↓ 10 callers
Function
IsFaceUp
* Find out whether a card is face up. * * @method IsFaceUp * @param {Card} card card to check * @returns {Boolean} true if face up, otherwise
utility.js:1154
↓ 10 callers
Function
RemoveFromGame
* Remove a card from the game<br/>Makes no checks or payments.<br/>Logs the result. * * @method RemoveFromGame * @param {Card} card the card to
mechanics.js:182
↓ 10 callers
Method
SetRotation
(angle)
cardrenderer/cardrenderer.js:1217
↓ 10 callers
Method
Tint
(h, s, l)
cardrenderer/cardrenderer.js:1359
↓ 10 callers
Function
ja
(a)
jquery/jquery-3.2.1.min.js:2
↓ 9 callers
Function
BinaryDecision
* Quick setup for a binary player decision.<br/>Callback will only be called if actMessage is chosen. * * @method BinaryDecisionPhase * @param {
phase.js:1916
↓ 9 callers
Function
CheckTags
* Checks whether the runner has at least the required number of tags. * * @method CheckTags * @param {int} num number of tags required * @retu
checks.js:142
↓ 9 callers
Function
InstanceCard
* Create a card instance from definition.<br/>New card.location is not set.<br/>Nothing is logged. * * @method InstanceCard * @param {int} setNu
decks.js:70
↓ 9 callers
Function
ModifyingTriggers
* Get total modification from active triggers with the given callback name (assumes all are automatic).<br/>Nothing is logged. * @method ModifyingTr
utility.js:2116
↓ 9 callers
Function
ResolveChoice
(idx)
command.js:42
↓ 9 callers
Function
Reveal
* Reveal a card.<br/>No checks are performed or payments made.<br/>Logs the result. * * @method Reveal * @param {Card} card the card to reveal
mechanics.js:1517
↓ 9 callers
Function
Rez
* Rez an installed card.<br/>Makes no checks or payments.<br/>Logs the result. * * @method Rez * @param {Card} card the card to rez * @param {
mechanics.js:80
↓ 9 callers
Function
TakeCredits
* Take credits from a card (into Runner credit pool).<br/>No checks are performed.</br>Logs the result. * * @method TakeCredits * @param {Card}
mechanics.js:1096
↓ 9 callers
Method
_highestThreatScoreIce
(excludeCards=[],minimumRezCost=-1)
ai_runner.js:324
↓ 9 callers
Function
d
(a)
jquery/jquery-3.2.1.min.js:3
↓ 9 callers
Function
h
(a)
jquery/jquery-3.2.1.min.js:2
↓ 9 callers
Function
pixi_playThreshold
(cardToPlay)
cardrenderer/cardrenderer.js:2288
↓ 8 callers
Function
B
(a,b,c,d)
cardrenderer/webfont.js:20
↓ 8 callers
Function
CheckAdvance
* Check whether an installed card can be advanced. * * @method CheckAdvance * @param {Card} card the card to check * @returns {Boolean} true i
checks.js:11
↓ 8 callers
Function
ChoicesTriggerableAbilities
* Create a list of the given player's triggerables.</br>Nothing is logged. * * @method ChoicesTriggerableAbilities * @param {Player} player corp
utility.js:2494
↓ 8 callers
Function
MemoryUnits
* Gets the runner's memory units, including effects.<br/>Nothing is logged. * * @method MemoryUnits * @param {Card} [destination] to allow for h
utility.js:1920
↓ 8 callers
Function
OptionsAreOnlyUniqueSubroutines
* Check whether the available options are a list of unique subroutines.<br/>Returns true or false. * * @method OptionsAreOnlyUniqueSubroutines *
utility.js:863
↓ 8 callers
Function
T
(a,b,c,d,e,f,g)
jquery/jquery-3.2.1.min.js:3
↓ 8 callers
Method
TotalEffect
(p)
runcalculator.js:662
↓ 8 callers
Function
TrashCost
* Gets the trash cost of a card.<br/>Nothing is logged. * * @method TrashCost * @param {Card} card to check trash cost for * @returns {int} tr
utility.js:1869
↓ 8 callers
Method
_advancementLimit
(card,server)
ai_corp.js:391
↓ 8 callers
Method
_currentOverDraw
()
ai_runner.js:1186
↓ 8 callers
Method
_getCachedPotential
(server)
ai_runner.js:197
↓ 8 callers
Method
_icebreakerInPileNotInHandOrArray
(pileToCheck,installedRunnerCards)
ai_runner.js:834
↓ 8 callers
Method
_isAScoringServer
( server //note that this can includes servers with and without non-upgrade cards installed (so be carefu
ai_corp.js:186
↓ 8 callers
Method
_potentialAdvancement
(card,limit,thisTurn=true,fastAdvanceArray,assumeClicks,output=[])
ai_corp.js:2660
↓ 8 callers
Function
c
(a)
jquery/jquery-3.2.1.min.js:4
↓ 8 callers
Function
m
(c)
deck/seedrandom.min.js:1
↓ 8 callers
Function
t
(t,e)
jquery/jquery-ui.min.js:6
↓ 8 callers
Function
u
(t,e,r,n)
cardrenderer/pixi.min.js:8
↓ 7 callers
Function
CheckInstall
* Checks whether a card can be installed (ignoring costs).<br/>Does not check where card is. * * @method CheckInstall * @param {Card} card card
checks.js:304
↓ 7 callers
Function
ChoicesExistingServers
* Gets list of existing servers, e.g. to run.<br/>Nothing is logged. * @method ChoicesExistingServers * @returns {Params[]} array of {server,label
utility.js:2017
↓ 7 callers
Function
ExecuteChosen
(chosenCommand)
init.js:1734
↓ 7 callers
Function
GetCardProperty
* Get a current value of a card int property, including effects.<br/>Don't call this directly, use a PropertyName function. * * @method GetCardPro
utility.js:2650
↓ 7 callers
Function
I
(a,b)
jquery/jquery-3.2.1.min.js:2
↓ 7 callers
Function
OpportunityForAvoidPrevent
* Provide opportunity to avoid/prevent the given callbackName.</br>Nothing is logged. * * @method OpportunityForAvoidPrevent * @param {Player} p
utility.js:2616
↓ 7 callers
Method
ParticleEffect
(container, effect)
cardrenderer/cardrenderer.js:2013
↓ 7 callers
Function
T
(t,e)
cardrenderer/pixi.min.js:8
↓ 7 callers
Method
_bestNonAgendaTutorOption
(optionList,onlyTheBest=false)
ai_corp.js:483
↓ 7 callers
Method
_copyOfCardExistsIn
(title, cards, exclude = [])
ai_runner.js:66
↓ 7 callers
Method
_matchingBreakerInstalled
(iceCard,excludeIcebreakers=[])
ai_runner.js:170
↓ 7 callers
Method
_maxOverDraw
()
ai_runner.js:1180
↓ 7 callers
Method
_serverToProtect
( ignoreArchives = false, //returns the server that most needs increased protection (does not return null
ai_corp.js:999
↓ 7 callers
Method
_sufficientEconomy
( tight = true, buffer = 0 //return true if there is enough, false if we need more cred supply )
ai_corp.js:1458
↓ 7 callers
Function
p
(a,b,c)
cardrenderer/webfont.js:16
↓ 7 callers
Function
pa
(a)
jquery/jquery-3.2.1.min.js:2
↓ 7 callers
Function
pb
(a)
jquery/jquery-3.2.1.min.js:4
↓ 7 callers
Function
qb
(a)
jquery/jquery-3.2.1.min.js:4
↓ 7 callers
Function
y
(a,b,c)
jquery/jquery-3.2.1.min.js:2
↓ 6 callers
Function
AllCards
* Gets an array of all a player's cards (except those removed from game).<br/>Nothing is logged. * @method AllCards * @param {Player} player corp
utility.js:1644
↓ 6 callers
Function
ChoicesArrayInstall
* Create a choices list from an array, limited to cards that can be installed.</br>Nothing is logged. * * @method ChoicesArrayInstall * @param {
utility.js:2374
↓ 6 callers
Function
ChoicesHandInstall
* Create a choices list from the given player's hand, limited to cards that can be installed.</br>Nothing is logged. * * @method ChoicesHandInstal
utility.js:2396
↓ 6 callers
Function
CorpTestField
* Set up Corp as a test field. Cards given as set indices in SystemGateway<br/>Nothing is logged. * * @method CorpTestField * @param {int} ident
decks.js:230
↓ 6 callers
Function
GetMostRelevantIce
* Get either the ice being encountered/approached or, if different, an ice having subroutines chosen * * @method GetMostRelevantIce() * @returns
utility.js:805
↓ 6 callers
Function
L
(a,b,c)
cardrenderer/webfont.js:21
↓ 6 callers
Function
LoadCredits
* Load credits onto a card (from the bank). Functionally identical to PlaceCredits.<br/>No checks are performed.</br>Logs the result. * * @method
mechanics.js:1080
↓ 6 callers
Method
LoseInfoAboutHQCards
( card, cardType = "" //note: just one card at a time )
ai_runner.js:529
↓ 6 callers
Function
MoveCardByIndex
* Move a card by index.<br/>Nothing is logged. * * @method MoveCardByIndex * @param {int} i index (in locationfrom) of the card to move * @par
utility.js:1478
↓ 6 callers
Method
PathCost
( p //p is a path )
runcalculator.js:713
↓ 6 callers
Function
RunnerTestField
* Set up Runner as a test field. Cards given as set indices in SystemGateway<br/>Nothing is logged. * * @method RunnerTestField * @param {int} i
decks.js:401
↓ 6 callers
Method
SrBreak
( card, iceAI, point, num //this doesn't include costs - handle that in the place you call
runcalculator.js:151
↓ 6 callers
Method
_affordableIce
( serverToInstallTo, cards //returns all ice in cards (or hand, if cards not specified) with cost eq
ai_corp.js:58
↓ 6 callers
Method
_bestRecurToHQOption
(optionList,serverUnderThreat,useNowIfPossible=false)
ai_corp.js:523
↓ 6 callers
Method
_getCachedCost
(server)
ai_runner.js:207
↓ 6 callers
Method
_log
(str)
runcalculator.js:1318
↓ 6 callers
Method
_rezzedIce
(server)
ai_corp.js:85
↓ 6 callers
Function
c
(t,e,r,n)
cardrenderer/pixi.min.js:8
↓ 6 callers
Function
f
(f,g,h,i,k)
jquery/jquery-3.2.1.min.js:2
↓ 6 callers
Function
w
(a,b,c)
cardrenderer/webfont.js:17
↓ 5 callers
Function
AddHistoryBreakIfRequired
(player)
phase.js:1692
↓ 5 callers
Function
C
(t)
cardrenderer/pixi.min.js:8
↓ 5 callers
Function
Cancel
* Pull back from a UI selection process. Results not guaranteed. * * @method Cancel
command.js:725
↓ 5 callers
Function
CountInfluence
* Count the influence in a list of card indices (set numbers)<br/>Nothing is logged. * * @method CountInfluence * @param {Card} identityCard ide
utility.js:2778
↓ 5 callers
Function
GetAvailability
(renderer)
command.js:102
↓ 5 callers
Function
Ja
(a,b,c,d)
jquery/jquery-3.2.1.min.js:3
↓ 5 callers
Function
LoseClicks
* Player loses clicks, if possible.<br/>Logs the result. * * @method LoseClicks * @param {Player} player either corp or runner * @param {int}
mechanics.js:1212
↓ 5 callers
Function
NewServer
* Create a new server object.<br/>Used during initialisation and for creating remote servers. * * @method NewServer * @param {String} nameStr us
utility.js:680
↓ 5 callers
Function
Oa
(a,b,c)
jquery/jquery-3.2.1.min.js:3
↓ 5 callers
Function
OptionsAreOnlyUniqueServers
* Check whether the available options are a list of unique servers.<br/>Returns true or false. * * @method OptionsAreOnlyUniqueServers * @return
utility.js:837
↓ 5 callers
Function
PlaceCredits
* Place credits on a card (from the bank). Functionally identical to LoadCredits.<br/>No checks are performed.</br>Logs the result. * * @method Pl
mechanics.js:1064
↓ 5 callers
Function
PlayerWin
* Player wins the game (the game ends).<br/>Logs a message and disables command prompt. * * @method PlayerWin * @param {Player} player either co
utility.js:977
↓ 5 callers
Function
ResolveAccess
* Called after access of a card is completed.<br/>Does not change phase. * * @method ResolveAccess
utility.js:1267
↓ 5 callers
Function
ResolveClick
(input)
command.js:215
↓ 5 callers
Function
S
(t,e)
cardrenderer/pixi.min.js:8
← previous
next →
101–200 of 723, ranked by callers