![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
| #define | MATCH_FINISHED 4 |
| #define | MATCH_KICKED 2 |
| #define | MATCH_QUIT 3 |
Functions | |
| function | allDeadTeamCount () |
| function | allTeamsUnderScoreLimit () |
| function | anyTeamHasWaveDelay () |
| function | areAllTeamsDead () |
| function | assertTeamVariables () |
| function | bbPlayerMatchEnd (gameLength, endReasonString, gameOver) |
| function | blank (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) |
| function | Callback_StartGameType () |
| function | checkForAnyTeamForfeit () |
| function | checkIfTeamForfeits (team) |
| function | checkPlayerScoreLimitSoon () |
| function | checkRoundSwitch () |
| function | checkScoreLimit () |
| function | checkTeamScoreLimitSoon (team) |
| function | checkTimeLimit () |
| function | compareTeamByGameStat (gameStat, teamA, teamB, previous_winner_score) |
| function | compareTeamByTeamScore (teamA, teamB, previous_winner_score) |
| function | determineTeamWinnerByGameStat (gameStat) |
| function | determineTeamWinnerByTeamScore () |
| function | displayGameEnd (winner, endReasonText) |
| function | displayRoundEnd (winner, endReasonText) |
| function | displayRoundSwitch (winner, endReasonText) |
| function | doDeadEventUpdates () |
| function | doOneLeftEventUpdates () |
| function | doSpawnQueueUpdates () |
| function | endGame (winner, endReasonText) |
| function | forceEnd (hostsucks) |
| function | gameHistoryPlayerQuit () |
| function | getEndReasonText () |
| function | getGameLength () |
| function | getKillStreaks (player) |
| function | getPlacementForPlayer (player) |
| function | gracePeriod () |
| function | hostIdledOut () |
| function | IncrementMatchCompletionStat (gameMode, playedOrHosted, stat) |
| function | init () |
| function | initTeamVariables (team) |
| function | isOnlyOneLeftAliveOnTeam (team) |
| function | isTeamAllDead (team) |
| function | killserverPc () |
| function | listenForGameEnd () |
| function | matchStartTimer () |
| function | matchStartTimerSkip () |
| function | notifyTeamWaveSpawn (team, time) |
| function | precache_mp_leaderboards () |
| function | prematchPeriod () |
| function | recordZMEndGameComScoreEvent (winner) |
| function | registerDvars () |
| function | registerFriendlyFireDelay (dvarString, defaultValue, minValue, maxValue) |
| function | removeDisconnectedPlayerFromPlacement () |
| function | resetOutcomeForAllPlayers () |
| function | resetTeamVariables (team) |
| function | roundEndDOF (time) |
| function | roundEndWait (defaultDelay, matchBonus) |
| function | SetMatchCompletionStat (gameMode, playedOrHosted, stat) |
| function | SetupCallbacks () |
| function | someoneOnEachTeam () |
| function | sortDeadPlayers (team) |
| function | startGame () |
| function | startNextRound (winner, endReasonText) |
| function | totalAliveCount () |
| function | totalPlayerLives () |
| function | updateGameEvents () |
| function | updateGameTypeDvars () |
| function | updatePlacement () |
| function | updateRankedMatch (winner) |
| function | updateTeamPlacement () |
| function | updateTeamStatus () |
| function | waitForPlayers () |
| function | watchMatchEndingSoon () |
| function | waveSpawnTimer () |
| #define MATCH_FINISHED 4 |
Definition at line 45 of file _globallogic.gsc.
| #define MATCH_KICKED 2 |
Definition at line 43 of file _globallogic.gsc.
| #define MATCH_QUIT 3 |
Definition at line 44 of file _globallogic.gsc.
| function allDeadTeamCount | ( | ) |
Definition at line 564 of file _globallogic.gsc.
References isTeamAllDead().
Referenced by doDeadEventUpdates().
| function allTeamsUnderScoreLimit | ( | ) |
Definition at line 1494 of file _globallogic.gsc.
Referenced by checkScoreLimit().
| function anyTeamHasWaveDelay | ( | ) |
Definition at line 2012 of file _globallogic.gsc.
| function areAllTeamsDead | ( | ) |
Definition at line 550 of file _globallogic.gsc.
References isTeamAllDead().
| function assertTeamVariables | ( | ) |
Definition at line 2008 of file _globallogic.gsc.
| function bbPlayerMatchEnd | ( | gameLength | , |
| endReasonString | , | ||
| gameOver | |||
| ) |
Definition at line 1379 of file _globallogic.gsc.
References getPlacementForPlayer().
| function blank | ( | arg1 | , |
| arg2 | , | ||
| arg3 | , | ||
| arg4 | , | ||
| arg5 | , | ||
| arg6 | , | ||
| arg7 | , | ||
| arg8 | , | ||
| arg9 | , | ||
| arg10 | |||
| ) |
Definition at line 252 of file _globallogic.gsc.
| function Callback_StartGameType | ( | ) |
Definition at line 2023 of file _globallogic.gsc.
References anyTeamHasWaveDelay(), assertTeamVariables(), callback(), init(), initTeamVariables(), registerRoundLimit(), registerRoundWinLimit(), registerScoreLimit(), registerTimeLimit(), startGame(), updateAllTeamScores(), and updateGameTypeDvars().
| function checkForAnyTeamForfeit | ( | ) |
Definition at line 519 of file _globallogic.gsc.
References checkIfTeamForfeits().
Referenced by updateGameEvents().
| function checkIfTeamForfeits | ( | team | ) |
Definition at line 506 of file _globallogic.gsc.
References totalPlayerCount().
| function checkPlayerScoreLimitSoon | ( | ) |
Definition at line 1866 of file _globallogic.gsc.
References getEstimatedTimeUntilScoreLimit(), and getTimePassed().
| function checkRoundSwitch | ( | ) |
Definition at line 2354 of file _globallogic.gsc.
| function checkScoreLimit | ( | ) |
Definition at line 1505 of file _globallogic.gsc.
References allTeamsUnderScoreLimit().
| function checkTeamScoreLimitSoon | ( | team | ) |
Definition at line 1844 of file _globallogic.gsc.
References getEstimatedTimeUntilScoreLimit(), and getTimePassed().
| function checkTimeLimit | ( | ) |
Definition at line 1451 of file _globallogic.gsc.
References getTimeRemaining().
| function compareTeamByGameStat | ( | gameStat | , |
| teamA | , | ||
| teamB | , | ||
| previous_winner_score | |||
| ) |
Definition at line 341 of file _globallogic.gsc.
| function compareTeamByTeamScore | ( | teamA | , |
| teamB | , | ||
| previous_winner_score | |||
| ) |
Definition at line 381 of file _globallogic.gsc.
| function determineTeamWinnerByGameStat | ( | gameStat | ) |
Definition at line 362 of file _globallogic.gsc.
References compareTeamByGameStat().
| function determineTeamWinnerByTeamScore | ( | ) |
Definition at line 408 of file _globallogic.gsc.
References compareTeamByTeamScore().
| function displayGameEnd | ( | winner | , |
| endReasonText | |||
| ) |
Definition at line 952 of file _globallogic.gsc.
References announceGameWinner(), gameResultBookmark(), roundEndWait(), and set_music_on_player().
| function displayRoundEnd | ( | winner | , |
| endReasonText | |||
| ) |
Definition at line 828 of file _globallogic.gsc.
References announceRoundWinner(), gameResultBookmark(), roundEndWait(), set_music_on_player(), and wasLastRound().
| function displayRoundSwitch | ( | winner | , |
| endReasonText | |||
| ) |
Definition at line 891 of file _globallogic.gsc.
References getRoundSwitchDialog(), leaderDialogOnPlayer(), roundEndWait(), and set_music_on_player().
| function doDeadEventUpdates | ( | ) |
Definition at line 579 of file _globallogic.gsc.
References allDeadTeamCount(), areAllTeamsDead(), isTeamAllDead(), totalAliveCount(), and totalPlayerLives().
| function doOneLeftEventUpdates | ( | ) |
Definition at line 638 of file _globallogic.gsc.
References isOnlyOneLeftAliveOnTeam(), totalAliveCount(), and totalPlayerLives().
| function doSpawnQueueUpdates | ( | ) |
Definition at line 534 of file _globallogic.gsc.
| function endGame | ( | winner | , |
| endReasonText | |||
| ) |
Definition at line 1182 of file _globallogic.gsc.
References bbPlayerMatchEnd(), displayGameEnd(), executePostRoundEvents(), flushDialog(), freeGameplayHudElems(), freezePlayerForRoundEnd(), getEndReasonText(), getGameLength(), isOneRound(), recordActivePlayersEndGameMatchRecordStats(), recordZMEndGameComScoreEvent(), startNextRound(), updatePlacement(), updateRankedMatch(), updateWeaponTimings(), and wasLastRound().
| function forceEnd | ( | hostsucks | ) |
Definition at line 427 of file _globallogic.gsc.
References determineTeamWinnerByGameStat(), endGame(), getHighestScoringPlayer(), and logTeamWinString().
| function gameHistoryPlayerQuit | ( | ) |
Definition at line 1145 of file _globallogic.gsc.
References GAMEMODE_PUBLIC_MATCH, GetCurrentGameMode(), IncrementMatchCompletionStat(), and MATCH_QUIT.
| function getEndReasonText | ( | ) |
Definition at line 1058 of file _globallogic.gsc.
References hitRoundLimit(), hitRoundWinLimit(), and hitScoreLimit().
| function getGameLength | ( | ) |
Definition at line 1129 of file _globallogic.gsc.
References getTimePassed().
Referenced by Callback_PlayerDisconnect(), and endGame().
| function getKillStreaks | ( | player | ) |
Definition at line 2385 of file _globallogic.gsc.
| function getPlacementForPlayer | ( | player | ) |
Definition at line 1671 of file _globallogic.gsc.
References updatePlacement().
| function gracePeriod | ( | ) |
Definition at line 1963 of file _globallogic.gsc.
References updateTeamStatus(), and WAIT_SERVER_FRAME.
| function hostIdledOut | ( | ) |
Definition at line 807 of file _globallogic.gsc.
References getHostPlayer().
| function IncrementMatchCompletionStat | ( | gameMode | , |
| playedOrHosted | , | ||
| stat | |||
| ) |
Definition at line 818 of file _globallogic.gsc.
| function init | ( | ) |
Definition at line 78 of file _globallogic.gsc.
References figureOutAttacker(), figureOutFriendlyFire(), getBaseWeaponParam(), precache_mp_leaderboards(), registerDialogGroup(), and registerDvars().
| function initTeamVariables | ( | team | ) |
Definition at line 1734 of file _globallogic.gsc.
References resetTeamVariables().
| function isOnlyOneLeftAliveOnTeam | ( | team | ) |
Definition at line 632 of file _globallogic.gsc.
| function isTeamAllDead | ( | team | ) |
Definition at line 545 of file _globallogic.gsc.
| function killserverPc | ( | ) |
Definition at line 468 of file _globallogic.gsc.
References determineTeamWinnerByGameStat(), endGame(), getHighestScoringPlayer(), and logTeamWinString().
| function listenForGameEnd | ( | ) |
Definition at line 2373 of file _globallogic.gsc.
References forceEnd().
| function matchStartTimer | ( | ) |
Definition at line 727 of file _globallogic.gsc.
References createServerFontString(), destroyElem(), matchStartTimer(), setPoint(), and waitForPlayers().
| function matchStartTimerSkip | ( | ) |
Definition at line 775 of file _globallogic.gsc.
| function notifyTeamWaveSpawn | ( | team | , |
| time | |||
| ) |
Definition at line 780 of file _globallogic.gsc.
| function precache_mp_leaderboards | ( | ) |
Definition at line 319 of file _globallogic.gsc.
| function prematchPeriod | ( | ) |
Definition at line 1928 of file _globallogic.gsc.
References freeze_player_controls(), matchStartTimer(), matchStartTimerSkip(), WAIT_SERVER_FRAME, and waitForPlayers().
| function recordZMEndGameComScoreEvent | ( | winner | ) |
Definition at line 1173 of file _globallogic.gsc.
References recordZMEndGameComScoreEventForPlayer().
Referenced by end_game(), and endGame().
| function registerDvars | ( | ) |
Definition at line 220 of file _globallogic.gsc.
| function registerFriendlyFireDelay | ( | dvarString | , |
| defaultValue | , | ||
| minValue | , | ||
| maxValue | |||
| ) |
Definition at line 2340 of file _globallogic.gsc.
| function removeDisconnectedPlayerFromPlacement | ( | ) |
Definition at line 1576 of file _globallogic.gsc.
References updateTeamPlacement().
| function resetOutcomeForAllPlayers | ( | ) |
Definition at line 1075 of file _globallogic.gsc.
| function resetTeamVariables | ( | team | ) |
Definition at line 1751 of file _globallogic.gsc.
| function roundEndDOF | ( | time | ) |
Definition at line 1445 of file _globallogic.gsc.
| function roundEndWait | ( | defaultDelay | , |
| matchBonus | |||
| ) |
Definition at line 1398 of file _globallogic.gsc.
| function SetMatchCompletionStat | ( | gameMode | , |
| playedOrHosted | , | ||
| stat | |||
| ) |
Definition at line 823 of file _globallogic.gsc.
| function SetupCallbacks | ( | ) |
< Array of other CB function pointers
Definition at line 256 of file _globallogic.gsc.
References _getPlayerScore(), _getTeamScore(), _setPlayerScore(), _setTeamScore(), blank(), default_getTimeLimit(), default_isKillBoosting(), default_onAliveCountChange(), default_onDeadEvent(), default_onForfeit(), default_onOneLeftEvent(), default_onPlayerScore(), default_onRoundEndGame(), default_onScoreLimit(), default_onSpawnIntermission(), default_onSpawnSpectator(), default_onTeamScore(), default_onTimeLimit(), default_spawnMessage(), getTimePassed(), givePlayerScore(), giveTeamScore(), outcomeNotify(), setMatchScoreHUDElemForTeam(), spawnClient(), spawnIntermission(), spawnPlayer(), spawnPlayerPrediction(), spawnSpectator(), teamOutcomeNotify(), teamWagerOutcomeNotify(), wagerOutcomeNotify(), and waveSpawnTimer().
Referenced by setup_callbacks().
| function someoneOnEachTeam | ( | ) |
Definition at line 495 of file _globallogic.gsc.
Referenced by updateGameEvents().
| function sortDeadPlayers | ( | team | ) |
Definition at line 1689 of file _globallogic.gsc.
| function startGame | ( | ) |
Definition at line 1888 of file _globallogic.gsc.
References gameTimer(), gracePeriod(), musicController(), prematchPeriod(), and watchMatchEndingSoon().
| function startNextRound | ( | winner | , |
| endReasonText | |||
| ) |
Definition at line 1085 of file _globallogic.gsc.
References checkRoundSwitch(), displayRoundEnd(), displayRoundSwitch(), executePostRoundEvents(), isOneRound(), and wasLastRound().
| function totalAliveCount | ( | ) |
Definition at line 1714 of file _globallogic.gsc.
| function totalPlayerLives | ( | ) |
Definition at line 1724 of file _globallogic.gsc.
| function updateGameEvents | ( | ) |
Definition at line 665 of file _globallogic.gsc.
References checkForAnyTeamForfeit(), doDeadEventUpdates(), doOneLeftEventUpdates(), doSpawnQueueUpdates(), someoneOnEachTeam(), and totalPlayerCount().
| function updateGameTypeDvars | ( | ) |
Definition at line 1531 of file _globallogic.gsc.
References checkScoreLimit(), checkTimeLimit(), clamp(), and getTimeRemaining().
| function updatePlacement | ( | ) |
Definition at line 1609 of file _globallogic.gsc.
References updateTeamPlacement().
| function updateRankedMatch | ( | winner | ) |
Definition at line 2409 of file _globallogic.gsc.
References hostIdledOut().
| function updateTeamPlacement | ( | ) |
Definition at line 1640 of file _globallogic.gsc.
| function updateTeamStatus | ( | ) |
Definition at line 1764 of file _globallogic.gsc.
References maySpawn(), resetTeamVariables(), sortDeadPlayers(), totalAliveCount(), and updateGameEvents().
| function waitForPlayers | ( | ) |
Definition at line 1916 of file _globallogic.gsc.
| function watchMatchEndingSoon | ( | ) |
Definition at line 2001 of file _globallogic.gsc.
| function waveSpawnTimer | ( | ) |
Definition at line 790 of file _globallogic.gsc.
References notifyTeamWaveSpawn(), and WAIT_SERVER_FRAME.