#ifndef TC_WORLD_UPDATE_H #define TC_WORLD_UPDATE_H #include #include #include #include #include void tc_start_world_updater (); tc_promise_s tc_worldupdate_register_world (); void tc_worldupdate_remove_world (u32_t world_id); tc_promise_s tc_worldupdate_add_chunkloader (); void tc_worldupdate_delete_chunkloader (u32_t loader_id); u32_t tc_worldupdate_get_world_count (); tc_promise_s tc_worldupdate_get_world (u32_t index); u32_t tc_worldupdate_get_chunkloader_count_of_world (u32_t world_id); tc_promise_s tc_worldupdate_get_chunkloader_of_world (u32_t world_id, u32_t index); tc_promise_s tc_worldupdate_get_chunks_of_chunkloader (u32_t loader_id); void tc_worldupdate_move_chunkloader_to (u32_t loader_id, tc_chunk_location_s location); void tc_worldupdate_place_block (tc_block_location_s location, tc_block_s block); void tc_worldupdate_stop (); const tc_world_s * tc_worldupdate_claim_world_promise (tc_promise_s promise); const tc_chunkloader_s * tc_worldupdate_claim_chunkloader_promise (tc_promise_s promise); const tc_chunklist_s * tc_worldupdate_claim_chunks_promise (tc_promise_s promise); #endif