‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
persistence_shared.gsc File Reference

Go to the source code of this file.

Functions

function __init__ ()
 
function add_contract_to_queue (index, passed)
 
function add_match_history_stat (statName, value)
 
function add_recent_stat (isGlobal, index, statName, value)
 
function adjust_recent_stats ()
 
function can_set_aar_stat ()
 
function check_contract_expirations ()
 
function CodeCallback_ChallengeComplete (rewardXP, maxVal, row, tableNumber, challengeType, itemIndex, challengeIndex)
 
function CodeCallback_GunChallengeComplete (rewardXP, attachmentIndex, itemIndex, rankID, isLastRank)
 
function CodeCallback_OnAddPlayerStat (dataName, value)
 
function CodeCallback_OnAddWeaponStat (weapon, dataName, value)
 
function get_gametype_name ()
 
function get_recent_stat (isGlobal, index, statName)
 
function increment_contract_times (timeInc)
 
function init ()
 
function initialize_match_stats ()
 
function initialize_stat_tracking ()
 
function is_party_gamemode ()
 
function is_stat_modifiable (dataName)
 
function on_player_connect ()
 
function process_contracts_on_add_stat (statType, dataName, value, weapon)
 
function set_after_action_report_player_medal (playerIndex, medalIndex, value)
 
function set_after_action_report_player_stat (playerIndex, statName, value)
 
function set_after_action_report_stat (statName, value, index)
 
function set_match_history_stat (statName, value)
 
function set_recent_stat (isGlobal, index, statName, value)
 
function stat_get_with_gametype (dataName)
 
function stat_set_with_gametype (dataName, value, incValue)
 
function upload_global_stat_counters ()
 
function upload_stats_soon ()
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 15 of file persistence_shared.gsc.

References init(), on_connect(), on_player_connect(), and on_start_gametype().

◆ add_contract_to_queue()

function add_contract_to_queue ( index  ,
passed   
)

Definition at line 472 of file persistence_shared.gsc.

◆ add_match_history_stat()

function add_match_history_stat ( statName  ,
value   
)

Definition at line 352 of file persistence_shared.gsc.

References add_recent_stat(), and GetCurrentGameMode().

◆ add_recent_stat()

function add_recent_stat ( isGlobal  ,
index  ,
statName  ,
value   
)

◆ adjust_recent_stats()

function adjust_recent_stats ( )

Definition at line 265 of file persistence_shared.gsc.

References initialize_match_stats().

Referenced by Callback_PlayerConnect().

◆ can_set_aar_stat()

◆ check_contract_expirations()

function check_contract_expirations ( )

Definition at line 464 of file persistence_shared.gsc.

Referenced by update_player_times().

◆ CodeCallback_ChallengeComplete()

function CodeCallback_ChallengeComplete ( rewardXP  ,
maxVal  ,
row  ,
tableNumber  ,
challengeType  ,
itemIndex  ,
challengeIndex   
)

Definition at line 418 of file persistence_shared.gsc.

References callback().

◆ CodeCallback_GunChallengeComplete()

function CodeCallback_GunChallengeComplete ( rewardXP  ,
attachmentIndex  ,
itemIndex  ,
rankID  ,
isLastRank   
)

Definition at line 452 of file persistence_shared.gsc.

◆ CodeCallback_OnAddPlayerStat()

function CodeCallback_OnAddPlayerStat ( dataName  ,
value   
)

Definition at line 486 of file persistence_shared.gsc.

◆ CodeCallback_OnAddWeaponStat()

function CodeCallback_OnAddWeaponStat ( weapon  ,
dataName  ,
value   
)

Definition at line 490 of file persistence_shared.gsc.

◆ get_gametype_name()

◆ get_recent_stat()

function get_recent_stat ( isGlobal  ,
index  ,
statName   
)

◆ increment_contract_times()

function increment_contract_times ( timeInc  )

Definition at line 468 of file persistence_shared.gsc.

Referenced by update_played_time().

◆ init()

function init ( )

Definition at line 21 of file persistence_shared.gsc.

References initialize_stat_tracking(), and upload_global_stat_counters().

Referenced by __init__().

◆ initialize_match_stats()

function initialize_match_stats ( )

Definition at line 360 of file persistence_shared.gsc.

References get_gametype_name().

Referenced by adjust_recent_stats().

◆ initialize_stat_tracking()

function initialize_stat_tracking ( )

Definition at line 37 of file persistence_shared.gsc.

Referenced by init().

◆ is_party_gamemode()

function is_party_gamemode ( )

Definition at line 229 of file persistence_shared.gsc.

Referenced by get_gametype_name().

◆ is_stat_modifiable()

function is_stat_modifiable ( dataName  )

◆ on_player_connect()

function on_player_connect ( )

Definition at line 32 of file persistence_shared.gsc.

Referenced by __init__().

◆ process_contracts_on_add_stat()

function process_contracts_on_add_stat ( statType  ,
dataName  ,
value  ,
weapon   
)

Definition at line 494 of file persistence_shared.gsc.

◆ set_after_action_report_player_medal()

function set_after_action_report_player_medal ( playerIndex  ,
medalIndex  ,
value   
)

Definition at line 396 of file persistence_shared.gsc.

References can_set_aar_stat().

◆ set_after_action_report_player_stat()

function set_after_action_report_player_stat ( playerIndex  ,
statName  ,
value   
)

Definition at line 388 of file persistence_shared.gsc.

References can_set_aar_stat().

◆ set_after_action_report_stat()

function set_after_action_report_stat ( statName  ,
value  ,
index   
)

◆ set_match_history_stat()

function set_match_history_stat ( statName  ,
value   
)

Definition at line 344 of file persistence_shared.gsc.

References GetCurrentGameMode(), and set_recent_stat().

◆ set_recent_stat()

function set_recent_stat ( isGlobal  ,
index  ,
statName  ,
value   
)

◆ stat_get_with_gametype()

function stat_get_with_gametype ( dataName  )

◆ stat_set_with_gametype()

function stat_set_with_gametype ( dataName  ,
value  ,
incValue   
)

◆ upload_global_stat_counters()

function upload_global_stat_counters ( )

Definition at line 78 of file persistence_shared.gsc.

References WAIT_SERVER_FRAME, and wasLastRound().

Referenced by init().

◆ upload_stats_soon()

function upload_stats_soon ( )

Definition at line 476 of file persistence_shared.gsc.

Referenced by Callback_PlayerConnect(), and deduct_player_ante().