![]() |
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.
Functions | |
function | __init__ () |
function | add_active_stat (contract_index, delta=1) |
function | add_stat (contract_index, delta) |
function | award_blackjack_contract () |
function | award_daily_contract () |
function | award_loot_xp () |
function | award_loot_xp_due (amount) |
function | award_weekly_contract () |
function | can_process_contracts () |
function | contract_game_ended (data) |
function | contract_kills (data) |
function | contract_slot_met (slot) |
function | contract_win (winner) |
function | gametype_win (winner) |
function | get_contract_stat (slot, stat_name) |
function | get_hero_ability_mask (ability) |
function | get_hero_weapon_mask (attacker, weapon) |
function | is_contract_active (challenge_index) |
function | on_defender_kill () |
function | on_headshot_kill () |
function | on_hero_ability_kill (ability, victimAbility) |
function | on_hero_ability_medal () |
function | on_hero_ability_multikill (killcount, ability) |
function | on_hero_weapon_multikill (killcount, weapon) |
function | on_killed_hero_ability_enemy () |
function | on_killed_hero_weapon_enemy () |
function | on_killstreak_score (delta_score, killstreak_purchased) |
function | on_offender_kill () |
function | on_player_connect () |
function | on_player_score (delta_score) |
function | set_contract_award_stat (award_type, stat_name, stat_value=1) |
function | set_contract_award_stat_from_path (stat_path, stat_value) |
function | set_contract_stat (slot, stat_name, stat_value) |
function | setup_player_contracts () |
function | start_gametype () |
#define ABSOLUTE_STAT_PATH_COL 9 |
Definition at line 44 of file _contracts.gsc.
#define AR_KILL_INDEX 1019 |
Definition at line 78 of file _contracts.gsc.
#define ARENA_WINS_INDEX 1001 |
Definition at line 60 of file _contracts.gsc.
#define ATTACHMENT_COUNT_FOR_LOADED_WEAPON_KILL 4 |
Definition at line 28 of file _contracts.gsc.
#define ATTACKER_DEFENDER_KILLS_INDEX 6 |
Definition at line 54 of file _contracts.gsc.
#define BALL_WINS_INDEX 1003 |
Definition at line 62 of file _contracts.gsc.
#define BIG_KILLS_INDEX 4 |
Definition at line 52 of file _contracts.gsc.
#define BIG_KILLS_KILLSTREAK_INDEX 8 |
Definition at line 56 of file _contracts.gsc.
#define BIG_KILLS_SPECIALIST_WEAPON_INDEX 7 |
Definition at line 55 of file _contracts.gsc.
#define BIG_MEDALS_SPECIALIST_ABILITIES_INDEX 3 |
Definition at line 51 of file _contracts.gsc.
#define BIG_OBJECTIVE_WINS_INDEX 2 |
Definition at line 50 of file _contracts.gsc.
#define BIG_SCORE_INDEX 5 |
Definition at line 53 of file _contracts.gsc.
#define BIG_TOTAL_WINS_INDEX 1 |
Definition at line 49 of file _contracts.gsc.
#define CALLING_CARD_STAT_COL 7 |
Definition at line 42 of file _contracts.gsc.
#define CK_COST_COL 6 |
Definition at line 41 of file _contracts.gsc.
#define CLEAN_WINS_INDEX 1029 |
Definition at line 88 of file _contracts.gsc.
#define CONF_WINS_INDEX 1005 |
Definition at line 64 of file _contracts.gsc.
#define CONTRACT_TABLE "gamedata/tables/mp/mp_contractTable.csv" |
Definition at line 35 of file _contracts.gsc.
#define CONTRACT_TYPE 5 |
Definition at line 40 of file _contracts.gsc.
#define CTF_WINS_INDEX 1026 |
Definition at line 85 of file _contracts.gsc.
#define DEFAULT_CRYPTOKEY_LOOTXP 100 |
Definition at line 26 of file _contracts.gsc.
#define DEFAULT_DAILY_CRYPTOKEYS 10 |
Definition at line 24 of file _contracts.gsc.
#define DEFAULT_DEBUG_CONTRACT_SLOT MAX_CONTRACT_SLOTS - 1 |
Definition at line 32 of file _contracts.gsc.
#define DEFAULT_WEEKLY_CRYPTOKEYS 30 |
Definition at line 25 of file _contracts.gsc.
#define DEM_WINS_INDEX 1027 |
Definition at line 86 of file _contracts.gsc.
#define DM_WINS_INDEX 1028 |
Definition at line 87 of file _contracts.gsc.
#define DOM_WINS_INDEX 1008 |
Definition at line 67 of file _contracts.gsc.
#define ESCORT_WINS_INDEX 1004 |
Definition at line 63 of file _contracts.gsc.
#define FIRST_UNASSIGNED_CONTRACT_SLOT 3 |
Definition at line 31 of file _contracts.gsc.
#define HEADSHOTS_INDEX 1016 |
Definition at line 75 of file _contracts.gsc.
#define HUGE_AR_KILL_INDEX 3001 |
Definition at line 92 of file _contracts.gsc.
#define HUGE_KILLS_SPECIALIST_WEAPON_INDEX 3006 |
Definition at line 97 of file _contracts.gsc.
#define HUGE_LMG_KILL_INDEX 3003 |
Definition at line 94 of file _contracts.gsc.
#define HUGE_MELEE_WEAPON_KILL_INDEX 3005 |
Definition at line 96 of file _contracts.gsc.
#define HUGE_SHOTGUN_KILL_INDEX 3002 |
Definition at line 93 of file _contracts.gsc.
#define HUGE_SMG_KILL_INDEX 3000 |
Definition at line 91 of file _contracts.gsc.
#define HUGE_SNIPER_KILL_INDEX 3004 |
Definition at line 95 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX 3007 |
Definition at line 98 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_2 3008 |
Definition at line 99 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_3 3009 |
Definition at line 100 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_4 3011 |
Definition at line 102 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_5 3012 |
Definition at line 103 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_6 3013 |
Definition at line 104 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_7 3014 |
Definition at line 105 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_8 3015 |
Definition at line 106 of file _contracts.gsc.
#define HUGE_TOTAL_WINS_INDEX_GRAND_SLAM 3010 |
Definition at line 101 of file _contracts.gsc.
#define INDEX_COL 0 |
Definition at line 36 of file _contracts.gsc.
#define KILLED_ATTACKER_INDEX 1018 |
Definition at line 77 of file _contracts.gsc.
#define KILLED_DEFENDER_INDEX 1017 |
Definition at line 76 of file _contracts.gsc.
#define KILLS_INDEX 1015 |
Definition at line 74 of file _contracts.gsc.
#define KILLS_KILLSTREAK_INDEX 1010 |
Definition at line 69 of file _contracts.gsc.
#define KILLS_SPECIALIST_WEAPON_INDEX 1012 |
Definition at line 71 of file _contracts.gsc.
#define KILLSTREAK_SCORE_INDEX 1011 |
Definition at line 70 of file _contracts.gsc.
#define KOTH_WINS_INDEX 1007 |
Definition at line 66 of file _contracts.gsc.
#define LMG_KILL_INDEX 1022 |
Definition at line 81 of file _contracts.gsc.
#define LOADED_WEAPON_KILL_INDEX 1025 |
Definition at line 84 of file _contracts.gsc.
#define MAX_CONTRACT_SLOTS 10 |
Definition at line 30 of file _contracts.gsc.
#define MEDALS_SPECIALIST_ABILITIES_INDEX 1013 |
Definition at line 72 of file _contracts.gsc.
#define NAME_STRING_COL 3 |
Definition at line 38 of file _contracts.gsc.
#define PISTOL_KILL_INDEX 1024 |
Definition at line 83 of file _contracts.gsc.
#define SCORE_INDEX 1009 |
Definition at line 68 of file _contracts.gsc.
#define SD_WINS_INDEX 1006 |
Definition at line 65 of file _contracts.gsc.
#define SHOTGUN_KILL_INDEX 1023 |
Definition at line 82 of file _contracts.gsc.
#define SMG_KILL_INDEX 1020 |
Definition at line 79 of file _contracts.gsc.
#define SNIPER_KILL_INDEX 1021 |
Definition at line 80 of file _contracts.gsc.
#define SPECIALIST_KILLED_INDEX 1014 |
Definition at line 73 of file _contracts.gsc.
#define TARGET_VALUE_COL 2 |
Definition at line 37 of file _contracts.gsc.
#define TDM_WINS_INDEX 1002 |
Definition at line 61 of file _contracts.gsc.
#define TITLE_OVERRIDE_COL 4 |
Definition at line 39 of file _contracts.gsc.
#define TOTAL_WINS_INDEX 1000 |
Definition at line 59 of file _contracts.gsc.
#define WEAPON_CAMO_STAT_COL 8 |
Definition at line 43 of file _contracts.gsc.
function __init__ | ( | ) |
Definition at line 116 of file _contracts.gsc.
References on_start_gametype(), and start_gametype().
function add_active_stat | ( | contract_index | , |
delta | = 1 |
||
) |
Definition at line 375 of file _contracts.gsc.
References award_daily_contract(), award_loot_xp_due(), award_weekly_contract(), get_contract_stat(), MP_CONTRACT_DAILY_SLOT, MP_CONTRACT_SPECIAL_SLOT, MP_CONTRACT_WEEKLY_SLOT_A, MP_CONTRACT_WEEKLY_SLOT_B, set_contract_award_stat(), set_contract_award_stat_from_path(), and set_contract_stat().
Referenced by add_stat().
function add_stat | ( | contract_index | , |
delta | |||
) |
Definition at line 367 of file _contracts.gsc.
References add_active_stat(), and is_contract_active().
Referenced by contract_kills(), contract_win(), gametype_win(), on_defender_kill(), on_headshot_kill(), on_hero_ability_medal(), on_killed_hero_ability_enemy(), on_killed_hero_weapon_enemy(), on_killstreak_score(), on_offender_kill(), and on_player_score().
function award_blackjack_contract | ( | ) |
Definition at line 817 of file _contracts.gsc.
Referenced by award_weekly_contract().
function award_daily_contract | ( | ) |
Definition at line 805 of file _contracts.gsc.
References DEFAULT_CRYPTOKEY_LOOTXP, and DEFAULT_DAILY_CRYPTOKEYS.
Referenced by add_active_stat(), and award_loot_xp().
function award_loot_xp | ( | ) |
Definition at line 749 of file _contracts.gsc.
References award_daily_contract(), award_weekly_contract(), contract_slot_met(), get_contract_stat(), MP_CONTRACT_DAILY_SLOT, MP_CONTRACT_WEEKLY_SLOT_A, MP_CONTRACT_WEEKLY_SLOT_B, and set_contract_stat().
function award_loot_xp_due | ( | amount | ) |
function award_weekly_contract | ( | ) |
Definition at line 810 of file _contracts.gsc.
References award_blackjack_contract(), DEFAULT_CRYPTOKEY_LOOTXP, and DEFAULT_WEEKLY_CRYPTOKEYS.
Referenced by add_active_stat(), and award_loot_xp().
function can_process_contracts | ( | ) |
Definition at line 176 of file _contracts.gsc.
References canProcessChallenges().
Referenced by on_player_connect(), recordEndGameComScoreEventForPlayer(), and start_gametype().
function contract_game_ended | ( | data | ) |
Definition at line 647 of file _contracts.gsc.
Referenced by start_gametype().
function contract_kills | ( | data | ) |
Definition at line 278 of file _contracts.gsc.
References add_stat(), AR_KILL_INDEX, ATTACHMENT_COUNT_FOR_LOADED_WEAPON_KILL, BIG_KILLS_INDEX, BIG_KILLS_KILLSTREAK_INDEX, BIG_KILLS_SPECIALIST_WEAPON_INDEX, getWeaponClass(), HUGE_AR_KILL_INDEX, HUGE_KILLS_SPECIALIST_WEAPON_INDEX, HUGE_LMG_KILL_INDEX, HUGE_MELEE_WEAPON_KILL_INDEX, HUGE_SHOTGUN_KILL_INDEX, HUGE_SMG_KILL_INDEX, HUGE_SNIPER_KILL_INDEX, KILLS_INDEX, KILLS_KILLSTREAK_INDEX, KILLS_SPECIALIST_WEAPON_INDEX, LMG_KILL_INDEX, LOADED_WEAPON_KILL_INDEX, PISTOL_KILL_INDEX, SHOTGUN_KILL_INDEX, SMG_KILL_INDEX, and SNIPER_KILL_INDEX.
Referenced by start_gametype().
function contract_slot_met | ( | slot | ) |
Definition at line 790 of file _contracts.gsc.
References get_contract_stat().
Referenced by award_loot_xp().
function contract_win | ( | winner | ) |
Definition at line 652 of file _contracts.gsc.
References add_stat(), ARENA_WINS_INDEX, BIG_OBJECTIVE_WINS_INDEX, BIG_TOTAL_WINS_INDEX, gametype_win(), HUGE_TOTAL_WINS_INDEX, HUGE_TOTAL_WINS_INDEX_2, HUGE_TOTAL_WINS_INDEX_3, HUGE_TOTAL_WINS_INDEX_4, HUGE_TOTAL_WINS_INDEX_5, HUGE_TOTAL_WINS_INDEX_6, HUGE_TOTAL_WINS_INDEX_7, HUGE_TOTAL_WINS_INDEX_8, HUGE_TOTAL_WINS_INDEX_GRAND_SLAM, is_objective_game(), and TOTAL_WINS_INDEX.
Referenced by start_gametype().
function gametype_win | ( | winner | ) |
Definition at line 679 of file _contracts.gsc.
References add_stat(), BALL_WINS_INDEX, CLEAN_WINS_INDEX, CONF_WINS_INDEX, CTF_WINS_INDEX, DEM_WINS_INDEX, DM_WINS_INDEX, DOM_WINS_INDEX, ESCORT_WINS_INDEX, KOTH_WINS_INDEX, SD_WINS_INDEX, and TDM_WINS_INDEX.
Referenced by contract_win().
function get_contract_stat | ( | slot | , |
stat_name | |||
) |
Definition at line 462 of file _contracts.gsc.
Referenced by add_active_stat(), award_loot_xp(), contract_slot_met(), recordEndGameComScoreEventForPlayer(), and setup_player_contracts().
function get_hero_ability_mask | ( | ability | ) |
Definition at line 608 of file _contracts.gsc.
function get_hero_weapon_mask | ( | attacker | , |
weapon | |||
) |
Definition at line 559 of file _contracts.gsc.
function is_contract_active | ( | challenge_index | ) |
Definition at line 211 of file _contracts.gsc.
Referenced by add_stat(), and recordEndGameComScoreEventForPlayer().
function on_defender_kill | ( | ) |
Definition at line 738 of file _contracts.gsc.
References add_stat(), ATTACKER_DEFENDER_KILLS_INDEX, and KILLED_DEFENDER_INDEX.
Referenced by start_gametype().
function on_headshot_kill | ( | ) |
Definition at line 744 of file _contracts.gsc.
References add_stat(), and HEADSHOTS_INDEX.
Referenced by start_gametype().
function on_hero_ability_kill | ( | ability | , |
victimAbility | |||
) |
Definition at line 229 of file _contracts.gsc.
Referenced by start_gametype().
function on_hero_ability_medal | ( | ) |
Definition at line 237 of file _contracts.gsc.
References add_stat(), BIG_MEDALS_SPECIALIST_ABILITIES_INDEX, and MEDALS_SPECIALIST_ABILITIES_INDEX.
Referenced by start_gametype().
function on_hero_ability_multikill | ( | killcount | , |
ability | |||
) |
Definition at line 248 of file _contracts.gsc.
Referenced by start_gametype().
function on_hero_weapon_multikill | ( | killcount | , |
weapon | |||
) |
Definition at line 256 of file _contracts.gsc.
Referenced by start_gametype().
function on_killed_hero_ability_enemy | ( | ) |
Definition at line 156 of file _contracts.gsc.
References add_stat(), and SPECIALIST_KILLED_INDEX.
Referenced by start_gametype().
function on_killed_hero_weapon_enemy | ( | ) |
Definition at line 161 of file _contracts.gsc.
References add_stat(), and SPECIALIST_KILLED_INDEX.
Referenced by start_gametype().
function on_killstreak_score | ( | delta_score | , |
killstreak_purchased | |||
) |
Definition at line 270 of file _contracts.gsc.
References add_stat(), and KILLSTREAK_SCORE_INDEX.
Referenced by start_gametype().
function on_offender_kill | ( | ) |
Definition at line 732 of file _contracts.gsc.
References add_stat(), ATTACKER_DEFENDER_KILLS_INDEX, and KILLED_ATTACKER_INDEX.
Referenced by start_gametype().
function on_player_connect | ( | ) |
Definition at line 166 of file _contracts.gsc.
References can_process_contracts(), and setup_player_contracts().
Referenced by start_gametype().
function on_player_score | ( | delta_score | ) |
Definition at line 264 of file _contracts.gsc.
References add_stat(), BIG_SCORE_INDEX, and SCORE_INDEX.
Referenced by start_gametype().
function set_contract_award_stat | ( | award_type | , |
stat_name | , | ||
stat_value | = 1 |
||
) |
Definition at line 472 of file _contracts.gsc.
Referenced by add_active_stat().
function set_contract_award_stat_from_path | ( | stat_path | , |
stat_value | |||
) |
Definition at line 479 of file _contracts.gsc.
Referenced by add_active_stat().
function set_contract_stat | ( | slot | , |
stat_name | , | ||
stat_value | |||
) |
Definition at line 467 of file _contracts.gsc.
Referenced by add_active_stat(), and award_loot_xp().
function setup_player_contracts | ( | ) |
Definition at line 184 of file _contracts.gsc.
References ABSOLUTE_STAT_PATH_COL, CALLING_CARD_STAT_COL, CONTRACT_TABLE, get_contract_stat(), INDEX_COL, is_bot(), MAX_CONTRACT_SLOTS, TARGET_VALUE_COL, and WEAPON_CAMO_STAT_COL.
Referenced by on_player_connect().
function start_gametype | ( | ) |
Definition at line 121 of file _contracts.gsc.
References can_process_contracts(), contract_game_ended(), contract_kills(), contract_win(), init_player_contract_events(), on_connect(), on_defender_kill(), on_headshot_kill(), on_hero_ability_kill(), on_hero_ability_medal(), on_hero_ability_multikill(), on_hero_weapon_multikill(), on_killed_hero_ability_enemy(), on_killed_hero_weapon_enemy(), on_killstreak_score(), on_offender_kill(), on_player_connect(), on_player_score(), register_hero_ability_kill_event(), register_hero_ability_multikill_event(), register_hero_weapon_multikill_event(), register_player_contract_event(), registerChallengesCallback(), and registerContractWinEvent().
Referenced by __init__().