‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
All Data Structures Files Functions Variables Macros
_globallogic.gsc File Reference

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 ()
 

Macro Definition Documentation

◆ MATCH_FINISHED

#define MATCH_FINISHED   4

Definition at line 45 of file _globallogic.gsc.

◆ MATCH_KICKED

#define MATCH_KICKED   2

Definition at line 43 of file _globallogic.gsc.

◆ MATCH_QUIT

#define MATCH_QUIT   3

Definition at line 44 of file _globallogic.gsc.

Function Documentation

◆ allDeadTeamCount()

function allDeadTeamCount ( )

Definition at line 564 of file _globallogic.gsc.

References isTeamAllDead().

Referenced by doDeadEventUpdates().

◆ allTeamsUnderScoreLimit()

function allTeamsUnderScoreLimit ( )

Definition at line 1494 of file _globallogic.gsc.

Referenced by checkScoreLimit().

◆ anyTeamHasWaveDelay()

function anyTeamHasWaveDelay ( )

Definition at line 2012 of file _globallogic.gsc.

◆ areAllTeamsDead()

function areAllTeamsDead ( )

Definition at line 550 of file _globallogic.gsc.

References isTeamAllDead().

◆ assertTeamVariables()

function assertTeamVariables ( )

Definition at line 2008 of file _globallogic.gsc.

◆ bbPlayerMatchEnd()

function bbPlayerMatchEnd ( gameLength  ,
endReasonString  ,
gameOver   
)

Definition at line 1379 of file _globallogic.gsc.

References getPlacementForPlayer().

◆ blank()

function blank ( arg1  ,
arg2  ,
arg3  ,
arg4  ,
arg5  ,
arg6  ,
arg7  ,
arg8  ,
arg9  ,
arg10   
)

Definition at line 252 of file _globallogic.gsc.

◆ Callback_StartGameType()

◆ checkForAnyTeamForfeit()

function checkForAnyTeamForfeit ( )

Definition at line 519 of file _globallogic.gsc.

References checkIfTeamForfeits().

Referenced by updateGameEvents().

◆ checkIfTeamForfeits()

function checkIfTeamForfeits ( team  )

Definition at line 506 of file _globallogic.gsc.

References totalPlayerCount().

◆ checkPlayerScoreLimitSoon()

function checkPlayerScoreLimitSoon ( )

Definition at line 1866 of file _globallogic.gsc.

References getEstimatedTimeUntilScoreLimit(), and getTimePassed().

◆ checkRoundSwitch()

function checkRoundSwitch ( )

Definition at line 2354 of file _globallogic.gsc.

◆ checkScoreLimit()

function checkScoreLimit ( )

Definition at line 1505 of file _globallogic.gsc.

References allTeamsUnderScoreLimit().

◆ checkTeamScoreLimitSoon()

function checkTeamScoreLimitSoon ( team  )

Definition at line 1844 of file _globallogic.gsc.

References getEstimatedTimeUntilScoreLimit(), and getTimePassed().

◆ checkTimeLimit()

function checkTimeLimit ( )

Definition at line 1451 of file _globallogic.gsc.

References getTimeRemaining().

◆ compareTeamByGameStat()

function compareTeamByGameStat ( gameStat  ,
teamA  ,
teamB  ,
previous_winner_score   
)

Definition at line 341 of file _globallogic.gsc.

◆ compareTeamByTeamScore()

function compareTeamByTeamScore ( teamA  ,
teamB  ,
previous_winner_score   
)

Definition at line 381 of file _globallogic.gsc.

◆ determineTeamWinnerByGameStat()

function determineTeamWinnerByGameStat ( gameStat  )

Definition at line 362 of file _globallogic.gsc.

References compareTeamByGameStat().

◆ determineTeamWinnerByTeamScore()

function determineTeamWinnerByTeamScore ( )

Definition at line 408 of file _globallogic.gsc.

References compareTeamByTeamScore().

◆ displayGameEnd()

function displayGameEnd ( winner  ,
endReasonText   
)

◆ displayRoundEnd()

function displayRoundEnd ( winner  ,
endReasonText   
)

◆ displayRoundSwitch()

function displayRoundSwitch ( winner  ,
endReasonText   
)

◆ doDeadEventUpdates()

function doDeadEventUpdates ( )

◆ doOneLeftEventUpdates()

function doOneLeftEventUpdates ( )

◆ doSpawnQueueUpdates()

function doSpawnQueueUpdates ( )

Definition at line 534 of file _globallogic.gsc.

◆ endGame()

◆ forceEnd()

function forceEnd ( hostsucks  )

◆ gameHistoryPlayerQuit()

function gameHistoryPlayerQuit ( )

◆ getEndReasonText()

function getEndReasonText ( )

Definition at line 1058 of file _globallogic.gsc.

References hitRoundLimit(), hitRoundWinLimit(), and hitScoreLimit().

◆ getGameLength()

function getGameLength ( )

Definition at line 1129 of file _globallogic.gsc.

References getTimePassed().

Referenced by Callback_PlayerDisconnect(), and endGame().

◆ getKillStreaks()

function getKillStreaks ( player  )

Definition at line 2385 of file _globallogic.gsc.

◆ getPlacementForPlayer()

function getPlacementForPlayer ( player  )

Definition at line 1671 of file _globallogic.gsc.

References updatePlacement().

◆ gracePeriod()

function gracePeriod ( )

Definition at line 1963 of file _globallogic.gsc.

References updateTeamStatus(), and WAIT_SERVER_FRAME.

◆ hostIdledOut()

function hostIdledOut ( )

Definition at line 807 of file _globallogic.gsc.

References getHostPlayer().

◆ IncrementMatchCompletionStat()

function IncrementMatchCompletionStat ( gameMode  ,
playedOrHosted  ,
stat   
)

Definition at line 818 of file _globallogic.gsc.

◆ init()

◆ initTeamVariables()

function initTeamVariables ( team  )

Definition at line 1734 of file _globallogic.gsc.

References resetTeamVariables().

◆ isOnlyOneLeftAliveOnTeam()

function isOnlyOneLeftAliveOnTeam ( team  )

Definition at line 632 of file _globallogic.gsc.

◆ isTeamAllDead()

function isTeamAllDead ( team  )

Definition at line 545 of file _globallogic.gsc.

◆ killserverPc()

function killserverPc ( )

◆ listenForGameEnd()

function listenForGameEnd ( )

Definition at line 2373 of file _globallogic.gsc.

References forceEnd().

◆ matchStartTimer()

function matchStartTimer ( )

◆ matchStartTimerSkip()

function matchStartTimerSkip ( )

Definition at line 775 of file _globallogic.gsc.

◆ notifyTeamWaveSpawn()

function notifyTeamWaveSpawn ( team  ,
time   
)

Definition at line 780 of file _globallogic.gsc.

◆ precache_mp_leaderboards()

function precache_mp_leaderboards ( )

Definition at line 319 of file _globallogic.gsc.

◆ prematchPeriod()

function prematchPeriod ( )

◆ recordZMEndGameComScoreEvent()

function recordZMEndGameComScoreEvent ( winner  )

Definition at line 1173 of file _globallogic.gsc.

References recordZMEndGameComScoreEventForPlayer().

Referenced by end_game(), and endGame().

◆ registerDvars()

function registerDvars ( )

Definition at line 220 of file _globallogic.gsc.

◆ registerFriendlyFireDelay()

function registerFriendlyFireDelay ( dvarString  ,
defaultValue  ,
minValue  ,
maxValue   
)

Definition at line 2340 of file _globallogic.gsc.

◆ removeDisconnectedPlayerFromPlacement()

function removeDisconnectedPlayerFromPlacement ( )

Definition at line 1576 of file _globallogic.gsc.

References updateTeamPlacement().

◆ resetOutcomeForAllPlayers()

function resetOutcomeForAllPlayers ( )

Definition at line 1075 of file _globallogic.gsc.

◆ resetTeamVariables()

function resetTeamVariables ( team  )

Definition at line 1751 of file _globallogic.gsc.

◆ roundEndDOF()

function roundEndDOF ( time  )

Definition at line 1445 of file _globallogic.gsc.

◆ roundEndWait()

function roundEndWait ( defaultDelay  ,
matchBonus   
)

Definition at line 1398 of file _globallogic.gsc.

◆ SetMatchCompletionStat()

function SetMatchCompletionStat ( gameMode  ,
playedOrHosted  ,
stat   
)

Definition at line 823 of file _globallogic.gsc.

◆ SetupCallbacks()

◆ someoneOnEachTeam()

function someoneOnEachTeam ( )

Definition at line 495 of file _globallogic.gsc.

Referenced by updateGameEvents().

◆ sortDeadPlayers()

function sortDeadPlayers ( team  )

Definition at line 1689 of file _globallogic.gsc.

◆ startGame()

function startGame ( )

◆ startNextRound()

function startNextRound ( winner  ,
endReasonText   
)

◆ totalAliveCount()

function totalAliveCount ( )

Definition at line 1714 of file _globallogic.gsc.

◆ totalPlayerLives()

function totalPlayerLives ( )

Definition at line 1724 of file _globallogic.gsc.

◆ updateGameEvents()

◆ updateGameTypeDvars()

function updateGameTypeDvars ( )

Definition at line 1531 of file _globallogic.gsc.

References checkScoreLimit(), checkTimeLimit(), clamp(), and getTimeRemaining().

◆ updatePlacement()

function updatePlacement ( )

Definition at line 1609 of file _globallogic.gsc.

References updateTeamPlacement().

◆ updateRankedMatch()

function updateRankedMatch ( winner  )

Definition at line 2409 of file _globallogic.gsc.

References hostIdledOut().

◆ updateTeamPlacement()

function updateTeamPlacement ( )

Definition at line 1640 of file _globallogic.gsc.

◆ updateTeamStatus()

function updateTeamStatus ( )

◆ waitForPlayers()

function waitForPlayers ( )

Definition at line 1916 of file _globallogic.gsc.

◆ watchMatchEndingSoon()

function watchMatchEndingSoon ( )

Definition at line 2001 of file _globallogic.gsc.

◆ waveSpawnTimer()

function waveSpawnTimer ( )

Definition at line 790 of file _globallogic.gsc.

References notifyTeamWaveSpawn(), and WAIT_SERVER_FRAME.