File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -208,13 +208,15 @@ ECSACT_ASYNC_API_FN(int32_t, ecsact_async_get_current_tick)(void);
208
208
/**
209
209
* Sends Ecsact stream data to the specified registry. Stream data will be
210
210
* applied on the next ecsact_execute_systems call.
211
+ *
212
+ * @param ... if the component has indexed fields then those fields must be
213
+ * supplied to the variadic arguments in declaration order.
211
214
*/
212
215
ECSACT_CORE_API_FN (ecsact_async_request_id , ecsact_async_stream )
213
216
( //
214
- int32_t count ,
215
- const ecsact_entity_id * entities ,
216
- const ecsact_component_id * component_ids ,
217
- const void * * components_data
217
+ ecsact_entity_id entity ,
218
+ ecsact_component_id component_id ,
219
+ const void * component_data
218
220
);
219
221
220
222
#define FOR_EACH_ECSACT_ASYNC_API_FN (fn , ...) \
Original file line number Diff line number Diff line change @@ -266,15 +266,18 @@ ECSACT_CORE_API_FN(ecsact_ees, ecsact_get_entity_execution_status)
266
266
267
267
/**
268
268
* Sends Ecsact stream data to the specified registry. Stream data will be
269
- * applied on the next ecsact_execute_systems call.
269
+ * applied on the next ecsact_execute_systems call. The last set of stream data
270
+ * is always used.
271
+ *
272
+ * @param ... if the component has indexed fields then those fields must be
273
+ * supplied to the variadic arguments in declaration order.
270
274
*/
271
275
ECSACT_CORE_API_FN (ecsact_stream_error , ecsact_stream )
272
276
( //
273
- ecsact_registry_id registry_id ,
274
- int32_t count ,
275
- const ecsact_entity_id * entities ,
276
- const ecsact_component_id * component_ids ,
277
- const void * * components_data
277
+ ecsact_registry_id registry_id ,
278
+ ecsact_entity_id entity ,
279
+ ecsact_component_id component_id ,
280
+ const void * component_data
278
281
);
279
282
280
283
// # BEGIN FOR_EACH_ECSACT_CORE_API_FN
You can’t perform that action at this time.
0 commit comments