![]() |
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 | PRIMARY_CATEGORY 0 |
#define | PRIMARY_CATEGORY_TOTAL 0 |
#define | ROULETTE_ACTIVATION_WAIT 1.1 |
#define | ROULETTE_PRE_RESPIN_WAIT_TIME 1.3 |
#define | ROULETTE_RESPIN_ACTIVATION_WAIT 1.2 |
#define | ROULETTE_STATE_DEFAULT 0 |
#define | ROULETTE_STATE_RESPIN_PROMPT 3 |
#define | ROULETTE_STATE_SPINNING 2 |
#define | ROULETTE_STATE_WAIT_FOR_RESPIN 1 |
#define | SECONDARY_CATEGORY 1 |
#define | SECONDARY_CATEGORY_TOTAL 1 |
#define PRIMARY_CATEGORY 0 |
Definition at line 38 of file _gadget_roulette.gsc.
#define PRIMARY_CATEGORY_TOTAL 0 |
Definition at line 40 of file _gadget_roulette.gsc.
#define ROULETTE_ACTIVATION_WAIT 1.1 |
Definition at line 34 of file _gadget_roulette.gsc.
#define ROULETTE_PRE_RESPIN_WAIT_TIME 1.3 |
Definition at line 35 of file _gadget_roulette.gsc.
#define ROULETTE_RESPIN_ACTIVATION_WAIT 1.2 |
Definition at line 36 of file _gadget_roulette.gsc.
#define ROULETTE_STATE_DEFAULT 0 |
Definition at line 28 of file _gadget_roulette.gsc.
#define ROULETTE_STATE_RESPIN_PROMPT 3 |
Definition at line 31 of file _gadget_roulette.gsc.
#define ROULETTE_STATE_SPINNING 2 |
Definition at line 30 of file _gadget_roulette.gsc.
#define ROULETTE_STATE_WAIT_FOR_RESPIN 1 |
Definition at line 29 of file _gadget_roulette.gsc.
#define SECONDARY_CATEGORY 1 |
Definition at line 39 of file _gadget_roulette.gsc.
#define SECONDARY_CATEGORY_TOTAL 1 |
Definition at line 41 of file _gadget_roulette.gsc.
function __init__ | ( | ) |
Definition at line 43 of file _gadget_roulette.gsc.
References gadget_roulette_is_flickering(), gadget_roulette_is_inuse(), gadget_roulette_is_ready(), gadget_roulette_on_activate(), gadget_roulette_on_connect(), gadget_roulette_on_deactivate(), gadget_roulette_on_flicker(), gadget_roulette_on_give(), gadget_roulette_on_player_spawn(), gadget_roulette_on_take(), GADGET_TYPE_ROULETTE, on_connect(), on_spawned(), PRIMARY_CATEGORY_TOTAL, register(), register_gadget_activation_callbacks(), register_gadget_flicker_callbacks(), register_gadget_is_flickering_callbacks(), register_gadget_is_inuse_callbacks(), register_gadget_possession_callbacks(), register_gadget_ready_callbacks(), register_gadget_should_notify(), registerGadgetType(), SECONDARY_CATEGORY_TOTAL, and VERSION_TU11.
function disable_hero_gadget_activation | ( | duration | ) |
Definition at line 179 of file _gadget_roulette.gsc.
function dpad_left_pressed | ( | ) |
Definition at line 395 of file _gadget_roulette.gsc.
Referenced by watchRespin().
function failsafe_reenable_offhand_special | ( | ) |
Definition at line 265 of file _gadget_roulette.gsc.
function gadget_roulette_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 378 of file _gadget_roulette.gsc.
Referenced by gadget_roulette_on_flicker().
function gadget_roulette_give_earned_specialist | ( | weapon | , |
playSound | |||
) |
Definition at line 164 of file _gadget_roulette.gsc.
References giveRandomWeapon(), watchGadgetActivated(), and watchRespin().
Referenced by gadget_roulette_is_ready(), gadget_roulette_on_activate(), and giveSpecialOffhand().
function gadget_roulette_is_flickering | ( | slot | ) |
Definition at line 95 of file _gadget_roulette.gsc.
Referenced by __init__().
function gadget_roulette_is_inuse | ( | slot | ) |
Definition at line 89 of file _gadget_roulette.gsc.
Referenced by __init__().
function gadget_roulette_is_ready | ( | slot | , |
weapon | |||
) |
Definition at line 157 of file _gadget_roulette.gsc.
References gadget_roulette_give_earned_specialist().
Referenced by __init__().
function gadget_roulette_on_activate | ( | slot | , |
weapon | |||
) |
Definition at line 152 of file _gadget_roulette.gsc.
References gadget_roulette_give_earned_specialist().
Referenced by __init__().
function gadget_roulette_on_connect | ( | ) |
Definition at line 126 of file _gadget_roulette.gsc.
References roulette_init_allow_spin().
Referenced by __init__().
function gadget_roulette_on_deactivate | ( | slot | , |
weapon | |||
) |
Definition at line 348 of file _gadget_roulette.gsc.
References gadget_roulette_on_deactivate_helper().
Referenced by __init__().
function gadget_roulette_on_deactivate_helper | ( | weapon | ) |
Definition at line 353 of file _gadget_roulette.gsc.
References GADGET_HELD_0, and GADGET_HELD_COUNT.
Referenced by gadget_roulette_on_deactivate(), and giveRandomWeapon().
function gadget_roulette_on_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 101 of file _gadget_roulette.gsc.
References gadget_roulette_flicker().
Referenced by __init__().
function gadget_roulette_on_give | ( | slot | , |
weapon | |||
) |
Definition at line 107 of file _gadget_roulette.gsc.
References ROULETTE_STATE_DEFAULT, and set_to_player().
Referenced by __init__().
function gadget_roulette_on_player_spawn | ( | ) |
Definition at line 143 of file _gadget_roulette.gsc.
References roulette_init_allow_spin().
Referenced by __init__().
function gadget_roulette_on_take | ( | slot | , |
weapon | |||
) |
Definition at line 120 of file _gadget_roulette.gsc.
Referenced by __init__().
function getRandomGadget | ( | isPrimaryRoll | ) |
Definition at line 400 of file _gadget_roulette.gsc.
References PRIMARY_CATEGORY, PRIMARY_CATEGORY_TOTAL, SECONDARY_CATEGORY, and SECONDARY_CATEGORY_TOTAL.
Referenced by giveRandomWeapon().
function giveRandomWeapon | ( | weapon | , |
isPrimaryRoll | |||
) |
Definition at line 303 of file _gadget_roulette.gsc.
References GADGET_HELD_0, GADGET_HELD_COUNT, gadget_roulette_on_deactivate_helper(), and getRandomGadget().
Referenced by gadget_roulette_give_earned_specialist(), and watchRespin().
function registerGadgetType | ( | gadgetNameString | , |
primaryWeight | , | ||
secondaryWeight | |||
) |
Definition at line 430 of file _gadget_roulette.gsc.
References PRIMARY_CATEGORY, PRIMARY_CATEGORY_TOTAL, SECONDARY_CATEGORY, and SECONDARY_CATEGORY_TOTAL.
Referenced by __init__().
function reset_roulette_state_to_default | ( | ) |
Definition at line 277 of file _gadget_roulette.gsc.
References ROULETTE_STATE_DEFAULT, and set_to_player().
Referenced by watchRespin().
function roulette_init_allow_spin | ( | ) |
Definition at line 132 of file _gadget_roulette.gsc.
Referenced by gadget_roulette_on_connect(), and gadget_roulette_on_player_spawn().
function set_gadget_status | ( | status | , |
time | |||
) |
Definition at line 382 of file _gadget_roulette.gsc.
function watch_entity_shutdown | ( | ) |
Definition at line 148 of file _gadget_roulette.gsc.
function watchGadgetActivated | ( | weapon | ) |
Definition at line 286 of file _gadget_roulette.gsc.
References ROULETTE_STATE_DEFAULT, and set_to_player().
Referenced by gadget_roulette_give_earned_specialist().
function watchRespin | ( | weapon | ) |
Definition at line 204 of file _gadget_roulette.gsc.
References dpad_left_pressed(), giveRandomWeapon(), reset_roulette_state_to_default(), ROULETTE_PRE_RESPIN_WAIT_TIME, ROULETTE_STATE_SPINNING, ROULETTE_STATE_WAIT_FOR_RESPIN, set_to_player(), WAIT_SERVER_FRAME, and watchRespinGadgetActivated().
Referenced by gadget_roulette_give_earned_specialist().
function watchRespinGadgetActivated | ( | ) |
Definition at line 192 of file _gadget_roulette.gsc.
References ROULETTE_STATE_DEFAULT, and set_to_player().
Referenced by watchRespin().