MCPcopy Create free account

hub / github.com/bobtheuberfish/chiriboga / functions

Functions723 in github.com/bobtheuberfish/chiriboga

↓ 545 callersFunctiont
(t,e)
cardrenderer/pixi.min.js:9
↓ 371 callersFunctionn
(t)
cardrenderer/pixi.min.js:8
↓ 175 callersFunctionLog
* Outputs a standard style message to the console and ends with carriage return. * * @method Log * @param {String} src text to output
utility.js:522
↓ 144 callersFunctioni
(s,a)
cardrenderer/pixi.min.js:8
↓ 138 callersFunctionCheckSubType
* Check if a card has a certain subtype.<br/>Nothing is logged. * * @method CheckSubType * @param {Card} card card object to check * @param {S
checks.js:181
↓ 134 callersFunctionCheckCardType
* Checks whether a card has any of a list of card types. * * @method CheckCardType * @param {Card} card to check type for * @param {String[]}
checks.js:157
↓ 127 callersFunctionGetTitle
* Get the title of a card. Use this instead of .title directly.<br/>If hideHidden is true, returns [hidden card] if not known to viewingPlayer. *
utility.js:634
↓ 105 callersFunction$
(a)
jquery/jquery-3.2.1.min.js:3
↓ 105 callersFunctionTutorialMessage
(message, prompt = false, callback=null)
init.js:1592
↓ 97 callersMethod_log
(message)
ai_corp.js:5
↓ 85 callersFunctiono
(t,e)
cardrenderer/pixi.min.js:8
↓ 82 callersFunctionCheckCredits
* Checks whether the player has at least the required credits in their pool. * * @method CheckCredits * @param {Player} player to check clicks f
checks.js:127
↓ 82 callersFunctionDecisionPhase
* Special phase to ask for a custom player decision.<br/>Will return to the previous phase when done (without calling init).<br/>It is your responsibi
phase.js:1860
↓ 71 callersFunctionGetServer
* Get the server a card is installed in/in front of.<br/>Returns null if not found in a server, or is in R&D/HQ/Archives.cards (i.e. not installed).
utility.js:750
↓ 70 callersFunctionx
(t,e,r)
cardrenderer/pixi.min.js:8
↓ 69 callersFunctionSpendCredits
* A player spends credits.<br/>No checks are performed.</br>Logs the result. * * @method SpendCredits * @param {Player} player either corp or ru
mechanics.js:892
↓ 59 callersFunctions
(t,e,r,n,i,c,d)
cardrenderer/pixi.min.js:8
↓ 58 callersFunctionCheckCounters
* Checks whether a card has at least the required counters. * * @method CheckCounters * @param {Card} card card to check * @param {String} cou
checks.js:109
↓ 55 callersFunctionInstalledCards
* Gets an array of a player's installed cards.<br/>Nothing is logged. * @method InstalledCards * @param {Player} player corp or runner (null for b
utility.js:1602
↓ 54 callersFunctionTrash
* Trash a card or cards.<br/>Makes no checks or payments.<br/>Logs the result. * * @method Trash * @param {Card or Card[]} cards the card or car
mechanics.js:210
↓ 51 callersFunctionMoveCard
* Move a card by object.<br/>Nothing is logged. * * @method MoveCard * @param {Card} card card object to move * @param {Card[]} locationto des
utility.js:1509
↓ 50 callersFunctionCheckEncounter
* Checks if ice is being encountered. * * @method CheckEncounter * @returns {Boolean} true if ice is being encountered, false otherwise
checks.js:268
↓ 49 callersFunctionChoicesInstalledCards
* Create a choices list from installed cards, limited according to Check function.</br>Nothing is logged. * * @method ChoicesInstalledCards * @p
utility.js:2229
↓ 45 callersMethod_copyOfCardExistsIn
(title, cards)
ai_corp.js:1162
↓ 45 callersFunctiona
(t)
cardrenderer/pixi.min.js:8
↓ 44 callersFunctionCounters
* Gets the number of counters of a certain type on a card, including effects.<br/>Nothing is logged. * * @method Counters * @param {Card} card t
utility.js:1894
↓ 44 callersMethod_log
(message)
ai_runner.js:31
↓ 43 callersFunctionGainCredits
* A player gains credits.<br/>No checks are performed.</br>Logs the result. * * @method GainCredits * @param {Player} player either corp or runn
mechanics.js:1045
↓ 43 callersFunctionRezCost
* Gets the rez cost of a card, including effects.<br/>Nothing is logged. * * @method RezCost * @param {Card} card to check rez cost for * @ret
utility.js:1942
↓ 40 callersFunctionChangePhase
* Change the phase.<br/>Use this or IncrementPhase() which moves to default next phase. Never assign directly to currentPhase. * * @method ChangeP
phase.js:1744
↓ 39 callersFunctionCheckStrength
* Check if strength of a card is sufficient to interact with the currently encountered ice. * * @method CheckStrength * @param {Card} card card
checks.js:213
↓ 39 callersFunctionSpendClicks
* A player spends clicks.<br/>No checks are performed.</br>Logs the result. * * @method SpendClicks * @param {Player} player either corp or runn
mechanics.js:860
↓ 38 callersFunctionm
(t)
cardrenderer/pixi.min.js:8
↓ 38 callersFunctionr
(a,b)
jquery/jquery-3.2.1.min.js:2
↓ 36 callersFunctionEndTheRun
* Ends the run, counts as unsuccessful run.<br/>No checks are performed or payments made.<br/>Logs the result. * * @method EndTheRun
mechanics.js:1277
↓ 35 callersFunctionPlayerCanLook
* Find out whether a player can legally look at a card. * * @method PlayerCanLook * @param {Player} player either corp or runner (null will comb
utility.js:1130
↓ 33 callersFunctionCredits
* Gets the available credit pool for a player, including bad publicity but not recurring credits.<br/>Nothing is logged. * * @method Credits * @
utility.js:1785
↓ 33 callersFunctionDamage
* Runner takes damage (runner randomly trashes cards from grip).<br/>Stops on flatline.<br/>Logs the result. * * @method Damage * @param {String
mechanics.js:744
↓ 32 callersFunctionAvailableCredits
* Gets the available credit pool for a player, including bad publicity and recurring credits.<br/>Nothing is logged. * * @method AvailableCredits
utility.js:1799
↓ 32 callersFunctionBreak
* Break a subroutine.<br/>Makes no checks or payments.<br/>Logs the result. * * @method Break * @param {Subroutine} subroutine the subroutine to
mechanics.js:642
↓ 31 callersFunctionCheckActionClicks
* Checks whether the player is in action phase and has at least the required clicks remaining. * * @method CheckActionClicks * @param {Player} p
checks.js:54
↓ 31 callersFunctionIncrementPhase
* Change to default next phase as defined by currentPhase.next.<br/>Use this or ChangePhase(src) which moves to a phase by identifier. Never assign di
phase.js:1841
↓ 31 callersFunctione
(t,e)
cardrenderer/pixi.min.js:8
↓ 29 callersFunctionRender
()
init.js:358
↓ 29 callersFunctionSetHistoryThumbnail
* Set the phase history thumbnail.<br/>Nothing is logged. * * @method SetHistoryThumbnail * @param {String} imageFile name of image file, includ
phase.js:1821
↓ 28 callersFunctionChoicesArrayCards
* Create a choices list from the given Card array, limited according to Check function.</br>Nothing is logged. * * @method ChoicesArrayCards * @
utility.js:2206
↓ 28 callersFunctionChoicesEncounteredSubroutines
* Gets list of unbroken subroutines on ice being encountered.<br/>Nothing is logged. * * @method ChoicesEncounteredSubroutines * @returns {Param
utility.js:2184
↓ 28 callersFunctionCreatePhaseFromTemplate
* Creates a new game phase based on a previously defined phase object * * @class CreatePhaseFromTemplate * @param {Phase} template phase to copy
phase.js:34
↓ 27 callersFunctionPlayerName
* Get active player name. * * @method PlayerName * @param {Player} player either corp or runner * @returns {String} "Corp", "Runner", or "ERRO
utility.js:963
↓ 27 callersMethod_protectionScore
( server, //higher number = more protected options //ignoreSuccessfulRuns, ignoreBackdoorFromArchives,
ai_corp.js:941
↓ 27 callersMethod_returnPreference
(optionList, cmd, prefs)
ai_runner.js:579
↓ 26 callersMethodApply
( app, x, y, anchorX, anchorY, hostingX, faceDownOffset = 0 /
cardrenderer/cardrenderer.js:58
↓ 26 callersFunctionRenderCards
(cards, modifier)
init.js:270
↓ 26 callersMethod_returnPreference
(optionList, cmd, prefs)
ai_corp.js:2152
↓ 25 callersFunctionAddCounters
* Add counters to a card.<br/>Makes no checks or payments.<br/>Logs the result. * * @method AddCounters * @param {Card} card the card to add cou
mechanics.js:1547
↓ 23 callersMethodLoadTexture
* Load an image to create a texture object. * * @method Renderer.LoadTexture * @param {String} str image file * @returns {PIXI
cardrenderer/cardrenderer.js:1946
↓ 23 callersFunctionLogError
* Outputs a error message to the console and ends with carriage return. * * @method LogError * @param {String} src error text to output
utility.js:621
↓ 23 callersFunctionMaxHandSize
* Gets a player's max hand size. * * @method MaxHandSize * @param {Player} player to check max hand size for * @returns {int} max hand size (i
utility.js:1049
↓ 23 callersFunctiont
(i,e,s)
cardrenderer/pixi-particles.min.js:8
↓ 22 callersFunctionDraw
* A player draws cards.<br/>Stops on corp draw from empty R&D.<br/>Logs the result. * * @method Draw * @param {Player} player either corp or run
mechanics.js:807
↓ 22 callersFunctionInstallCost
* Gets the install cost of a card to a destination.<br/>Nothing is logged. * * @method InstallCost * @param {Card} installingCard card to check
utility.js:1833
↓ 21 callersFunctionInstanceCardsPush
* Create card instances from definition and push into an array. Returns an array of cards pushed.<br/>Nothing is logged. * * @method InstanceCards
decks.js:163
↓ 21 callersFunctionReplicationCode
(src,str)
utility.js:206
↓ 21 callersFunctionShuffle
* Shuffles an array.<br/>This modifies the original array.<br/>No message is logged. * * @method Shuffle * @param {any[]} array the array to shu
utility.js:1177
↓ 20 callersFunctionRandomRange
* Random integer from min to max, inclusive * * @method RandomRange * @param {int} min minimum * @param {int} max maximum * @returns {int} r
utility.js:2713
↓ 20 callersMethodToggleZoom
()
cardrenderer/cardrenderer.js:1222
↓ 19 callersFunctionStrength
* Gets the strength of a card, including effects.<br/>Nothing is logged. * * @method Strength * @param {Card} card to get strength for * @retu
utility.js:1882
↓ 19 callersFunctionpileToOutputString
(p,collapseSequentialOnly=true)
init.js:392
↓ 18 callersFunctionActiveCards
* Gets an array of a player's active cards.<br/>Nothing is logged. * @method ActiveCards * @param {Player} player corp or runner (null for both)
utility.js:1675
↓ 18 callersFunctionGetApproachEncounterIce
* Get the currently approached/encountered ice, or if in movement phase from it.<br/>Returns card or null. * * @method GetApproachEncounterIce *
utility.js:824
↓ 18 callersFunctionPlayerHand
* Gets a player's hand of cards. * * @method PlayerHand * @param {Player} player either corp or runner * @returns {Card[]} array of cards
utility.js:1026
↓ 18 callersFunctionn
(a)
deck/seedrandom.min.js:1
↓ 16 callersFunctionAddTags
* Adds tags to the runner.<br/>Logs the result. * * @method AddTags * @param {int} num number of tags to add * @param {function} [afterTags] t
mechanics.js:1130
↓ 16 callersFunctionAutomaticTriggers
* Fire active triggers with the given callback name (assumes all are automatic).<br/>Returns the triggers fired.<br/>Nothing is logged. * @method Au
utility.js:2083
↓ 16 callersFunctionCheckInstalled
* Checks whether a card is installed. * * @method CheckInstalled * @param {Card} card card object to check * @returns {Boolean} true if card i
checks.js:428
↓ 16 callersFunctionCheckUnbrokenSubroutines
* Checks whether currently encountered ice has any unbroken subroutines. * * @method CheckUnbrokenSubroutines * @returns {Boolean} true if there
checks.js:345
↓ 16 callersFunctionFullCheckPlay
* Check whether the card can be played, including all costs.</br>Nothing is logged. * * @method FullCheckPlay * @param {Card} card to full check
utility.js:2444
↓ 16 callersMethodImplementIcebreaker
( point, card, cardStrength, iceAI, iceStrength, iceSubTypes, costToUpStr,
runcalculator.js:212
↓ 16 callersFunctionURIParameter
* Get the arguments from the browser url ?x= * * @method URIParameter * @param {String} name x * @returns {String} the parameter, or empty str
utility.js:2725
↓ 16 callersMethod_clicksLeft
()
ai_corp.js:1743
↓ 16 callersMethod_rootKnownToContainCopyOfCard
(server, title)
ai_runner.js:74
↓ 16 callersFunctionb
(c,e)
jquery/jquery-3.2.1.min.js:2
↓ 16 callersFunctiong
(b,c,d,e)
jquery/jquery-3.2.1.min.js:2
↓ 16 callersFunctionia
(a)
jquery/jquery-3.2.1.min.js:2
↓ 15 callersFunctionBoostStrength
* Boosts a card's strength.<br/>Logs the change. * * @method BoostStrength * @param {Card} card the card to boost strength of * @param {int} m
utility.js:1534
↓ 15 callersFunctionCheckTrash
* Check whether a card can be trashed (ignoring costs). * * @method CheckTrash * @param {Card} card card object to check * @returns {Boolean}
checks.js:283
↓ 15 callersFunctionMakeRun
* Make a run.<br/>Assumes all checks have been made (e.g. valid server).<br/>Logs the declaration. * * @method MakeRun * @param {Server} server
mechanics.js:11
↓ 15 callersFunctionMouseIsOverServer
* Check whether the mouse is over a given server.<br/>Returns true or false. * * @method MouseIsOverServer * @param {Server} server the server t
utility.js:889
↓ 15 callersFunctionServerName
* Get the name of a server.<br/>If ignoreRemoteNumbers is true, returns "a remote server" for remotes.<br/>Returns "a new remote server" if server is
utility.js:701
↓ 15 callersFunctionna
(a)
jquery/jquery-3.2.1.min.js:2
↓ 14 callersFunctionCheckClicks
* Checks whether the player has at least the required clicks remaining (does not require action phase or set checkedClick). * * @method CheckClick
checks.js:93
↓ 14 callersFunctionPlayCost
* Gets the play cost of a card.<br/>Nothing is logged. * * @method PlayCost * @param {Card} card to check play cost for * @returns {int} play
utility.js:1856
↓ 14 callersFunctionTriggeredResponsePhase
* Helper function to provide an on-demand pseudophase for simultaneous triggers.</br>Nothing is logged. * * @method TriggeredResponsePhase * @pa
utility.js:2570
↓ 14 callersFunctionUpdateCounters
* Update counter renderers to latest value.<br/>Nothing is logged. * * @method UpdateCounters
utility.js:2699
↓ 14 callersFunctione
(a,b)
jquery/jquery-3.2.1.min.js:4
↓ 13 callersFunctionE
(a,b,c)
jquery/jquery-3.2.1.min.js:2
↓ 13 callersFunctionRemoveCounters
* Remove counters from a card.<br/>Makes no checks or payments.<br/>Logs the result. * * @method RemoveCounters * @param {Card} card the card to
mechanics.js:1564
↓ 13 callersMethod_agendasInHand
(ignoreCards=[])
ai_corp.js:733
↓ 12 callersFunctionChoicesCardInstall
* Create a choices list from a card's install options.</br>Nothing is logged. * * @method ChoicesCardInstall * @param {Card} card to install *
utility.js:2254
↓ 12 callersFunctionF
(a,b)
cardrenderer/webfont.js:20
next →1–100 of 723, ranked by callers