bbmod_async_save_load_update

function

bbmod_async_save_load_update(_asyncLoad)

Description

This function must be called in the "Async - Save/Load" event if you use bbmod_buffer_load_async to asynchronnously load a buffer!

Arguments

Name Type Description
_asyncLoad Id.DsMap The async_load map.

Example

/// @desc Create event
bbmod_buffer_load_async("buffer.bin", function (_err, _buffer) {
    if (!_err)
    {
        // Use the loaded buffer here...
    }
});

/// @desc Async - Save/Load event
bbmod_async_save_load_update(async_load);

See also

bbmod_buffer_load_async

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.