Client Hooks

Summary
Client Hooks
Functions
modc_console_initTODO
modc_rcon_lineTODO
modc_save_configTODO
modc_initCalled when the client starts.
modc_newsnapshotCalled when the client progressed to a new snapshot.
modc_entergameCalled when the client has successfully connect to a server and loaded a map.
modc_shutdownCalled when the client closes down.
modc_renderCalled every frame to let the game render it self.
modc_statechangeCalled every time client changes state.
modc_connectedTODO
modc_messageTODO
modc_predictTODO
modc_snap_inputTODO
modc_net_versionTODO

Functions

modc_console_init

void modc_console_init()

TODO

modc_rcon_line

void modc_rcon_line(const char *line)

TODO

modc_save_config

void modc_save_config()

TODO

modc_init

void modc_init()

Called when the client starts.

Remarks

The game should load resources that are used during the entire time of the game.  No map is loaded.

modc_newsnapshot

void modc_newsnapshot()

Called when the client progressed to a new snapshot.

Remarks

The client can check for items in the snapshot and perform one time events like playing sounds, spawning client side effects etc.

modc_entergame

void modc_entergame()

Called when the client has successfully connect to a server and loaded a map.

Remarks

The client can check for items in the map and load them.

modc_shutdown

void modc_shutdown()

Called when the client closes down.

modc_render

void modc_render()

Called every frame to let the game render it self.

modc_statechange

void modc_statechange(int new_state,
int old_state)

Called every time client changes state.

modc_connected

void modc_connected()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

modc_message

void modc_message(int msg)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

modc_predict

void modc_predict()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

modc_snap_input

int modc_snap_input(int *data)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

modc_net_version

const char *modc_net_version()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

void modc_console_init()
TODO
void modc_rcon_line(const char *line)
TODO
void modc_save_config()
TODO
void modc_init()
Called when the client starts.
void modc_newsnapshot()
Called when the client progressed to a new snapshot.
void modc_entergame()
Called when the client has successfully connect to a server and loaded a map.
void modc_shutdown()
Called when the client closes down.
void modc_render()
Called every frame to let the game render it self.
void modc_statechange(int new_state,
int old_state)
Called every time client changes state.
void modc_connected()
TODO
void modc_message(int msg)
TODO
void modc_predict()
TODO
int modc_snap_input(int *data)
TODO
const char *modc_net_version()
TODO
Close