Pixel-Composer/objects/o_main/Other_62.gml

17 lines
467 B
Plaintext
Raw Normal View History

2023-01-25 06:49:00 +01:00
/// @description network
2023-04-09 21:24:16 +02:00
//if (ds_map_find_value(async_load, "id") == version_check) {
// if (ds_map_find_value(async_load, "status") == 0) {
// var v = ds_map_find_value(async_load, "result");
// version_latest = toNumber(v);
// }
//}
2023-01-25 06:49:00 +01:00
if(ds_map_exists(global.FILE_LOAD_ASYNC, async_load[? "id"])) {
var cb = global.FILE_LOAD_ASYNC[? async_load[? "id"]];
var callback = cb[0];
var arguments = cb[1];
callback(arguments);
2023-06-04 12:38:40 +02:00
}
asyncLoad(async_load);