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

Go to the source code of this file.

Functions

function add_interrupt_connection (from_state_name, to_state_name, on_notify, checkfunc)
 
function add_state (name, enter_func, update_func, exit_func, reenter_func)
 
function add_utility_connection (from_state_name, to_state_name, checkfunc, defaultScore)
 
function clear ()
 
function connection_on_notify (state_machine, notify_name, connection)
 
function create (name, owner, change_notify="change_state")
 
function debugOn ()
 
function evaluate_connections (eval_func, params)
 
function get_state (name)
 
function set_state (name, state_params)
 
function threadNotifyConnections (state)
 

Function Documentation

◆ add_interrupt_connection()

function add_interrupt_connection ( from_state_name  ,
to_state_name  ,
on_notify  ,
checkfunc   
)

◆ add_state()

function add_state ( name  ,
enter_func  ,
update_func  ,
exit_func  ,
reenter_func   
)

◆ add_utility_connection()

function add_utility_connection ( from_state_name  ,
to_state_name  ,
checkfunc  ,
defaultScore   
)

◆ clear()

function clear ( )

Definition at line 38 of file statemachine_shared.gsc.

◆ connection_on_notify()

function connection_on_notify ( state_machine  ,
notify_name  ,
connection   
)

Definition at line 222 of file statemachine_shared.gsc.

References ARRAY_ADD, and set_state().

Referenced by threadNotifyConnections().

◆ create()

function create ( name  ,
owner  ,
change_notify  = "change_state" 
)

Definition at line 9 of file statemachine_shared.gsc.

References name.

◆ debugOn()

function debugOn ( )

Definition at line 310 of file statemachine_shared.gsc.

◆ evaluate_connections()

◆ get_state()

function get_state ( name  )

Definition at line 80 of file statemachine_shared.gsc.

References name.

Referenced by add_interrupt_connection(), and add_utility_connection().

◆ set_state()

◆ threadNotifyConnections()

function threadNotifyConnections ( state  )

Definition at line 210 of file statemachine_shared.gsc.

References connection_on_notify(), and CONNECTION_TYPE_NOTIFY.

Referenced by set_state().