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

Go to the source code of this file.

Functions

function __init__ ()
 
function add_powerup (name, type, displayName, iconMaterial)
 
function add_recent_earnings_to_stat (recentEarnings)
 
function announcer (dialog, group)
 
function apply_powerup (powerup)
 
function assign_random_body ()
 
function calculate_free_for_all_payouts ()
 
function calculate_places_based_on_score ()
 
function calculate_team_payouts ()
 
function clear_escrows ()
 
function clear_powerups ()
 
function copy_powerup (powerup)
 
function create_powerup (name, type, displayName, iconMaterial)
 
function deduct_player_ante ()
 
function determine_top_earners ()
 
function determine_winnings ()
 
function finalize_game ()
 
function finalize_round ()
 
function get_highest_weapon_usage (statName)
 
function give_powerup (powerup, doAnimation)
 
function help_game_end ()
 
function increment_escrow_for_player (amount)
 
function init ()
 
function init_player ()
 
function on_disconnect ()
 
function pay_out_winnings (player, winnings)
 
function player_scored ()
 
function post_round_side_bet ()
 
function prematch_period ()
 
function pulse_powerup_icon (powerupIndex)
 
function queue_popup (message, points, subMessage, announcement)
 
function set_after_action_report_stats ()
 
function set_radar_visibility ()
 
function set_winnings_on_players (players, amount)
 
function setup_blank_random_player (takeWeapons, chooseRandomBody, weapon)
 
function show_powerup_message (powerupIndex, doAnimation)
 
function side_bet_all_bets_placed ()
 
function side_bet_timer ()
 
function track_weapon_usage (name, incValue, statName)
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 27 of file _wager.gsc.

References init(), and on_start_gametype().

◆ add_powerup()

function add_powerup ( name  ,
type  ,
displayName  ,
iconMaterial   
)

Definition at line 662 of file _wager.gsc.

References create_powerup(), and name.

◆ add_recent_earnings_to_stat()

function add_recent_earnings_to_stat ( recentEarnings  )

Definition at line 177 of file _wager.gsc.

References get_recent_stat(), and set_recent_stat().

Referenced by deduct_player_ante(), and pay_out_winnings().

◆ announcer()

function announcer ( dialog  ,
group   
)

Definition at line 645 of file _wager.gsc.

References leader_dialog_on_player().

Referenced by player_scored().

◆ apply_powerup()

function apply_powerup ( powerup  )

Definition at line 688 of file _wager.gsc.

References give(), and setWeaponAmmoOverall().

Referenced by give_powerup(), and setup_blank_random_player().

◆ assign_random_body()

function assign_random_body ( )

Definition at line 507 of file _wager.gsc.

Referenced by setup_blank_random_player().

◆ calculate_free_for_all_payouts()

function calculate_free_for_all_payouts ( )

Definition at line 223 of file _wager.gsc.

References array, and set_winnings_on_players().

Referenced by calculate_team_payouts(), and determine_winnings().

◆ calculate_places_based_on_score()

function calculate_places_based_on_score ( )

Definition at line 279 of file _wager.gsc.

References array.

◆ calculate_team_payouts()

function calculate_team_payouts ( )

◆ clear_escrows()

function clear_escrows ( )

Definition at line 161 of file _wager.gsc.

Referenced by finalize_game().

◆ clear_powerups()

function clear_powerups ( )

Definition at line 938 of file _wager.gsc.

References destroy().

◆ copy_powerup()

function copy_powerup ( powerup  )

Definition at line 683 of file _wager.gsc.

References create_powerup().

Referenced by give_powerup().

◆ create_powerup()

function create_powerup ( name  ,
type  ,
displayName  ,
iconMaterial   
)

Definition at line 650 of file _wager.gsc.

References name.

Referenced by add_powerup(), and copy_powerup().

◆ deduct_player_ante()

function deduct_player_ante ( )

◆ determine_top_earners()

function determine_top_earners ( )

Definition at line 392 of file _wager.gsc.

References array.

Referenced by finalize_game().

◆ determine_winnings()

function determine_winnings ( )

Definition at line 205 of file _wager.gsc.

References calculate_free_for_all_payouts(), and calculate_team_payouts().

Referenced by finalize_game(), and finalize_round().

◆ finalize_game()

function finalize_game ( )

◆ finalize_round()

function finalize_round ( )

Definition at line 191 of file _wager.gsc.

References determine_winnings().

◆ get_highest_weapon_usage()

function get_highest_weapon_usage ( statName  )

Definition at line 978 of file _wager.gsc.

Referenced by set_after_action_report_stats().

◆ give_powerup()

function give_powerup ( powerup  ,
doAnimation   
)

Definition at line 746 of file _wager.gsc.

References apply_powerup(), copy_powerup(), and show_powerup_message().

◆ help_game_end()

function help_game_end ( )

Definition at line 525 of file _wager.gsc.

References queue_popup(), and WAIT_SERVER_FRAME.

Referenced by init().

◆ increment_escrow_for_player()

function increment_escrow_for_player ( amount  )

Definition at line 137 of file _wager.gsc.

Referenced by deduct_player_ante().

◆ init()

function init ( )

Definition at line 32 of file _wager.gsc.

References GAMEMODE_WAGER_MATCH, help_game_end(), init_player(), on_disconnect(), and on_spawned().

Referenced by __init__().

◆ init_player()

function init_player ( )

Definition at line 62 of file _wager.gsc.

References deduct_player_ante().

Referenced by init().

◆ on_disconnect()

function on_disconnect ( )

Definition at line 88 of file _wager.gsc.

Referenced by __init__(), and init().

◆ pay_out_winnings()

function pay_out_winnings ( player  ,
winnings   
)

Definition at line 377 of file _wager.gsc.

References add_recent_earnings_to_stat(), getCodPointsStat(), and setCodPointsStat().

Referenced by finalize_game().

◆ player_scored()

function player_scored ( )

Definition at line 606 of file _wager.gsc.

References announcer(), set_radar_visibility(), updatePlacement(), and WAIT_SERVER_FRAME.

Referenced by _setPlayerScore().

◆ post_round_side_bet()

function post_round_side_bet ( )

Definition at line 431 of file _wager.gsc.

◆ prematch_period()

function prematch_period ( )

Definition at line 183 of file _wager.gsc.

◆ pulse_powerup_icon()

function pulse_powerup_icon ( powerupIndex  )

Definition at line 765 of file _wager.gsc.

References WAIT_SERVER_FRAME.

◆ queue_popup()

function queue_popup ( message  ,
points  ,
subMessage  ,
announcement   
)

Definition at line 511 of file _wager.gsc.

Referenced by help_game_end(), and show_powerup_message().

◆ set_after_action_report_stats()

function set_after_action_report_stats ( )

Definition at line 1006 of file _wager.gsc.

References get_highest_weapon_usage(), and set_after_action_report_stat().

◆ set_radar_visibility()

function set_radar_visibility ( )

Definition at line 574 of file _wager.gsc.

Referenced by player_scored(), and setup_blank_random_player().

◆ set_winnings_on_players()

function set_winnings_on_players ( players  ,
amount   
)

Definition at line 337 of file _wager.gsc.

Referenced by calculate_free_for_all_payouts(), and calculate_team_payouts().

◆ setup_blank_random_player()

function setup_blank_random_player ( takeWeapons  ,
chooseRandomBody  ,
weapon   
)

◆ show_powerup_message()

function show_powerup_message ( powerupIndex  ,
doAnimation   
)

Definition at line 806 of file _wager.gsc.

References createIcon(), destroy(), and queue_popup().

Referenced by give_powerup().

◆ side_bet_all_bets_placed()

function side_bet_all_bets_placed ( )

Definition at line 453 of file _wager.gsc.

◆ side_bet_timer()

function side_bet_timer ( )

Definition at line 440 of file _wager.gsc.

◆ track_weapon_usage()

function track_weapon_usage ( name  ,
incValue  ,
statName   
)

Definition at line 958 of file _wager.gsc.

References name.