diff --git a/ext/flecs b/ext/flecs index d24a9e1..f9c7c3d 160000 --- a/ext/flecs +++ b/ext/flecs @@ -1 +1 @@ -Subproject commit d24a9e1df5a896ffcf3f35f024573e027002c351 +Subproject commit f9c7c3d43cda5f5e665b187117f7f02fcbbf8a70 diff --git a/src/cs/production/Flecs.Core/Generated/AssemblyAttributes.gen.cs b/src/cs/production/Flecs.Core/Generated/AssemblyAttributes.gen.cs index 0e67bbc..d145ec3 100644 --- a/src/cs/production/Flecs.Core/Generated/AssemblyAttributes.gen.cs +++ b/src/cs/production/Flecs.Core/Generated/AssemblyAttributes.gen.cs @@ -1,7 +1,7 @@ // To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code. // -// This code was generated by the following tool on 2023-07-11 21:52:31 GMT-04:00: -// https://github.com/bottlenoselabs/c2cs (v6.0.7.0) +// This code was generated by the following tool on 2023-07-23 13:42:09 GMT+00:00: +// https://github.com/bottlenoselabs/c2cs (v6.1.2.0) // // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // @@ -11,7 +11,7 @@ #nullable enable #pragma warning disable CS1591 #pragma warning disable CS8981 -global using bottlenoselabs.C2CS.Runtime; +using bottlenoselabs.C2CS.Runtime; using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/cs/production/Flecs.Core/Generated/flecs.gen.cs b/src/cs/production/Flecs.Core/Generated/flecs.gen.cs index 18ecda7..27cfc4a 100644 --- a/src/cs/production/Flecs.Core/Generated/flecs.gen.cs +++ b/src/cs/production/Flecs.Core/Generated/flecs.gen.cs @@ -1,7 +1,7 @@ // -// This code was generated by the following tool on 2023-07-11 21:52:31 GMT-04:00: -// https://github.com/bottlenoselabs/c2cs (v6.0.7.0) +// This code was generated by the following tool on 2023-07-23 13:42:09 GMT+00:00: +// https://github.com/bottlenoselabs/c2cs (v6.1.2.0) // // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // @@ -11,7 +11,7 @@ #nullable enable #pragma warning disable CS1591 #pragma warning disable CS8981 -global using bottlenoselabs.C2CS.Runtime; +using bottlenoselabs.C2CS.Runtime; using System; using System.Collections.Generic; using System.Globalization; @@ -28,2580 +28,3224 @@ public static unsafe partial class flecs #region API [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsAlertsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsAlertsImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsAlertsImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsAlertsImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsCoreDocImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsCoreDocImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsCoreDocImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsCoreDocImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsDocImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsDocImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsDocImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsDocImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMetaImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMetaImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsMetaImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsMetaImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMetricsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMetricsImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsMetricsImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsMetricsImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMonitorImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMonitorImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsMonitorImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsMonitorImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsPipelineImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsPipelineImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsPipelineImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsPipelineImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsRestImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsRestImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsRestImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsRestImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsScriptImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsScriptImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsScriptImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsScriptImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsSystemImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsSystemImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsSystemImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsSystemImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsTimerImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsTimerImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsTimerImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsTimerImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsUnitsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsUnitsImport(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "FlecsUnitsImport")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void FlecsUnitsImport(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_abort", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_abort(int error_code, CString file, int line, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_abort_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_abort_(int error_code, CString file, int line, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_assert", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool _ecs_assert(CBool condition, int error_code, CString condition_str, CString file, int line, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_add_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_deprecated", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_deprecated(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_add_path_w_sep")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log(int level, CString file, int line, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_alert_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_alert_init(ecs_world_t* world, ecs_alert_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log_pop(int level); + [LibraryImport(LibraryName, EntryPoint = "ecs_app_run")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log_push(int level); + [LibraryImport(LibraryName, EntryPoint = "ecs_app_run_frame")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_logv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_logv(int level, CString file, int line, CString fmt, void* args); + [LibraryImport(LibraryName, EntryPoint = "ecs_app_set_frame_action")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_app_set_frame_action(ecs_app_frame_action_t callback); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_map_get_deref", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _ecs_map_get_deref(ecs_map_t* map, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_app_set_run_action")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_app_set_run_action(ecs_app_run_action_t callback); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_parser_error", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_parser_error(CString name, CString expr, long column, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_array_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_parser_errorv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_parser_errorv(CString name, CString expr, long column, CString fmt, void* args); + [LibraryImport(LibraryName, EntryPoint = "ecs_array_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_poly_is", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool _ecs_poly_is(ecs_poly_t* @object, int type); + [LibraryImport(LibraryName, EntryPoint = "ecs_array_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_print", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_print(int level, CString file, int line, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_asprintf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_asprintf(CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_printv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_printv(int level, CString file, int line, CString fmt, void* args); + [LibraryImport(LibraryName, EntryPoint = "ecs_assert_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_assert_(CBool condition, int error_code, CString condition_str, CString file, int line, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern flecs_hashmap_result_t _flecs_hashmap_ensure(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_astresc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_astresc(CChar delimiter, CString @in); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _flecs_hashmap_get(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_async_stage_free")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_async_stage_free(ecs_world_t* stage); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_init(ecs_hashmap_t* hm, ecs_size_t key_size, ecs_size_t value_size, ecs_hash_value_action_t hash, ecs_compare_action_t compare, ecs_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "ecs_async_stage_new")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_async_stage_new(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_next", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _flecs_hashmap_next(flecs_hashmap_iter_t* it, ecs_size_t key_size, void* key_out, ecs_size_t value_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_atfini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_atfini(ecs_world_t* world, ecs_fini_action_t action, void* ctx); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_remove(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_bitmask_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_remove_w_hash", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_remove_w_hash(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, ulong hash); + [LibraryImport(LibraryName, EntryPoint = "ecs_bulk_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_set", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_set(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, void* value); + [LibraryImport(LibraryName, EntryPoint = "ecs_bulk_new_w_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_add_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_children")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_children(ecs_world_t* world, ecs_entity_t parent); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_add_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); + [LibraryImport(LibraryName, EntryPoint = "ecs_children_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_children_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_alert_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_alert_init(ecs_world_t* world, ecs_alert_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_chresc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_chresc(CString @out, CChar @in, CChar delimiter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_run", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_chrparse")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_chrparse(CString @in, CString @out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_run_frame", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_clear")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_clear(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_set_frame_action", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_frame_action(ecs_app_frame_action_t callback); + [LibraryImport(LibraryName, EntryPoint = "ecs_clone")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_set_run_action", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_run_action(ecs_app_run_action_t callback); + [LibraryImport(LibraryName, EntryPoint = "ecs_commit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_component_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_count_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_count_id(ecs_world_t* world, ecs_id_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_component_register")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name, CBool* existing_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_asprintf", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_asprintf(CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_component_register_explicit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component, CBool* existing_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_astresc", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_astresc(CChar delimiter, CString @in); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_component_validate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ulong size, ulong alignment, CBool implicit_name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_async_stage_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_async_stage_free(ecs_world_t* stage); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_enum_constant_register")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_async_stage_new", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_async_stage_new(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_enum_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_cpp_enum_init(ecs_world_t* world, ecs_entity_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_atfini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_atfini(ecs_world_t* world, ecs_fini_action_t action, void* ctx); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_get_constant_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len, ulong back_len); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bitmask_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_get_symbol_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bulk_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_get_type_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len, ulong front_len); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bulk_new_w_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_last_member")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_member_t* ecs_cpp_last_member(ecs_world_t* world, ecs_entity_t type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_children", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_children(ecs_world_t* world, ecs_entity_t parent); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_cpp_reset_count_get(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_children_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_children_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_inc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_cpp_reset_count_inc(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_chresc", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chresc(CString @out, CChar @in, CChar delimiter); + [LibraryImport(LibraryName, EntryPoint = "ecs_cpp_trim_module")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_chrparse", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chrparse(CString @in, CString @out); + [LibraryImport(LibraryName, EntryPoint = "ecs_default_ctor")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_clear(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_defer_begin")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_defer_begin(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_clone", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); + [LibraryImport(LibraryName, EntryPoint = "ecs_defer_end")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_defer_end(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_commit", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); + [LibraryImport(LibraryName, EntryPoint = "ecs_defer_resume")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_defer_resume(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_component_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_defer_suspend")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_defer_suspend(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_count_id", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_count_id(ecs_world_t* world, ecs_id_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_delete")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_delete(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name, CBool* existing_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_delete_empty_tables")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register_explicit", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component, CBool* existing_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_delete_with")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_delete_with(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_validate", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ulong size, ulong alignment, CBool implicit_name); + [LibraryImport(LibraryName, EntryPoint = "ecs_deprecated_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_deprecated_(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_constant_register", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); + [LibraryImport(LibraryName, EntryPoint = "ecs_dim")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_dim(ecs_world_t* world, int entity_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_cpp_enum_init(ecs_world_t* world, ecs_entity_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_get_brief")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_constant_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len, ulong back_len); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_get_color")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_symbol_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_get_detail")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_type_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len, ulong front_len); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_get_link")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_doc_get_link(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_last_member", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_member_t* ecs_cpp_last_member(ecs_world_t* world, ecs_entity_t type); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_get_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_get", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_get(); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_set_brief")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_inc", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_inc(); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_set_color")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_trim_module", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_set_detail")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_default_ctor", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_set_link")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_begin(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_doc_set_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_end", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_end(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_emit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_resume", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_resume(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_emplace_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_suspend", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_suspend(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_enable")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_enable_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_enable_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete_empty_tables", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); + [LibraryImport(LibraryName, EntryPoint = "ecs_enable_range_check")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete_with", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete_with(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_ensure")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_dim", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_dim(ecs_world_t* world, int entity_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_ensure_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_brief", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_entity_from_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_entity_from_json(ecs_world_t* world, ecs_entity_t entity, CString json, ecs_from_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_color", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_entity_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_detail", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_entity_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_entity_str(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_link", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_link(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_entity_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_entity_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_brief", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); + [LibraryImport(LibraryName, EntryPoint = "ecs_enum_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_color", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); + [LibraryImport(LibraryName, EntryPoint = "ecs_exists")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_detail", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_column_index")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_field_column_index(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_link", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t ecs_field_id(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_name", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_is_readonly")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_field_is_readonly(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_emit", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_is_self")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_field_is_self(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_emplace_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_is_set")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_field_is_set(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_is_writeonly")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_field_is_writeonly(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong ecs_field_size(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable_range_check", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_src")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_field_src(ecs_iter_t* it, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_field_w_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_field_w_size(ecs_iter_t* it, ulong size, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ensure_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_chain_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_from_json(ecs_world_t* world, ecs_entity_t entity, CString json, ecs_from_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_finalize")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_str(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_find_this_var")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_filter_find_this_var(ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_filter_fini(ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enum_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_exists", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_move")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_column_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_field_column_index(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_filter_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_field_id(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_next_instanced")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_filter_next_instanced(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_readonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_readonly(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_pivot_term")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_self", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_self(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_filter_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_set", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_set(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_fini(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_writeonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_writeonly(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_flatten")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_flatten(ecs_world_t* world, ecs_id_t pair, ecs_flatten_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_size", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_field_size(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_frame_begin")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial float ecs_frame_begin(ecs_world_t* world, float delta_time); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_src", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_field_src(ecs_iter_t* it, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_frame_end")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_frame_end(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_w_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_field_w_size(ecs_iter_t* it, ulong size, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_alert")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_alert(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_chain_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_alert_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_get_alert_count(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_alive")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_finalize", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_context")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_context(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_find_this_var", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_find_this_var(ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_depth")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_get_depth(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_fini(ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_entity")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_entity(ecs_poly_t* poly); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_hooks_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_move", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_interval")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_lookup_path")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next_instanced(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_max_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_max_id(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_pivot_term", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_mut_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_fini(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_observer_binding_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_flatten", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_flatten(ecs_world_t* world, ecs_id_t pair, ecs_flatten_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_observer_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_frame_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_frame_begin(ecs_world_t* world, float delta_time); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_parent")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_parent(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_frame_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_frame_end(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_path_w_sep")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alert", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_alert(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_path_w_sep_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alert_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_alert_count(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_pipeline")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_pipeline(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_scope")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_scope(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_context", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_context(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_stage")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_depth", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_depth(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_stage_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_get_stage_count(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_entity(ecs_poly_t* poly); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_stage_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_get_stage_id(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_hooks_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_symbol")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_system_binding_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_interval", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_system_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_lookup_path", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_max_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_max_id(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_target")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_target(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_mut_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_target_for_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_target_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_timeout")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_observer_binding_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_type")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_observer_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_parent", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_parent(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_typeid")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_with")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t ecs_get_with(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_world")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_get_world(ecs_poly_t* poly); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_pipeline(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_get_world_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_scope", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_scope(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_has_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_get_header")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_http_get_header(ecs_http_request_t* req, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_count(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_get_param")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_http_get_param(ecs_http_request_t* req, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage_id", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_id(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_http_server_ctx(ecs_http_server_t* srv); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_dequeue")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_system_binding_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_http_server_fini(ecs_http_server_t* server); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_system_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_http_request")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_http_server_http_request(ecs_http_server_t* srv, CString req, ecs_size_t len, ecs_http_reply_t* reply_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_target", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_target(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_request")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_http_server_request(ecs_http_server_t* srv, CString method, CString req, ecs_http_reply_t* reply_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_target_for_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_target_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_start")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_http_server_start(ecs_http_server_t* server); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_timeout", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); + [LibraryImport(LibraryName, EntryPoint = "ecs_http_server_stop")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_http_server_stop(ecs_http_server_t* server); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_flag_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_id_flag_str(ecs_id_t id_flags); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_get_flags")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_typeid", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_in_use")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_with", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_get_with(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_is_pair")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_is_pair(ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_world", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_world(ecs_poly_t* poly); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_is_tag")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_world_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_is_union")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_is_union(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_is_valid")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_get_header", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_header(ecs_http_request_t* req, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_is_wildcard")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_is_wildcard(ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_get_param", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_param(ecs_http_request_t* req, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_match")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_http_server_ctx(ecs_http_server_t* srv); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_id_str(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_dequeue", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); + [LibraryImport(LibraryName, EntryPoint = "ecs_id_str_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_fini(ecs_http_server_t* server); + [LibraryImport(LibraryName, EntryPoint = "ecs_identifier_is_0")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_identifier_is_0(CString id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_http_request", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_http_request(ecs_http_server_t* srv, CString req, ecs_size_t len, ecs_http_reply_t* reply_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_import")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_import_c")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_request", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_request(ecs_http_server_t* srv, CString method, CString req, ecs_http_reply_t* reply_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_import_from_library")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_start", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_start(ecs_http_server_t* server); + [LibraryImport(LibraryName, EntryPoint = "ecs_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_init(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_stop", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_stop(ecs_http_server_t* server); + [LibraryImport(LibraryName, EntryPoint = "ecs_init_w_args")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_init_w_args(int argc, CString* argv); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_flag_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_id_flag_str(ecs_id_t id_flags); + [LibraryImport(LibraryName, EntryPoint = "ecs_interpolate_string")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_interpolate_string(ecs_world_t* world, CString str, ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_get_flags", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_is_alive")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_in_use", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_is_deferred")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_is_deferred(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_pair", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_pair(ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_is_enabled_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_is_enabled_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_tag", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_is_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_is_fini(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_union", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_union(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_is_valid")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_valid", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_iter_count(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_wildcard", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_wildcard(ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_fini(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_match", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_first")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_iter_first(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_id_str(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_get_var")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_str_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_range")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_identifier_is_0", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_identifier_is_0(CString id); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_is_true")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_iter_is_true(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import_c", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_iter_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import_from_library", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_poly")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init(); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_set_var")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_init_w_args", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init_w_args(int argc, CString* argv); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_range")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_interpolate_string", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_interpolate_string(ecs_world_t* world, CString str, ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_iter_str(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_deferred", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_deferred(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_enabled_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_enabled_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_fini(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_to_vars")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_iter_to_vars(ecs_iter_t* it, ecs_vars_t* vars, int offset); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_valid", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); + [LibraryImport(LibraryName, EntryPoint = "ecs_iter_var_is_constrained")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_count(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_log_(int level, CString file, int line, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_fini(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_enable_colors")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_log_enable_colors(CBool enabled); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_first", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_iter_first(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_enable_timedelta")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_log_enable_timedelta(CBool enabled); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_enable_timestamp")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_log_enable_timestamp(CBool enabled); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_range", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_get_level")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_log_get_level(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_last_error")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_log_last_error(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_is_true", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_is_true(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_pop_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_log_pop_(int level); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_push_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_log_push_(int level); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_poly", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); + [LibraryImport(LibraryName, EntryPoint = "ecs_log_set_level")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_log_set_level(int level); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_logv_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_logv_(int level, CString file, int line, CString fmt, void* args); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_range", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); + [LibraryImport(LibraryName, EntryPoint = "ecs_lookup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_table", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_lookup_child")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_str(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_lookup_path_w_sep")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_lookup_symbol")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path, CBool recursive); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_make_pair")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_vars", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_to_vars(ecs_iter_t* it, ecs_vars_t* vars, int offset); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_clear")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_clear(ecs_map_t* map); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_var_is_constrained", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_copy(ecs_map_t* dst, ecs_map_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_colors", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_colors(CBool enabled); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_ensure")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_map_val_t* ecs_map_ensure(ecs_map_t* map, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timedelta", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timedelta(CBool enabled); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_ensure_alloc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_map_ensure_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timestamp", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timestamp(CBool enabled); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_fini(ecs_map_t* map); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_get_level", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_get_level(); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_map_val_t* ecs_map_get(ecs_map_t* map, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_last_error", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_last_error(); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_get_deref_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_map_get_deref_(ecs_map_t* map, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_set_level", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_set_level(int level); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_init(ecs_map_t* map, ecs_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_init_if")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_init_if(ecs_map_t* map, ecs_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_child", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_init_w_params")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_init_w_params(ecs_map_t* map, ecs_map_params_t* @params); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_init_w_params_if")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_init_w_params_if(ecs_map_t* result, ecs_map_params_t* @params); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_insert")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_insert(ecs_map_t* map, ecs_map_key_t key, ecs_map_val_t value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_make_pair", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_insert_alloc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_map_insert_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_clear(ecs_map_t* map); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_map_iter_t ecs_map_iter(ecs_map_t* map); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_copy(ecs_map_t* dst, ecs_map_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_map_next(ecs_map_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t* ecs_map_ensure(ecs_map_t* map, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_params_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_params_fini(ecs_map_params_t* @params); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_ensure_alloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_map_ensure_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_params_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_params_init(ecs_map_params_t* @params, ecs_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_fini(ecs_map_t* map); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_remove")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_map_val_t ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_get", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t* ecs_map_get(ecs_map_t* map, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_map_remove_free")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_map_remove_free(ecs_map_t* map, ecs_map_key_t key); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init(ecs_map_t* map, ecs_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "ecs_measure_frame_time")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_measure_frame_time(ecs_world_t* world, CBool enable); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_if(ecs_map_t* map, ecs_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "ecs_measure_system_time")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_measure_system_time(ecs_world_t* world, CBool enable); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_w_params(ecs_map_t* map, ecs_map_params_t* @params); + [LibraryImport(LibraryName, EntryPoint = "ecs_merge")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_merge(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_w_params_if(ecs_map_t* result, ecs_map_params_t* @params); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_cursor")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_insert", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_insert(ecs_map_t* map, ecs_map_key_t key, ecs_map_val_t value); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_dotmember")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_dotmember(ecs_meta_cursor_t* cursor, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_insert_alloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_map_insert_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_elem")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_iter_t ecs_map_iter(ecs_map_t* map); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_from_desc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_map_next(ecs_map_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_bool")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_params_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_params_fini(ecs_map_params_t* @params); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_char")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_params_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_params_init(ecs_map_params_t* @params, ecs_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_entity")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_float")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial double ecs_meta_get_float(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_remove_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_remove_free(ecs_map_t* map, ecs_map_key_t key); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_int")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial long ecs_meta_get_int(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_measure_frame_time", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_frame_time(ecs_world_t* world, CBool enable); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_member")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_measure_system_time", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_system_time(ecs_world_t* world, CBool enable); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_ptr")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_merge", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_merge(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_string")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_cursor", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_type")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_dotmember", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_dotmember(ecs_meta_cursor_t* cursor, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_uint")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_elem", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_get_unit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_from_desc", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_is_collection")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_bool", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_member")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_char", CallingConvention = CallingConvention.Cdecl)] - public static extern CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_next(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_pop")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_pop(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_float", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_meta_get_float(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_ptr_to_float")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial double ecs_meta_ptr_to_float(ecs_primitive_kind_t type_kind, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_int", CallingConvention = CallingConvention.Cdecl)] - public static extern long ecs_meta_get_int(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_push")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_push(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_member", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_bool")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_ptr", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_char")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_string", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_entity")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_float")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_uint", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_int")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_unit", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_null")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_null(ecs_meta_cursor_t* cursor); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_is_collection", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_string")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_member", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_string_literal")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_next", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_next(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_uint")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_pop(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_meta_set_value")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_meta_set_value(ecs_meta_cursor_t* cursor, ecs_value_t* value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_ptr_to_float", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_meta_ptr_to_float(ecs_primitive_kind_t type_kind, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_metric_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_metric_copy(ecs_metric_t* m, int dst, int src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_push", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_push(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_metric_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_metric_init(ecs_world_t* world, ecs_metric_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_bool", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); + [LibraryImport(LibraryName, EntryPoint = "ecs_metric_reduce")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_char", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); + [LibraryImport(LibraryName, EntryPoint = "ecs_metric_reduce_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); + [LibraryImport(LibraryName, EntryPoint = "ecs_mini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_world_t* ecs_mini(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_float", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); + [LibraryImport(LibraryName, EntryPoint = "ecs_modified_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_int", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); + [LibraryImport(LibraryName, EntryPoint = "ecs_module_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_module_init(ecs_world_t* world, CString c_name, ecs_component_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_null", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_null(ecs_meta_cursor_t* cursor); + [LibraryImport(LibraryName, EntryPoint = "ecs_module_path_from_c")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_module_path_from_c(CString c_name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); + [LibraryImport(LibraryName, EntryPoint = "ecs_new_from_path_w_sep")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string_literal", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); + [LibraryImport(LibraryName, EntryPoint = "ecs_new_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_new_id(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_uint", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); + [LibraryImport(LibraryName, EntryPoint = "ecs_new_low_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_new_low_id(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_value", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_value(ecs_meta_cursor_t* cursor, ecs_value_t* value); + [LibraryImport(LibraryName, EntryPoint = "ecs_new_w_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_copy(ecs_metric_t* m, int dst, int src); + [LibraryImport(LibraryName, EntryPoint = "ecs_new_w_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_new_w_table(ecs_world_t* world, ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_metric_init(ecs_world_t* world, ecs_metric_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_observer_default_run_action")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_observer_default_run_action(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); + [LibraryImport(LibraryName, EntryPoint = "ecs_observer_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_opaque_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_opaque_init(ecs_world_t* world, ecs_opaque_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_mini", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_mini(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_dbg")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_dbg(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_modified_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_err")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_err(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_module_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_module_init(ecs_world_t* world, CString c_name, ecs_component_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_fatal")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_fatal(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_module_path_from_c", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_module_path_from_c(CString c_name); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_fini(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_from_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_get_api")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_os_api_t ecs_os_get_api(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_id(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_dl")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_dl(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_low_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_low_id(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_heap")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_heap(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_w_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_logging")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_logging(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_w_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_w_table(ecs_world_t* world, ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_modules")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_modules(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_observer_default_run_action", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_observer_default_run_action(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_task_support")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_task_support(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_observer_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_threading")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_threading(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_opaque_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_opaque_init(ecs_world_t* world, ecs_opaque_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_has_time")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_os_has_time(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_dbg", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_dbg(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_init(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_err", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_err(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_memdup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_os_memdup(void* src, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_fatal", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fatal(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_set_api")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_set_api(ecs_os_api_t* os_api); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fini(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_set_api_defaults")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_set_api_defaults(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_get_api", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_os_api_t ecs_os_get_api(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_strerror")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_os_strerror(int err); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_dl", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_dl(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_strset")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_strset(CString* str, CString value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_heap", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_heap(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_trace")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_trace(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_logging", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_logging(); + [LibraryImport(LibraryName, EntryPoint = "ecs_os_warn")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_os_warn(CString file, int line, CString msg); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_modules", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_modules(); + [LibraryImport(LibraryName, EntryPoint = "ecs_override_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_override_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_task_support", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_task_support(); + [LibraryImport(LibraryName, EntryPoint = "ecs_owns_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_owns_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_threading", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_threading(); + [LibraryImport(LibraryName, EntryPoint = "ecs_page_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_time", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_time(); + [LibraryImport(LibraryName, EntryPoint = "ecs_page_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_page_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_init(); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_digit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_digit(CString ptr, CString token); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_memdup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_os_memdup(void* src, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_expr")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_value_t* value, ecs_parse_expr_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_set_api", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api(ecs_os_api_t* os_api); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_expr_token")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_set_api_defaults", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api_defaults(); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_identifier")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_identifier(CString name, CString expr, CString ptr, CString token_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_strerror", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_os_strerror(int err); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_term")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_strset", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_strset(CString* str, CString value); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_token")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out, CChar delim); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_trace", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_trace(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_ws")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_ws(CString ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_warn", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_warn(CString file, int line, CString msg); + [LibraryImport(LibraryName, EntryPoint = "ecs_parse_ws_eol")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_parse_ws_eol(CString ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_override_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_override_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_parser_error_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_parser_error_(CString name, CString expr, long column, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_owns_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_owns_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_parser_errorv_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_parser_errorv_(CString name, CString expr, long column, CString fmt, void* args); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_page_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_page_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_page_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_copy_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_digit", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_digit(CString ptr, CString token); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_expr", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_value_t* value, ecs_parse_expr_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_expr_token", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_identifier", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_identifier(CString name, CString expr, CString ptr, CString token_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_term", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_pipeline_stats_repeat_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_token", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out, CChar delim); + [LibraryImport(LibraryName, EntryPoint = "ecs_plecs_from_file")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_plecs_from_file(ecs_world_t* world, CString filename); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_ws", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_ws(CString ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_plecs_from_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_ws_eol", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_ws_eol(CString ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_poly_is_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_poly_is_(ecs_poly_t* @object, int type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_primitive_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_primitive_to_expr_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_print_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_print_(int level, CString file, int line, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_printv_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_printv_(int level, CString file, int line, CString fmt, void* args); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_progress")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_progress(ecs_world_t* world, float delta_time); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_from_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_ptr_from_json(ecs_world_t* world, ecs_entity_t type, void* ptr, CString json, ecs_from_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_expr")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_file", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_expr_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_str", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_primitive_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_primitive_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_ptr_to_str(ecs_world_t* world, ecs_entity_t type, void* data); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_progress", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_progress(ecs_world_t* world, float delta_time); + [LibraryImport(LibraryName, EntryPoint = "ecs_ptr_to_str_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_ptr_to_str_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_from_json(ecs_world_t* world, ecs_entity_t type, void* ptr, CString json, ecs_from_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_quantity_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_changed")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_empty_table_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_query_empty_table_count(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_entity_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_query_entity_count(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_fini(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_str(ecs_world_t* world, ecs_entity_t type, void* data); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_get_filter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_str_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_get_group_ctx")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_query_get_group_ctx(ecs_query_t* query, ulong group_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_quantity_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_get_group_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_query_group_info_t* ecs_query_get_group_info(ecs_query_t* query, ulong group_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_changed", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_empty_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_empty_table_count(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_entity_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_entity_count(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_query_next(ecs_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_fini(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_next_instanced")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_query_next_instanced(ecs_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_next_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_query_next_table(ecs_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_query_get_group_ctx(ecs_query_t* query, ulong group_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_orphaned")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_query_orphaned(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_group_info_t* ecs_query_get_group_info(ecs_query_t* query, ulong group_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_populate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_query_populate(ecs_iter_t* iter, CBool when_changed); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_set_group")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_set_group(ecs_iter_t* it, ulong group_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_skip")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_skip(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next(ecs_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_stats_copy_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next_instanced(ecs_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_stats_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next_table", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next_table(ecs_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_stats_reduce")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_orphaned", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_orphaned(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_stats_reduce_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_populate", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_populate(ecs_iter_t* iter, CBool when_changed); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_stats_repeat_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_set_group", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_set_group(ecs_iter_t* it, ulong group_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_query_str(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_skip", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_skip(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_query_table_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_query_table_count(ecs_query_t* query); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_quit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_quit(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_read_begin")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_read_end")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_read_end(ecs_record_t* @record); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_readonly_begin")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_readonly_begin(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_readonly_end")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_readonly_end(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_query_str(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_find")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_table_count(ecs_query_t* query); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_get_column")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_quit", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_quit(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_get_entity")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_record_get_entity(ecs_record_t* @record); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_read_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_get_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_read_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_read_end(ecs_record_t* @record); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_get_mut_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_readonly_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_readonly_begin(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_record_has_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_record_has_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_readonly_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_readonly_end(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_ref_get_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_find", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_ref_init_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_column", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_ref_update")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_ref_update(ecs_world_t* world, ecs_ref_t* @ref); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_record_get_entity(ecs_record_t* @record); + [LibraryImport(LibraryName, EntryPoint = "ecs_remove_all")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_remove_all(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_remove_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_mut_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_reset_clock")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_reset_clock(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_record_has_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_rest_server_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_rest_server_fini(ecs_http_server_t* srv); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_rest_server_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_http_server_t* ecs_rest_server_init(ecs_world_t* world, ecs_http_server_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_init_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_find_var")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_rule_find_var(ecs_rule_t* rule, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_update", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ref_update(ecs_world_t* world, ecs_ref_t* @ref); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_rule_fini(ecs_rule_t* rule); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_remove_all", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_all(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_get_filter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_remove_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_reset_clock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_reset_clock(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rest_server_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_rest_server_fini(ecs_http_server_t* srv); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_rule_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rest_server_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_http_server_t* ecs_rest_server_init(ecs_world_t* world, ecs_http_server_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_next_instanced")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_rule_next_instanced(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_find_var", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_find_var(ecs_rule_t* rule, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_parse_vars")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_rule_parse_vars(ecs_rule_t* rule, ecs_iter_t* it, CString expr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_rule_fini(ecs_rule_t* rule); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_rule_str(ecs_rule_t* rule); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_get_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_str_w_profile")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_rule_str_w_profile(ecs_rule_t* rule, ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_var_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_rule_var_count(ecs_rule_t* rule); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_var_is_entity")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_rule_var_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next_instanced(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_run")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_parse_vars", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_parse_vars(ecs_rule_t* rule, ecs_iter_t* it, CString expr); + [LibraryImport(LibraryName, EntryPoint = "ecs_run_aperiodic")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_str(ecs_rule_t* rule); + [LibraryImport(LibraryName, EntryPoint = "ecs_run_pipeline")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_str_w_profile", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_str_w_profile(ecs_rule_t* rule, ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_run_post_frame")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_var_count(ecs_rule_t* rule); + [LibraryImport(LibraryName, EntryPoint = "ecs_run_w_filter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_is_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_run_worker")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_run_worker(ecs_world_t* world, ecs_entity_t system, int stage_current, int stage_count, float delta_time, void* param); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); + [LibraryImport(LibraryName, EntryPoint = "ecs_script_clear")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_script_clear(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); + [LibraryImport(LibraryName, EntryPoint = "ecs_script_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_script_init(ecs_world_t* world, ecs_script_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_aperiodic", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); + [LibraryImport(LibraryName, EntryPoint = "ecs_script_update")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_script_update(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance, CString str, ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); + [LibraryImport(LibraryName, EntryPoint = "ecs_search")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_post_frame", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); + [LibraryImport(LibraryName, EntryPoint = "ecs_search_offset")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_w_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); + [LibraryImport(LibraryName, EntryPoint = "ecs_search_relation")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, ecs_flags32_t flags, ecs_entity_t* subject_out, ecs_id_t* id_out, ecs_table_record_t** tr_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_worker", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run_worker(ecs_world_t* world, ecs_entity_t system, int stage_current, int stage_count, float delta_time, void* param); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_alias")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_script_clear(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_automerge")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_automerge(ecs_world_t* world, CBool automerge); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_script_init(ecs_world_t* world, ecs_script_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_context")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_context(ecs_world_t* world, void* ctx); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_update", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_script_update(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance, CString str, ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_entity_generation")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_entity_generation(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_entity_range")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search_offset", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_hooks_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search_relation", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, ecs_flags32_t flags, ecs_entity_t* subject_out, ecs_id_t* id_out, ecs_table_record_t** tr_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_alias", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_interval")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_automerge", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_automerge(ecs_world_t* world, CBool automerge); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_lookup_path")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_context", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_context(ecs_world_t* world, void* ctx); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_name")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_entity_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_entity_generation(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_name_prefix")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_entity_range", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_os_api_impl")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_os_api_impl(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_hooks_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_pipeline")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_rate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_interval", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_scope")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_lookup_path", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_stage_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_stage_count(ecs_world_t* world, int stages); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_name", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_symbol")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_name_prefix", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_target_fps")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_target_fps(ecs_world_t* world, float fps); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_os_api_impl", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_os_api_impl(); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_task_threads")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_task_threads(ecs_world_t* world, int task_threads); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_threads")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_threads(ecs_world_t* world, int threads); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_rate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_tick_source")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_scope", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_time_scale")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_set_time_scale(ecs_world_t* world, float scale); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_stage_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_stage_count(ecs_world_t* world, int stages); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_timeout")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); + [LibraryImport(LibraryName, EntryPoint = "ecs_set_with")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_target_fps", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_target_fps(ecs_world_t* world, float fps); + [LibraryImport(LibraryName, EntryPoint = "ecs_should_log")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_should_log(int level); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_task_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_task_threads(ecs_world_t* world, int task_threads); + [LibraryImport(LibraryName, EntryPoint = "ecs_should_quit")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_should_quit(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_threads(ecs_world_t* world, int threads); + [LibraryImport(LibraryName, EntryPoint = "ecs_sleepf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_sleepf(double t); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_tick_source", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_free")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_snapshot_free(ecs_snapshot_t* snapshot); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_time_scale", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_time_scale(ecs_world_t* world, float scale); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_timeout", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_snapshot_next(ecs_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_with", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_restore")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_should_log", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_log(int level); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_take")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_should_quit", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_quit(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_snapshot_take_w_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sleepf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_sleepf(double t); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_add")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_free(ecs_snapshot_t* snapshot); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_sparse_count(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_snapshot_next(ecs_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_get_dense")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_restore", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_sparse_init(ecs_sparse_t* sparse, ecs_size_t elem_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_sparse_last_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong ecs_sparse_last_id(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take_w_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); + [LibraryImport(LibraryName, EntryPoint = "ecs_stage_is_async")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_stage_is_async(ecs_world_t* stage); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_stage_is_readonly")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_stage_is_readonly(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_sparse_count(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "ecs_start_timer")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "ecs_stop_timer")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_append")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_sparse_init(ecs_sparse_t* sparse, ecs_size_t elem_size); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendch")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_sparse_last_id(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendflt")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stage_is_async", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_async(ecs_world_t* stage); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendint")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendint(ecs_strbuf_t* buffer, long v); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stage_is_readonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_readonly(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_start_timer", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stop_timer", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy_const")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_append", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstr_zerocpyn(ecs_strbuf_t* buffer, CString str, int n); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendch", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn_const")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstr_zerocpyn_const(ecs_strbuf_t* buffer, CString str, int n); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendflt", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_appendstrn")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendint", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendint(ecs_strbuf_t* buffer, long v); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_strbuf_get(ecs_strbuf_t* buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_get_small")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_append")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy_const", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendch")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_list_appendch(ecs_strbuf_t* buffer, CChar ch); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpyn(ecs_strbuf_t* buffer, CString str, int n); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstr")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn_const", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpyn_const(ecs_strbuf_t* buffer, CString str, int n); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstrn")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_list_appendstrn(ecs_strbuf_t* buffer, CString str, int n); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstrn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_strbuf_list_next(ecs_strbuf_t* buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get(ecs_strbuf_t* buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_pop")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get_small", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_list_push")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_append", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_mergebuff")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendch", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendch(ecs_strbuf_t* buffer, CChar ch); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_reset")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_strbuf_reset(ecs_strbuf_t* buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstr", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_vappend")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstrn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + [LibraryImport(LibraryName, EntryPoint = "ecs_strbuf_written")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_strbuf_written(ecs_strbuf_t* buffer); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_next", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_next(ecs_strbuf_t* buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_strerror")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_strerror(int error_code); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); + [LibraryImport(LibraryName, EntryPoint = "ecs_stresc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); + [LibraryImport(LibraryName, EntryPoint = "ecs_strip_generation")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t ecs_strip_generation(ecs_entity_t e); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_mergebuff", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_struct_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_reset", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_reset(ecs_strbuf_t* buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_get_query")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_vappend", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_written", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_strbuf_written(ecs_strbuf_t* buffer); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_stats_copy_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strerror", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strerror(int error_code); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_stats_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stresc", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_stats_reduce")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strip_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_strip_generation(ecs_entity_t e); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_stats_reduce_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_struct_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_system_stats_repeat_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_get_query", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_add_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_table_count(ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_find")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_table_find(ecs_world_t* world, ecs_id_t* ids, int id_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_column")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_table_get_column(ecs_table_t* table, int index, int offset); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_column_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong ecs_table_get_column_size(ecs_table_t* table, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_depth")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_table_get_depth(ecs_world_t* world, ecs_table_t* table, ecs_entity_t rel); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_add_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_index")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_count(ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_storage_table")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_find", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_find(ecs_world_t* world, ecs_id_t* ids, int id_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_get_type")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_type_t* ecs_table_get_type(ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_column", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_table_get_column(ecs_table_t* table, int index, int offset); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_has_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_column_size", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_table_get_column_size(ecs_table_t* table, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_has_module")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_table_has_module(ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_depth", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_get_depth(ecs_world_t* world, ecs_table_t* table, ecs_entity_t rel); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_lock")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_remove_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_table_storage_to_type_index(ecs_table_t* table, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_storage_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_swap_rows")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_table_type_to_storage_index(ecs_table_t* table, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_has_module", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_table_has_module(ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_table_unlock")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_lock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_chain_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_remove_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_term_t ecs_term_copy(ecs_term_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_finalize")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_term_finalize(ecs_world_t* world, ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_term_fini(ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_swap_rows", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_id_is_set")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_term_id_is_set(ecs_term_id_t* id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_is_initialized")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_term_is_initialized(ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_unlock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_chain_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_match_0")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_term_match_0(ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_copy(ecs_term_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_match_this")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_term_match_this(ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_finalize", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_term_finalize(ecs_world_t* world, ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_move")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_term_t ecs_term_move(ecs_term_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_term_fini(ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_term_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_id_is_set", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_id_is_set(ecs_term_id_t* id); + [LibraryImport(LibraryName, EntryPoint = "ecs_term_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_is_initialized", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_initialized(ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_time_measure")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial double ecs_time_measure(ecs_time_t* start); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_time_sub")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_match_0", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_match_0(ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_time_to_double")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial double ecs_time_to_double(ecs_time_t t); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_match_this", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_match_this(ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_type_info_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_move", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_move(ecs_term_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_type_info_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_type_str")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); + [LibraryImport(LibraryName, EntryPoint = "ecs_unit_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_measure", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_measure(ecs_time_t* start); + [LibraryImport(LibraryName, EntryPoint = "ecs_unit_prefix_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_sub", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); + [LibraryImport(LibraryName, EntryPoint = "ecs_using_task_threads")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_using_task_threads(ecs_world_t* world); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_to_double", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_to_double(ecs_time_t t); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_copy(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_copy_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_copy_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_fini(ecs_world_t* world, ecs_entity_t type, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_fini_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_fini_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_unit_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_free")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_free(ecs_world_t* world, ecs_entity_t type, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_unit_prefix_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_init(ecs_world_t* world, ecs_entity_t type, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_using_task_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_using_task_threads(ecs_world_t* world); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_init_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_init_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_copy(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_move")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_move(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_copy_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_copy_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_move_ctor")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_move_ctor(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_fini(ecs_world_t* world, ecs_entity_t type, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_move_ctor_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_move_ctor_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_fini_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_fini_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_move_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_value_move_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_free", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_free(ecs_world_t* world, ecs_entity_t type, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_new")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_value_new(ecs_world_t* world, ecs_entity_t type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_init", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_init(ecs_world_t* world, ecs_entity_t type, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_value_new_w_type_info")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_value_new_w_type_info(ecs_world_t* world, ecs_type_info_t* ti); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_init_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_init_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_declare")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_expr_var_t* ecs_vars_declare(ecs_vars_t* vars, CString name, ecs_entity_t type); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_declare_w_value")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_expr_var_t* ecs_vars_declare_w_value(ecs_vars_t* vars, CString name, ecs_value_t* value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_ctor(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vars_fini(ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_ctor_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vars_init(ecs_world_t* world, ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_lookup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_expr_var_t* ecs_vars_lookup(ecs_vars_t* vars, CString name); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_new", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_value_new(ecs_world_t* world, ecs_entity_t type); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_pop")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_vars_pop(ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_new_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_value_new_w_type_info(ecs_world_t* world, ecs_type_info_t* ti); + [LibraryImport(LibraryName, EntryPoint = "ecs_vars_push")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vars_push(ecs_vars_t* vars); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_declare", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_declare(ecs_vars_t* vars, CString name, ecs_entity_t type); + [LibraryImport(LibraryName, EntryPoint = "ecs_vasprintf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_vasprintf(CString fmt, void* args); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_declare_w_value", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_declare_w_value(ecs_vars_t* vars, CString name, ecs_value_t* value); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_append")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_vec_append(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_fini(ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_clear")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_clear(ecs_vec_t* vec); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_init(ecs_world_t* world, ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_vec_t ecs_vec_copy(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_lookup", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_lookup(ecs_vars_t* vars, CString name); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_vec_count(ecs_vec_t* vec); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vars_pop(ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_fini(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_push(ecs_vars_t* vars); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_first")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_vec_first(ecs_vec_t* vec); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vasprintf", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_vasprintf(CString fmt, void* args); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_vec_get(ecs_vec_t* vec, ecs_size_t size, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_append", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_append(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_grow")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_vec_grow(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_clear(ecs_vec_t* vec); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_vec_t* ecs_vec_init(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t ecs_vec_copy(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_init_if")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_init_if(ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vec_count(ecs_vec_t* vec); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* ecs_vec_last(ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_fini(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_reclaim")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_reclaim(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_first", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_first(ecs_vec_t* vec); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_remove")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_remove(ecs_vec_t* vec, ecs_size_t size, int elem); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_get(ecs_vec_t* vec, ecs_size_t size, int index); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_remove_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_remove_last(ecs_vec_t* vec); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_grow", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_grow(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_reset")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_vec_t* ecs_vec_reset(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t* ecs_vec_init(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_set_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_set_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_init_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_init_if(ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_set_min_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_set_min_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_last(ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_set_min_count_zeromem")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_set_min_count_zeromem(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_reclaim", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_reclaim(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_set_min_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_set_min_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_remove(ecs_vec_t* vec, ecs_size_t size, int elem); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_set_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_vec_set_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_remove_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_remove_last(ecs_vec_t* vec); + [LibraryImport(LibraryName, EntryPoint = "ecs_vec_size")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_vec_size(ecs_vec_t* vec); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_reset", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t* ecs_vec_reset(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "ecs_vector_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_worker_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_worker_next")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool ecs_worker_next(ecs_iter_t* it); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count_zeromem", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_count_zeromem(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_from_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_world_from_json(ecs_world_t* world, CString json, ecs_from_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_copy_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_size", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vec_size(ecs_vec_t* vec); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_log")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vector_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_reduce")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_worker_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_reduce_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_worker_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_worker_next(ecs_iter_t* it); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_stats_repeat_last")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_world_stats_repeat_last(ecs_world_stats_t* stats); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_world_from_json(ecs_world_t* world, CString json, ecs_from_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_to_json")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString ecs_world_to_json(ecs_world_t* world, ecs_world_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "ecs_world_to_json_buf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int ecs_world_to_json_buf(ecs_world_t* world, ecs_strbuf_t* buf_out, ecs_world_to_json_desc_t* desc); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_write_begin")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_log", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "ecs_write_end")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void ecs_write_end(ecs_record_t* @record); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); + [LibraryImport(LibraryName, EntryPoint = "flecs_allocator_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_allocator_fini(ecs_allocator_t* a); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); + [LibraryImport(LibraryName, EntryPoint = "flecs_allocator_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_block_allocator_t* flecs_allocator_get(ecs_allocator_t* a, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_repeat_last(ecs_world_stats_t* stats); + [LibraryImport(LibraryName, EntryPoint = "flecs_allocator_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_allocator_init(ecs_allocator_t* a); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_world_to_json(ecs_world_t* world, ecs_world_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "flecs_balloc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_balloc(ecs_block_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_world_to_json_buf(ecs_world_t* world, ecs_strbuf_t* buf_out, ecs_world_to_json_desc_t* desc); + [LibraryImport(LibraryName, EntryPoint = "flecs_ballocator_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_ballocator_fini(ecs_block_allocator_t* ba); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_write_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); + [LibraryImport(LibraryName, EntryPoint = "flecs_ballocator_free")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_ballocator_free(ecs_block_allocator_t* ba); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_write_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_write_end(ecs_record_t* @record); + [LibraryImport(LibraryName, EntryPoint = "flecs_ballocator_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_ballocator_init(ecs_block_allocator_t* ba, ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_allocator_fini(ecs_allocator_t* a); + [LibraryImport(LibraryName, EntryPoint = "flecs_ballocator_new")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_block_allocator_t* flecs_ballocator_new(ecs_size_t size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_get", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_block_allocator_t* flecs_allocator_get(ecs_allocator_t* a, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "flecs_bcalloc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_bcalloc(ecs_block_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_allocator_init(ecs_allocator_t* a); + [LibraryImport(LibraryName, EntryPoint = "flecs_bdup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_bdup(ecs_block_allocator_t* ba, void* memory); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_balloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_balloc(ecs_block_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "flecs_bfree")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_bfree(ecs_block_allocator_t* allocator, void* memory); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_fini(ecs_block_allocator_t* ba); + [LibraryImport(LibraryName, EntryPoint = "flecs_brealloc")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_brealloc(ecs_block_allocator_t* dst, ecs_block_allocator_t* src, void* memory); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_free(ecs_block_allocator_t* ba); + [LibraryImport(LibraryName, EntryPoint = "flecs_dup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_dup(ecs_allocator_t* a, ecs_size_t size, void* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_init(ecs_block_allocator_t* ba, ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_copy")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_copy(ecs_hashmap_t* dst, ecs_hashmap_t* src); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_new", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_block_allocator_t* flecs_ballocator_new(ecs_size_t size); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_ensure_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial flecs_hashmap_result_t flecs_hashmap_ensure_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bcalloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_bcalloc(ecs_block_allocator_t* allocator); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_fini(ecs_hashmap_t* map); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bdup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_bdup(ecs_block_allocator_t* ba, void* memory); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_get_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_hashmap_get_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bfree", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_bfree(ecs_block_allocator_t* allocator, void* memory); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_get_bucket")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_brealloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_brealloc(ecs_block_allocator_t* dst, ecs_block_allocator_t* src, void* memory); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_init_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_init_(ecs_hashmap_t* hm, ecs_size_t key_size, ecs_size_t value_size, ecs_hash_value_action_t hash, ecs_compare_action_t compare, ecs_allocator_t* allocator); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_dup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_dup(ecs_allocator_t* a, ecs_size_t size, void* src); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_iter")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_copy(ecs_hashmap_t* dst, ecs_hashmap_t* src); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_next_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_hashmap_next_(flecs_hashmap_iter_t* it, ecs_size_t key_size, void* key_out, ecs_size_t value_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_fini(ecs_hashmap_t* map); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_remove_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_remove_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_get_bucket", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_remove_w_hash_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_remove_w_hash_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, ulong hash); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); + [LibraryImport(LibraryName, EntryPoint = "flecs_hashmap_set_")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hashmap_set_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, void* value); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hm_bucket_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); + [LibraryImport(LibraryName, EntryPoint = "flecs_hm_bucket_remove")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_add")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_clear(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_clear")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_sparse_clear(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_sparse_count(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int flecs_sparse_count(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_ensure(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_ensure")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_ensure(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure_fast", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_ensure_fast(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_ensure_fast")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_ensure_fast(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_fini(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_fini")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_sparse_fini(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_get")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_any", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get_any(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_get_any")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_get_any(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_get_dense")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ids", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong* flecs_sparse_ids(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_ids")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong* flecs_sparse_ids(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_init(ecs_sparse_t* sparse, ecs_allocator_t* allocator, ecs_block_allocator_t* page_allocator, ecs_size_t elem_size); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_init")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_sparse_init(ecs_sparse_t* sparse, ecs_allocator_t* allocator, ecs_block_allocator_t* page_allocator, ecs_size_t elem_size); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_is_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_is_alive")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_last_id(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_last_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong flecs_sparse_last_id(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_new_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_new_id(ecs_sparse_t* sparse); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_new_id")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ulong flecs_sparse_new_id(ecs_sparse_t* sparse); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_remove(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_remove")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_sparse_remove(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_set_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_set_generation")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_try", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_try(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [LibraryImport(LibraryName, EntryPoint = "flecs_sparse_try")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void* flecs_sparse_try(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_strdup", CallingConvention = CallingConvention.Cdecl)] - public static extern CString flecs_strdup(ecs_allocator_t* a, CString str); + [LibraryImport(LibraryName, EntryPoint = "flecs_strdup")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString flecs_strdup(ecs_allocator_t* a, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_strfree", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_strfree(ecs_allocator_t* a, CString str); + [LibraryImport(LibraryName, EntryPoint = "flecs_strfree")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial void flecs_strfree(ecs_allocator_t* a, CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_table_observed_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_table_observed_count(ecs_table_t* table); + [LibraryImport(LibraryName, EntryPoint = "flecs_table_observed_count")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial int flecs_table_observed_count(ecs_table_t* table); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_to_snake_case", CallingConvention = CallingConvention.Cdecl)] - public static extern CString flecs_to_snake_case(CString str); + [LibraryImport(LibraryName, EntryPoint = "flecs_to_snake_case")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial CString flecs_to_snake_case(CString str); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_OVERRIDE", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_OVERRIDE(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_ECS_OVERRIDE")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t pinvoke_ECS_OVERRIDE(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_PAIR", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_PAIR(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_ECS_PAIR")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_id_t pinvoke_ECS_PAIR(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsChildOf", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsChildOf(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsChildOf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsChildOf(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsDependsOn", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsDependsOn(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsDependsOn")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsDependsOn(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsIsA", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsIsA(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsIsA")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsIsA(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnLoad", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnLoad(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsOnLoad")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsOnLoad(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnStore", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnStore(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsOnStore")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsOnStore(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnUpdate(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsOnUpdate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsOnUpdate(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnValidate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnValidate(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsOnValidate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsOnValidate(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPhase", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPhase(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPhase")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPhase(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostFrame", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostFrame(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPostFrame")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPostFrame(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostLoad", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostLoad(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPostLoad")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPostLoad(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostUpdate(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPostUpdate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPostUpdate(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreFrame", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreFrame(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPreFrame")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPreFrame(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreStore", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreStore(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPreStore")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPreStore(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreUpdate(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPreUpdate")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPreUpdate(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPrefab", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPrefab(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsPrefab")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsPrefab(); [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsSlotOf", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsSlotOf(); + [LibraryImport(LibraryName, EntryPoint = "pinvoke_EcsSlotOf")] + [UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })] + public static partial ecs_entity_t pinvoke_EcsSlotOf(); #endregion @@ -8157,9 +8801,6 @@ public struct ecs_xtor_t [CNode(Kind = "MacroObject")] public static string ECS_BOLD = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_CLANG_VERSION = 13; - [CNode(Kind = "MacroObject")] public const int ECS_COLUMN_INDEX_OUT_OF_RANGE = 41; @@ -8733,6 +9374,9 @@ public struct ecs_xtor_t [CNode(Kind = "MacroObject")] public const int FLECS_HI_ID_RECORD_ID = 1024; + [CNode(Kind = "MacroObject")] + public const int FLECS_ID0ID_ = 0; + [CNode(Kind = "MacroObject")] public const int FLECS_ID_DESC_MAX = 32; @@ -8748,18 +9392,6 @@ public struct ecs_xtor_t [CNode(Kind = "MacroObject")] public const int FLECS_TERM_DESC_MAX = 16; - [CNode(Kind = "MacroObject")] - public const int FLECS__E0 = 0; - - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_ENV_GNU = 0; - - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_ENV_MSVC = 0; - - [CNode(Kind = "MacroObject")] - public static string PINVOKE_TARGET_NAME = "aarch64-apple-darwin"; - [CNode(Kind = "MacroObject")] public const int PINVOKE_TARGET_OS_ANDROID = 0; @@ -8769,12 +9401,6 @@ public struct ecs_xtor_t [CNode(Kind = "MacroObject")] public const int PINVOKE_TARGET_OS_FREEBSD = 0; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_LINUX = 0; - - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_WINDOWS = 0; - [CNode(Kind = "MacroObject")] public const int ecs_filter_t_magic = 1701016422; @@ -8822,4 +9448,3 @@ public struct ecs_xtor_t #endregion } - diff --git a/src/cs/production/Flecs.Unity/Generated/AssemblyAttributes.gen.cs b/src/cs/production/Flecs.Unity/Generated/AssemblyAttributes.gen.cs index 3578f15..755ac66 100644 --- a/src/cs/production/Flecs.Unity/Generated/AssemblyAttributes.gen.cs +++ b/src/cs/production/Flecs.Unity/Generated/AssemblyAttributes.gen.cs @@ -1,7 +1,7 @@ // To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code. // -// This code was generated by the following tool on 2023-07-11 21:52:34 GMT-04:00: -// https://github.com/bottlenoselabs/c2cs (v6.0.7.0) +// This code was generated by the following tool on 2023-07-23 13:42:22 GMT+00:00: +// https://github.com/bottlenoselabs/c2cs (v6.1.2.0) // // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // @@ -11,7 +11,7 @@ #nullable enable #pragma warning disable CS1591 #pragma warning disable CS8981 -global using bottlenoselabs.C2CS.Runtime; +using bottlenoselabs.C2CS.Runtime; using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/cs/production/Flecs.Unity/Generated/flecs.gen.cs b/src/cs/production/Flecs.Unity/Generated/flecs.gen.cs index 44a4fa2..e0ef4ff 100644 --- a/src/cs/production/Flecs.Unity/Generated/flecs.gen.cs +++ b/src/cs/production/Flecs.Unity/Generated/flecs.gen.cs @@ -1,7 +1,7 @@ // -// This code was generated by the following tool on 2023-07-11 21:52:34 GMT-04:00: -// https://github.com/bottlenoselabs/c2cs (v6.0.7.0) +// This code was generated by the following tool on 2023-07-23 13:42:22 GMT+00:00: +// https://github.com/bottlenoselabs/c2cs (v6.1.2.0) // // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // @@ -11,7 +11,7 @@ #nullable enable #pragma warning disable CS1591 #pragma warning disable CS8981 -global using bottlenoselabs.C2CS.Runtime; +using bottlenoselabs.C2CS.Runtime; using System; using System.Collections.Generic; using System.Globalization; @@ -19,9239 +19,9223 @@ using System.Runtime.CompilerServices; #endregion -namespace flecs_hub; - -public static unsafe partial class flecs +namespace flecs_hub { - private const string LibraryName = "flecs"; - - #region API - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsAlertsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsAlertsImport(ecs_world_t* world); + public static unsafe partial class flecs + { + private const string LibraryName = "flecs"; - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsCoreDocImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsCoreDocImport(ecs_world_t* world); + #region API - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsDocImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsDocImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsAlertsImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsAlertsImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMetaImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMetaImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsCoreDocImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsCoreDocImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMetricsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMetricsImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsDocImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsDocImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsMonitorImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMonitorImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsMetaImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsMetaImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsPipelineImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsPipelineImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsMetricsImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsMetricsImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsRestImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsRestImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsMonitorImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsMonitorImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsScriptImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsScriptImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsPipelineImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsPipelineImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsSystemImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsSystemImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsRestImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsRestImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsTimerImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsTimerImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsScriptImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsScriptImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "FlecsUnitsImport", CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsUnitsImport(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsSystemImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsSystemImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_abort", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_abort(int error_code, CString file, int line, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsTimerImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsTimerImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_assert", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool _ecs_assert(CBool condition, int error_code, CString condition_str, CString file, int line, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "FlecsUnitsImport", CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsUnitsImport(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_deprecated", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_deprecated(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_abort_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_abort_(int error_code, CString file, int line, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log(int level, CString file, int line, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_add_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log_pop(int level); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_add_path_w_sep", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_log_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_log_push(int level); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_alert_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_alert_init(ecs_world_t* world, ecs_alert_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_logv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_logv(int level, CString file, int line, CString fmt, void* args); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_app_run", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_map_get_deref", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _ecs_map_get_deref(ecs_map_t* map, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_app_run_frame", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_parser_error", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_parser_error(CString name, CString expr, long column, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_app_set_frame_action", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_set_frame_action(ecs_app_frame_action_t callback); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_parser_errorv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_parser_errorv(CString name, CString expr, long column, CString fmt, void* args); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_app_set_run_action", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_set_run_action(ecs_app_run_action_t callback); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_poly_is", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool _ecs_poly_is(ecs_poly_t* @object, int type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_array_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_print", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_print(int level, CString file, int line, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_array_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_ecs_printv", CallingConvention = CallingConvention.Cdecl)] - public static extern void _ecs_printv(int level, CString file, int line, CString fmt, void* args); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_array_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern flecs_hashmap_result_t _flecs_hashmap_ensure(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_asprintf", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_asprintf(CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _flecs_hashmap_get(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_assert_", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_assert_(CBool condition, int error_code, CString condition_str, CString file, int line, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_init(ecs_hashmap_t* hm, ecs_size_t key_size, ecs_size_t value_size, ecs_hash_value_action_t hash, ecs_compare_action_t compare, ecs_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_astresc", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_astresc(CChar delimiter, CString @in); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_next", CallingConvention = CallingConvention.Cdecl)] - public static extern void* _flecs_hashmap_next(flecs_hashmap_iter_t* it, ecs_size_t key_size, void* key_out, ecs_size_t value_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_async_stage_free", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_async_stage_free(ecs_world_t* stage); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_remove(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_async_stage_new", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_async_stage_new(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_remove_w_hash", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_remove_w_hash(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, ulong hash); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_atfini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_atfini(ecs_world_t* world, ecs_fini_action_t action, void* ctx); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "_flecs_hashmap_set", CallingConvention = CallingConvention.Cdecl)] - public static extern void _flecs_hashmap_set(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, void* value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_bitmask_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_add_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_bulk_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_add_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_bulk_new_w_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_alert_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_alert_init(ecs_world_t* world, ecs_alert_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_children", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_children(ecs_world_t* world, ecs_entity_t parent); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_run", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_children_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_children_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_run_frame", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_chresc", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_chresc(CString @out, CChar @in, CChar delimiter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_set_frame_action", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_frame_action(ecs_app_frame_action_t callback); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_chrparse", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_chrparse(CString @in, CString @out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_app_set_run_action", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_run_action(ecs_app_run_action_t callback); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_clear", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_clear(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_clone", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_commit", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_array_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_component_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_asprintf", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_asprintf(CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_count_id", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_count_id(ecs_world_t* world, ecs_id_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_astresc", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_astresc(CChar delimiter, CString @in); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name, CBool* existing_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_async_stage_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_async_stage_free(ecs_world_t* stage); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register_explicit", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component, CBool* existing_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_async_stage_new", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_async_stage_new(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_validate", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ulong size, ulong alignment, CBool implicit_name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_atfini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_atfini(ecs_world_t* world, ecs_fini_action_t action, void* ctx); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_constant_register", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bitmask_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_cpp_enum_init(ecs_world_t* world, ecs_entity_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bulk_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_constant_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len, ulong back_len); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_bulk_new_w_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_symbol_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_children", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_children(ecs_world_t* world, ecs_entity_t parent); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_type_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len, ulong front_len); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_children_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_children_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_last_member", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_member_t* ecs_cpp_last_member(ecs_world_t* world, ecs_entity_t type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_chresc", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chresc(CString @out, CChar @in, CChar delimiter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_get", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_cpp_reset_count_get(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_chrparse", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chrparse(CString @in, CString @out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_inc", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_cpp_reset_count_inc(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_clear(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_cpp_trim_module", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_clone", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_default_ctor", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_commit", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_defer_begin", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_defer_begin(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_component_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_defer_end", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_defer_end(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_count_id", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_count_id(ecs_world_t* world, ecs_id_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_defer_resume", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_defer_resume(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name, CBool* existing_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_defer_suspend", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_defer_suspend(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_register_explicit", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component, CBool* existing_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_delete", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_delete(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_component_validate", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ulong size, ulong alignment, CBool implicit_name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_delete_empty_tables", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_constant_register", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_delete_with", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_delete_with(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_enum_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_cpp_enum_init(ecs_world_t* world, ecs_entity_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_deprecated_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_deprecated_(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_constant_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len, ulong back_len); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_dim", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_dim(ecs_world_t* world, int entity_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_symbol_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_get_brief", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_get_type_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len, ulong front_len); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_get_color", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_last_member", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_member_t* ecs_cpp_last_member(ecs_world_t* world, ecs_entity_t type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_get_detail", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_get", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_get(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_get_link", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_doc_get_link(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_reset_count_inc", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_inc(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_get_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_cpp_trim_module", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_set_brief", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_default_ctor", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_set_color", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_begin(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_set_detail", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_end", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_end(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_set_link", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_resume", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_resume(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_doc_set_name", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_defer_suspend", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_suspend(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_emit", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_emplace_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete_empty_tables", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_enable", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_delete_with", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete_with(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_enable_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_enable_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_dim", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_dim(ecs_world_t* world, int entity_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_enable_range_check", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_brief", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ensure", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_color", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ensure_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_detail", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_entity_from_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_entity_from_json(ecs_world_t* world, ecs_entity_t entity, CString json, ecs_from_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_link", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_link(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_entity_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_get_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_entity_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_entity_str(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_brief", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_color", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_detail", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_enum_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_link", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_exists", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_doc_set_name", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_column_index", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_field_column_index(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_emit", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t ecs_field_id(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_emplace_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_is_readonly", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_field_is_readonly(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_is_self", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_field_is_self(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_is_set", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_field_is_set(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enable_range_check", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_is_writeonly", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_field_is_writeonly(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_size", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong ecs_field_size(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ensure_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_src", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_field_src(ecs_iter_t* it, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_from_json(ecs_world_t* world, ecs_entity_t entity, CString json, ecs_from_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_field_w_size", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_field_w_size(ecs_iter_t* it, ulong size, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_chain_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_str(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_finalize", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_entity_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_find_this_var", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_filter_find_this_var(ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_enum_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_filter_fini(ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_exists", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_column_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_field_column_index(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_field_id(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_move", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_readonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_readonly(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_filter_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_self", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_self(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_next_instanced", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_filter_next_instanced(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_set", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_set(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_pivot_term", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_is_writeonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_field_is_writeonly(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_filter_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_size", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_field_size(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_fini(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_src", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_field_src(ecs_iter_t* it, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_flatten", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_flatten(ecs_world_t* world, ecs_id_t pair, ecs_flatten_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_field_w_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_field_w_size(ecs_iter_t* it, ulong size, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_frame_begin", CallingConvention = CallingConvention.Cdecl)] + public static extern float ecs_frame_begin(ecs_world_t* world, float delta_time); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_chain_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_frame_end", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_frame_end(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_alert", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_alert(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_finalize", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_alert_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_get_alert_count(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_find_this_var", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_find_this_var(ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_alive", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_fini(ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_context", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_context(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_depth", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_get_depth(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_entity", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_entity(ecs_poly_t* poly); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_move", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_hooks_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next_instanced(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_interval", CallingConvention = CallingConvention.Cdecl)] + public static extern float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_pivot_term", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_lookup_path", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_filter_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_max_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_max_id(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_fini(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_mut_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_flatten", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_flatten(ecs_world_t* world, ecs_id_t pair, ecs_flatten_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_frame_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_frame_begin(ecs_world_t* world, float delta_time); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_observer_binding_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_frame_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_frame_end(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_observer_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alert", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_alert(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_parent", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_parent(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alert_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_alert_count(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t alert); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_context", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_context(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_pipeline", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_pipeline(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_depth", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_depth(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_scope", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_scope(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_entity(ecs_poly_t* poly); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_stage", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_hooks_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_stage_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_get_stage_count(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_stage_id", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_get_stage_id(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_interval", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_symbol", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_lookup_path", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_system_binding_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_max_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_max_id(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_system_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_mut_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_table", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_target", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_target(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_observer_binding_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_target_for_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_target_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_observer_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_timeout", CallingConvention = CallingConvention.Cdecl)] + public static extern float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_parent", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_parent(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_type", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_path_w_sep_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_typeid", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_pipeline(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_with", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t ecs_get_with(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_scope", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_scope(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_world", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_get_world(ecs_poly_t* poly); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_get_world_info", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_count(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_has_id", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_stage_id", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_id(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_get_header", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_http_get_header(ecs_http_request_t* req, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_get_param", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_http_get_param(ecs_http_request_t* req, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_system_binding_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_http_server_ctx(ecs_http_server_t* srv); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_system_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_dequeue", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_http_server_fini(ecs_http_server_t* server); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_target", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_target(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_http_request", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_http_server_http_request(ecs_http_server_t* srv, CString req, ecs_size_t len, ecs_http_reply_t* reply_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_target_for_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_target_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_timeout", CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_request", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_http_server_request(ecs_http_server_t* srv, CString method, CString req, ecs_http_reply_t* reply_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_start", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_http_server_start(ecs_http_server_t* server); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_http_server_stop", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_http_server_stop(ecs_http_server_t* server); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_typeid", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_flag_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_id_flag_str(ecs_id_t id_flags); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_with", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_get_with(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_get_flags", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_world", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_world(ecs_poly_t* poly); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_in_use", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_get_world_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_is_pair", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_is_pair(ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_is_tag", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_get_header", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_header(ecs_http_request_t* req, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_is_union", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_is_union(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_get_param", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_param(ecs_http_request_t* req, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_is_valid", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_http_server_ctx(ecs_http_server_t* srv); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_is_wildcard", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_is_wildcard(ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_dequeue", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_match", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_fini(ecs_http_server_t* server); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_id_str(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_http_request", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_http_request(ecs_http_server_t* srv, CString req, ecs_size_t len, ecs_http_reply_t* reply_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_id_str_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_identifier_is_0", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_identifier_is_0(CString id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_request", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_request(ecs_http_server_t* srv, CString method, CString req, ecs_http_reply_t* reply_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_import", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_start", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_start(ecs_http_server_t* server); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_import_c", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_http_server_stop", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_stop(ecs_http_server_t* server); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_import_from_library", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_flag_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_id_flag_str(ecs_id_t id_flags); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_init(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_get_flags", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_init_w_args", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_init_w_args(int argc, CString* argv); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_in_use", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_interpolate_string", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_interpolate_string(ecs_world_t* world, CString str, ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_pair", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_pair(ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_is_alive", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_tag", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_is_deferred", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_is_deferred(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_union", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_union(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_is_enabled_id", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_is_enabled_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_valid", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_is_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_is_fini(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_is_wildcard", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_wildcard(ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_is_valid", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_match", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_iter_count(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_id_str(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_fini(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_id_str_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_first", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_iter_first(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_identifier_is_0", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_identifier_is_0(CString id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_range", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import_c", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_table", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_import_from_library", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_is_true", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_iter_is_true(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_iter_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_init_w_args", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init_w_args(int argc, CString* argv); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_poly", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_interpolate_string", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_interpolate_string(ecs_world_t* world, CString str, ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_range", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_deferred", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_deferred(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_table", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_enabled_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_enabled_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_iter_str(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_fini(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_is_valid", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_count(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_to_vars", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_iter_to_vars(ecs_iter_t* it, ecs_vars_t* vars, int offset); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_fini(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_iter_var_is_constrained", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_first", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_iter_first(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_log_(int level, CString file, int line, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_enable_colors", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_log_enable_colors(CBool enabled); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_range", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timedelta", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_log_enable_timedelta(CBool enabled); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_get_var_as_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timestamp", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_log_enable_timestamp(CBool enabled); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_is_true", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_is_true(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_get_level", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_log_get_level(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_last_error", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_log_last_error(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_poly", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_pop_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_log_pop_(int level); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_push_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_log_push_(int level); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_range", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_log_set_level", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_log_set_level(int level); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_set_var_as_table", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_logv_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_logv_(int level, CString file, int line, CString fmt, void* args); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_str(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_lookup", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_lookup_child", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_lookup_path_w_sep", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_to_vars", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_to_vars(ecs_iter_t* it, ecs_vars_t* vars, int offset); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_lookup_symbol", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path, CBool recursive); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_iter_var_is_constrained", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_make_pair", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_colors", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_colors(CBool enabled); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_clear", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_clear(ecs_map_t* map); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timedelta", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timedelta(CBool enabled); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_copy(ecs_map_t* dst, ecs_map_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_enable_timestamp", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timestamp(CBool enabled); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_ensure", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_map_val_t* ecs_map_ensure(ecs_map_t* map, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_get_level", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_get_level(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_ensure_alloc", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_map_ensure_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_last_error", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_last_error(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_fini(ecs_map_t* map); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_log_set_level", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_set_level(int level); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_get", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_map_val_t* ecs_map_get(ecs_map_t* map, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_get_deref_", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_map_get_deref_(ecs_map_t* map, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_child", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_init(ecs_map_t* map, ecs_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_init_if", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_init_if(ecs_map_t* map, ecs_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_lookup_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_init_w_params(ecs_map_t* map, ecs_map_params_t* @params); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_make_pair", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params_if", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_init_w_params_if(ecs_map_t* result, ecs_map_params_t* @params); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_clear(ecs_map_t* map); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_insert", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_insert(ecs_map_t* map, ecs_map_key_t key, ecs_map_val_t value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_copy(ecs_map_t* dst, ecs_map_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_insert_alloc", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_map_insert_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t* ecs_map_ensure(ecs_map_t* map, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_map_iter_t ecs_map_iter(ecs_map_t* map); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_ensure_alloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_map_ensure_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_map_next(ecs_map_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_fini(ecs_map_t* map); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_params_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_params_fini(ecs_map_params_t* @params); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_get", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t* ecs_map_get(ecs_map_t* map, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_params_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_params_init(ecs_map_params_t* @params, ecs_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init(ecs_map_t* map, ecs_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_remove", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_map_val_t ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_if(ecs_map_t* map, ecs_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_map_remove_free", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_remove_free(ecs_map_t* map, ecs_map_key_t key); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_w_params(ecs_map_t* map, ecs_map_params_t* @params); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_measure_frame_time", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_measure_frame_time(ecs_world_t* world, CBool enable); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_init_w_params_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_init_w_params_if(ecs_map_t* result, ecs_map_params_t* @params); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_measure_system_time", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_measure_system_time(ecs_world_t* world, CBool enable); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_insert", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_insert(ecs_map_t* map, ecs_map_key_t key, ecs_map_val_t value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_merge", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_merge(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_insert_alloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_map_insert_alloc(ecs_map_t* map, ecs_size_t elem_size, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_cursor", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_iter_t ecs_map_iter(ecs_map_t* map); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_dotmember", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_dotmember(ecs_meta_cursor_t* cursor, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_map_next(ecs_map_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_elem", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_params_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_params_fini(ecs_map_params_t* @params); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_from_desc", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_params_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_params_init(ecs_map_params_t* @params, ecs_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_bool", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_val_t ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_char", CallingConvention = CallingConvention.Cdecl)] + public static extern CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_map_remove_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_remove_free(ecs_map_t* map, ecs_map_key_t key); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_entity", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_measure_frame_time", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_frame_time(ecs_world_t* world, CBool enable); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_float", CallingConvention = CallingConvention.Cdecl)] + public static extern double ecs_meta_get_float(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_measure_system_time", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_system_time(ecs_world_t* world, CBool enable); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_int", CallingConvention = CallingConvention.Cdecl)] + public static extern long ecs_meta_get_int(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_merge", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_merge(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_member", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_cursor", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_ptr", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_dotmember", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_dotmember(ecs_meta_cursor_t* cursor, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_string", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_elem", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_type", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_from_desc", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_uint", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_bool", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_get_unit", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_char", CallingConvention = CallingConvention.Cdecl)] - public static extern CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_is_collection", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_member", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_float", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_meta_get_float(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_next", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_next(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_int", CallingConvention = CallingConvention.Cdecl)] - public static extern long ecs_meta_get_int(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_pop", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_pop(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_member", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_ptr_to_float", CallingConvention = CallingConvention.Cdecl)] + public static extern double ecs_meta_ptr_to_float(ecs_primitive_kind_t type_kind, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_ptr", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_push", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_push(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_string", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_bool", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_char", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_uint", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_entity", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_get_unit", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_float", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_is_collection", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_int", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_member", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_null", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_null(ecs_meta_cursor_t* cursor); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_next", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_next(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_pop(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string_literal", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_ptr_to_float", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_meta_ptr_to_float(ecs_primitive_kind_t type_kind, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_uint", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_push", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_push(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_meta_set_value", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_value(ecs_meta_cursor_t* cursor, ecs_value_t* value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_bool", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_metric_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_copy(ecs_metric_t* m, int dst, int src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_char", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_metric_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_metric_init(ecs_world_t* world, ecs_metric_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_float", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_int", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_mini", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_mini(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_null", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_null(ecs_meta_cursor_t* cursor); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_modified_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_module_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_module_init(ecs_world_t* world, CString c_name, ecs_component_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_string_literal", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_module_path_from_c", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_module_path_from_c(CString c_name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_uint", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_new_from_path_w_sep", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_meta_set_value", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_value(ecs_meta_cursor_t* cursor, ecs_value_t* value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_new_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_new_id(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_copy(ecs_metric_t* m, int dst, int src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_new_low_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_new_low_id(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_metric_init(ecs_world_t* world, ecs_metric_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_new_w_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_new_w_table", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_new_w_table(ecs_world_t* world, ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_metric_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_observer_default_run_action", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_observer_default_run_action(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_mini", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_mini(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_observer_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_modified_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_opaque_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_opaque_init(ecs_world_t* world, ecs_opaque_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_module_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_module_init(ecs_world_t* world, CString c_name, ecs_component_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_dbg", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_dbg(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_module_path_from_c", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_module_path_from_c(CString c_name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_err", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_err(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_from_path_w_sep", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_fatal", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_fatal(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_id(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_fini(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_low_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_low_id(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_get_api", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_os_api_t ecs_os_get_api(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_w_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_dl", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_dl(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_new_w_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_w_table(ecs_world_t* world, ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_heap", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_heap(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_observer_default_run_action", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_observer_default_run_action(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_logging", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_logging(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_observer_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_modules", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_modules(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_opaque_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_opaque_init(ecs_world_t* world, ecs_opaque_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_task_support", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_task_support(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_dbg", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_dbg(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_threading", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_threading(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_err", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_err(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_has_time", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_time(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_fatal", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fatal(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_init(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fini(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_memdup", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_os_memdup(void* src, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_get_api", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_os_api_t ecs_os_get_api(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_set_api", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_set_api(ecs_os_api_t* os_api); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_dl", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_dl(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_set_api_defaults", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_set_api_defaults(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_heap", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_heap(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_strerror", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_os_strerror(int err); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_logging", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_logging(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_strset", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_strset(CString* str, CString value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_modules", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_modules(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_trace", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_trace(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_task_support", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_task_support(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_os_warn", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_warn(CString file, int line, CString msg); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_threading", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_threading(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_override_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_override_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_has_time", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_time(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_owns_id", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_owns_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_init(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_page_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_memdup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_os_memdup(void* src, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_page_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_page_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_set_api", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api(ecs_os_api_t* os_api); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_digit", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_digit(CString ptr, CString token); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_set_api_defaults", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api_defaults(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_expr", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_value_t* value, ecs_parse_expr_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_strerror", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_os_strerror(int err); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_expr_token", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_strset", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_strset(CString* str, CString value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_identifier", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_identifier(CString name, CString expr, CString ptr, CString token_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_trace", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_trace(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_term", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_os_warn", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_warn(CString file, int line, CString msg); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_token", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out, CChar delim); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_override_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_override_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_ws", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_ws(CString ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_owns_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_owns_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parse_ws_eol", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_ws_eol(CString ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_page_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parser_error_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_parser_error_(CString name, CString expr, long column, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_page_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_page_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_parser_errorv_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_parser_errorv_(CString name, CString expr, long column, CString fmt, void* args); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_digit", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_digit(CString ptr, CString token); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_expr", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_value_t* value, ecs_parse_expr_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_expr_token", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_identifier", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_identifier(CString name, CString expr, CString ptr, CString token_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_get", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_term", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_token", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out, CChar delim); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_ws", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_ws(CString ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_parse_ws_eol", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_ws_eol(CString ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_file", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_str", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_poly_is_", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_poly_is_(ecs_poly_t* @object, int type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_primitive_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_primitive_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_print_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_print_(int level, CString file, int line, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_printv_", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_printv_(int level, CString file, int line, CString fmt, void* args); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_pipeline_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_progress", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_progress(ecs_world_t* world, float delta_time); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_file", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_from_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_ptr_from_json(ecs_world_t* world, ecs_entity_t type, void* ptr, CString json, ecs_from_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_plecs_from_str", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_primitive_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_primitive_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_progress", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_progress(ecs_world_t* world, float delta_time); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_from_json(ecs_world_t* world, ecs_entity_t type, void* ptr, CString json, ecs_from_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_ptr_to_str(ecs_world_t* world, ecs_entity_t type, void* data); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_ptr_to_str_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_expr_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_quantity_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_changed", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_empty_table_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_query_empty_table_count(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_str(ecs_world_t* world, ecs_entity_t type, void* data); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_entity_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_query_entity_count(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ptr_to_str_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_str_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_fini(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_quantity_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_get_filter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_changed", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_ctx", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_query_get_group_ctx(ecs_query_t* query, ulong group_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_empty_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_empty_table_count(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_info", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_query_group_info_t* ecs_query_get_group_info(ecs_query_t* query, ulong group_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_entity_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_entity_count(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_fini(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_query_next(ecs_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_ctx", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_query_get_group_ctx(ecs_query_t* query, ulong group_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_next_instanced", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_query_next_instanced(ecs_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_get_group_info", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_group_info_t* ecs_query_get_group_info(ecs_query_t* query, ulong group_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_next_table", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_query_next_table(ecs_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_orphaned", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_query_orphaned(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_populate", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_query_populate(ecs_iter_t* iter, CBool when_changed); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next(ecs_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_set_group", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_set_group(ecs_iter_t* it, ulong group_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next_instanced(ecs_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_skip", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_skip(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_next_table", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next_table(ecs_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_orphaned", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_orphaned(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_stats_get", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_populate", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_populate(ecs_iter_t* iter, CBool when_changed); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_set_group", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_set_group(ecs_iter_t* it, ulong group_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_skip", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_skip(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_query_str(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_query_table_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_query_table_count(ecs_query_t* query); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_quit", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_quit(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_read_begin", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_read_end", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_read_end(ecs_record_t* @record); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_query_str(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_readonly_begin", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_readonly_begin(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_query_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_table_count(ecs_query_t* query); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_readonly_end", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_readonly_end(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_quit", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_quit(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_find", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_read_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_get_column", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_read_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_read_end(ecs_record_t* @record); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_get_entity", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_record_get_entity(ecs_record_t* @record); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_readonly_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_readonly_begin(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_get_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_readonly_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_readonly_end(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_get_mut_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_find", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_record_has_id", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_record_has_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_column", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ref_get_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_record_get_entity(ecs_record_t* @record); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ref_init_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_ref_update", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_ref_update(ecs_world_t* world, ecs_ref_t* @ref); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_get_mut_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_remove_all", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_remove_all(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_record_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_record_has_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_remove_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_reset_clock", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_reset_clock(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_init_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rest_server_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_rest_server_fini(ecs_http_server_t* srv); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_ref_update", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ref_update(ecs_world_t* world, ecs_ref_t* @ref); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rest_server_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_http_server_t* ecs_rest_server_init(ecs_world_t* world, ecs_http_server_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_remove_all", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_all(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_find_var", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_rule_find_var(ecs_rule_t* rule, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_remove_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_rule_fini(ecs_rule_t* rule); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_reset_clock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_reset_clock(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_get_filter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rest_server_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_rest_server_fini(ecs_http_server_t* srv); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rest_server_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_http_server_t* ecs_rest_server_init(ecs_world_t* world, ecs_http_server_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_find_var", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_find_var(ecs_rule_t* rule, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_rule_fini(ecs_rule_t* rule); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_next_instanced", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_next_instanced(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_get_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_parse_vars", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_rule_parse_vars(ecs_rule_t* rule, ecs_iter_t* it, CString expr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_rule_str(ecs_rule_t* rule); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_str_w_profile", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_rule_str_w_profile(ecs_rule_t* rule, ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_var_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_rule_var_count(ecs_rule_t* rule); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_next_instanced", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next_instanced(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_var_is_entity", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_parse_vars", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_parse_vars(ecs_rule_t* rule, ecs_iter_t* it, CString expr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_rule_var_name", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_str(ecs_rule_t* rule); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_str_w_profile", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_str_w_profile(ecs_rule_t* rule, ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run_aperiodic", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_var_count(ecs_rule_t* rule); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run_pipeline", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_is_entity", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run_post_frame", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_rule_var_name", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run_w_filter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_run_worker", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_run_worker(ecs_world_t* world, ecs_entity_t system, int stage_current, int stage_count, float delta_time, void* param); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_aperiodic", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_script_clear", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_script_clear(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_script_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_script_init(ecs_world_t* world, ecs_script_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_post_frame", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_script_update", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_script_update(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance, CString str, ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_w_filter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_search", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_run_worker", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run_worker(ecs_world_t* world, ecs_entity_t system, int stage_current, int stage_count, float delta_time, void* param); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_search_offset", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_script_clear(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_search_relation", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, ecs_flags32_t flags, ecs_entity_t* subject_out, ecs_id_t* id_out, ecs_table_record_t** tr_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_script_init(ecs_world_t* world, ecs_script_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_alias", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_script_update", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_script_update(ecs_world_t* world, ecs_entity_t script, ecs_entity_t instance, CString str, ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_automerge", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_automerge(ecs_world_t* world, CBool automerge); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_context", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_context(ecs_world_t* world, void* ctx); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search_offset", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_entity_generation", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_entity_generation(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_search_relation", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, ecs_flags32_t flags, ecs_entity_t* subject_out, ecs_id_t* id_out, ecs_table_record_t** tr_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_entity_range", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_alias", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_hooks_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_automerge", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_automerge(ecs_world_t* world, CBool automerge); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_context", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_context(ecs_world_t* world, void* ctx); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_interval", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_entity_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_entity_generation(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_lookup_path", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_entity_range", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_name", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_hooks_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_name_prefix", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_os_api_impl", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_os_api_impl(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_interval", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_pipeline", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_lookup_path", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_rate", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_name", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_scope", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_name_prefix", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_stage_count", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_stage_count(ecs_world_t* world, int stages); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_os_api_impl", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_os_api_impl(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_symbol", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_pipeline", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_target_fps", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_target_fps(ecs_world_t* world, float fps); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_rate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_task_threads", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_task_threads(ecs_world_t* world, int task_threads); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_scope", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_threads", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_threads(ecs_world_t* world, int threads); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_stage_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_stage_count(ecs_world_t* world, int stages); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_tick_source", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_symbol", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_time_scale", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_time_scale(ecs_world_t* world, float scale); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_target_fps", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_target_fps(ecs_world_t* world, float fps); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_timeout", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_task_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_task_threads(ecs_world_t* world, int task_threads); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_set_with", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_threads(ecs_world_t* world, int threads); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_should_log", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_should_log(int level); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_tick_source", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_should_quit", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_should_quit(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_time_scale", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_time_scale(ecs_world_t* world, float scale); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sleepf", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_sleepf(double t); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_timeout", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_free", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_snapshot_free(ecs_snapshot_t* snapshot); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_set_with", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_should_log", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_log(int level); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_snapshot_next(ecs_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_should_quit", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_quit(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_restore", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sleepf", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_sleepf(double t); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_free(ecs_snapshot_t* snapshot); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take_w_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_snapshot_next(ecs_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_sparse_count(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_restore", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_snapshot_take_w_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_sparse_init(ecs_sparse_t* sparse, ecs_size_t elem_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong ecs_sparse_last_id(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_sparse_count(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_stage_is_async", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_stage_is_async(ecs_world_t* stage); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_stage_is_readonly", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_stage_is_readonly(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_start_timer", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_sparse_init(ecs_sparse_t* sparse, ecs_size_t elem_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_stop_timer", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_sparse_last_id(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_append", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stage_is_async", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_async(ecs_world_t* stage); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendch", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stage_is_readonly", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_readonly(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendflt", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_start_timer", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendint", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendint(ecs_strbuf_t* buffer, long v); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stop_timer", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_append", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendch", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy_const", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendflt", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstr_zerocpyn(ecs_strbuf_t* buffer, CString str, int n); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendint", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendint(ecs_strbuf_t* buffer, long v); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn_const", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstr_zerocpyn_const(ecs_strbuf_t* buffer, CString str, int n); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstrn", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_strbuf_get(ecs_strbuf_t* buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpy_const", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get_small", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpyn(ecs_strbuf_t* buffer, CString str, int n); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_append", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstr_zerocpyn_const", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpyn_const(ecs_strbuf_t* buffer, CString str, int n); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendch", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_list_appendch(ecs_strbuf_t* buffer, CChar ch); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_appendstrn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstr", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get(ecs_strbuf_t* buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstrn", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_list_appendstrn(ecs_strbuf_t* buffer, CString str, int n); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_get_small", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_next", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_strbuf_list_next(ecs_strbuf_t* buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_append", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_pop", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendch", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendch(ecs_strbuf_t* buffer, CChar ch); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_push", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstr", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_mergebuff", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_appendstrn", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_reset", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_strbuf_reset(ecs_strbuf_t* buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_next", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_next(ecs_strbuf_t* buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_vappend", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strbuf_written", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_strbuf_written(ecs_strbuf_t* buffer); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_list_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strerror", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_strerror(int error_code); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_mergebuff", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_stresc", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_reset", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_reset(ecs_strbuf_t* buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_strip_generation", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t ecs_strip_generation(ecs_entity_t e); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_vappend", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_struct_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strbuf_written", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_strbuf_written(ecs_strbuf_t* buffer); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_get_query", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strerror", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strerror(int error_code); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_stresc", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_strip_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_strip_generation(ecs_entity_t e); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_stats_get", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_struct_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_get_query", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_system_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_add_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_table_count(ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_find", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_table_find(ecs_world_t* world, ecs_id_t* ids, int id_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_column", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_table_get_column(ecs_table_t* table, int index, int offset); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_system_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_column_size", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong ecs_table_get_column_size(ecs_table_t* table, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_add_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_depth", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_table_get_depth(ecs_world_t* world, ecs_table_t* table, ecs_entity_t rel); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_count(ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_id", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_find", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_find(ecs_world_t* world, ecs_id_t* ids, int id_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_index", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_column", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_table_get_column(ecs_table_t* table, int index, int offset); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_storage_table", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_column_size", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_table_get_column_size(ecs_table_t* table, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_get_type", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_depth", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_get_depth(ecs_world_t* world, ecs_table_t* table, ecs_entity_t rel); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_has_id", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_id", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_has_module", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_table_has_module(ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_lock", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_storage_table", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_remove_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_get_type", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_has_id", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_has_module", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_table_has_module(ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_swap_rows", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_lock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_remove_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_table_unlock", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_chain_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_term_t ecs_term_copy(ecs_term_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_swap_rows", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_finalize", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_term_finalize(ecs_world_t* world, ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_term_fini(ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_table_unlock", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_id_is_set", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_term_id_is_set(ecs_term_id_t* id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_chain_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_is_initialized", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_term_is_initialized(ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_copy(ecs_term_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_finalize", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_term_finalize(ecs_world_t* world, ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_match_0", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_term_match_0(ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_term_fini(ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_match_this", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_term_match_this(ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_id_is_set", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_id_is_set(ecs_term_id_t* id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_move", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_term_t ecs_term_move(ecs_term_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_is_initialized", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_initialized(ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_term_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_term_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_match_0", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_match_0(ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_time_measure", CallingConvention = CallingConvention.Cdecl)] + public static extern double ecs_time_measure(ecs_time_t* start); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_match_this", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_match_this(ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_time_sub", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_move", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_move(ecs_term_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_time_to_double", CallingConvention = CallingConvention.Cdecl)] + public static extern double ecs_time_to_double(ecs_time_t t); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_term_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_measure", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_measure(ecs_time_t* start); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_type_str", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_sub", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_unit_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_time_to_double", CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_to_double(ecs_time_t t); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_unit_prefix_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_using_task_threads", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_using_task_threads(ecs_world_t* world); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_info_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_copy(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_type_str", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_copy_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_copy_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_unit_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_fini(ecs_world_t* world, ecs_entity_t type, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_unit_prefix_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_fini_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_fini_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_using_task_threads", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_using_task_threads(ecs_world_t* world); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_free", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_free(ecs_world_t* world, ecs_entity_t type, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_copy(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_init", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_init(ecs_world_t* world, ecs_entity_t type, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_copy_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_copy_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_init_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_init_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_fini(ecs_world_t* world, ecs_entity_t type, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_move", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_move(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_fini_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_fini_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_move_ctor(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_free", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_free(ecs_world_t* world, ecs_entity_t type, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_move_ctor_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_init", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_init(ecs_world_t* world, ecs_entity_t type, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_move_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_value_move_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_init_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_init_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* ptr); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_new", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_value_new(ecs_world_t* world, ecs_entity_t type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_value_new_w_type_info", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_value_new_w_type_info(ecs_world_t* world, ecs_type_info_t* ti); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_ctor(ecs_world_t* world, ecs_entity_t type, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_declare", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_expr_var_t* ecs_vars_declare(ecs_vars_t* vars, CString name, ecs_entity_t type); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_ctor_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_ctor_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_declare_w_value", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_expr_var_t* ecs_vars_declare_w_value(ecs_vars_t* vars, CString name, ecs_value_t* value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_move_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_value_move_w_type_info(ecs_world_t* world, ecs_type_info_t* ti, void* dst, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vars_fini(ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_new", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_value_new(ecs_world_t* world, ecs_entity_t type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vars_init(ecs_world_t* world, ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_value_new_w_type_info", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_value_new_w_type_info(ecs_world_t* world, ecs_type_info_t* ti); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_lookup", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_expr_var_t* ecs_vars_lookup(ecs_vars_t* vars, CString name); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_declare", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_declare(ecs_vars_t* vars, CString name, ecs_entity_t type); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_pop", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_vars_pop(ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_declare_w_value", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_declare_w_value(ecs_vars_t* vars, CString name, ecs_value_t* value); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vars_push", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vars_push(ecs_vars_t* vars); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_fini(ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vasprintf", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_vasprintf(CString fmt, void* args); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_init(ecs_world_t* world, ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_append", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_vec_append(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_lookup", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_expr_var_t* ecs_vars_lookup(ecs_vars_t* vars, CString name); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_clear", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_clear(ecs_vec_t* vec); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_pop", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vars_pop(ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_vec_t ecs_vec_copy(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vars_push", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vars_push(ecs_vars_t* vars); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_vec_count(ecs_vec_t* vec); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vasprintf", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_vasprintf(CString fmt, void* args); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_fini(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_append", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_append(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_first", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_vec_first(ecs_vec_t* vec); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_clear(ecs_vec_t* vec); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_get", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_vec_get(ecs_vec_t* vec, ecs_size_t size, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t ecs_vec_copy(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_grow", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_vec_grow(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vec_count(ecs_vec_t* vec); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_vec_t* ecs_vec_init(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_fini(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_init_if", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_init_if(ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_first", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_first(ecs_vec_t* vec); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_vec_last(ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_get(ecs_vec_t* vec, ecs_size_t size, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_reclaim", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_reclaim(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_grow", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_grow(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_remove", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_remove(ecs_vec_t* vec, ecs_size_t size, int elem); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t* ecs_vec_init(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_remove_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_remove_last(ecs_vec_t* vec); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_init_if", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_init_if(ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_reset", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_vec_t* ecs_vec_reset(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_vec_last(ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_set_count", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_set_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_reclaim", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_reclaim(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_set_min_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_remove(ecs_vec_t* vec, ecs_size_t size, int elem); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count_zeromem", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_set_min_count_zeromem(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_remove_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_remove_last(ecs_vec_t* vec); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_size", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_set_min_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_reset", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_vec_t* ecs_vec_reset(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_set_size", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vec_set_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vec_size", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_vec_size(ecs_vec_t* vec); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_count(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_vector_init", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_count_zeromem", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_count_zeromem(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_worker_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_min_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_min_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_worker_next", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_worker_next(ecs_iter_t* it); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_set_size", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vec_set_size(ecs_allocator_t* allocator, ecs_vec_t* vec, ecs_size_t size, int elem_count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_from_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_world_from_json(ecs_world_t* world, CString json, ecs_from_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vec_size", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vec_size(ecs_vec_t* vec); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_vector_init", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_get", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_worker_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_log", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_worker_next", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_worker_next(ecs_iter_t* it); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_from_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_world_from_json(ecs_world_t* world, CString json, ecs_from_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_copy_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_repeat_last(ecs_world_stats_t* stats); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_to_json", CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_world_to_json(ecs_world_t* world, ecs_world_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_log", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_world_to_json_buf", CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_world_to_json_buf(ecs_world_t* world, ecs_strbuf_t* buf_out, ecs_world_to_json_desc_t* desc); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_write_begin", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_reduce_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "ecs_write_end", CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_write_end(ecs_record_t* @record); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_stats_repeat_last", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_repeat_last(ecs_world_stats_t* stats); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_allocator_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_allocator_fini(ecs_allocator_t* a); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_to_json", CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_world_to_json(ecs_world_t* world, ecs_world_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_allocator_get", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_block_allocator_t* flecs_allocator_get(ecs_allocator_t* a, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_world_to_json_buf", CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_world_to_json_buf(ecs_world_t* world, ecs_strbuf_t* buf_out, ecs_world_to_json_desc_t* desc); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_allocator_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_allocator_init(ecs_allocator_t* a); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_write_begin", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_balloc", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_balloc(ecs_block_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "ecs_write_end", CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_write_end(ecs_record_t* @record); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_ballocator_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_ballocator_fini(ecs_block_allocator_t* ba); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_allocator_fini(ecs_allocator_t* a); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_ballocator_free", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_ballocator_free(ecs_block_allocator_t* ba); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_get", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_block_allocator_t* flecs_allocator_get(ecs_allocator_t* a, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_ballocator_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_ballocator_init(ecs_block_allocator_t* ba, ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_allocator_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_allocator_init(ecs_allocator_t* a); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_ballocator_new", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_block_allocator_t* flecs_ballocator_new(ecs_size_t size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_balloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_balloc(ecs_block_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_bcalloc", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_bcalloc(ecs_block_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_fini(ecs_block_allocator_t* ba); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_bdup", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_bdup(ecs_block_allocator_t* ba, void* memory); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_free", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_free(ecs_block_allocator_t* ba); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_bfree", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_bfree(ecs_block_allocator_t* allocator, void* memory); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_ballocator_init(ecs_block_allocator_t* ba, ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_brealloc", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_brealloc(ecs_block_allocator_t* dst, ecs_block_allocator_t* src, void* memory); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_ballocator_new", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_block_allocator_t* flecs_ballocator_new(ecs_size_t size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_dup", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_dup(ecs_allocator_t* a, ecs_size_t size, void* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bcalloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_bcalloc(ecs_block_allocator_t* allocator); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_copy", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_copy(ecs_hashmap_t* dst, ecs_hashmap_t* src); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bdup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_bdup(ecs_block_allocator_t* ba, void* memory); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_ensure_", CallingConvention = CallingConvention.Cdecl)] + public static extern flecs_hashmap_result_t flecs_hashmap_ensure_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_bfree", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_bfree(ecs_block_allocator_t* allocator, void* memory); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_fini(ecs_hashmap_t* map); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_brealloc", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_brealloc(ecs_block_allocator_t* dst, ecs_block_allocator_t* src, void* memory); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_get_", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_hashmap_get_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_dup", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_dup(ecs_allocator_t* a, ecs_size_t size, void* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_get_bucket", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_copy", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_copy(ecs_hashmap_t* dst, ecs_hashmap_t* src); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_init_", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_init_(ecs_hashmap_t* hm, ecs_size_t key_size, ecs_size_t value_size, ecs_hash_value_action_t hash, ecs_compare_action_t compare, ecs_allocator_t* allocator); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_fini(ecs_hashmap_t* map); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_iter", CallingConvention = CallingConvention.Cdecl)] + public static extern flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_get_bucket", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_next_", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_hashmap_next_(flecs_hashmap_iter_t* it, ecs_size_t key_size, void* key_out, ecs_size_t value_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hashmap_iter", CallingConvention = CallingConvention.Cdecl)] - public static extern flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_remove_", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_remove_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_hm_bucket_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_remove_w_hash_", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_remove_w_hash_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, ulong hash); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hashmap_set_", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_set_(ecs_hashmap_t* map, ecs_size_t key_size, void* key, ecs_size_t value_size, void* value); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_clear", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_clear(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_hm_bucket_remove", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_sparse_count(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_add", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_add(ecs_sparse_t* sparse, ecs_size_t elem_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_ensure(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_clear", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_clear(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure_fast", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_ensure_fast(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int flecs_sparse_count(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_fini", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_fini(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_ensure(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_ensure_fast", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_ensure_fast(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_any", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get_any(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_fini", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_fini(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_get", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_get(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_ids", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong* flecs_sparse_ids(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_any", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_get_any(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_init(ecs_sparse_t* sparse, ecs_allocator_t* allocator, ecs_block_allocator_t* page_allocator, ecs_size_t elem_size); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_get_dense", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_get_dense(ecs_sparse_t* sparse, ecs_size_t elem_size, int index); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_is_alive", CallingConvention = CallingConvention.Cdecl)] - public static extern CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_ids", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong* flecs_sparse_ids(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_last_id(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_init", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_init(ecs_sparse_t* sparse, ecs_allocator_t* allocator, ecs_block_allocator_t* page_allocator, ecs_size_t elem_size); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_new_id", CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_new_id(ecs_sparse_t* sparse); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_is_alive", CallingConvention = CallingConvention.Cdecl)] + public static extern CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_remove", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_remove(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_last_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong flecs_sparse_last_id(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_set_generation", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_new_id", CallingConvention = CallingConvention.Cdecl)] + public static extern ulong flecs_sparse_new_id(ecs_sparse_t* sparse); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_sparse_try", CallingConvention = CallingConvention.Cdecl)] - public static extern void* flecs_sparse_try(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_remove", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_remove(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_strdup", CallingConvention = CallingConvention.Cdecl)] - public static extern CString flecs_strdup(ecs_allocator_t* a, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_set_generation", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_strfree", CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_strfree(ecs_allocator_t* a, CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_sparse_try", CallingConvention = CallingConvention.Cdecl)] + public static extern void* flecs_sparse_try(ecs_sparse_t* sparse, ecs_size_t elem_size, ulong id); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_table_observed_count", CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_table_observed_count(ecs_table_t* table); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_strdup", CallingConvention = CallingConvention.Cdecl)] + public static extern CString flecs_strdup(ecs_allocator_t* a, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "flecs_to_snake_case", CallingConvention = CallingConvention.Cdecl)] - public static extern CString flecs_to_snake_case(CString str); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_strfree", CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_strfree(ecs_allocator_t* a, CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_OVERRIDE", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_OVERRIDE(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_table_observed_count", CallingConvention = CallingConvention.Cdecl)] + public static extern int flecs_table_observed_count(ecs_table_t* table); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_PAIR", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_PAIR(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "flecs_to_snake_case", CallingConvention = CallingConvention.Cdecl)] + public static extern CString flecs_to_snake_case(CString str); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsChildOf", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsChildOf(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_OVERRIDE", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t pinvoke_ECS_OVERRIDE(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsDependsOn", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsDependsOn(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_ECS_PAIR", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t pinvoke_ECS_PAIR(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsIsA", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsIsA(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsChildOf", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsChildOf(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnLoad", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnLoad(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsDependsOn", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsDependsOn(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnStore", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnStore(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsIsA", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsIsA(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnUpdate(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnLoad", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsOnLoad(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnValidate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnValidate(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnStore", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsOnStore(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPhase", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPhase(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnUpdate", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsOnUpdate(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostFrame", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostFrame(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsOnValidate", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsOnValidate(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostLoad", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostLoad(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPhase", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPhase(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPostUpdate(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostFrame", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPostFrame(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreFrame", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreFrame(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostLoad", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPostLoad(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreStore", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreStore(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPostUpdate", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPostUpdate(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreUpdate", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPreUpdate(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreFrame", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPreFrame(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPrefab", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPrefab(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreStore", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPreStore(); - [CNode(Kind = "Function")] - [DllImport(LibraryName, EntryPoint = "pinvoke_EcsSlotOf", CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsSlotOf(); + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPreUpdate", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPreUpdate(); - #endregion + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsPrefab", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsPrefab(); - #region Types + [CNode(Kind = "Function")] + [DllImport(LibraryName, EntryPoint = "pinvoke_EcsSlotOf", CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsSlotOf(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_CString_CString - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate CString @delegate(CString param); + #endregion - public IntPtr Pointer; + #region Types - public FnPtr_CString_CString(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_CString_CString { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate CString @delegate(CString param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_CString_EcsOsDlT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_dl_t @delegate(CString param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_CString_CString(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_CString_EcsOsDlT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_CString_EcsOsDlT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_dl_t @delegate(CString param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_entity_t param, void* param2, ecs_entity_t param3, void* param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_CString_EcsOsDlT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_entity_t param, void* param2, ecs_entity_t param3, void* param4); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate CBool @delegate(ecs_http_request_t* param, ecs_http_reply_t* param2, void* param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate CBool @delegate(ecs_http_request_t* param, ecs_http_reply_t* param2, void* param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsIterTPtr_CBool - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate CBool @delegate(ecs_iter_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsIterTPtr_CBool(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsIterTPtr_CBool { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate CBool @delegate(ecs_iter_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsIterTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_iter_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsIterTPtr_CBool(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsIterTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsIterTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_iter_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsCondT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_cond_t @delegate(); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsIterTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsCondT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsCondT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_cond_t @delegate(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsCondT_EcsOsMutexT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_os_cond_t param, ecs_os_mutex_t param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsCondT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsCondT_EcsOsMutexT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsCondT_EcsOsMutexT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_os_cond_t param, ecs_os_mutex_t param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsCondT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_os_cond_t param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsCondT_EcsOsMutexT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsCondT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsCondT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_os_cond_t param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsDlT_CString_EcsOsProcT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_proc_t @delegate(ecs_os_dl_t param, CString param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsCondT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsDlT_CString_EcsOsProcT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsDlT_CString_EcsOsProcT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_proc_t @delegate(ecs_os_dl_t param, CString param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsDlT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_os_dl_t param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsDlT_CString_EcsOsProcT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsDlT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsDlT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_os_dl_t param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsMutexT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_mutex_t @delegate(); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsDlT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsMutexT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsMutexT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_mutex_t @delegate(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsMutexT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_os_mutex_t param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsMutexT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsMutexT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsMutexT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_os_mutex_t param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_thread_t @delegate(ecs_os_thread_callback_t param, void* param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsMutexT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_thread_t @delegate(ecs_os_thread_callback_t param, void* param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsThreadIdT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_os_thread_id_t @delegate(); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsThreadIdT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsThreadIdT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_os_thread_id_t @delegate(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsOsThreadT_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(ecs_os_thread_t param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsThreadIdT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsOsThreadT_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsOsThreadT_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(ecs_os_thread_t param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsPolyTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_poly_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsOsThreadT_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsPolyTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsPolyTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_poly_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsSerializerTPtr_CString_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_serializer_t* param, CString param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsPolyTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsSerializerTPtr_CString_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsSerializerTPtr_CString_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_serializer_t* param, CString param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_serializer_t* param, ecs_entity_t param2, void* param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsSerializerTPtr_CString_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_serializer_t* param, ecs_entity_t param2, void* param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsSerializerTPtr_VoidPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_serializer_t* param, void* param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsSerializerTPtr_VoidPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsSerializerTPtr_VoidPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_serializer_t* param, void* param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsSizeT_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(ecs_size_t param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsSerializerTPtr_VoidPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsSizeT_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsSizeT_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(ecs_size_t param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsTimeTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_time_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsSizeT_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsTimeTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsTimeTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_time_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ecs_entity_t @delegate(ecs_world_t* param, CString param2, void* param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsTimeTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ecs_entity_t @delegate(ecs_world_t* param, CString param2, void* param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_world_t* param, ecs_app_desc_t* param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_world_t* param, ecs_app_desc_t* param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_world_t* param, ecs_poly_t* param2, ecs_iter_t* param3, ecs_term_t* param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_world_t* param, ecs_poly_t* param2, ecs_iter_t* param3, ecs_term_t* param4); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_world_t* param, ecs_table_t* param2, ecs_entity_t* param3, void* param4, int param5, int param6, int param7, ecs_order_by_action_t param8); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_world_t* param, ecs_table_t* param2, ecs_entity_t* param3, void* param4, int param5, int param6, int param7, ecs_order_by_action_t param8); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong @delegate(ecs_world_t* param, ecs_table_t* param2, ecs_id_t param3, void* param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ulong @delegate(ecs_world_t* param, ecs_table_t* param2, ecs_id_t param3, void* param4); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(ecs_world_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(ecs_world_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(ecs_world_t* param, ulong param2, void* param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(ecs_world_t* param, ulong param2, void* param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_world_t* param, ulong param2, void* param3, void* param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_world_t* param, ulong param2, void* param3, void* param4); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_world_t* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_world_t* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_EcsWorldTPtr_VoidPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(ecs_world_t* param, void* param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_EcsWorldTPtr_VoidPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_EcsWorldTPtr_VoidPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(ecs_world_t* param, void* param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_IntPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(int* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_EcsWorldTPtr_VoidPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_IntPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_IntPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(int* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Int_CString_Int_CString_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(int param, CString param2, int param3, CString param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_IntPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_Int_CString_Int_CString_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_Int_CString_Int_CString_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(int param, CString param2, int param3, CString param4); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Int_Int_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(int param, int param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_Int_CString_Int_CString_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_Int_Int_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_Int_Int_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(int param, int param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_LongPtr_Long - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate long @delegate(long* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_Int_Int_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_LongPtr_Long(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_LongPtr_Long { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate long @delegate(long* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ulong - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong @delegate(); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_LongPtr_Long(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_Ulong(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_Ulong { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ulong @delegate(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_Ulong(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_CBool_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, CBool param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_CBool_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_CBool_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, CBool param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_CChar_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, CChar param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_CBool_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_CChar_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_CChar_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, CChar param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_CString_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, CString param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_CChar_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_CString_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_CString_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, CString param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_CString_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(void* param, CString param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_CString_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_CString_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_CString_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(void* param, CString param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Double_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, double param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_CString_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Double_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Double_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, double param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_EcsSizeT_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(void* param, ecs_size_t param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Double_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_EcsSizeT_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_EcsSizeT_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(void* param, ecs_size_t param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, ecs_world_t* param2, ecs_entity_t param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_EcsSizeT_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, ecs_world_t* param2, ecs_entity_t param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, int param2, ecs_type_info_t* param3); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, int param2, ecs_type_info_t* param3); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Long_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, long param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Long_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Long_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, long param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Ulong - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong @delegate(void* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Long_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Ulong(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Ulong { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ulong @delegate(void* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Ulong_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, ulong param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Ulong(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Ulong_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Ulong_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, ulong param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Ulong_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(void* param, ulong param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Ulong_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Ulong_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Ulong_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(void* param, ulong param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Ulong_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* @delegate(void* param); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_Void(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_VoidPtr(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_VoidPtr { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* @delegate(void* param); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr_Int - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int @delegate(void* param, void* param2); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_VoidPtr(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_VoidPtr_Int(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_VoidPtr_Int { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int @delegate(void* param, void* param2); - [CNode(Kind = "FunctionPointer")] - [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void - { - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void @delegate(void* param, void* param2, int param3, ecs_type_info_t* param4); + public IntPtr Pointer; - public IntPtr Pointer; + public FnPtr_VoidPtr_VoidPtr_Int(@delegate d) + { + Pointer = Marshal.GetFunctionPointerForDelegate(d); + } + } - public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(@delegate d) + [CNode(Kind = "FunctionPointer")] + [StructLayout(LayoutKind.Sequential)] + public struct FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void { - Pointer = Marshal.GetFunctionPointerForDelegate(d); - } - } + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void @delegate(void* param, void* param2, int param3, ecs_type_info_t* param4); - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsAlertInstance - { - [FieldOffset(0)] // size = 8 - public CString _message; + public IntPtr Pointer; - public string message - { - get + public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(@delegate d) { - return CString.ToString(_message); + Pointer = Marshal.GetFunctionPointerForDelegate(d); } - set + } + + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsAlertInstance + { + [FieldOffset(0)] // size = 8 + public CString _message; + + public string message { - _message = CString.FromString(value); + get + { + return CString.ToString(_message); + } + set + { + _message = CString.FromString(value); + } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct EcsAlertsActive - { - [FieldOffset(0)] // size = 40 - public ecs_map_t alerts; - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct EcsArray - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct EcsAlertsActive + { + [FieldOffset(0)] // size = 40 + public ecs_map_t alerts; + } - [FieldOffset(8)] // size = 4 - public int count; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct EcsArray + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct EcsBitmask - { - [FieldOffset(0)] // size = 40 - public ecs_map_t constants; - } + [FieldOffset(8)] // size = 4 + public int count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct EcsComponent - { - [FieldOffset(0)] // size = 4 - public ecs_size_t size; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct EcsBitmask + { + [FieldOffset(0)] // size = 40 + public ecs_map_t constants; + } - [FieldOffset(4)] // size = 4 - public ecs_size_t alignment; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct EcsComponent + { + [FieldOffset(0)] // size = 4 + public ecs_size_t size; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsDocDescription - { - [FieldOffset(0)] // size = 8 - public CString _value; + [FieldOffset(4)] // size = 4 + public ecs_size_t alignment; + } - public string value + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsDocDescription { - get - { - return CString.ToString(_value); - } - set + [FieldOffset(0)] // size = 8 + public CString _value; + + public string value { - _value = CString.FromString(value); + get + { + return CString.ToString(_value); + } + set + { + _value = CString.FromString(value); + } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct EcsEnum - { - [FieldOffset(0)] // size = 40 - public ecs_map_t constants; - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct EcsIdentifier - { - [FieldOffset(0)] // size = 8 - public CString _value; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct EcsEnum + { + [FieldOffset(0)] // size = 40 + public ecs_map_t constants; + } - public string value + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct EcsIdentifier { - get - { - return CString.ToString(_value); - } - set + [FieldOffset(0)] // size = 8 + public CString _value; + + public string value { - _value = CString.FromString(value); + get + { + return CString.ToString(_value); + } + set + { + _value = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 4 - public ecs_size_t length; + [FieldOffset(8)] // size = 4 + public ecs_size_t length; - [FieldOffset(16)] // size = 8 - public ulong hash; + [FieldOffset(16)] // size = 8 + public ulong hash; - [FieldOffset(24)] // size = 8 - public ulong index_hash; + [FieldOffset(24)] // size = 8 + public ulong index_hash; - [FieldOffset(32)] // size = 8 - public ecs_hashmap_t* index; - } + [FieldOffset(32)] // size = 8 + public ecs_hashmap_t* index; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct EcsMember - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct EcsMember + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; - [FieldOffset(8)] // size = 4 - public int count; + [FieldOffset(8)] // size = 4 + public int count; - [FieldOffset(16)] // size = 8 - public ecs_entity_t unit; + [FieldOffset(16)] // size = 8 + public ecs_entity_t unit; - [FieldOffset(24)] // size = 4 - public int offset; - } + [FieldOffset(24)] // size = 4 + public int offset; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct EcsMemberRanges - { - [FieldOffset(0)] // size = 16 - public ecs_member_value_range_t value; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct EcsMemberRanges + { + [FieldOffset(0)] // size = 16 + public ecs_member_value_range_t value; - [FieldOffset(16)] // size = 16 - public ecs_member_value_range_t warning; + [FieldOffset(16)] // size = 16 + public ecs_member_value_range_t warning; - [FieldOffset(32)] // size = 16 - public ecs_member_value_range_t error; - } + [FieldOffset(32)] // size = 16 + public ecs_member_value_range_t error; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] - public struct EcsMetaType - { - [FieldOffset(0)] // size = 4 - public ecs_type_kind_t kind; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] + public struct EcsMetaType + { + [FieldOffset(0)] // size = 4 + public ecs_type_kind_t kind; - [FieldOffset(4)] // size = 1 - public CBool existing; + [FieldOffset(4)] // size = 1 + public CBool existing; - [FieldOffset(5)] // size = 1 - public CBool partial; + [FieldOffset(5)] // size = 1 + public CBool partial; - [FieldOffset(8)] // size = 4 - public ecs_size_t size; + [FieldOffset(8)] // size = 4 + public ecs_size_t size; - [FieldOffset(12)] // size = 4 - public ecs_size_t alignment; - } + [FieldOffset(12)] // size = 4 + public ecs_size_t alignment; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct EcsMetaTypeSerialized - { - [FieldOffset(0)] // size = 24 - public ecs_vec_t ops; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct EcsMetaTypeSerialized + { + [FieldOffset(0)] // size = 24 + public ecs_vec_t ops; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsMetricSource - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsMetricSource + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsMetricValue - { - [FieldOffset(0)] // size = 8 - public double value; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsMetricValue + { + [FieldOffset(0)] // size = 8 + public double value; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] - public struct EcsOpaque - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t as_type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] + public struct EcsOpaque + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t as_type; - [FieldOffset(8)] // size = 8 - public ecs_meta_serialize_t serialize; + [FieldOffset(8)] // size = 8 + public ecs_meta_serialize_t serialize; - [FieldOffset(16)] // size = 8 - public FnPtr_VoidPtr_CBool_Void assign_bool; + [FieldOffset(16)] // size = 8 + public FnPtr_VoidPtr_CBool_Void assign_bool; - [FieldOffset(24)] // size = 8 - public FnPtr_VoidPtr_CChar_Void assign_char; + [FieldOffset(24)] // size = 8 + public FnPtr_VoidPtr_CChar_Void assign_char; - [FieldOffset(32)] // size = 8 - public FnPtr_VoidPtr_Long_Void assign_int; + [FieldOffset(32)] // size = 8 + public FnPtr_VoidPtr_Long_Void assign_int; - [FieldOffset(40)] // size = 8 - public FnPtr_VoidPtr_Ulong_Void assign_uint; + [FieldOffset(40)] // size = 8 + public FnPtr_VoidPtr_Ulong_Void assign_uint; - [FieldOffset(48)] // size = 8 - public FnPtr_VoidPtr_Double_Void assign_float; + [FieldOffset(48)] // size = 8 + public FnPtr_VoidPtr_Double_Void assign_float; - [FieldOffset(56)] // size = 8 - public FnPtr_VoidPtr_CString_Void assign_string; + [FieldOffset(56)] // size = 8 + public FnPtr_VoidPtr_CString_Void assign_string; - [FieldOffset(64)] // size = 8 - public FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void assign_entity; + [FieldOffset(64)] // size = 8 + public FnPtr_VoidPtr_EcsWorldTPtr_EcsEntityT_Void assign_entity; - [FieldOffset(72)] // size = 8 - public FnPtr_VoidPtr_Void assign_null; + [FieldOffset(72)] // size = 8 + public FnPtr_VoidPtr_Void assign_null; - [FieldOffset(80)] // size = 8 - public FnPtr_VoidPtr_Void clear; + [FieldOffset(80)] // size = 8 + public FnPtr_VoidPtr_Void clear; - [FieldOffset(88)] // size = 8 - public FnPtr_VoidPtr_Ulong_VoidPtr ensure_element; + [FieldOffset(88)] // size = 8 + public FnPtr_VoidPtr_Ulong_VoidPtr ensure_element; - [FieldOffset(96)] // size = 8 - public FnPtr_VoidPtr_CString_VoidPtr ensure_member; + [FieldOffset(96)] // size = 8 + public FnPtr_VoidPtr_CString_VoidPtr ensure_member; - [FieldOffset(104)] // size = 8 - public FnPtr_VoidPtr_Ulong count; + [FieldOffset(104)] // size = 8 + public FnPtr_VoidPtr_Ulong count; - [FieldOffset(112)] // size = 8 - public FnPtr_VoidPtr_Ulong_Void resize; - } + [FieldOffset(112)] // size = 8 + public FnPtr_VoidPtr_Ulong_Void resize; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] - public struct EcsPipelineStats - { - [FieldOffset(0)] // size = 8 - public EcsStatsHeader hdr; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] + public struct EcsPipelineStats + { + [FieldOffset(0)] // size = 8 + public EcsStatsHeader hdr; - [FieldOffset(8)] // size = 88 - public ecs_pipeline_stats_t stats; - } + [FieldOffset(8)] // size = 88 + public ecs_pipeline_stats_t stats; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsPoly - { - [FieldOffset(0)] // size = 8 - public ecs_poly_t* poly; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsPoly + { + [FieldOffset(0)] // size = 8 + public ecs_poly_t* poly; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] - public struct EcsPrimitive - { - [FieldOffset(0)] // size = 4 - public ecs_primitive_kind_t kind; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] + public struct EcsPrimitive + { + [FieldOffset(0)] // size = 4 + public ecs_primitive_kind_t kind; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct EcsRateFilter - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t src; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct EcsRateFilter + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t src; - [FieldOffset(8)] // size = 4 - public int rate; + [FieldOffset(8)] // size = 4 + public int rate; - [FieldOffset(12)] // size = 4 - public int tick_count; + [FieldOffset(12)] // size = 4 + public int tick_count; - [FieldOffset(16)] // size = 4 - public float time_elapsed; - } + [FieldOffset(16)] // size = 4 + public float time_elapsed; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct EcsRest - { - [FieldOffset(0)] // size = 2 - public ushort port; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct EcsRest + { + [FieldOffset(0)] // size = 2 + public ushort port; - [FieldOffset(8)] // size = 8 - public CString _ipaddr; + [FieldOffset(8)] // size = 8 + public CString _ipaddr; - public string ipaddr - { - get - { - return CString.ToString(_ipaddr); - } - set + public string ipaddr { - _ipaddr = CString.FromString(value); + get + { + return CString.ToString(_ipaddr); + } + set + { + _ipaddr = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public void* impl; - } + [FieldOffset(16)] // size = 8 + public void* impl; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] - public struct EcsScript - { - [FieldOffset(0)] // size = 24 - public ecs_vec_t using_; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] + public struct EcsScript + { + [FieldOffset(0)] // size = 24 + public ecs_vec_t using_; - [FieldOffset(24)] // size = 8 - public CString _script; + [FieldOffset(24)] // size = 8 + public CString _script; - public string script - { - get - { - return CString.ToString(_script); - } - set + public string script { - _script = CString.FromString(value); + get + { + return CString.ToString(_script); + } + set + { + _script = CString.FromString(value); + } } - } - - [FieldOffset(32)] // size = 24 - public ecs_vec_t prop_defaults; - [FieldOffset(56)] // size = 8 - public ecs_world_t* world; - } + [FieldOffset(32)] // size = 24 + public ecs_vec_t prop_defaults; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct EcsStatsHeader - { - [FieldOffset(0)] // size = 4 - public float elapsed; + [FieldOffset(56)] // size = 8 + public ecs_world_t* world; + } - [FieldOffset(4)] // size = 4 - public int reduce_count; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct EcsStatsHeader + { + [FieldOffset(0)] // size = 4 + public float elapsed; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct EcsStruct - { - [FieldOffset(0)] // size = 24 - public ecs_vec_t members; - } + [FieldOffset(4)] // size = 4 + public int reduce_count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct EcsTarget - { - [FieldOffset(0)] // size = 4 - public int count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct EcsStruct + { + [FieldOffset(0)] // size = 24 + public ecs_vec_t members; + } - [FieldOffset(8)] // size = 8 - public ecs_record_t* target; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct EcsTarget + { + [FieldOffset(0)] // size = 4 + public int count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct EcsTickSource - { - [FieldOffset(0)] // size = 1 - public CBool tick; + [FieldOffset(8)] // size = 8 + public ecs_record_t* target; + } - [FieldOffset(4)] // size = 4 - public float time_elapsed; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct EcsTickSource + { + [FieldOffset(0)] // size = 1 + public CBool tick; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 20, Pack = 4)] - public struct EcsTimer - { - [FieldOffset(0)] // size = 4 - public float timeout; + [FieldOffset(4)] // size = 4 + public float time_elapsed; + } - [FieldOffset(4)] // size = 4 - public float time; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 20, Pack = 4)] + public struct EcsTimer + { + [FieldOffset(0)] // size = 4 + public float timeout; - [FieldOffset(8)] // size = 4 - public float overshoot; + [FieldOffset(4)] // size = 4 + public float time; - [FieldOffset(12)] // size = 4 - public int fired_count; + [FieldOffset(8)] // size = 4 + public float overshoot; - [FieldOffset(16)] // size = 1 - public CBool active; + [FieldOffset(12)] // size = 4 + public int fired_count; - [FieldOffset(17)] // size = 1 - public CBool single_shot; - } + [FieldOffset(16)] // size = 1 + public CBool active; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct EcsUnit - { - [FieldOffset(0)] // size = 8 - public CString _symbol; + [FieldOffset(17)] // size = 1 + public CBool single_shot; + } - public string symbol + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct EcsUnit { - get - { - return CString.ToString(_symbol); - } - set + [FieldOffset(0)] // size = 8 + public CString _symbol; + + public string symbol { - _symbol = CString.FromString(value); + get + { + return CString.ToString(_symbol); + } + set + { + _symbol = CString.FromString(value); + } } - } - - [FieldOffset(8)] // size = 8 - public ecs_entity_t prefix; - [FieldOffset(16)] // size = 8 - public ecs_entity_t @base; + [FieldOffset(8)] // size = 8 + public ecs_entity_t prefix; - [FieldOffset(24)] // size = 8 - public ecs_entity_t over; + [FieldOffset(16)] // size = 8 + public ecs_entity_t @base; - [FieldOffset(32)] // size = 8 - public ecs_unit_translation_t translation; - } + [FieldOffset(24)] // size = 8 + public ecs_entity_t over; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct EcsUnitPrefix - { - [FieldOffset(0)] // size = 8 - public CString _symbol; + [FieldOffset(32)] // size = 8 + public ecs_unit_translation_t translation; + } - public string symbol + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct EcsUnitPrefix { - get - { - return CString.ToString(_symbol); - } - set + [FieldOffset(0)] // size = 8 + public CString _symbol; + + public string symbol { - _symbol = CString.FromString(value); + get + { + return CString.ToString(_symbol); + } + set + { + _symbol = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 8 - public ecs_unit_translation_t translation; - } + [FieldOffset(8)] // size = 8 + public ecs_unit_translation_t translation; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct EcsVector - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t type; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct EcsVector + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 96032, Pack = 8)] - public struct EcsWorldStats - { - [FieldOffset(0)] // size = 8 - public EcsStatsHeader hdr; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 96032, Pack = 8)] + public struct EcsWorldStats + { + [FieldOffset(0)] // size = 8 + public EcsStatsHeader hdr; - [FieldOffset(8)] // size = 96024 - public ecs_world_stats_t stats; - } + [FieldOffset(8)] // size = 96024 + public ecs_world_stats_t stats; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct EcsWorldSummary - { - [FieldOffset(0)] // size = 8 - public double target_fps; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct EcsWorldSummary + { + [FieldOffset(0)] // size = 8 + public double target_fps; - [FieldOffset(8)] // size = 8 - public double frame_time_total; + [FieldOffset(8)] // size = 8 + public double frame_time_total; - [FieldOffset(16)] // size = 8 - public double system_time_total; + [FieldOffset(16)] // size = 8 + public double system_time_total; - [FieldOffset(24)] // size = 8 - public double merge_time_total; + [FieldOffset(24)] // size = 8 + public double merge_time_total; - [FieldOffset(32)] // size = 8 - public double frame_time_last; + [FieldOffset(32)] // size = 8 + public double frame_time_last; - [FieldOffset(40)] // size = 8 - public double system_time_last; + [FieldOffset(40)] // size = 8 + public double system_time_last; - [FieldOffset(48)] // size = 8 - public double merge_time_last; - } + [FieldOffset(48)] // size = 8 + public double merge_time_last; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2696, Pack = 8)] - public struct ecs_alert_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2696, Pack = 8)] + public struct ecs_alert_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 2488 - public ecs_filter_desc_t filter; + [FieldOffset(16)] // size = 2488 + public ecs_filter_desc_t filter; - [FieldOffset(2504)] // size = 8 - public CString _message; + [FieldOffset(2504)] // size = 8 + public CString _message; - public string message - { - get - { - return CString.ToString(_message); - } - set + public string message { - _message = CString.FromString(value); + get + { + return CString.ToString(_message); + } + set + { + _message = CString.FromString(value); + } } - } - [FieldOffset(2512)] // size = 8 - public CString _doc_name; + [FieldOffset(2512)] // size = 8 + public CString _doc_name; - public string doc_name - { - get - { - return CString.ToString(_doc_name); - } - set + public string doc_name { - _doc_name = CString.FromString(value); + get + { + return CString.ToString(_doc_name); + } + set + { + _doc_name = CString.FromString(value); + } } - } - [FieldOffset(2520)] // size = 8 - public CString _brief; + [FieldOffset(2520)] // size = 8 + public CString _brief; - public string brief - { - get + public string brief { - return CString.ToString(_brief); - } - set - { - _brief = CString.FromString(value); + get + { + return CString.ToString(_brief); + } + set + { + _brief = CString.FromString(value); + } } - } - [FieldOffset(2528)] // size = 8 - public ecs_entity_t severity; + [FieldOffset(2528)] // size = 8 + public ecs_entity_t severity; - [FieldOffset(2536)] // size = 128 - public fixed byte _severity_filters[128]; // ecs_alert_severity_filter_t[4] + [FieldOffset(2536)] // size = 128 + public fixed byte _severity_filters[128]; // ecs_alert_severity_filter_t[4] - public readonly Span severity_filters - { - get + public readonly Span severity_filters { - fixed (ecs_alert_desc_t* @this = &this) + get { - var pointer = &@this->_severity_filters[0]; - var span = new Span(pointer, 4); - return span; + fixed (ecs_alert_desc_t* @this = &this) + { + var pointer = &@this->_severity_filters[0]; + var span = new Span(pointer, 4); + return span; + } } } - } - [FieldOffset(2664)] // size = 4 - public float retain_period; + [FieldOffset(2664)] // size = 4 + public float retain_period; - [FieldOffset(2672)] // size = 8 - public ecs_entity_t member; + [FieldOffset(2672)] // size = 8 + public ecs_entity_t member; - [FieldOffset(2680)] // size = 8 - public ecs_id_t id; + [FieldOffset(2680)] // size = 8 + public ecs_id_t id; - [FieldOffset(2688)] // size = 8 - public CString _var; + [FieldOffset(2688)] // size = 8 + public CString _var; - public string var - { - get - { - return CString.ToString(_var); - } - set + public string var { - _var = CString.FromString(value); + get + { + return CString.ToString(_var); + } + set + { + _var = CString.FromString(value); + } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_alert_severity_filter_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t severity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_alert_severity_filter_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t severity; - [FieldOffset(8)] // size = 8 - public ecs_id_t with; + [FieldOffset(8)] // size = 8 + public ecs_id_t with; - [FieldOffset(16)] // size = 8 - public CString _var; + [FieldOffset(16)] // size = 8 + public CString _var; - public string var - { - get - { - return CString.ToString(_var); - } - set + public string var { - _var = CString.FromString(value); + get + { + return CString.ToString(_var); + } + set + { + _var = CString.FromString(value); + } } - } - - [FieldOffset(24)] // size = 4 - public int _var_index; - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 128, Pack = 8)] - public struct ecs_allocator_t - { - [FieldOffset(0)] // size = 48 - public ecs_block_allocator_t chunks; + [FieldOffset(24)] // size = 4 + public int _var_index; + } - [FieldOffset(48)] // size = 80 - public ecs_sparse_t sizes; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 128, Pack = 8)] + public struct ecs_allocator_t + { + [FieldOffset(0)] // size = 48 + public ecs_block_allocator_t chunks; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_app_desc_t - { - [FieldOffset(0)] // size = 4 - public float target_fps; + [FieldOffset(48)] // size = 80 + public ecs_sparse_t sizes; + } - [FieldOffset(4)] // size = 4 - public float delta_time; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_app_desc_t + { + [FieldOffset(0)] // size = 4 + public float target_fps; - [FieldOffset(8)] // size = 4 - public int threads; + [FieldOffset(4)] // size = 4 + public float delta_time; - [FieldOffset(12)] // size = 4 - public int frames; + [FieldOffset(8)] // size = 4 + public int threads; - [FieldOffset(16)] // size = 1 - public CBool enable_rest; + [FieldOffset(12)] // size = 4 + public int frames; - [FieldOffset(17)] // size = 1 - public CBool enable_monitor; + [FieldOffset(16)] // size = 1 + public CBool enable_rest; - [FieldOffset(18)] // size = 2 - public ushort port; + [FieldOffset(17)] // size = 1 + public CBool enable_monitor; - [FieldOffset(24)] // size = 8 - public ecs_app_init_action_t init; + [FieldOffset(18)] // size = 2 + public ushort port; - [FieldOffset(32)] // size = 8 - public void* ctx; - } + [FieldOffset(24)] // size = 8 + public ecs_app_init_action_t init; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_array_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(32)] // size = 8 + public void* ctx; + } - [FieldOffset(8)] // size = 8 - public ecs_entity_t type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_array_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 4 - public int count; - } + [FieldOffset(8)] // size = 8 + public ecs_entity_t type; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_bitmask_constant_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(16)] // size = 4 + public int count; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_bitmask_constant_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 4 - public ecs_flags32_t value; + [FieldOffset(8)] // size = 4 + public ecs_flags32_t value; - [FieldOffset(16)] // size = 8 - public ecs_entity_t constant; - } + [FieldOffset(16)] // size = 8 + public ecs_entity_t constant; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] - public struct ecs_bitmask_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] + public struct ecs_bitmask_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 768 - public fixed byte _constants[768]; // ecs_bitmask_constant_t[32] + [FieldOffset(8)] // size = 768 + public fixed byte _constants[768]; // ecs_bitmask_constant_t[32] - public readonly Span constants - { - get + public readonly Span constants { - fixed (ecs_bitmask_desc_t* @this = &this) + get { - var pointer = &@this->_constants[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_bitmask_desc_t* @this = &this) + { + var pointer = &@this->_constants[0]; + var span = new Span(pointer, 32); + return span; + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_block_allocator_block_t - { - [FieldOffset(0)] // size = 8 - public void* memory; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_block_allocator_block_t + { + [FieldOffset(0)] // size = 8 + public void* memory; - [FieldOffset(8)] // size = 8 - public ecs_block_allocator_block_t* next; - } + [FieldOffset(8)] // size = 8 + public ecs_block_allocator_block_t* next; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_block_allocator_chunk_header_t - { - [FieldOffset(0)] // size = 8 - public ecs_block_allocator_chunk_header_t* next; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_block_allocator_chunk_header_t + { + [FieldOffset(0)] // size = 8 + public ecs_block_allocator_chunk_header_t* next; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct ecs_block_allocator_t - { - [FieldOffset(0)] // size = 8 - public ecs_block_allocator_chunk_header_t* head; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct ecs_block_allocator_t + { + [FieldOffset(0)] // size = 8 + public ecs_block_allocator_chunk_header_t* head; - [FieldOffset(8)] // size = 8 - public ecs_block_allocator_block_t* block_head; + [FieldOffset(8)] // size = 8 + public ecs_block_allocator_block_t* block_head; - [FieldOffset(16)] // size = 8 - public ecs_block_allocator_block_t* block_tail; + [FieldOffset(16)] // size = 8 + public ecs_block_allocator_block_t* block_tail; - [FieldOffset(24)] // size = 4 - public int chunk_size; + [FieldOffset(24)] // size = 4 + public int chunk_size; - [FieldOffset(28)] // size = 4 - public int data_size; + [FieldOffset(28)] // size = 4 + public int data_size; - [FieldOffset(32)] // size = 4 - public int chunks_per_block; + [FieldOffset(32)] // size = 4 + public int chunks_per_block; - [FieldOffset(36)] // size = 4 - public int block_size; + [FieldOffset(36)] // size = 4 + public int block_size; - [FieldOffset(40)] // size = 4 - public int alloc_count; - } + [FieldOffset(40)] // size = 4 + public int alloc_count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_bucket_entry_t - { - [FieldOffset(0)] // size = 8 - public ecs_map_key_t key; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_bucket_entry_t + { + [FieldOffset(0)] // size = 8 + public ecs_map_key_t key; - [FieldOffset(8)] // size = 8 - public ecs_map_val_t value; + [FieldOffset(8)] // size = 8 + public ecs_map_val_t value; - [FieldOffset(16)] // size = 8 - public ecs_bucket_entry_t* next; - } + [FieldOffset(16)] // size = 8 + public ecs_bucket_entry_t* next; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_bucket_t - { - [FieldOffset(0)] // size = 8 - public ecs_bucket_entry_t* first; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_bucket_t + { + [FieldOffset(0)] // size = 8 + public ecs_bucket_entry_t* first; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] - public struct ecs_bulk_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] + public struct ecs_bulk_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t* entities; + [FieldOffset(8)] // size = 8 + public ecs_entity_t* entities; - [FieldOffset(16)] // size = 4 - public int count; + [FieldOffset(16)] // size = 4 + public int count; - [FieldOffset(24)] // size = 256 - public fixed byte _ids[256]; // ecs_id_t[32] + [FieldOffset(24)] // size = 256 + public fixed byte _ids[256]; // ecs_id_t[32] - public readonly Span ids - { - get + public readonly Span ids { - fixed (ecs_bulk_desc_t* @this = &this) + get { - var pointer = &@this->_ids[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_bulk_desc_t* @this = &this) + { + var pointer = &@this->_ids[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(280)] // size = 8 - public void** data; + [FieldOffset(280)] // size = 8 + public void** data; - [FieldOffset(288)] // size = 8 - public ecs_table_t* table; - } + [FieldOffset(288)] // size = 8 + public ecs_table_t* table; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] - public struct ecs_component_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] + public struct ecs_component_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 144 - public ecs_type_info_t type; - } + [FieldOffset(16)] // size = 144 + public ecs_type_info_t type; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 1200, Pack = 8)] - public struct ecs_counter_t - { - [FieldOffset(0)] // size = 720 - public ecs_gauge_t rate; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 1200, Pack = 8)] + public struct ecs_counter_t + { + [FieldOffset(0)] // size = 720 + public ecs_gauge_t rate; - [FieldOffset(720)] // size = 480 - public fixed byte _value[480]; // double[60] + [FieldOffset(720)] // size = 480 + public fixed byte _value[480]; // double[60] - public readonly Span value - { - get + public readonly Span value { - fixed (ecs_counter_t* @this = &this) + get { - var pointer = &@this->_value[0]; - var span = new Span(pointer, 60); - return span; + fixed (ecs_counter_t* @this = &this) + { + var pointer = &@this->_value[0]; + var span = new Span(pointer, 60); + return span; + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)] - public struct ecs_entity_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)] + public struct ecs_entity_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t id; + [FieldOffset(8)] // size = 8 + public ecs_entity_t id; - [FieldOffset(16)] // size = 8 - public CString _name; + [FieldOffset(16)] // size = 8 + public CString _name; - public string name - { - get + public string name { - return CString.ToString(_name); - } - set - { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(24)] // size = 8 - public CString _sep; + [FieldOffset(24)] // size = 8 + public CString _sep; - public string sep - { - get - { - return CString.ToString(_sep); - } - set + public string sep { - _sep = CString.FromString(value); + get + { + return CString.ToString(_sep); + } + set + { + _sep = CString.FromString(value); + } } - } - [FieldOffset(32)] // size = 8 - public CString _root_sep; + [FieldOffset(32)] // size = 8 + public CString _root_sep; - public string root_sep - { - get + public string root_sep { - return CString.ToString(_root_sep); - } - set - { - _root_sep = CString.FromString(value); + get + { + return CString.ToString(_root_sep); + } + set + { + _root_sep = CString.FromString(value); + } } - } - [FieldOffset(40)] // size = 8 - public CString _symbol; + [FieldOffset(40)] // size = 8 + public CString _symbol; - public string symbol - { - get - { - return CString.ToString(_symbol); - } - set + public string symbol { - _symbol = CString.FromString(value); + get + { + return CString.ToString(_symbol); + } + set + { + _symbol = CString.FromString(value); + } } - } - [FieldOffset(48)] // size = 1 - public CBool use_low_id; + [FieldOffset(48)] // size = 1 + public CBool use_low_id; - [FieldOffset(56)] // size = 256 - public fixed byte _add[256]; // ecs_id_t[32] + [FieldOffset(56)] // size = 256 + public fixed byte _add[256]; // ecs_id_t[32] - public readonly Span add - { - get + public readonly Span add { - fixed (ecs_entity_desc_t* @this = &this) + get { - var pointer = &@this->_add[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_entity_desc_t* @this = &this) + { + var pointer = &@this->_add[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(312)] // size = 8 - public CString _add_expr; + [FieldOffset(312)] // size = 8 + public CString _add_expr; - public string add_expr - { - get - { - return CString.ToString(_add_expr); - } - set + public string add_expr { - _add_expr = CString.FromString(value); + get + { + return CString.ToString(_add_expr); + } + set + { + _add_expr = CString.FromString(value); + } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 13, Pack = 1)] - public struct ecs_entity_to_json_desc_t - { - [FieldOffset(0)] // size = 1 - public CBool serialize_path; - [FieldOffset(1)] // size = 1 - public CBool serialize_meta_ids; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 13, Pack = 1)] + public struct ecs_entity_to_json_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool serialize_path; - [FieldOffset(2)] // size = 1 - public CBool serialize_label; + [FieldOffset(1)] // size = 1 + public CBool serialize_meta_ids; - [FieldOffset(3)] // size = 1 - public CBool serialize_brief; + [FieldOffset(2)] // size = 1 + public CBool serialize_label; - [FieldOffset(4)] // size = 1 - public CBool serialize_link; + [FieldOffset(3)] // size = 1 + public CBool serialize_brief; - [FieldOffset(5)] // size = 1 - public CBool serialize_color; + [FieldOffset(4)] // size = 1 + public CBool serialize_link; - [FieldOffset(6)] // size = 1 - public CBool serialize_id_labels; + [FieldOffset(5)] // size = 1 + public CBool serialize_color; - [FieldOffset(7)] // size = 1 - public CBool serialize_base; + [FieldOffset(6)] // size = 1 + public CBool serialize_id_labels; - [FieldOffset(8)] // size = 1 - public CBool serialize_private; + [FieldOffset(7)] // size = 1 + public CBool serialize_base; - [FieldOffset(9)] // size = 1 - public CBool serialize_hidden; + [FieldOffset(8)] // size = 1 + public CBool serialize_private; - [FieldOffset(10)] // size = 1 - public CBool serialize_values; + [FieldOffset(9)] // size = 1 + public CBool serialize_hidden; - [FieldOffset(11)] // size = 1 - public CBool serialize_type_info; + [FieldOffset(10)] // size = 1 + public CBool serialize_values; - [FieldOffset(12)] // size = 1 - public CBool serialize_alerts; - } + [FieldOffset(11)] // size = 1 + public CBool serialize_type_info; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_enum_constant_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(12)] // size = 1 + public CBool serialize_alerts; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_enum_constant_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - - [FieldOffset(8)] // size = 4 - public int value; - - [FieldOffset(16)] // size = 8 - public ecs_entity_t constant; - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] - public struct ecs_enum_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 4 + public int value; - [FieldOffset(8)] // size = 768 - public fixed byte _constants[768]; // ecs_enum_constant_t[32] + [FieldOffset(16)] // size = 8 + public ecs_entity_t constant; + } - public readonly Span constants + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] + public struct ecs_enum_desc_t { - get + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(8)] // size = 768 + public fixed byte _constants[768]; // ecs_enum_constant_t[32] + + public readonly Span constants { - fixed (ecs_enum_desc_t* @this = &this) + get { - var pointer = &@this->_constants[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_enum_desc_t* @this = &this) + { + var pointer = &@this->_constants[0]; + var span = new Span(pointer, 32); + return span; + } } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] - public struct ecs_event_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t @event; - [FieldOffset(8)] // size = 8 - public ecs_type_t* ids; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] + public struct ecs_event_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t @event; - [FieldOffset(16)] // size = 8 - public ecs_table_t* table; + [FieldOffset(8)] // size = 8 + public ecs_type_t* ids; - [FieldOffset(24)] // size = 8 - public ecs_table_t* other_table; + [FieldOffset(16)] // size = 8 + public ecs_table_t* table; - [FieldOffset(32)] // size = 4 - public int offset; + [FieldOffset(24)] // size = 8 + public ecs_table_t* other_table; - [FieldOffset(36)] // size = 4 - public int count; + [FieldOffset(32)] // size = 4 + public int offset; - [FieldOffset(40)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(36)] // size = 4 + public int count; - [FieldOffset(48)] // size = 8 - public void* param; + [FieldOffset(40)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(56)] // size = 8 - public ecs_poly_t* observable; + [FieldOffset(48)] // size = 8 + public void* param; - [FieldOffset(64)] // size = 4 - public ecs_flags32_t flags; - } + [FieldOffset(56)] // size = 8 + public ecs_poly_t* observable; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] - public struct ecs_event_record_t - { - [FieldOffset(0)] // size = 8 - public ecs_event_id_record_t* any; + [FieldOffset(64)] // size = 4 + public ecs_flags32_t flags; + } - [FieldOffset(8)] // size = 8 - public ecs_event_id_record_t* wildcard; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] + public struct ecs_event_record_t + { + [FieldOffset(0)] // size = 8 + public ecs_event_id_record_t* any; - [FieldOffset(16)] // size = 8 - public ecs_event_id_record_t* wildcard_pair; + [FieldOffset(8)] // size = 8 + public ecs_event_id_record_t* wildcard; - [FieldOffset(24)] // size = 40 - public ecs_map_t event_ids; + [FieldOffset(16)] // size = 8 + public ecs_event_id_record_t* wildcard_pair; - [FieldOffset(64)] // size = 8 - public ecs_entity_t @event; - } + [FieldOffset(24)] // size = 40 + public ecs_map_t event_ids; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 152, Pack = 8)] - public struct ecs_expr_var_scope_t - { - [FieldOffset(0)] // size = 120 - public ecs_hashmap_t var_index; + [FieldOffset(64)] // size = 8 + public ecs_entity_t @event; + } - [FieldOffset(120)] // size = 24 - public ecs_vec_t vars; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 152, Pack = 8)] + public struct ecs_expr_var_scope_t + { + [FieldOffset(0)] // size = 120 + public ecs_hashmap_t var_index; - [FieldOffset(144)] // size = 8 - public ecs_expr_var_scope_t* parent; - } + [FieldOffset(120)] // size = 24 + public ecs_vec_t vars; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_expr_var_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(144)] // size = 8 + public ecs_expr_var_scope_t* parent; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_expr_var_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 16 - public ecs_value_t value; + [FieldOffset(8)] // size = 16 + public ecs_value_t value; - [FieldOffset(24)] // size = 1 - public CBool owned; - } + [FieldOffset(24)] // size = 1 + public CBool owned; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2488, Pack = 8)] - public struct ecs_filter_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2488, Pack = 8)] + public struct ecs_filter_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 2432 - public fixed byte _terms[2432]; // ecs_term_t[16] + [FieldOffset(8)] // size = 2432 + public fixed byte _terms[2432]; // ecs_term_t[16] - public readonly Span terms - { - get + public readonly Span terms { - fixed (ecs_filter_desc_t* @this = &this) + get { - var pointer = &@this->_terms[0]; - var span = new Span(pointer, 16); - return span; + fixed (ecs_filter_desc_t* @this = &this) + { + var pointer = &@this->_terms[0]; + var span = new Span(pointer, 16); + return span; + } } } - } - [FieldOffset(2440)] // size = 8 - public ecs_term_t* terms_buffer; + [FieldOffset(2440)] // size = 8 + public ecs_term_t* terms_buffer; - [FieldOffset(2448)] // size = 4 - public int terms_buffer_count; + [FieldOffset(2448)] // size = 4 + public int terms_buffer_count; - [FieldOffset(2456)] // size = 8 - public ecs_filter_t* storage; + [FieldOffset(2456)] // size = 8 + public ecs_filter_t* storage; - [FieldOffset(2464)] // size = 1 - public CBool instanced; + [FieldOffset(2464)] // size = 1 + public CBool instanced; - [FieldOffset(2468)] // size = 4 - public ecs_flags32_t flags; + [FieldOffset(2468)] // size = 4 + public ecs_flags32_t flags; - [FieldOffset(2472)] // size = 8 - public CString _expr; + [FieldOffset(2472)] // size = 8 + public CString _expr; - public string expr - { - get - { - return CString.ToString(_expr); - } - set + public string expr { - _expr = CString.FromString(value); + get + { + return CString.ToString(_expr); + } + set + { + _expr = CString.FromString(value); + } } - } - [FieldOffset(2480)] // size = 8 - public ecs_entity_t entity; - } + [FieldOffset(2480)] // size = 8 + public ecs_entity_t entity; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] - public struct ecs_filter_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_filter_t* filter; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] + public struct ecs_filter_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_filter_t* filter; - [FieldOffset(8)] // size = 4 - public ecs_iter_kind_t kind; + [FieldOffset(8)] // size = 4 + public ecs_iter_kind_t kind; - [FieldOffset(16)] // size = 272 - public ecs_term_iter_t term_iter; + [FieldOffset(16)] // size = 272 + public ecs_term_iter_t term_iter; - [FieldOffset(288)] // size = 4 - public int matches_left; + [FieldOffset(288)] // size = 4 + public int matches_left; - [FieldOffset(292)] // size = 4 - public int pivot_term; - } + [FieldOffset(292)] // size = 4 + public int pivot_term; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] - public struct ecs_filter_t - { - [FieldOffset(0)] // size = 16 - public ecs_header_t hdr; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] + public struct ecs_filter_t + { + [FieldOffset(0)] // size = 16 + public ecs_header_t hdr; - [FieldOffset(16)] // size = 8 - public ecs_term_t* terms; + [FieldOffset(16)] // size = 8 + public ecs_term_t* terms; - [FieldOffset(24)] // size = 4 - public int term_count; + [FieldOffset(24)] // size = 4 + public int term_count; - [FieldOffset(28)] // size = 4 - public int field_count; + [FieldOffset(28)] // size = 4 + public int field_count; - [FieldOffset(32)] // size = 1 - public CBool owned; + [FieldOffset(32)] // size = 1 + public CBool owned; - [FieldOffset(33)] // size = 1 - public CBool terms_owned; + [FieldOffset(33)] // size = 1 + public CBool terms_owned; - [FieldOffset(36)] // size = 4 - public ecs_flags32_t flags; + [FieldOffset(36)] // size = 4 + public ecs_flags32_t flags; - [FieldOffset(40)] // size = 8 - public fixed byte _variable_names[8]; // char*[1] + [FieldOffset(40)] // size = 8 + public fixed byte _variable_names[8]; // char*[1] - public readonly Span variable_names - { - get + public readonly Span variable_names { - fixed (ecs_filter_t* @this = &this) + get { - var pointer = &@this->_variable_names[0]; - var span = new Span(pointer, 1); - return span; + fixed (ecs_filter_t* @this = &this) + { + var pointer = &@this->_variable_names[0]; + var span = new Span(pointer, 1); + return span; + } } } - } - - [FieldOffset(48)] // size = 8 - public int* sizes; - [FieldOffset(56)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(48)] // size = 8 + public int* sizes; - [FieldOffset(64)] // size = 8 - public ecs_iterable_t iterable; + [FieldOffset(56)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(72)] // size = 8 - public ecs_poly_dtor_t dtor; + [FieldOffset(64)] // size = 8 + public ecs_iterable_t iterable; - [FieldOffset(80)] // size = 8 - public ecs_world_t* world; - } + [FieldOffset(72)] // size = 8 + public ecs_poly_dtor_t dtor; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 1)] - public struct ecs_flatten_desc_t - { - [FieldOffset(0)] // size = 1 - public CBool keep_names; + [FieldOffset(80)] // size = 8 + public ecs_world_t* world; + } - [FieldOffset(1)] // size = 1 - public CBool lose_depth; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 1)] + public struct ecs_flatten_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool keep_names; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_from_json_desc_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(1)] // size = 1 + public CBool lose_depth; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_from_json_desc_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 8 - public CString _expr; + [FieldOffset(8)] // size = 8 + public CString _expr; - public string expr - { - get + public string expr { - return CString.ToString(_expr); - } - set - { - _expr = CString.FromString(value); + get + { + return CString.ToString(_expr); + } + set + { + _expr = CString.FromString(value); + } } - } - - [FieldOffset(16)] // size = 8 - public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; - [FieldOffset(24)] // size = 8 - public void* lookup_ctx; - } + [FieldOffset(16)] // size = 8 + public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 720, Pack = 4)] - public struct ecs_gauge_t - { - [FieldOffset(0)] // size = 240 - public fixed byte _avg[240]; // float[60] + [FieldOffset(24)] // size = 8 + public void* lookup_ctx; + } - public readonly Span avg + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 720, Pack = 4)] + public struct ecs_gauge_t { - get + [FieldOffset(0)] // size = 240 + public fixed byte _avg[240]; // float[60] + + public readonly Span avg { - fixed (ecs_gauge_t* @this = &this) + get { - var pointer = &@this->_avg[0]; - var span = new Span(pointer, 60); - return span; + fixed (ecs_gauge_t* @this = &this) + { + var pointer = &@this->_avg[0]; + var span = new Span(pointer, 60); + return span; + } } } - } - [FieldOffset(240)] // size = 240 - public fixed byte _min[240]; // float[60] + [FieldOffset(240)] // size = 240 + public fixed byte _min[240]; // float[60] - public readonly Span min - { - get + public readonly Span min { - fixed (ecs_gauge_t* @this = &this) + get { - var pointer = &@this->_min[0]; - var span = new Span(pointer, 60); - return span; + fixed (ecs_gauge_t* @this = &this) + { + var pointer = &@this->_min[0]; + var span = new Span(pointer, 60); + return span; + } } } - } - [FieldOffset(480)] // size = 240 - public fixed byte _max[240]; // float[60] + [FieldOffset(480)] // size = 240 + public fixed byte _max[240]; // float[60] - public readonly Span max - { - get + public readonly Span max { - fixed (ecs_gauge_t* @this = &this) + get { - var pointer = &@this->_max[0]; - var span = new Span(pointer, 60); - return span; + fixed (ecs_gauge_t* @this = &this) + { + var pointer = &@this->_max[0]; + var span = new Span(pointer, 60); + return span; + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] - public struct ecs_hashmap_t - { - [FieldOffset(0)] // size = 8 - public ecs_hash_value_action_t hash; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] + public struct ecs_hashmap_t + { + [FieldOffset(0)] // size = 8 + public ecs_hash_value_action_t hash; - [FieldOffset(8)] // size = 8 - public ecs_compare_action_t compare; + [FieldOffset(8)] // size = 8 + public ecs_compare_action_t compare; - [FieldOffset(16)] // size = 4 - public ecs_size_t key_size; + [FieldOffset(16)] // size = 4 + public ecs_size_t key_size; - [FieldOffset(20)] // size = 4 - public ecs_size_t value_size; + [FieldOffset(20)] // size = 4 + public ecs_size_t value_size; - [FieldOffset(24)] // size = 8 - public ecs_block_allocator_t* hashmap_allocator; + [FieldOffset(24)] // size = 8 + public ecs_block_allocator_t* hashmap_allocator; - [FieldOffset(32)] // size = 48 - public ecs_block_allocator_t bucket_allocator; + [FieldOffset(32)] // size = 48 + public ecs_block_allocator_t bucket_allocator; - [FieldOffset(80)] // size = 40 - public ecs_map_t impl; - } + [FieldOffset(80)] // size = 40 + public ecs_map_t impl; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_header_t - { - [FieldOffset(0)] // size = 4 - public int magic; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_header_t + { + [FieldOffset(0)] // size = 4 + public int magic; - [FieldOffset(4)] // size = 4 - public int type; + [FieldOffset(4)] // size = 4 + public int type; - [FieldOffset(8)] // size = 8 - public ecs_mixins_t* mixins; - } + [FieldOffset(8)] // size = 8 + public ecs_mixins_t* mixins; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct ecs_hm_bucket_t - { - [FieldOffset(0)] // size = 24 - public ecs_vec_t keys; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct ecs_hm_bucket_t + { + [FieldOffset(0)] // size = 24 + public ecs_vec_t keys; - [FieldOffset(24)] // size = 24 - public ecs_vec_t values; - } + [FieldOffset(24)] // size = 24 + public ecs_vec_t values; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] - public struct ecs_http_connection_t - { - [FieldOffset(0)] // size = 8 - public ulong id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] + public struct ecs_http_connection_t + { + [FieldOffset(0)] // size = 8 + public ulong id; - [FieldOffset(8)] // size = 8 - public ecs_http_server_t* server; + [FieldOffset(8)] // size = 8 + public ecs_http_server_t* server; - [FieldOffset(16)] // size = 128 - public fixed byte _host[128]; // char[128] + [FieldOffset(16)] // size = 128 + public fixed byte _host[128]; // char[128] - public string host - { - get + public string host { - fixed (ecs_http_connection_t* @this = &this) + get { - var pointer = &@this->_host[0]; - var cString = new CString(pointer); - return CString.ToString(cString); + fixed (ecs_http_connection_t* @this = &this) + { + var pointer = &@this->_host[0]; + var cString = new CString(pointer); + return CString.ToString(cString); + } } } - } - [FieldOffset(144)] // size = 16 - public fixed byte _port[16]; // char[16] + [FieldOffset(144)] // size = 16 + public fixed byte _port[16]; // char[16] - public string port - { - get + public string port { - fixed (ecs_http_connection_t* @this = &this) + get { - var pointer = &@this->_port[0]; - var cString = new CString(pointer); - return CString.ToString(cString); + fixed (ecs_http_connection_t* @this = &this) + { + var pointer = &@this->_port[0]; + var cString = new CString(pointer); + return CString.ToString(cString); + } } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_http_key_value_t - { - [FieldOffset(0)] // size = 8 - public CString _key; - public string key + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_http_key_value_t { - get - { - return CString.ToString(_key); - } - set + [FieldOffset(0)] // size = 8 + public CString _key; + + public string key { - _key = CString.FromString(value); + get + { + return CString.ToString(_key); + } + set + { + _key = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 8 - public CString _value; + [FieldOffset(8)] // size = 8 + public CString _value; - public string value - { - get - { - return CString.ToString(_value); - } - set + public string value { - _value = CString.FromString(value); + get + { + return CString.ToString(_value); + } + set + { + _value = CString.FromString(value); + } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2232, Pack = 8)] - public struct ecs_http_reply_t - { - [FieldOffset(0)] // size = 4 - public int code; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2232, Pack = 8)] + public struct ecs_http_reply_t + { + [FieldOffset(0)] // size = 4 + public int code; - [FieldOffset(8)] // size = 1104 - public ecs_strbuf_t body; + [FieldOffset(8)] // size = 1104 + public ecs_strbuf_t body; - [FieldOffset(1112)] // size = 8 - public CString _status; + [FieldOffset(1112)] // size = 8 + public CString _status; - public string status - { - get + public string status { - return CString.ToString(_status); - } - set - { - _status = CString.FromString(value); + get + { + return CString.ToString(_status); + } + set + { + _status = CString.FromString(value); + } } - } - [FieldOffset(1120)] // size = 8 - public CString _content_type; + [FieldOffset(1120)] // size = 8 + public CString _content_type; - public string content_type - { - get + public string content_type { - return CString.ToString(_content_type); - } - set - { - _content_type = CString.FromString(value); + get + { + return CString.ToString(_content_type); + } + set + { + _content_type = CString.FromString(value); + } } - } - [FieldOffset(1128)] // size = 1104 - public ecs_strbuf_t headers; - } + [FieldOffset(1128)] // size = 1104 + public ecs_strbuf_t headers; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 1072, Pack = 8)] - public struct ecs_http_request_t - { - [FieldOffset(0)] // size = 8 - public ulong id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 1072, Pack = 8)] + public struct ecs_http_request_t + { + [FieldOffset(0)] // size = 8 + public ulong id; - [FieldOffset(8)] // size = 4 - public ecs_http_method_t method; + [FieldOffset(8)] // size = 4 + public ecs_http_method_t method; - [FieldOffset(16)] // size = 8 - public CString _path; + [FieldOffset(16)] // size = 8 + public CString _path; - public string path - { - get + public string path { - return CString.ToString(_path); - } - set - { - _path = CString.FromString(value); + get + { + return CString.ToString(_path); + } + set + { + _path = CString.FromString(value); + } } - } - [FieldOffset(24)] // size = 8 - public CString _body; + [FieldOffset(24)] // size = 8 + public CString _body; - public string body - { - get + public string body { - return CString.ToString(_body); - } - set - { - _body = CString.FromString(value); + get + { + return CString.ToString(_body); + } + set + { + _body = CString.FromString(value); + } } - } - [FieldOffset(32)] // size = 512 - public fixed byte _headers[512]; // ecs_http_key_value_t[32] + [FieldOffset(32)] // size = 512 + public fixed byte _headers[512]; // ecs_http_key_value_t[32] - public readonly Span headers - { - get + public readonly Span headers { - fixed (ecs_http_request_t* @this = &this) + get { - var pointer = &@this->_headers[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_http_request_t* @this = &this) + { + var pointer = &@this->_headers[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(544)] // size = 512 - public fixed byte _params[512]; // ecs_http_key_value_t[32] + [FieldOffset(544)] // size = 512 + public fixed byte _params[512]; // ecs_http_key_value_t[32] - public readonly Span @params - { - get + public readonly Span @params { - fixed (ecs_http_request_t* @this = &this) + get { - var pointer = &@this->_params[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_http_request_t* @this = &this) + { + var pointer = &@this->_params[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(1056)] // size = 4 - public int header_count; + [FieldOffset(1056)] // size = 4 + public int header_count; - [FieldOffset(1060)] // size = 4 - public int param_count; + [FieldOffset(1060)] // size = 4 + public int param_count; - [FieldOffset(1064)] // size = 8 - public ecs_http_connection_t* conn; - } + [FieldOffset(1064)] // size = 8 + public ecs_http_connection_t* conn; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_http_server_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_http_reply_action_t callback; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_http_server_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_http_reply_action_t callback; - [FieldOffset(8)] // size = 8 - public void* ctx; + [FieldOffset(8)] // size = 8 + public void* ctx; - [FieldOffset(16)] // size = 2 - public ushort port; + [FieldOffset(16)] // size = 2 + public ushort port; - [FieldOffset(24)] // size = 8 - public CString _ipaddr; + [FieldOffset(24)] // size = 8 + public CString _ipaddr; - public string ipaddr - { - get + public string ipaddr { - return CString.ToString(_ipaddr); - } - set - { - _ipaddr = CString.FromString(value); + get + { + return CString.ToString(_ipaddr); + } + set + { + _ipaddr = CString.FromString(value); + } } - } - - [FieldOffset(32)] // size = 4 - public int send_queue_wait_ms; - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_iter_cache_t - { - [FieldOffset(0)] // size = 16 - public ecs_stack_cursor_t stack_cursor; + [FieldOffset(32)] // size = 4 + public int send_queue_wait_ms; + } - [FieldOffset(16)] // size = 1 - public ecs_flags8_t used; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_iter_cache_t + { + [FieldOffset(0)] // size = 16 + public ecs_stack_cursor_t stack_cursor; - [FieldOffset(17)] // size = 1 - public ecs_flags8_t allocated; - } + [FieldOffset(16)] // size = 1 + public ecs_flags8_t used; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)] - public struct ecs_iter_private_t - { - [FieldOffset(0)] // size = 296 - public ecs_iter_private_t_ANONYMOUS_FIELD0 iter; + [FieldOffset(17)] // size = 1 + public ecs_flags8_t allocated; + } - [FieldOffset(296)] // size = 8 - public void* entity_iter; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)] + public struct ecs_iter_private_t + { + [FieldOffset(0)] // size = 296 + public ecs_iter_private_t_ANONYMOUS_FIELD0 iter; - [FieldOffset(304)] // size = 24 - public ecs_iter_cache_t cache; - } + [FieldOffset(296)] // size = 8 + public void* entity_iter; - [CNode(Kind = "Union")] - [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] - public struct ecs_iter_private_t_ANONYMOUS_FIELD0 - { - [FieldOffset(0)] // size = 272 - public ecs_term_iter_t term; + [FieldOffset(304)] // size = 24 + public ecs_iter_cache_t cache; + } - [FieldOffset(0)] // size = 296 - public ecs_filter_iter_t filter; + [CNode(Kind = "Union")] + [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] + public struct ecs_iter_private_t_ANONYMOUS_FIELD0 + { + [FieldOffset(0)] // size = 272 + public ecs_term_iter_t term; - [FieldOffset(0)] // size = 48 - public ecs_query_iter_t query; + [FieldOffset(0)] // size = 296 + public ecs_filter_iter_t filter; - [FieldOffset(0)] // size = 64 - public ecs_rule_iter_t rule; + [FieldOffset(0)] // size = 48 + public ecs_query_iter_t query; - [FieldOffset(0)] // size = 120 - public ecs_snapshot_iter_t snapshot; + [FieldOffset(0)] // size = 64 + public ecs_rule_iter_t rule; - [FieldOffset(0)] // size = 12 - public ecs_page_iter_t page; + [FieldOffset(0)] // size = 120 + public ecs_snapshot_iter_t snapshot; - [FieldOffset(0)] // size = 8 - public ecs_worker_iter_t worker; - } + [FieldOffset(0)] // size = 12 + public ecs_page_iter_t page; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 608, Pack = 8)] - public struct ecs_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_world_t* world; + [FieldOffset(0)] // size = 8 + public ecs_worker_iter_t worker; + } - [FieldOffset(8)] // size = 8 - public ecs_world_t* real_world; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 608, Pack = 8)] + public struct ecs_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_world_t* world; - [FieldOffset(16)] // size = 8 - public ecs_entity_t* entities; + [FieldOffset(8)] // size = 8 + public ecs_world_t* real_world; - [FieldOffset(24)] // size = 8 - public void** ptrs; + [FieldOffset(16)] // size = 8 + public ecs_entity_t* entities; - [FieldOffset(32)] // size = 8 - public ecs_size_t* sizes; + [FieldOffset(24)] // size = 8 + public void** ptrs; - [FieldOffset(40)] // size = 8 - public ecs_table_t* table; + [FieldOffset(32)] // size = 8 + public ecs_size_t* sizes; - [FieldOffset(48)] // size = 8 - public ecs_table_t* other_table; + [FieldOffset(40)] // size = 8 + public ecs_table_t* table; - [FieldOffset(56)] // size = 8 - public ecs_id_t* ids; + [FieldOffset(48)] // size = 8 + public ecs_table_t* other_table; - [FieldOffset(64)] // size = 8 - public ecs_var_t* variables; + [FieldOffset(56)] // size = 8 + public ecs_id_t* ids; - [FieldOffset(72)] // size = 8 - public int* columns; + [FieldOffset(64)] // size = 8 + public ecs_var_t* variables; - [FieldOffset(80)] // size = 8 - public ecs_entity_t* sources; + [FieldOffset(72)] // size = 8 + public int* columns; - [FieldOffset(88)] // size = 8 - public int* match_indices; + [FieldOffset(80)] // size = 8 + public ecs_entity_t* sources; - [FieldOffset(96)] // size = 8 - public ecs_ref_t* references; + [FieldOffset(88)] // size = 8 + public int* match_indices; - [FieldOffset(104)] // size = 8 - public ecs_flags64_t constrained_vars; + [FieldOffset(96)] // size = 8 + public ecs_ref_t* references; - [FieldOffset(112)] // size = 8 - public ulong group_id; + [FieldOffset(104)] // size = 8 + public ecs_flags64_t constrained_vars; - [FieldOffset(120)] // size = 4 - public int field_count; + [FieldOffset(112)] // size = 8 + public ulong group_id; - [FieldOffset(128)] // size = 8 - public ecs_entity_t system; + [FieldOffset(120)] // size = 4 + public int field_count; - [FieldOffset(136)] // size = 8 - public ecs_entity_t @event; + [FieldOffset(128)] // size = 8 + public ecs_entity_t system; - [FieldOffset(144)] // size = 8 - public ecs_id_t event_id; + [FieldOffset(136)] // size = 8 + public ecs_entity_t @event; - [FieldOffset(152)] // size = 8 - public ecs_term_t* terms; + [FieldOffset(144)] // size = 8 + public ecs_id_t event_id; - [FieldOffset(160)] // size = 4 - public int table_count; + [FieldOffset(152)] // size = 8 + public ecs_term_t* terms; - [FieldOffset(164)] // size = 4 - public int term_index; + [FieldOffset(160)] // size = 4 + public int table_count; - [FieldOffset(168)] // size = 4 - public int variable_count; + [FieldOffset(164)] // size = 4 + public int term_index; - [FieldOffset(176)] // size = 8 - public CString* variable_names; + [FieldOffset(168)] // size = 4 + public int variable_count; - [FieldOffset(184)] // size = 8 - public void* param; + [FieldOffset(176)] // size = 8 + public CString* variable_names; - [FieldOffset(192)] // size = 8 - public void* ctx; + [FieldOffset(184)] // size = 8 + public void* param; - [FieldOffset(200)] // size = 8 - public void* binding_ctx; + [FieldOffset(192)] // size = 8 + public void* ctx; - [FieldOffset(208)] // size = 4 - public float delta_time; + [FieldOffset(200)] // size = 8 + public void* binding_ctx; - [FieldOffset(212)] // size = 4 - public float delta_system_time; + [FieldOffset(208)] // size = 4 + public float delta_time; - [FieldOffset(216)] // size = 4 - public int frame_offset; + [FieldOffset(212)] // size = 4 + public float delta_system_time; - [FieldOffset(220)] // size = 4 - public int offset; + [FieldOffset(216)] // size = 4 + public int frame_offset; - [FieldOffset(224)] // size = 4 - public int count; + [FieldOffset(220)] // size = 4 + public int offset; - [FieldOffset(228)] // size = 4 - public int instance_count; + [FieldOffset(224)] // size = 4 + public int count; - [FieldOffset(232)] // size = 4 - public ecs_flags32_t flags; + [FieldOffset(228)] // size = 4 + public int instance_count; - [FieldOffset(240)] // size = 8 - public ecs_entity_t interrupted_by; + [FieldOffset(232)] // size = 4 + public ecs_flags32_t flags; - [FieldOffset(248)] // size = 328 - public ecs_iter_private_t priv; + [FieldOffset(240)] // size = 8 + public ecs_entity_t interrupted_by; - [FieldOffset(576)] // size = 8 - public ecs_iter_next_action_t next; + [FieldOffset(248)] // size = 328 + public ecs_iter_private_t priv; - [FieldOffset(584)] // size = 8 - public ecs_iter_action_t callback; + [FieldOffset(576)] // size = 8 + public ecs_iter_next_action_t next; - [FieldOffset(592)] // size = 8 - public ecs_iter_fini_action_t fini; + [FieldOffset(584)] // size = 8 + public ecs_iter_action_t callback; - [FieldOffset(600)] // size = 8 - public ecs_iter_t* chain_it; - } + [FieldOffset(592)] // size = 8 + public ecs_iter_fini_action_t fini; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 1)] - public struct ecs_iter_to_json_desc_t - { - [FieldOffset(0)] // size = 1 - public CBool serialize_term_ids; + [FieldOffset(600)] // size = 8 + public ecs_iter_t* chain_it; + } - [FieldOffset(1)] // size = 1 - public CBool serialize_ids; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 1)] + public struct ecs_iter_to_json_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool serialize_term_ids; - [FieldOffset(2)] // size = 1 - public CBool serialize_sources; + [FieldOffset(1)] // size = 1 + public CBool serialize_ids; - [FieldOffset(3)] // size = 1 - public CBool serialize_variables; + [FieldOffset(2)] // size = 1 + public CBool serialize_sources; - [FieldOffset(4)] // size = 1 - public CBool serialize_is_set; + [FieldOffset(3)] // size = 1 + public CBool serialize_variables; - [FieldOffset(5)] // size = 1 - public CBool serialize_values; + [FieldOffset(4)] // size = 1 + public CBool serialize_is_set; - [FieldOffset(6)] // size = 1 - public CBool serialize_entities; + [FieldOffset(5)] // size = 1 + public CBool serialize_values; - [FieldOffset(7)] // size = 1 - public CBool serialize_entity_labels; + [FieldOffset(6)] // size = 1 + public CBool serialize_entities; - [FieldOffset(8)] // size = 1 - public CBool serialize_entity_ids; + [FieldOffset(7)] // size = 1 + public CBool serialize_entity_labels; - [FieldOffset(9)] // size = 1 - public CBool serialize_entity_names; + [FieldOffset(8)] // size = 1 + public CBool serialize_entity_ids; - [FieldOffset(10)] // size = 1 - public CBool serialize_variable_labels; + [FieldOffset(9)] // size = 1 + public CBool serialize_entity_names; - [FieldOffset(11)] // size = 1 - public CBool serialize_variable_ids; + [FieldOffset(10)] // size = 1 + public CBool serialize_variable_labels; - [FieldOffset(12)] // size = 1 - public CBool serialize_colors; + [FieldOffset(11)] // size = 1 + public CBool serialize_variable_ids; - [FieldOffset(13)] // size = 1 - public CBool measure_eval_duration; + [FieldOffset(12)] // size = 1 + public CBool serialize_colors; - [FieldOffset(14)] // size = 1 - public CBool serialize_type_info; + [FieldOffset(13)] // size = 1 + public CBool measure_eval_duration; - [FieldOffset(15)] // size = 1 - public CBool serialize_table; - } + [FieldOffset(14)] // size = 1 + public CBool serialize_type_info; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iterable_t - { - [FieldOffset(0)] // size = 8 - public ecs_iter_init_action_t init; - } + [FieldOffset(15)] // size = 1 + public CBool serialize_table; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_map_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_map_t* map; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iterable_t + { + [FieldOffset(0)] // size = 8 + public ecs_iter_init_action_t init; + } - [FieldOffset(8)] // size = 8 - public ecs_bucket_t* bucket; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_map_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_map_t* map; - [FieldOffset(16)] // size = 8 - public ecs_bucket_entry_t* entry; + [FieldOffset(8)] // size = 8 + public ecs_bucket_t* bucket; - [FieldOffset(24)] // size = 8 - public ecs_map_data_t* res; - } + [FieldOffset(16)] // size = 8 + public ecs_bucket_entry_t* entry; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_map_params_t - { - [FieldOffset(0)] // size = 8 - public ecs_allocator_t* allocator; + [FieldOffset(24)] // size = 8 + public ecs_map_data_t* res; + } - [FieldOffset(8)] // size = 48 - public ecs_block_allocator_t entry_allocator; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_map_params_t + { + [FieldOffset(0)] // size = 8 + public ecs_allocator_t* allocator; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_map_t - { - [FieldOffset(0)] // size = 1 - public byte bucket_shift; + [FieldOffset(8)] // size = 48 + public ecs_block_allocator_t entry_allocator; + } - [FieldOffset(1)] // size = 1 - public CBool shared_allocator; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_map_t + { + [FieldOffset(0)] // size = 1 + public byte bucket_shift; - [FieldOffset(8)] // size = 8 - public ecs_bucket_t* buckets; + [FieldOffset(1)] // size = 1 + public CBool shared_allocator; - [FieldOffset(16)] // size = 4 - public int bucket_count; + [FieldOffset(8)] // size = 8 + public ecs_bucket_t* buckets; - [FieldOffset(20)] // size = 4 - public int count; + [FieldOffset(16)] // size = 4 + public int bucket_count; - [FieldOffset(24)] // size = 8 - public ecs_block_allocator_t* entry_allocator; + [FieldOffset(20)] // size = 4 + public int count; - [FieldOffset(32)] // size = 8 - public ecs_allocator_t* allocator; - } + [FieldOffset(24)] // size = 8 + public ecs_block_allocator_t* entry_allocator; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] - public struct ecs_member_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(32)] // size = 8 + public ecs_allocator_t* allocator; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] + public struct ecs_member_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 8 - public ecs_entity_t type; + [FieldOffset(8)] // size = 8 + public ecs_entity_t type; - [FieldOffset(16)] // size = 4 - public int count; + [FieldOffset(16)] // size = 4 + public int count; - [FieldOffset(20)] // size = 4 - public int offset; + [FieldOffset(20)] // size = 4 + public int offset; - [FieldOffset(24)] // size = 8 - public ecs_entity_t unit; + [FieldOffset(24)] // size = 8 + public ecs_entity_t unit; - [FieldOffset(32)] // size = 16 - public ecs_member_value_range_t range; + [FieldOffset(32)] // size = 16 + public ecs_member_value_range_t range; - [FieldOffset(48)] // size = 16 - public ecs_member_value_range_t error_range; + [FieldOffset(48)] // size = 16 + public ecs_member_value_range_t error_range; - [FieldOffset(64)] // size = 16 - public ecs_member_value_range_t warning_range; + [FieldOffset(64)] // size = 16 + public ecs_member_value_range_t warning_range; - [FieldOffset(80)] // size = 4 - public ecs_size_t size; + [FieldOffset(80)] // size = 4 + public ecs_size_t size; - [FieldOffset(88)] // size = 8 - public ecs_entity_t member; - } + [FieldOffset(88)] // size = 8 + public ecs_entity_t member; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_member_value_range_t - { - [FieldOffset(0)] // size = 8 - public double min; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_member_value_range_t + { + [FieldOffset(0)] // size = 8 + public double min; - [FieldOffset(8)] // size = 8 - public double max; - } + [FieldOffset(8)] // size = 8 + public double max; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2592, Pack = 8)] - public struct ecs_meta_cursor_t - { - [FieldOffset(0)] // size = 8 - public ecs_world_t* world; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2592, Pack = 8)] + public struct ecs_meta_cursor_t + { + [FieldOffset(0)] // size = 8 + public ecs_world_t* world; - [FieldOffset(8)] // size = 2560 - public fixed byte _scope[2560]; // ecs_meta_scope_t[32] + [FieldOffset(8)] // size = 2560 + public fixed byte _scope[2560]; // ecs_meta_scope_t[32] - public readonly Span scope - { - get + public readonly Span scope { - fixed (ecs_meta_cursor_t* @this = &this) + get { - var pointer = &@this->_scope[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_meta_cursor_t* @this = &this) + { + var pointer = &@this->_scope[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(2568)] // size = 4 - public int depth; + [FieldOffset(2568)] // size = 4 + public int depth; - [FieldOffset(2572)] // size = 1 - public CBool valid; + [FieldOffset(2572)] // size = 1 + public CBool valid; - [FieldOffset(2573)] // size = 1 - public CBool is_primitive_scope; + [FieldOffset(2573)] // size = 1 + public CBool is_primitive_scope; - [FieldOffset(2576)] // size = 8 - public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; + [FieldOffset(2576)] // size = 8 + public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; - [FieldOffset(2584)] // size = 8 - public void* lookup_ctx; - } + [FieldOffset(2584)] // size = 8 + public void* lookup_ctx; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] - public struct ecs_meta_scope_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] + public struct ecs_meta_scope_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; - [FieldOffset(8)] // size = 8 - public ecs_meta_type_op_t* ops; + [FieldOffset(8)] // size = 8 + public ecs_meta_type_op_t* ops; - [FieldOffset(16)] // size = 4 - public int op_count; + [FieldOffset(16)] // size = 4 + public int op_count; - [FieldOffset(20)] // size = 4 - public int op_cur; + [FieldOffset(20)] // size = 4 + public int op_cur; - [FieldOffset(24)] // size = 4 - public int elem_cur; + [FieldOffset(24)] // size = 4 + public int elem_cur; - [FieldOffset(28)] // size = 4 - public int prev_depth; + [FieldOffset(28)] // size = 4 + public int prev_depth; - [FieldOffset(32)] // size = 8 - public void* ptr; + [FieldOffset(32)] // size = 8 + public void* ptr; - [FieldOffset(40)] // size = 8 - public EcsComponent* comp; + [FieldOffset(40)] // size = 8 + public EcsComponent* comp; - [FieldOffset(48)] // size = 8 - public EcsOpaque* opaque; + [FieldOffset(48)] // size = 8 + public EcsOpaque* opaque; - [FieldOffset(56)] // size = 8 - public ecs_vec_t* vector; + [FieldOffset(56)] // size = 8 + public ecs_vec_t* vector; - [FieldOffset(64)] // size = 8 - public ecs_hashmap_t* members; + [FieldOffset(64)] // size = 8 + public ecs_hashmap_t* members; - [FieldOffset(72)] // size = 1 - public CBool is_collection; + [FieldOffset(72)] // size = 1 + public CBool is_collection; - [FieldOffset(73)] // size = 1 - public CBool is_inline_array; + [FieldOffset(73)] // size = 1 + public CBool is_inline_array; - [FieldOffset(74)] // size = 1 - public CBool is_empty_scope; - } + [FieldOffset(74)] // size = 1 + public CBool is_empty_scope; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_meta_type_op_t - { - [FieldOffset(0)] // size = 4 - public ecs_meta_type_op_kind_t kind; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_meta_type_op_t + { + [FieldOffset(0)] // size = 4 + public ecs_meta_type_op_kind_t kind; - [FieldOffset(4)] // size = 4 - public ecs_size_t offset; + [FieldOffset(4)] // size = 4 + public ecs_size_t offset; - [FieldOffset(8)] // size = 4 - public int count; + [FieldOffset(8)] // size = 4 + public int count; - [FieldOffset(16)] // size = 8 - public CString _name; + [FieldOffset(16)] // size = 8 + public CString _name; - public string name - { - get - { - return CString.ToString(_name); - } - set + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(24)] // size = 4 - public int op_count; + [FieldOffset(24)] // size = 4 + public int op_count; - [FieldOffset(28)] // size = 4 - public ecs_size_t size; + [FieldOffset(28)] // size = 4 + public ecs_size_t size; - [FieldOffset(32)] // size = 8 - public ecs_entity_t type; + [FieldOffset(32)] // size = 8 + public ecs_entity_t type; - [FieldOffset(40)] // size = 4 - public int member_index; + [FieldOffset(40)] // size = 4 + public int member_index; - [FieldOffset(48)] // size = 8 - public ecs_hashmap_t* members; - } + [FieldOffset(48)] // size = 8 + public ecs_hashmap_t* members; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_metric_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_metric_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 8 - public ecs_entity_t member; + [FieldOffset(16)] // size = 8 + public ecs_entity_t member; - [FieldOffset(24)] // size = 8 - public ecs_id_t id; + [FieldOffset(24)] // size = 8 + public ecs_id_t id; - [FieldOffset(32)] // size = 1 - public CBool targets; + [FieldOffset(32)] // size = 1 + public CBool targets; - [FieldOffset(40)] // size = 8 - public ecs_entity_t kind; + [FieldOffset(40)] // size = 8 + public ecs_entity_t kind; - [FieldOffset(48)] // size = 8 - public CString _brief; + [FieldOffset(48)] // size = 8 + public CString _brief; - public string brief - { - get - { - return CString.ToString(_brief); - } - set + public string brief { - _brief = CString.FromString(value); + get + { + return CString.ToString(_brief); + } + set + { + _brief = CString.FromString(value); + } } } - } - [CNode(Kind = "Union")] - [StructLayout(LayoutKind.Explicit, Size = 1200, Pack = 8)] - public struct ecs_metric_t - { - [FieldOffset(0)] // size = 720 - public ecs_gauge_t gauge; + [CNode(Kind = "Union")] + [StructLayout(LayoutKind.Explicit, Size = 1200, Pack = 8)] + public struct ecs_metric_t + { + [FieldOffset(0)] // size = 720 + public ecs_gauge_t gauge; - [FieldOffset(0)] // size = 1200 - public ecs_counter_t counter; - } + [FieldOffset(0)] // size = 1200 + public ecs_counter_t counter; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 440, Pack = 8)] - public struct ecs_observable_t - { - [FieldOffset(0)] // size = 72 - public ecs_event_record_t on_add; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 440, Pack = 8)] + public struct ecs_observable_t + { + [FieldOffset(0)] // size = 72 + public ecs_event_record_t on_add; - [FieldOffset(72)] // size = 72 - public ecs_event_record_t on_remove; + [FieldOffset(72)] // size = 72 + public ecs_event_record_t on_remove; - [FieldOffset(144)] // size = 72 - public ecs_event_record_t on_set; + [FieldOffset(144)] // size = 72 + public ecs_event_record_t on_set; - [FieldOffset(216)] // size = 72 - public ecs_event_record_t un_set; + [FieldOffset(216)] // size = 72 + public ecs_event_record_t un_set; - [FieldOffset(288)] // size = 72 - public ecs_event_record_t on_wildcard; + [FieldOffset(288)] // size = 72 + public ecs_event_record_t on_wildcard; - [FieldOffset(360)] // size = 80 - public ecs_sparse_t events; - } + [FieldOffset(360)] // size = 80 + public ecs_sparse_t events; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2648, Pack = 8)] - public struct ecs_observer_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2648, Pack = 8)] + public struct ecs_observer_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 2488 - public ecs_filter_desc_t filter; + [FieldOffset(16)] // size = 2488 + public ecs_filter_desc_t filter; - [FieldOffset(2504)] // size = 64 - public fixed byte _events[64]; // ecs_entity_t[8] + [FieldOffset(2504)] // size = 64 + public fixed byte _events[64]; // ecs_entity_t[8] - public readonly Span events - { - get + public readonly Span events { - fixed (ecs_observer_desc_t* @this = &this) + get { - var pointer = &@this->_events[0]; - var span = new Span(pointer, 8); - return span; + fixed (ecs_observer_desc_t* @this = &this) + { + var pointer = &@this->_events[0]; + var span = new Span(pointer, 8); + return span; + } } } - } - [FieldOffset(2568)] // size = 1 - public CBool yield_existing; + [FieldOffset(2568)] // size = 1 + public CBool yield_existing; - [FieldOffset(2576)] // size = 8 - public ecs_iter_action_t callback; + [FieldOffset(2576)] // size = 8 + public ecs_iter_action_t callback; - [FieldOffset(2584)] // size = 8 - public ecs_run_action_t run; + [FieldOffset(2584)] // size = 8 + public ecs_run_action_t run; - [FieldOffset(2592)] // size = 8 - public void* ctx; + [FieldOffset(2592)] // size = 8 + public void* ctx; - [FieldOffset(2600)] // size = 8 - public void* binding_ctx; + [FieldOffset(2600)] // size = 8 + public void* binding_ctx; - [FieldOffset(2608)] // size = 8 - public ecs_ctx_free_t ctx_free; + [FieldOffset(2608)] // size = 8 + public ecs_ctx_free_t ctx_free; - [FieldOffset(2616)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; + [FieldOffset(2616)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; - [FieldOffset(2624)] // size = 8 - public ecs_poly_t* observable; + [FieldOffset(2624)] // size = 8 + public ecs_poly_t* observable; - [FieldOffset(2632)] // size = 8 - public int* last_event_id; + [FieldOffset(2632)] // size = 8 + public int* last_event_id; - [FieldOffset(2640)] // size = 4 - public int term_index; - } + [FieldOffset(2640)] // size = 4 + public int term_index; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] - public struct ecs_observer_t - { - [FieldOffset(0)] // size = 16 - public ecs_header_t hdr; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] + public struct ecs_observer_t + { + [FieldOffset(0)] // size = 16 + public ecs_header_t hdr; - [FieldOffset(16)] // size = 88 - public ecs_filter_t filter; + [FieldOffset(16)] // size = 88 + public ecs_filter_t filter; - [FieldOffset(104)] // size = 64 - public fixed byte _events[64]; // ecs_entity_t[8] + [FieldOffset(104)] // size = 64 + public fixed byte _events[64]; // ecs_entity_t[8] - public readonly Span events - { - get + public readonly Span events { - fixed (ecs_observer_t* @this = &this) + get { - var pointer = &@this->_events[0]; - var span = new Span(pointer, 8); - return span; + fixed (ecs_observer_t* @this = &this) + { + var pointer = &@this->_events[0]; + var span = new Span(pointer, 8); + return span; + } } } - } - - [FieldOffset(168)] // size = 4 - public int event_count; - [FieldOffset(176)] // size = 8 - public ecs_iter_action_t callback; + [FieldOffset(168)] // size = 4 + public int event_count; - [FieldOffset(184)] // size = 8 - public ecs_run_action_t run; + [FieldOffset(176)] // size = 8 + public ecs_iter_action_t callback; - [FieldOffset(192)] // size = 8 - public void* ctx; + [FieldOffset(184)] // size = 8 + public ecs_run_action_t run; - [FieldOffset(200)] // size = 8 - public void* binding_ctx; + [FieldOffset(192)] // size = 8 + public void* ctx; - [FieldOffset(208)] // size = 8 - public ecs_ctx_free_t ctx_free; + [FieldOffset(200)] // size = 8 + public void* binding_ctx; - [FieldOffset(216)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; + [FieldOffset(208)] // size = 8 + public ecs_ctx_free_t ctx_free; - [FieldOffset(224)] // size = 8 - public ecs_observable_t* observable; + [FieldOffset(216)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; - [FieldOffset(232)] // size = 8 - public int* last_event_id; + [FieldOffset(224)] // size = 8 + public ecs_observable_t* observable; - [FieldOffset(240)] // size = 4 - public int last_event_id_storage; + [FieldOffset(232)] // size = 8 + public int* last_event_id; - [FieldOffset(248)] // size = 8 - public ecs_id_t register_id; + [FieldOffset(240)] // size = 4 + public int last_event_id_storage; - [FieldOffset(256)] // size = 4 - public int term_index; + [FieldOffset(248)] // size = 8 + public ecs_id_t register_id; - [FieldOffset(260)] // size = 1 - public CBool is_monitor; + [FieldOffset(256)] // size = 4 + public int term_index; - [FieldOffset(261)] // size = 1 - public CBool is_multi; + [FieldOffset(260)] // size = 1 + public CBool is_monitor; - [FieldOffset(264)] // size = 8 - public ecs_poly_dtor_t dtor; - } + [FieldOffset(261)] // size = 1 + public CBool is_multi; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 128, Pack = 8)] - public struct ecs_opaque_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(264)] // size = 8 + public ecs_poly_dtor_t dtor; + } - [FieldOffset(8)] // size = 120 - public EcsOpaque type; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 128, Pack = 8)] + public struct ecs_opaque_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 312, Pack = 8)] - public struct ecs_os_api_t - { - [FieldOffset(0)] // size = 8 - public ecs_os_api_init_t init_; + [FieldOffset(8)] // size = 120 + public EcsOpaque type; + } - [FieldOffset(8)] // size = 8 - public ecs_os_api_fini_t fini_; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 312, Pack = 8)] + public struct ecs_os_api_t + { + [FieldOffset(0)] // size = 8 + public ecs_os_api_init_t init_; - [FieldOffset(16)] // size = 8 - public ecs_os_api_malloc_t malloc_; + [FieldOffset(8)] // size = 8 + public ecs_os_api_fini_t fini_; - [FieldOffset(24)] // size = 8 - public ecs_os_api_realloc_t realloc_; + [FieldOffset(16)] // size = 8 + public ecs_os_api_malloc_t malloc_; - [FieldOffset(32)] // size = 8 - public ecs_os_api_calloc_t calloc_; + [FieldOffset(24)] // size = 8 + public ecs_os_api_realloc_t realloc_; - [FieldOffset(40)] // size = 8 - public ecs_os_api_free_t free_; + [FieldOffset(32)] // size = 8 + public ecs_os_api_calloc_t calloc_; - [FieldOffset(48)] // size = 8 - public ecs_os_api_strdup_t strdup_; + [FieldOffset(40)] // size = 8 + public ecs_os_api_free_t free_; - [FieldOffset(56)] // size = 8 - public ecs_os_api_thread_new_t thread_new_; + [FieldOffset(48)] // size = 8 + public ecs_os_api_strdup_t strdup_; - [FieldOffset(64)] // size = 8 - public ecs_os_api_thread_join_t thread_join_; + [FieldOffset(56)] // size = 8 + public ecs_os_api_thread_new_t thread_new_; - [FieldOffset(72)] // size = 8 - public ecs_os_api_thread_self_t thread_self_; + [FieldOffset(64)] // size = 8 + public ecs_os_api_thread_join_t thread_join_; - [FieldOffset(80)] // size = 8 - public ecs_os_api_thread_new_t task_new_; + [FieldOffset(72)] // size = 8 + public ecs_os_api_thread_self_t thread_self_; - [FieldOffset(88)] // size = 8 - public ecs_os_api_thread_join_t task_join_; + [FieldOffset(80)] // size = 8 + public ecs_os_api_thread_new_t task_new_; - [FieldOffset(96)] // size = 8 - public ecs_os_api_ainc_t ainc_; + [FieldOffset(88)] // size = 8 + public ecs_os_api_thread_join_t task_join_; - [FieldOffset(104)] // size = 8 - public ecs_os_api_ainc_t adec_; + [FieldOffset(96)] // size = 8 + public ecs_os_api_ainc_t ainc_; - [FieldOffset(112)] // size = 8 - public ecs_os_api_lainc_t lainc_; + [FieldOffset(104)] // size = 8 + public ecs_os_api_ainc_t adec_; - [FieldOffset(120)] // size = 8 - public ecs_os_api_lainc_t ladec_; + [FieldOffset(112)] // size = 8 + public ecs_os_api_lainc_t lainc_; - [FieldOffset(128)] // size = 8 - public ecs_os_api_mutex_new_t mutex_new_; + [FieldOffset(120)] // size = 8 + public ecs_os_api_lainc_t ladec_; - [FieldOffset(136)] // size = 8 - public ecs_os_api_mutex_free_t mutex_free_; + [FieldOffset(128)] // size = 8 + public ecs_os_api_mutex_new_t mutex_new_; - [FieldOffset(144)] // size = 8 - public ecs_os_api_mutex_lock_t mutex_lock_; + [FieldOffset(136)] // size = 8 + public ecs_os_api_mutex_free_t mutex_free_; - [FieldOffset(152)] // size = 8 - public ecs_os_api_mutex_lock_t mutex_unlock_; + [FieldOffset(144)] // size = 8 + public ecs_os_api_mutex_lock_t mutex_lock_; - [FieldOffset(160)] // size = 8 - public ecs_os_api_cond_new_t cond_new_; + [FieldOffset(152)] // size = 8 + public ecs_os_api_mutex_lock_t mutex_unlock_; - [FieldOffset(168)] // size = 8 - public ecs_os_api_cond_free_t cond_free_; + [FieldOffset(160)] // size = 8 + public ecs_os_api_cond_new_t cond_new_; - [FieldOffset(176)] // size = 8 - public ecs_os_api_cond_signal_t cond_signal_; + [FieldOffset(168)] // size = 8 + public ecs_os_api_cond_free_t cond_free_; - [FieldOffset(184)] // size = 8 - public ecs_os_api_cond_broadcast_t cond_broadcast_; + [FieldOffset(176)] // size = 8 + public ecs_os_api_cond_signal_t cond_signal_; - [FieldOffset(192)] // size = 8 - public ecs_os_api_cond_wait_t cond_wait_; + [FieldOffset(184)] // size = 8 + public ecs_os_api_cond_broadcast_t cond_broadcast_; - [FieldOffset(200)] // size = 8 - public ecs_os_api_sleep_t sleep_; + [FieldOffset(192)] // size = 8 + public ecs_os_api_cond_wait_t cond_wait_; - [FieldOffset(208)] // size = 8 - public ecs_os_api_now_t now_; + [FieldOffset(200)] // size = 8 + public ecs_os_api_sleep_t sleep_; - [FieldOffset(216)] // size = 8 - public ecs_os_api_get_time_t get_time_; + [FieldOffset(208)] // size = 8 + public ecs_os_api_now_t now_; - [FieldOffset(224)] // size = 8 - public ecs_os_api_log_t log_; + [FieldOffset(216)] // size = 8 + public ecs_os_api_get_time_t get_time_; - [FieldOffset(232)] // size = 8 - public ecs_os_api_abort_t abort_; + [FieldOffset(224)] // size = 8 + public ecs_os_api_log_t log_; - [FieldOffset(240)] // size = 8 - public ecs_os_api_dlopen_t dlopen_; + [FieldOffset(232)] // size = 8 + public ecs_os_api_abort_t abort_; - [FieldOffset(248)] // size = 8 - public ecs_os_api_dlproc_t dlproc_; + [FieldOffset(240)] // size = 8 + public ecs_os_api_dlopen_t dlopen_; - [FieldOffset(256)] // size = 8 - public ecs_os_api_dlclose_t dlclose_; + [FieldOffset(248)] // size = 8 + public ecs_os_api_dlproc_t dlproc_; - [FieldOffset(264)] // size = 8 - public ecs_os_api_module_to_path_t module_to_dl_; + [FieldOffset(256)] // size = 8 + public ecs_os_api_dlclose_t dlclose_; - [FieldOffset(272)] // size = 8 - public ecs_os_api_module_to_path_t module_to_etc_; + [FieldOffset(264)] // size = 8 + public ecs_os_api_module_to_path_t module_to_dl_; - [FieldOffset(280)] // size = 4 - public int log_level_; + [FieldOffset(272)] // size = 8 + public ecs_os_api_module_to_path_t module_to_etc_; - [FieldOffset(284)] // size = 4 - public int log_indent_; + [FieldOffset(280)] // size = 4 + public int log_level_; - [FieldOffset(288)] // size = 4 - public int log_last_error_; + [FieldOffset(284)] // size = 4 + public int log_indent_; - [FieldOffset(296)] // size = 8 - public long log_last_timestamp_; + [FieldOffset(288)] // size = 4 + public int log_last_error_; - [FieldOffset(304)] // size = 4 - public ecs_flags32_t flags_; - } + [FieldOffset(296)] // size = 8 + public long log_last_timestamp_; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public struct ecs_page_iter_t - { - [FieldOffset(0)] // size = 4 - public int offset; + [FieldOffset(304)] // size = 4 + public ecs_flags32_t flags_; + } - [FieldOffset(4)] // size = 4 - public int limit; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] + public struct ecs_page_iter_t + { + [FieldOffset(0)] // size = 4 + public int offset; - [FieldOffset(8)] // size = 4 - public int remaining; - } + [FieldOffset(4)] // size = 4 + public int limit; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_parse_expr_desc_t - { - [FieldOffset(0)] // size = 8 - public CString _name; + [FieldOffset(8)] // size = 4 + public int remaining; + } - public string name + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_parse_expr_desc_t { - get - { - return CString.ToString(_name); - } - set + [FieldOffset(0)] // size = 8 + public CString _name; + + public string name { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 8 - public CString _expr; + [FieldOffset(8)] // size = 8 + public CString _expr; - public string expr - { - get + public string expr { - return CString.ToString(_expr); - } - set - { - _expr = CString.FromString(value); + get + { + return CString.ToString(_expr); + } + set + { + _expr = CString.FromString(value); + } } - } - - [FieldOffset(16)] // size = 8 - public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; - [FieldOffset(24)] // size = 8 - public void* lookup_ctx; + [FieldOffset(16)] // size = 8 + public FnPtr_EcsWorldTPtr_CString_VoidPtr_EcsEntityT lookup_action; - [FieldOffset(32)] // size = 8 - public ecs_vars_t* vars; - } + [FieldOffset(24)] // size = 8 + public void* lookup_ctx; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2584, Pack = 8)] - public struct ecs_pipeline_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(32)] // size = 8 + public ecs_vars_t* vars; + } - [FieldOffset(8)] // size = 2576 - public ecs_query_desc_t query; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2584, Pack = 8)] + public struct ecs_pipeline_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] - public struct ecs_pipeline_stats_t - { - [FieldOffset(0)] // size = 1 - public sbyte canary_; + [FieldOffset(8)] // size = 2576 + public ecs_query_desc_t query; + } - [FieldOffset(8)] // size = 24 - public ecs_vec_t systems; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] + public struct ecs_pipeline_stats_t + { + [FieldOffset(0)] // size = 1 + public sbyte canary_; - [FieldOffset(32)] // size = 40 - public ecs_map_t system_stats; + [FieldOffset(8)] // size = 24 + public ecs_vec_t systems; - [FieldOffset(72)] // size = 4 - public int t; + [FieldOffset(32)] // size = 40 + public ecs_map_t system_stats; - [FieldOffset(76)] // size = 4 - public int system_count; + [FieldOffset(72)] // size = 4 + public int t; - [FieldOffset(80)] // size = 4 - public int active_system_count; + [FieldOffset(76)] // size = 4 + public int system_count; - [FieldOffset(84)] // size = 4 - public int rebuild_count; - } + [FieldOffset(80)] // size = 4 + public int active_system_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_primitive_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(84)] // size = 4 + public int rebuild_count; + } - [FieldOffset(8)] // size = 4 - public ecs_primitive_kind_t kind; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_primitive_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2576, Pack = 8)] - public struct ecs_query_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [FieldOffset(8)] // size = 4 + public ecs_primitive_kind_t kind; + } - [FieldOffset(8)] // size = 2488 - public ecs_filter_desc_t filter; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2576, Pack = 8)] + public struct ecs_query_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(2496)] // size = 8 - public ecs_entity_t order_by_component; + [FieldOffset(8)] // size = 2488 + public ecs_filter_desc_t filter; - [FieldOffset(2504)] // size = 8 - public ecs_order_by_action_t order_by; + [FieldOffset(2496)] // size = 8 + public ecs_entity_t order_by_component; - [FieldOffset(2512)] // size = 8 - public ecs_sort_table_action_t sort_table; + [FieldOffset(2504)] // size = 8 + public ecs_order_by_action_t order_by; - [FieldOffset(2520)] // size = 8 - public ecs_id_t group_by_id; + [FieldOffset(2512)] // size = 8 + public ecs_sort_table_action_t sort_table; - [FieldOffset(2528)] // size = 8 - public ecs_group_by_action_t group_by; + [FieldOffset(2520)] // size = 8 + public ecs_id_t group_by_id; - [FieldOffset(2536)] // size = 8 - public ecs_group_create_action_t on_group_create; + [FieldOffset(2528)] // size = 8 + public ecs_group_by_action_t group_by; - [FieldOffset(2544)] // size = 8 - public ecs_group_delete_action_t on_group_delete; + [FieldOffset(2536)] // size = 8 + public ecs_group_create_action_t on_group_create; - [FieldOffset(2552)] // size = 8 - public void* group_by_ctx; + [FieldOffset(2544)] // size = 8 + public ecs_group_delete_action_t on_group_delete; - [FieldOffset(2560)] // size = 8 - public ecs_ctx_free_t group_by_ctx_free; + [FieldOffset(2552)] // size = 8 + public void* group_by_ctx; - [FieldOffset(2568)] // size = 8 - public ecs_query_t* parent; - } + [FieldOffset(2560)] // size = 8 + public ecs_ctx_free_t group_by_ctx_free; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_query_group_info_t - { - [FieldOffset(0)] // size = 4 - public int match_count; + [FieldOffset(2568)] // size = 8 + public ecs_query_t* parent; + } - [FieldOffset(4)] // size = 4 - public int table_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_query_group_info_t + { + [FieldOffset(0)] // size = 4 + public int match_count; - [FieldOffset(8)] // size = 8 - public void* ctx; - } + [FieldOffset(4)] // size = 4 + public int table_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct ecs_query_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_query_t* query; + [FieldOffset(8)] // size = 8 + public void* ctx; + } - [FieldOffset(8)] // size = 8 - public ecs_query_table_match_t* node; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct ecs_query_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_query_t* query; - [FieldOffset(16)] // size = 8 - public ecs_query_table_match_t* prev; + [FieldOffset(8)] // size = 8 + public ecs_query_table_match_t* node; - [FieldOffset(24)] // size = 8 - public ecs_query_table_match_t* last; + [FieldOffset(16)] // size = 8 + public ecs_query_table_match_t* prev; - [FieldOffset(32)] // size = 4 - public int sparse_smallest; + [FieldOffset(24)] // size = 8 + public ecs_query_table_match_t* last; - [FieldOffset(36)] // size = 4 - public int sparse_first; + [FieldOffset(32)] // size = 4 + public int sparse_smallest; - [FieldOffset(40)] // size = 4 - public int bitset_first; + [FieldOffset(36)] // size = 4 + public int sparse_first; - [FieldOffset(44)] // size = 4 - public int skip_count; - } + [FieldOffset(40)] // size = 4 + public int bitset_first; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 3624, Pack = 8)] - public struct ecs_query_stats_t - { - [FieldOffset(0)] // size = 8 - public long first_; + [FieldOffset(44)] // size = 4 + public int skip_count; + } - [FieldOffset(8)] // size = 1200 - public ecs_metric_t matched_table_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 3624, Pack = 8)] + public struct ecs_query_stats_t + { + [FieldOffset(0)] // size = 8 + public long first_; - [FieldOffset(1208)] // size = 1200 - public ecs_metric_t matched_empty_table_count; + [FieldOffset(8)] // size = 1200 + public ecs_metric_t matched_table_count; - [FieldOffset(2408)] // size = 1200 - public ecs_metric_t matched_entity_count; + [FieldOffset(1208)] // size = 1200 + public ecs_metric_t matched_empty_table_count; - [FieldOffset(3608)] // size = 8 - public long last_; + [FieldOffset(2408)] // size = 1200 + public ecs_metric_t matched_entity_count; - [FieldOffset(3616)] // size = 4 - public int t; - } + [FieldOffset(3608)] // size = 8 + public long last_; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_record_t - { - [FieldOffset(0)] // size = 8 - public ecs_id_record_t* idr; + [FieldOffset(3616)] // size = 4 + public int t; + } - [FieldOffset(8)] // size = 8 - public ecs_table_t* table; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_record_t + { + [FieldOffset(0)] // size = 8 + public ecs_id_record_t* idr; - [FieldOffset(16)] // size = 4 - public uint row; + [FieldOffset(8)] // size = 8 + public ecs_table_t* table; - [FieldOffset(20)] // size = 4 - public int dense; - } + [FieldOffset(16)] // size = 4 + public uint row; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_ref_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(20)] // size = 4 + public int dense; + } - [FieldOffset(8)] // size = 8 - public ecs_entity_t id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_ref_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 8 - public ecs_table_record_t* tr; + [FieldOffset(8)] // size = 8 + public ecs_entity_t id; - [FieldOffset(24)] // size = 8 - public ecs_record_t* @record; - } + [FieldOffset(16)] // size = 8 + public ecs_table_record_t* tr; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] - public struct ecs_rule_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_rule_t* rule; + [FieldOffset(24)] // size = 8 + public ecs_record_t* @record; + } - [FieldOffset(8)] // size = 8 - public ecs_var_t* vars; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] + public struct ecs_rule_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_rule_t* rule; - [FieldOffset(16)] // size = 8 - public ecs_rule_var_t* rule_vars; + [FieldOffset(8)] // size = 8 + public ecs_var_t* vars; - [FieldOffset(24)] // size = 8 - public ecs_rule_op_t* ops; + [FieldOffset(16)] // size = 8 + public ecs_rule_var_t* rule_vars; - [FieldOffset(32)] // size = 8 - public ecs_rule_op_ctx_t* op_ctx; + [FieldOffset(24)] // size = 8 + public ecs_rule_op_t* ops; - [FieldOffset(40)] // size = 8 - public ulong* written; + [FieldOffset(32)] // size = 8 + public ecs_rule_op_ctx_t* op_ctx; - [FieldOffset(48)] // size = 8 - public ecs_rule_op_profile_t* profile; + [FieldOffset(40)] // size = 8 + public ulong* written; - [FieldOffset(56)] // size = 1 - public CBool redo; + [FieldOffset(48)] // size = 8 + public ecs_rule_op_profile_t* profile; - [FieldOffset(58)] // size = 2 - public short op; + [FieldOffset(56)] // size = 1 + public CBool redo; - [FieldOffset(60)] // size = 2 - public short sp; - } + [FieldOffset(58)] // size = 2 + public short op; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_rule_op_profile_t - { - [FieldOffset(0)] // size = 8 - public fixed byte _count[8]; // int32_t[2] + [FieldOffset(60)] // size = 2 + public short sp; + } - public readonly Span count + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct ecs_rule_op_profile_t { - get + [FieldOffset(0)] // size = 8 + public fixed byte _count[8]; // int32_t[2] + + public readonly Span count { - fixed (ecs_rule_op_profile_t* @this = &this) + get { - var pointer = &@this->_count[0]; - var span = new Span(pointer, 2); - return span; + fixed (ecs_rule_op_profile_t* @this = &this) + { + var pointer = &@this->_count[0]; + var span = new Span(pointer, 2); + return span; + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_script_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_script_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 8 - public CString _filename; + [FieldOffset(8)] // size = 8 + public CString _filename; - public string filename - { - get + public string filename { - return CString.ToString(_filename); - } - set - { - _filename = CString.FromString(value); + get + { + return CString.ToString(_filename); + } + set + { + _filename = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public CString _str; + [FieldOffset(16)] // size = 8 + public CString _str; - public string str - { - get + public string str { - return CString.ToString(_str); - } - set - { - _str = CString.FromString(value); + get + { + return CString.ToString(_str); + } + set + { + _str = CString.FromString(value); + } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_serializer_t - { - [FieldOffset(0)] // size = 8 - public FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int value; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_serializer_t + { + [FieldOffset(0)] // size = 8 + public FnPtr_EcsSerializerTPtr_EcsEntityT_VoidPtr_Int value; - [FieldOffset(8)] // size = 8 - public FnPtr_EcsSerializerTPtr_CString_Int member; + [FieldOffset(8)] // size = 8 + public FnPtr_EcsSerializerTPtr_CString_Int member; - [FieldOffset(16)] // size = 8 - public ecs_world_t* world; + [FieldOffset(16)] // size = 8 + public ecs_world_t* world; - [FieldOffset(24)] // size = 8 - public void* ctx; - } + [FieldOffset(24)] // size = 8 + public void* ctx; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] - public struct ecs_snapshot_iter_t - { - [FieldOffset(0)] // size = 88 - public ecs_filter_t filter; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] + public struct ecs_snapshot_iter_t + { + [FieldOffset(0)] // size = 88 + public ecs_filter_t filter; - [FieldOffset(88)] // size = 24 - public ecs_vec_t tables; + [FieldOffset(88)] // size = 24 + public ecs_vec_t tables; - [FieldOffset(112)] // size = 4 - public int index; - } + [FieldOffset(112)] // size = 4 + public int index; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] - public struct ecs_sparse_t - { - [FieldOffset(0)] // size = 24 - public ecs_vec_t dense; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] + public struct ecs_sparse_t + { + [FieldOffset(0)] // size = 24 + public ecs_vec_t dense; - [FieldOffset(24)] // size = 24 - public ecs_vec_t pages; + [FieldOffset(24)] // size = 24 + public ecs_vec_t pages; - [FieldOffset(48)] // size = 4 - public ecs_size_t size; + [FieldOffset(48)] // size = 4 + public ecs_size_t size; - [FieldOffset(52)] // size = 4 - public int count; + [FieldOffset(52)] // size = 4 + public int count; - [FieldOffset(56)] // size = 8 - public ulong max_id; + [FieldOffset(56)] // size = 8 + public ulong max_id; - [FieldOffset(64)] // size = 8 - public ecs_allocator_t* allocator; + [FieldOffset(64)] // size = 8 + public ecs_allocator_t* allocator; - [FieldOffset(72)] // size = 8 - public ecs_block_allocator_t* page_allocator; - } + [FieldOffset(72)] // size = 8 + public ecs_block_allocator_t* page_allocator; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_stack_cursor_t - { - [FieldOffset(0)] // size = 8 - public ecs_stack_page_t* cur; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_stack_cursor_t + { + [FieldOffset(0)] // size = 8 + public ecs_stack_page_t* cur; - [FieldOffset(8)] // size = 2 - public short sp; - } + [FieldOffset(8)] // size = 2 + public short sp; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_strbuf_element - { - [FieldOffset(0)] // size = 1 - public CBool buffer_embedded; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_strbuf_element + { + [FieldOffset(0)] // size = 1 + public CBool buffer_embedded; - [FieldOffset(4)] // size = 4 - public int pos; + [FieldOffset(4)] // size = 4 + public int pos; - [FieldOffset(8)] // size = 8 - public CString _buf; + [FieldOffset(8)] // size = 8 + public CString _buf; - public string buf - { - get - { - return CString.ToString(_buf); - } - set + public string buf { - _buf = CString.FromString(value); + get + { + return CString.ToString(_buf); + } + set + { + _buf = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public ecs_strbuf_element* next; - } + [FieldOffset(16)] // size = 8 + public ecs_strbuf_element* next; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 536, Pack = 8)] - public struct ecs_strbuf_element_embedded - { - [FieldOffset(0)] // size = 24 - public ecs_strbuf_element super; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 536, Pack = 8)] + public struct ecs_strbuf_element_embedded + { + [FieldOffset(0)] // size = 24 + public ecs_strbuf_element super; - [FieldOffset(24)] // size = 512 - public fixed byte _buf[512]; // char[512] + [FieldOffset(24)] // size = 512 + public fixed byte _buf[512]; // char[512] - public string buf - { - get + public string buf { - fixed (ecs_strbuf_element_embedded* @this = &this) + get { - var pointer = &@this->_buf[0]; - var cString = new CString(pointer); - return CString.ToString(cString); + fixed (ecs_strbuf_element_embedded* @this = &this) + { + var pointer = &@this->_buf[0]; + var cString = new CString(pointer); + return CString.ToString(cString); + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_strbuf_element_str - { - [FieldOffset(0)] // size = 24 - public ecs_strbuf_element super; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_strbuf_element_str + { + [FieldOffset(0)] // size = 24 + public ecs_strbuf_element super; - [FieldOffset(24)] // size = 8 - public CString _alloc_str; + [FieldOffset(24)] // size = 8 + public CString _alloc_str; - public string alloc_str - { - get - { - return CString.ToString(_alloc_str); - } - set + public string alloc_str { - _alloc_str = CString.FromString(value); + get + { + return CString.ToString(_alloc_str); + } + set + { + _alloc_str = CString.FromString(value); + } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_strbuf_list_elem - { - [FieldOffset(0)] // size = 4 - public int count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_strbuf_list_elem + { + [FieldOffset(0)] // size = 4 + public int count; - [FieldOffset(8)] // size = 8 - public CString _separator; + [FieldOffset(8)] // size = 8 + public CString _separator; - public string separator - { - get + public string separator { - return CString.ToString(_separator); - } - set - { - _separator = CString.FromString(value); + get + { + return CString.ToString(_separator); + } + set + { + _separator = CString.FromString(value); + } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 1104, Pack = 8)] - public struct ecs_strbuf_t - { - [FieldOffset(0)] // size = 8 - public CString _buf; - public string buf + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 1104, Pack = 8)] + public struct ecs_strbuf_t { - get - { - return CString.ToString(_buf); - } - set + [FieldOffset(0)] // size = 8 + public CString _buf; + + public string buf { - _buf = CString.FromString(value); + get + { + return CString.ToString(_buf); + } + set + { + _buf = CString.FromString(value); + } } - } - [FieldOffset(8)] // size = 4 - public int max; + [FieldOffset(8)] // size = 4 + public int max; - [FieldOffset(12)] // size = 4 - public int size; + [FieldOffset(12)] // size = 4 + public int size; - [FieldOffset(16)] // size = 4 - public int elementCount; + [FieldOffset(16)] // size = 4 + public int elementCount; - [FieldOffset(24)] // size = 536 - public ecs_strbuf_element_embedded firstElement; + [FieldOffset(24)] // size = 536 + public ecs_strbuf_element_embedded firstElement; - [FieldOffset(560)] // size = 8 - public ecs_strbuf_element* current; + [FieldOffset(560)] // size = 8 + public ecs_strbuf_element* current; - [FieldOffset(568)] // size = 512 - public fixed byte _list_stack[512]; // ecs_strbuf_list_elem[32] + [FieldOffset(568)] // size = 512 + public fixed byte _list_stack[512]; // ecs_strbuf_list_elem[32] - public readonly Span list_stack - { - get + public readonly Span list_stack { - fixed (ecs_strbuf_t* @this = &this) + get { - var pointer = &@this->_list_stack[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_strbuf_t* @this = &this) + { + var pointer = &@this->_list_stack[0]; + var span = new Span(pointer, 32); + return span; + } } } - } - [FieldOffset(1080)] // size = 4 - public int list_sp; + [FieldOffset(1080)] // size = 4 + public int list_sp; - [FieldOffset(1088)] // size = 8 - public CString _content; + [FieldOffset(1088)] // size = 8 + public CString _content; - public string content - { - get + public string content { - return CString.ToString(_content); - } - set - { - _content = CString.FromString(value); + get + { + return CString.ToString(_content); + } + set + { + _content = CString.FromString(value); + } } - } - [FieldOffset(1096)] // size = 4 - public int length; - } + [FieldOffset(1096)] // size = 4 + public int length; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 3080, Pack = 8)] - public struct ecs_struct_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 3080, Pack = 8)] + public struct ecs_struct_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 3072 - public fixed byte _members[3072]; // ecs_member_t[32] + [FieldOffset(8)] // size = 3072 + public fixed byte _members[3072]; // ecs_member_t[32] - public readonly Span members - { - get + public readonly Span members { - fixed (ecs_struct_desc_t* @this = &this) + get { - var pointer = &@this->_members[0]; - var span = new Span(pointer, 32); - return span; + fixed (ecs_struct_desc_t* @this = &this) + { + var pointer = &@this->_members[0]; + var span = new Span(pointer, 32); + return span; + } } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2664, Pack = 8)] - public struct ecs_system_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2664, Pack = 8)] + public struct ecs_system_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(16)] // size = 2576 - public ecs_query_desc_t query; + [FieldOffset(16)] // size = 2576 + public ecs_query_desc_t query; - [FieldOffset(2592)] // size = 8 - public ecs_run_action_t run; + [FieldOffset(2592)] // size = 8 + public ecs_run_action_t run; - [FieldOffset(2600)] // size = 8 - public ecs_iter_action_t callback; + [FieldOffset(2600)] // size = 8 + public ecs_iter_action_t callback; - [FieldOffset(2608)] // size = 8 - public void* ctx; + [FieldOffset(2608)] // size = 8 + public void* ctx; - [FieldOffset(2616)] // size = 8 - public void* binding_ctx; + [FieldOffset(2616)] // size = 8 + public void* binding_ctx; - [FieldOffset(2624)] // size = 8 - public ecs_ctx_free_t ctx_free; + [FieldOffset(2624)] // size = 8 + public ecs_ctx_free_t ctx_free; - [FieldOffset(2632)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; + [FieldOffset(2632)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; - [FieldOffset(2640)] // size = 4 - public float interval; + [FieldOffset(2640)] // size = 4 + public float interval; - [FieldOffset(2644)] // size = 4 - public int rate; + [FieldOffset(2644)] // size = 4 + public int rate; - [FieldOffset(2648)] // size = 8 - public ecs_entity_t tick_source; + [FieldOffset(2648)] // size = 8 + public ecs_entity_t tick_source; - [FieldOffset(2656)] // size = 1 - public CBool multi_threaded; + [FieldOffset(2656)] // size = 1 + public CBool multi_threaded; - [FieldOffset(2657)] // size = 1 - public CBool no_readonly; - } + [FieldOffset(2657)] // size = 1 + public CBool no_readonly; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8448, Pack = 8)] - public struct ecs_system_stats_t - { - [FieldOffset(0)] // size = 8 - public long first_; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8448, Pack = 8)] + public struct ecs_system_stats_t + { + [FieldOffset(0)] // size = 8 + public long first_; - [FieldOffset(8)] // size = 1200 - public ecs_metric_t time_spent; + [FieldOffset(8)] // size = 1200 + public ecs_metric_t time_spent; - [FieldOffset(1208)] // size = 1200 - public ecs_metric_t invoke_count; + [FieldOffset(1208)] // size = 1200 + public ecs_metric_t invoke_count; - [FieldOffset(2408)] // size = 1200 - public ecs_metric_t active; + [FieldOffset(2408)] // size = 1200 + public ecs_metric_t active; - [FieldOffset(3608)] // size = 1200 - public ecs_metric_t enabled; + [FieldOffset(3608)] // size = 1200 + public ecs_metric_t enabled; - [FieldOffset(4808)] // size = 8 - public long last_; + [FieldOffset(4808)] // size = 8 + public long last_; - [FieldOffset(4816)] // size = 1 - public CBool task; + [FieldOffset(4816)] // size = 1 + public CBool task; - [FieldOffset(4824)] // size = 3624 - public ecs_query_stats_t query; - } + [FieldOffset(4824)] // size = 3624 + public ecs_query_stats_t query; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_table_cache_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_table_cache_hdr_t* cur; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_table_cache_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_table_cache_hdr_t* cur; - [FieldOffset(8)] // size = 8 - public ecs_table_cache_hdr_t* next; + [FieldOffset(8)] // size = 8 + public ecs_table_cache_hdr_t* next; - [FieldOffset(16)] // size = 8 - public ecs_table_cache_hdr_t* next_list; - } + [FieldOffset(16)] // size = 8 + public ecs_table_cache_hdr_t* next_list; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_table_range_t - { - [FieldOffset(0)] // size = 8 - public ecs_table_t* table; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_table_range_t + { + [FieldOffset(0)] // size = 8 + public ecs_table_t* table; - [FieldOffset(8)] // size = 4 - public int offset; + [FieldOffset(8)] // size = 4 + public int offset; - [FieldOffset(12)] // size = 4 - public int count; - } + [FieldOffset(12)] // size = 4 + public int count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_term_id_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_term_id_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t id; - [FieldOffset(8)] // size = 8 - public CString _name; + [FieldOffset(8)] // size = 8 + public CString _name; - public string name - { - get + public string name { - return CString.ToString(_name); - } - set - { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public ecs_entity_t trav; + [FieldOffset(16)] // size = 8 + public ecs_entity_t trav; - [FieldOffset(24)] // size = 4 - public ecs_flags32_t flags; - } + [FieldOffset(24)] // size = 4 + public ecs_flags32_t flags; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] - public struct ecs_term_iter_t - { - [FieldOffset(0)] // size = 152 - public ecs_term_t term; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] + public struct ecs_term_iter_t + { + [FieldOffset(0)] // size = 152 + public ecs_term_t term; - [FieldOffset(152)] // size = 8 - public ecs_id_record_t* self_index; + [FieldOffset(152)] // size = 8 + public ecs_id_record_t* self_index; - [FieldOffset(160)] // size = 8 - public ecs_id_record_t* set_index; + [FieldOffset(160)] // size = 8 + public ecs_id_record_t* set_index; - [FieldOffset(168)] // size = 8 - public ecs_id_record_t* cur; + [FieldOffset(168)] // size = 8 + public ecs_id_record_t* cur; - [FieldOffset(176)] // size = 24 - public ecs_table_cache_iter_t it; + [FieldOffset(176)] // size = 24 + public ecs_table_cache_iter_t it; - [FieldOffset(200)] // size = 4 - public int index; + [FieldOffset(200)] // size = 4 + public int index; - [FieldOffset(204)] // size = 4 - public int observed_table_count; + [FieldOffset(204)] // size = 4 + public int observed_table_count; - [FieldOffset(208)] // size = 8 - public ecs_table_t* table; + [FieldOffset(208)] // size = 8 + public ecs_table_t* table; - [FieldOffset(216)] // size = 4 - public int cur_match; + [FieldOffset(216)] // size = 4 + public int cur_match; - [FieldOffset(220)] // size = 4 - public int match_count; + [FieldOffset(220)] // size = 4 + public int match_count; - [FieldOffset(224)] // size = 4 - public int last_column; + [FieldOffset(224)] // size = 4 + public int last_column; - [FieldOffset(228)] // size = 1 - public CBool empty_tables; + [FieldOffset(228)] // size = 1 + public CBool empty_tables; - [FieldOffset(232)] // size = 8 - public ecs_id_t id; + [FieldOffset(232)] // size = 8 + public ecs_id_t id; - [FieldOffset(240)] // size = 4 - public int column; + [FieldOffset(240)] // size = 4 + public int column; - [FieldOffset(248)] // size = 8 - public ecs_entity_t subject; + [FieldOffset(248)] // size = 8 + public ecs_entity_t subject; - [FieldOffset(256)] // size = 4 - public ecs_size_t size; + [FieldOffset(256)] // size = 4 + public ecs_size_t size; - [FieldOffset(264)] // size = 8 - public void* ptr; - } + [FieldOffset(264)] // size = 8 + public void* ptr; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 152, Pack = 8)] - public struct ecs_term_t - { - [FieldOffset(0)] // size = 8 - public ecs_id_t id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 152, Pack = 8)] + public struct ecs_term_t + { + [FieldOffset(0)] // size = 8 + public ecs_id_t id; - [FieldOffset(8)] // size = 32 - public ecs_term_id_t src; + [FieldOffset(8)] // size = 32 + public ecs_term_id_t src; - [FieldOffset(40)] // size = 32 - public ecs_term_id_t first; + [FieldOffset(40)] // size = 32 + public ecs_term_id_t first; - [FieldOffset(72)] // size = 32 - public ecs_term_id_t second; + [FieldOffset(72)] // size = 32 + public ecs_term_id_t second; - [FieldOffset(104)] // size = 4 - public ecs_inout_kind_t inout; + [FieldOffset(104)] // size = 4 + public ecs_inout_kind_t inout; - [FieldOffset(108)] // size = 4 - public ecs_oper_kind_t oper; + [FieldOffset(108)] // size = 4 + public ecs_oper_kind_t oper; - [FieldOffset(112)] // size = 8 - public ecs_id_t id_flags; + [FieldOffset(112)] // size = 8 + public ecs_id_t id_flags; - [FieldOffset(120)] // size = 8 - public CString _name; + [FieldOffset(120)] // size = 8 + public CString _name; - public string name - { - get + public string name { - return CString.ToString(_name); - } - set - { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } - } - [FieldOffset(128)] // size = 4 - public int field_index; + [FieldOffset(128)] // size = 4 + public int field_index; - [FieldOffset(136)] // size = 8 - public ecs_id_record_t* idr; + [FieldOffset(136)] // size = 8 + public ecs_id_record_t* idr; - [FieldOffset(144)] // size = 2 - public ecs_flags16_t flags; + [FieldOffset(144)] // size = 2 + public ecs_flags16_t flags; - [FieldOffset(146)] // size = 1 - public CBool move; - } + [FieldOffset(146)] // size = 1 + public CBool move; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_time_t - { - [FieldOffset(0)] // size = 4 - public uint sec; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct ecs_time_t + { + [FieldOffset(0)] // size = 4 + public uint sec; - [FieldOffset(4)] // size = 4 - public uint nanosec; - } + [FieldOffset(4)] // size = 4 + public uint nanosec; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] - public struct ecs_type_hooks_t - { - [FieldOffset(0)] // size = 8 - public ecs_xtor_t ctor; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] + public struct ecs_type_hooks_t + { + [FieldOffset(0)] // size = 8 + public ecs_xtor_t ctor; - [FieldOffset(8)] // size = 8 - public ecs_xtor_t dtor; + [FieldOffset(8)] // size = 8 + public ecs_xtor_t dtor; - [FieldOffset(16)] // size = 8 - public ecs_copy_t copy; + [FieldOffset(16)] // size = 8 + public ecs_copy_t copy; - [FieldOffset(24)] // size = 8 - public ecs_move_t move; + [FieldOffset(24)] // size = 8 + public ecs_move_t move; - [FieldOffset(32)] // size = 8 - public ecs_copy_t copy_ctor; + [FieldOffset(32)] // size = 8 + public ecs_copy_t copy_ctor; - [FieldOffset(40)] // size = 8 - public ecs_move_t move_ctor; + [FieldOffset(40)] // size = 8 + public ecs_move_t move_ctor; - [FieldOffset(48)] // size = 8 - public ecs_move_t ctor_move_dtor; + [FieldOffset(48)] // size = 8 + public ecs_move_t ctor_move_dtor; - [FieldOffset(56)] // size = 8 - public ecs_move_t move_dtor; + [FieldOffset(56)] // size = 8 + public ecs_move_t move_dtor; - [FieldOffset(64)] // size = 8 - public ecs_iter_action_t on_add; + [FieldOffset(64)] // size = 8 + public ecs_iter_action_t on_add; - [FieldOffset(72)] // size = 8 - public ecs_iter_action_t on_set; + [FieldOffset(72)] // size = 8 + public ecs_iter_action_t on_set; - [FieldOffset(80)] // size = 8 - public ecs_iter_action_t on_remove; + [FieldOffset(80)] // size = 8 + public ecs_iter_action_t on_remove; - [FieldOffset(88)] // size = 8 - public void* ctx; + [FieldOffset(88)] // size = 8 + public void* ctx; - [FieldOffset(96)] // size = 8 - public void* binding_ctx; + [FieldOffset(96)] // size = 8 + public void* binding_ctx; - [FieldOffset(104)] // size = 8 - public ecs_ctx_free_t ctx_free; + [FieldOffset(104)] // size = 8 + public ecs_ctx_free_t ctx_free; - [FieldOffset(112)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; - } + [FieldOffset(112)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 144, Pack = 8)] - public struct ecs_type_info_t - { - [FieldOffset(0)] // size = 4 - public ecs_size_t size; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 144, Pack = 8)] + public struct ecs_type_info_t + { + [FieldOffset(0)] // size = 4 + public ecs_size_t size; - [FieldOffset(4)] // size = 4 - public ecs_size_t alignment; + [FieldOffset(4)] // size = 4 + public ecs_size_t alignment; - [FieldOffset(8)] // size = 120 - public ecs_type_hooks_t hooks; + [FieldOffset(8)] // size = 120 + public ecs_type_hooks_t hooks; - [FieldOffset(128)] // size = 8 - public ecs_entity_t component; + [FieldOffset(128)] // size = 8 + public ecs_entity_t component; - [FieldOffset(136)] // size = 8 - public CString _name; + [FieldOffset(136)] // size = 8 + public CString _name; - public string name - { - get + public string name { - return CString.ToString(_name); - } - set - { - _name = CString.FromString(value); + get + { + return CString.ToString(_name); + } + set + { + _name = CString.FromString(value); + } } } - } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_type_t - { - [FieldOffset(0)] // size = 8 - public ecs_id_t* array; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_type_t + { + [FieldOffset(0)] // size = 8 + public ecs_id_t* array; - [FieldOffset(8)] // size = 4 - public int count; - } + [FieldOffset(8)] // size = 4 + public int count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_unit_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_unit_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 8 - public CString _symbol; + [FieldOffset(8)] // size = 8 + public CString _symbol; - public string symbol - { - get - { - return CString.ToString(_symbol); - } - set + public string symbol { - _symbol = CString.FromString(value); + get + { + return CString.ToString(_symbol); + } + set + { + _symbol = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public ecs_entity_t quantity; + [FieldOffset(16)] // size = 8 + public ecs_entity_t quantity; - [FieldOffset(24)] // size = 8 - public ecs_entity_t @base; + [FieldOffset(24)] // size = 8 + public ecs_entity_t @base; - [FieldOffset(32)] // size = 8 - public ecs_entity_t over; + [FieldOffset(32)] // size = 8 + public ecs_entity_t over; - [FieldOffset(40)] // size = 8 - public ecs_unit_translation_t translation; + [FieldOffset(40)] // size = 8 + public ecs_unit_translation_t translation; - [FieldOffset(48)] // size = 8 - public ecs_entity_t prefix; - } + [FieldOffset(48)] // size = 8 + public ecs_entity_t prefix; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_unit_prefix_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_unit_prefix_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 8 - public CString _symbol; + [FieldOffset(8)] // size = 8 + public CString _symbol; - public string symbol - { - get - { - return CString.ToString(_symbol); - } - set + public string symbol { - _symbol = CString.FromString(value); + get + { + return CString.ToString(_symbol); + } + set + { + _symbol = CString.FromString(value); + } } - } - [FieldOffset(16)] // size = 8 - public ecs_unit_translation_t translation; - } + [FieldOffset(16)] // size = 8 + public ecs_unit_translation_t translation; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_unit_translation_t - { - [FieldOffset(0)] // size = 4 - public int factor; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct ecs_unit_translation_t + { + [FieldOffset(0)] // size = 4 + public int factor; - [FieldOffset(4)] // size = 4 - public int power; - } + [FieldOffset(4)] // size = 4 + public int power; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_value_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t type; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_value_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; - [FieldOffset(8)] // size = 8 - public void* ptr; - } + [FieldOffset(8)] // size = 8 + public void* ptr; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_var_t - { - [FieldOffset(0)] // size = 16 - public ecs_table_range_t range; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_var_t + { + [FieldOffset(0)] // size = 16 + public ecs_table_range_t range; - [FieldOffset(16)] // size = 8 - public ecs_entity_t entity; - } + [FieldOffset(16)] // size = 8 + public ecs_entity_t entity; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 168, Pack = 8)] - public struct ecs_vars_t - { - [FieldOffset(0)] // size = 8 - public ecs_world_t* world; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 168, Pack = 8)] + public struct ecs_vars_t + { + [FieldOffset(0)] // size = 8 + public ecs_world_t* world; - [FieldOffset(8)] // size = 152 - public ecs_expr_var_scope_t root; + [FieldOffset(8)] // size = 152 + public ecs_expr_var_scope_t root; - [FieldOffset(160)] // size = 8 - public ecs_expr_var_scope_t* cur; - } + [FieldOffset(160)] // size = 8 + public ecs_expr_var_scope_t* cur; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_vec_t - { - [FieldOffset(0)] // size = 8 - public void* array; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_vec_t + { + [FieldOffset(0)] // size = 8 + public void* array; - [FieldOffset(8)] // size = 4 - public int count; + [FieldOffset(8)] // size = 4 + public int count; - [FieldOffset(12)] // size = 4 - public int size; + [FieldOffset(12)] // size = 4 + public int size; - [FieldOffset(16)] // size = 4 - public ecs_size_t elem_size; - } + [FieldOffset(16)] // size = 4 + public ecs_size_t elem_size; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_vector_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t entity; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_vector_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(8)] // size = 8 - public ecs_entity_t type; - } + [FieldOffset(8)] // size = 8 + public ecs_entity_t type; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_worker_iter_t - { - [FieldOffset(0)] // size = 4 - public int index; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct ecs_worker_iter_t + { + [FieldOffset(0)] // size = 4 + public int index; - [FieldOffset(4)] // size = 4 - public int count; - } + [FieldOffset(4)] // size = 4 + public int count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] - public struct ecs_world_info_t - { - [FieldOffset(0)] // size = 8 - public ecs_entity_t last_component_id; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] + public struct ecs_world_info_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t last_component_id; - [FieldOffset(8)] // size = 8 - public ecs_entity_t min_id; + [FieldOffset(8)] // size = 8 + public ecs_entity_t min_id; - [FieldOffset(16)] // size = 8 - public ecs_entity_t max_id; + [FieldOffset(16)] // size = 8 + public ecs_entity_t max_id; - [FieldOffset(24)] // size = 4 - public float delta_time_raw; + [FieldOffset(24)] // size = 4 + public float delta_time_raw; - [FieldOffset(28)] // size = 4 - public float delta_time; + [FieldOffset(28)] // size = 4 + public float delta_time; - [FieldOffset(32)] // size = 4 - public float time_scale; + [FieldOffset(32)] // size = 4 + public float time_scale; - [FieldOffset(36)] // size = 4 - public float target_fps; + [FieldOffset(36)] // size = 4 + public float target_fps; - [FieldOffset(40)] // size = 4 - public float frame_time_total; + [FieldOffset(40)] // size = 4 + public float frame_time_total; - [FieldOffset(44)] // size = 4 - public float system_time_total; + [FieldOffset(44)] // size = 4 + public float system_time_total; - [FieldOffset(48)] // size = 4 - public float emit_time_total; + [FieldOffset(48)] // size = 4 + public float emit_time_total; - [FieldOffset(52)] // size = 4 - public float merge_time_total; + [FieldOffset(52)] // size = 4 + public float merge_time_total; - [FieldOffset(56)] // size = 4 - public float world_time_total; + [FieldOffset(56)] // size = 4 + public float world_time_total; - [FieldOffset(60)] // size = 4 - public float world_time_total_raw; + [FieldOffset(60)] // size = 4 + public float world_time_total_raw; - [FieldOffset(64)] // size = 4 - public float rematch_time_total; + [FieldOffset(64)] // size = 4 + public float rematch_time_total; - [FieldOffset(72)] // size = 8 - public long frame_count_total; + [FieldOffset(72)] // size = 8 + public long frame_count_total; - [FieldOffset(80)] // size = 8 - public long merge_count_total; + [FieldOffset(80)] // size = 8 + public long merge_count_total; - [FieldOffset(88)] // size = 8 - public long rematch_count_total; + [FieldOffset(88)] // size = 8 + public long rematch_count_total; - [FieldOffset(96)] // size = 8 - public long id_create_total; + [FieldOffset(96)] // size = 8 + public long id_create_total; - [FieldOffset(104)] // size = 8 - public long id_delete_total; + [FieldOffset(104)] // size = 8 + public long id_delete_total; - [FieldOffset(112)] // size = 8 - public long table_create_total; + [FieldOffset(112)] // size = 8 + public long table_create_total; - [FieldOffset(120)] // size = 8 - public long table_delete_total; + [FieldOffset(120)] // size = 8 + public long table_delete_total; - [FieldOffset(128)] // size = 8 - public long pipeline_build_count_total; + [FieldOffset(128)] // size = 8 + public long pipeline_build_count_total; - [FieldOffset(136)] // size = 8 - public long systems_ran_frame; + [FieldOffset(136)] // size = 8 + public long systems_ran_frame; - [FieldOffset(144)] // size = 8 - public long observers_ran_frame; + [FieldOffset(144)] // size = 8 + public long observers_ran_frame; - [FieldOffset(152)] // size = 4 - public int id_count; + [FieldOffset(152)] // size = 4 + public int id_count; - [FieldOffset(156)] // size = 4 - public int tag_id_count; + [FieldOffset(156)] // size = 4 + public int tag_id_count; - [FieldOffset(160)] // size = 4 - public int component_id_count; + [FieldOffset(160)] // size = 4 + public int component_id_count; - [FieldOffset(164)] // size = 4 - public int pair_id_count; + [FieldOffset(164)] // size = 4 + public int pair_id_count; - [FieldOffset(168)] // size = 4 - public int wildcard_id_count; + [FieldOffset(168)] // size = 4 + public int wildcard_id_count; - [FieldOffset(172)] // size = 4 - public int table_count; + [FieldOffset(172)] // size = 4 + public int table_count; - [FieldOffset(176)] // size = 4 - public int tag_table_count; + [FieldOffset(176)] // size = 4 + public int tag_table_count; - [FieldOffset(180)] // size = 4 - public int trivial_table_count; + [FieldOffset(180)] // size = 4 + public int trivial_table_count; - [FieldOffset(184)] // size = 4 - public int empty_table_count; + [FieldOffset(184)] // size = 4 + public int empty_table_count; - [FieldOffset(188)] // size = 4 - public int table_record_count; + [FieldOffset(188)] // size = 4 + public int table_record_count; - [FieldOffset(192)] // size = 4 - public int table_storage_count; + [FieldOffset(192)] // size = 4 + public int table_storage_count; - [FieldOffset(200)] // size = 88 - public ecs_world_info_t_ANONYMOUS_FIELD35 cmd; + [FieldOffset(200)] // size = 88 + public ecs_world_info_t_ANONYMOUS_FIELD35 cmd; - [FieldOffset(288)] // size = 8 - public CString _name_prefix; + [FieldOffset(288)] // size = 8 + public CString _name_prefix; - public string name_prefix - { - get - { - return CString.ToString(_name_prefix); - } - set + public string name_prefix { - _name_prefix = CString.FromString(value); + get + { + return CString.ToString(_name_prefix); + } + set + { + _name_prefix = CString.FromString(value); + } } } - } - - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] - public struct ecs_world_info_t_ANONYMOUS_FIELD35 - { - [FieldOffset(0)] // size = 8 - public long add_count; - - [FieldOffset(8)] // size = 8 - public long remove_count; - [FieldOffset(16)] // size = 8 - public long delete_count; - - [FieldOffset(24)] // size = 8 - public long clear_count; - - [FieldOffset(32)] // size = 8 - public long set_count; - - [FieldOffset(40)] // size = 8 - public long get_mut_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 88, Pack = 8)] + public struct ecs_world_info_t_ANONYMOUS_FIELD35 + { + [FieldOffset(0)] // size = 8 + public long add_count; - [FieldOffset(48)] // size = 8 - public long modified_count; + [FieldOffset(8)] // size = 8 + public long remove_count; - [FieldOffset(56)] // size = 8 - public long other_count; + [FieldOffset(16)] // size = 8 + public long delete_count; - [FieldOffset(64)] // size = 8 - public long discard_count; + [FieldOffset(24)] // size = 8 + public long clear_count; - [FieldOffset(72)] // size = 8 - public long batched_entity_count; + [FieldOffset(32)] // size = 8 + public long set_count; - [FieldOffset(80)] // size = 8 - public long batched_command_count; - } + [FieldOffset(40)] // size = 8 + public long get_mut_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 96024, Pack = 8)] - public struct ecs_world_stats_t - { - [FieldOffset(0)] // size = 8 - public long first_; + [FieldOffset(48)] // size = 8 + public long modified_count; - [FieldOffset(8)] // size = 2400 - public ecs_world_stats_t_ANONYMOUS_FIELD1 entities; + [FieldOffset(56)] // size = 8 + public long other_count; - [FieldOffset(2408)] // size = 9600 - public ecs_world_stats_t_ANONYMOUS_FIELD2 ids; + [FieldOffset(64)] // size = 8 + public long discard_count; - [FieldOffset(12008)] // size = 9600 - public ecs_world_stats_t_ANONYMOUS_FIELD3 tables; + [FieldOffset(72)] // size = 8 + public long batched_entity_count; - [FieldOffset(21608)] // size = 3600 - public ecs_world_stats_t_ANONYMOUS_FIELD4 queries; + [FieldOffset(80)] // size = 8 + public long batched_command_count; + } - [FieldOffset(25208)] // size = 13200 - public ecs_world_stats_t_ANONYMOUS_FIELD5 commands; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 96024, Pack = 8)] + public struct ecs_world_stats_t + { + [FieldOffset(0)] // size = 8 + public long first_; - [FieldOffset(38408)] // size = 8400 - public ecs_world_stats_t_ANONYMOUS_FIELD6 frame; + [FieldOffset(8)] // size = 2400 + public ecs_world_stats_t_ANONYMOUS_FIELD1 entities; - [FieldOffset(46808)] // size = 10800 - public ecs_world_stats_t_ANONYMOUS_FIELD7 performance; + [FieldOffset(2408)] // size = 9600 + public ecs_world_stats_t_ANONYMOUS_FIELD2 ids; - [FieldOffset(57608)] // size = 12000 - public ecs_world_stats_t_ANONYMOUS_FIELD8 memory; + [FieldOffset(12008)] // size = 9600 + public ecs_world_stats_t_ANONYMOUS_FIELD3 tables; - [FieldOffset(69608)] // size = 15600 - public ecs_world_stats_t_ANONYMOUS_FIELD9 rest; + [FieldOffset(21608)] // size = 3600 + public ecs_world_stats_t_ANONYMOUS_FIELD4 queries; - [FieldOffset(85208)] // size = 10800 - public ecs_world_stats_t_ANONYMOUS_FIELD10 http; + [FieldOffset(25208)] // size = 13200 + public ecs_world_stats_t_ANONYMOUS_FIELD5 commands; - [FieldOffset(96008)] // size = 8 - public long last_; + [FieldOffset(38408)] // size = 8400 + public ecs_world_stats_t_ANONYMOUS_FIELD6 frame; - [FieldOffset(96016)] // size = 4 - public int t; - } + [FieldOffset(46808)] // size = 10800 + public ecs_world_stats_t_ANONYMOUS_FIELD7 performance; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2400, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD1 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t count; + [FieldOffset(57608)] // size = 12000 + public ecs_world_stats_t_ANONYMOUS_FIELD8 memory; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t not_alive_count; - } + [FieldOffset(69608)] // size = 15600 + public ecs_world_stats_t_ANONYMOUS_FIELD9 rest; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 10800, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD10 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t request_received_count; + [FieldOffset(85208)] // size = 10800 + public ecs_world_stats_t_ANONYMOUS_FIELD10 http; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t request_invalid_count; + [FieldOffset(96008)] // size = 8 + public long last_; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t request_handled_ok_count; + [FieldOffset(96016)] // size = 4 + public int t; + } - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t request_handled_error_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2400, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD1 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t request_not_handled_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t not_alive_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t request_preflight_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 10800, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD10 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t request_received_count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t send_ok_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t request_invalid_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t send_error_count; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t request_handled_ok_count; - [FieldOffset(9600)] // size = 1200 - public ecs_metric_t busy_count; - } + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t request_handled_error_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 9600, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD2 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t request_not_handled_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t tag_count; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t request_preflight_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t component_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t send_ok_count; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t pair_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t send_error_count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t wildcard_count; + [FieldOffset(9600)] // size = 1200 + public ecs_metric_t busy_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t type_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 9600, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD2 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t create_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t tag_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t delete_count; - } + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t component_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 9600, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD3 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t count; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t pair_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t empty_count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t wildcard_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t tag_only_count; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t type_count; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t trivial_only_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t create_count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t record_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t delete_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t storage_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 9600, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD3 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t create_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t empty_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t delete_count; - } + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t tag_only_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 3600, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD4 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t query_count; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t trivial_only_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t observer_count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t record_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t system_count; - } + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t storage_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 13200, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD5 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t add_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t create_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t remove_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t delete_count; + } - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t delete_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 3600, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD4 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t query_count; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t clear_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t observer_count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t set_count; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t system_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t get_mut_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 13200, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD5 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t add_count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t modified_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t remove_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t other_count; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t delete_count; - [FieldOffset(9600)] // size = 1200 - public ecs_metric_t discard_count; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t clear_count; - [FieldOffset(10800)] // size = 1200 - public ecs_metric_t batched_entity_count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t set_count; - [FieldOffset(12000)] // size = 1200 - public ecs_metric_t batched_count; - } + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t get_mut_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 8400, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD6 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t frame_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t modified_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t merge_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t other_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t rematch_count; + [FieldOffset(9600)] // size = 1200 + public ecs_metric_t discard_count; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t pipeline_build_count; + [FieldOffset(10800)] // size = 1200 + public ecs_metric_t batched_entity_count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t systems_ran; + [FieldOffset(12000)] // size = 1200 + public ecs_metric_t batched_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t observers_ran; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 8400, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD6 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t frame_count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t event_emit_count; - } + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t merge_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 10800, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD7 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t world_time_raw; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t rematch_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t world_time; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t pipeline_build_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t frame_time; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t systems_ran; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t system_time; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t observers_ran; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t emit_time; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t event_emit_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t merge_time; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 10800, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD7 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t world_time_raw; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t rematch_time; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t world_time; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t fps; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t frame_time; - [FieldOffset(9600)] // size = 1200 - public ecs_metric_t delta_time; - } + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t system_time; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 12000, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD8 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t alloc_count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t emit_time; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t realloc_count; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t merge_time; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t free_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t rematch_time; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t outstanding_alloc_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t fps; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t block_alloc_count; + [FieldOffset(9600)] // size = 1200 + public ecs_metric_t delta_time; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t block_free_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 12000, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD8 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t alloc_count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t block_outstanding_alloc_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t realloc_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t stack_alloc_count; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t free_count; - [FieldOffset(9600)] // size = 1200 - public ecs_metric_t stack_free_count; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t outstanding_alloc_count; - [FieldOffset(10800)] // size = 1200 - public ecs_metric_t stack_outstanding_alloc_count; - } + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t block_alloc_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 15600, Pack = 8)] - public struct ecs_world_stats_t_ANONYMOUS_FIELD9 - { - [FieldOffset(0)] // size = 1200 - public ecs_metric_t request_count; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t block_free_count; - [FieldOffset(1200)] // size = 1200 - public ecs_metric_t entity_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t block_outstanding_alloc_count; - [FieldOffset(2400)] // size = 1200 - public ecs_metric_t entity_error_count; + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t stack_alloc_count; - [FieldOffset(3600)] // size = 1200 - public ecs_metric_t query_count; + [FieldOffset(9600)] // size = 1200 + public ecs_metric_t stack_free_count; - [FieldOffset(4800)] // size = 1200 - public ecs_metric_t query_error_count; + [FieldOffset(10800)] // size = 1200 + public ecs_metric_t stack_outstanding_alloc_count; + } - [FieldOffset(6000)] // size = 1200 - public ecs_metric_t query_name_count; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 15600, Pack = 8)] + public struct ecs_world_stats_t_ANONYMOUS_FIELD9 + { + [FieldOffset(0)] // size = 1200 + public ecs_metric_t request_count; - [FieldOffset(7200)] // size = 1200 - public ecs_metric_t query_name_error_count; + [FieldOffset(1200)] // size = 1200 + public ecs_metric_t entity_count; - [FieldOffset(8400)] // size = 1200 - public ecs_metric_t query_name_from_cache_count; + [FieldOffset(2400)] // size = 1200 + public ecs_metric_t entity_error_count; - [FieldOffset(9600)] // size = 1200 - public ecs_metric_t enable_count; + [FieldOffset(3600)] // size = 1200 + public ecs_metric_t query_count; - [FieldOffset(10800)] // size = 1200 - public ecs_metric_t enable_error_count; + [FieldOffset(4800)] // size = 1200 + public ecs_metric_t query_error_count; - [FieldOffset(12000)] // size = 1200 - public ecs_metric_t world_stats_count; + [FieldOffset(6000)] // size = 1200 + public ecs_metric_t query_name_count; - [FieldOffset(13200)] // size = 1200 - public ecs_metric_t pipeline_stats_count; + [FieldOffset(7200)] // size = 1200 + public ecs_metric_t query_name_error_count; - [FieldOffset(14400)] // size = 1200 - public ecs_metric_t stats_error_count; - } + [FieldOffset(8400)] // size = 1200 + public ecs_metric_t query_name_from_cache_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 1)] - public struct ecs_world_to_json_desc_t - { - [FieldOffset(0)] // size = 1 - public CBool serialize_builtin; + [FieldOffset(9600)] // size = 1200 + public ecs_metric_t enable_count; - [FieldOffset(1)] // size = 1 - public CBool serialize_modules; - } + [FieldOffset(10800)] // size = 1200 + public ecs_metric_t enable_error_count; - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct flecs_hashmap_iter_t - { - [FieldOffset(0)] // size = 32 - public ecs_map_iter_t it; + [FieldOffset(12000)] // size = 1200 + public ecs_metric_t world_stats_count; - [FieldOffset(32)] // size = 8 - public ecs_hm_bucket_t* bucket; + [FieldOffset(13200)] // size = 1200 + public ecs_metric_t pipeline_stats_count; - [FieldOffset(40)] // size = 4 - public int index; - } + [FieldOffset(14400)] // size = 1200 + public ecs_metric_t stats_error_count; + } - [CNode(Kind = "Struct")] - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct flecs_hashmap_result_t - { - [FieldOffset(0)] // size = 8 - public void* key; + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 1)] + public struct ecs_world_to_json_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool serialize_builtin; - [FieldOffset(8)] // size = 8 - public void* value; + [FieldOffset(1)] // size = 1 + public CBool serialize_modules; + } - [FieldOffset(16)] // size = 8 - public ulong hash; - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct flecs_hashmap_iter_t + { + [FieldOffset(0)] // size = 32 + public ecs_map_iter_t it; - [CNode(Kind = "Enum")] - public enum ecs_http_method_t : int - { - EcsHttpGet = 0, - EcsHttpPost = 1, - EcsHttpPut = 2, - EcsHttpDelete = 3, - EcsHttpOptions = 4, - EcsHttpMethodUnsupported = 5 - } + [FieldOffset(32)] // size = 8 + public ecs_hm_bucket_t* bucket; - [CNode(Kind = "Enum")] - public enum ecs_inout_kind_t : int - { - EcsInOutDefault = 0, - EcsInOutNone = 1, - EcsInOut = 2, - EcsIn = 3, - EcsOut = 4 - } + [FieldOffset(40)] // size = 4 + public int index; + } - [CNode(Kind = "Enum")] - public enum ecs_iter_kind_t : int - { - EcsIterEvalCondition = 0, - EcsIterEvalTables = 1, - EcsIterEvalChain = 2, - EcsIterEvalNone = 3 - } + [CNode(Kind = "Struct")] + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct flecs_hashmap_result_t + { + [FieldOffset(0)] // size = 8 + public void* key; - [CNode(Kind = "Enum")] - public enum ecs_meta_type_op_kind_t : int - { - EcsOpArray = 0, - EcsOpVector = 1, - EcsOpOpaque = 2, - EcsOpPush = 3, - EcsOpPop = 4, - EcsOpScope = 5, - EcsOpEnum = 6, - EcsOpBitmask = 7, - EcsOpPrimitive = 8, - EcsOpBool = 9, - EcsOpChar = 10, - EcsOpByte = 11, - EcsOpU8 = 12, - EcsOpU16 = 13, - EcsOpU32 = 14, - EcsOpU64 = 15, - EcsOpI8 = 16, - EcsOpI16 = 17, - EcsOpI32 = 18, - EcsOpI64 = 19, - EcsOpF32 = 20, - EcsOpF64 = 21, - EcsOpUPtr = 22, - EcsOpIPtr = 23, - EcsOpString = 24, - EcsOpEntity = 25, - EcsMetaTypeOpKindLast = 25 - } + [FieldOffset(8)] // size = 8 + public void* value; - [CNode(Kind = "Enum")] - public enum ecs_oper_kind_t : int - { - EcsAnd = 0, - EcsOr = 1, - EcsNot = 2, - EcsOptional = 3, - EcsAndFrom = 4, - EcsOrFrom = 5, - EcsNotFrom = 6 - } + [FieldOffset(16)] // size = 8 + public ulong hash; + } - [CNode(Kind = "Enum")] - public enum ecs_primitive_kind_t : int - { - EcsBool = 1, - EcsChar = 2, - EcsByte = 3, - EcsU8 = 4, - EcsU16 = 5, - EcsU32 = 6, - EcsU64 = 7, - EcsI8 = 8, - EcsI16 = 9, - EcsI32 = 10, - EcsI64 = 11, - EcsF32 = 12, - EcsF64 = 13, - EcsUPtr = 14, - EcsIPtr = 15, - EcsString = 16, - EcsEntity = 17, - EcsPrimitiveKindLast = 17 - } + [CNode(Kind = "Enum")] + public enum ecs_http_method_t : int + { + EcsHttpGet = 0, + EcsHttpPost = 1, + EcsHttpPut = 2, + EcsHttpDelete = 3, + EcsHttpOptions = 4, + EcsHttpMethodUnsupported = 5 + } - [CNode(Kind = "Enum")] - public enum ecs_type_kind_t : int - { - EcsPrimitiveType = 0, - EcsBitmaskType = 1, - EcsEnumType = 2, - EcsStructType = 3, - EcsArrayType = 4, - EcsVectorType = 5, - EcsOpaqueType = 6, - EcsTypeKindLast = 6 - } + [CNode(Kind = "Enum")] + public enum ecs_inout_kind_t : int + { + EcsInOutDefault = 0, + EcsInOutNone = 1, + EcsInOut = 2, + EcsIn = 3, + EcsOut = 4 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_event_id_record_t - { - } + [CNode(Kind = "Enum")] + public enum ecs_iter_kind_t : int + { + EcsIterEvalCondition = 0, + EcsIterEvalTables = 1, + EcsIterEvalChain = 2, + EcsIterEvalNone = 3 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_http_server_t - { - } + [CNode(Kind = "Enum")] + public enum ecs_meta_type_op_kind_t : int + { + EcsOpArray = 0, + EcsOpVector = 1, + EcsOpOpaque = 2, + EcsOpPush = 3, + EcsOpPop = 4, + EcsOpScope = 5, + EcsOpEnum = 6, + EcsOpBitmask = 7, + EcsOpPrimitive = 8, + EcsOpBool = 9, + EcsOpChar = 10, + EcsOpByte = 11, + EcsOpU8 = 12, + EcsOpU16 = 13, + EcsOpU32 = 14, + EcsOpU64 = 15, + EcsOpI8 = 16, + EcsOpI16 = 17, + EcsOpI32 = 18, + EcsOpI64 = 19, + EcsOpF32 = 20, + EcsOpF64 = 21, + EcsOpUPtr = 22, + EcsOpIPtr = 23, + EcsOpString = 24, + EcsOpEntity = 25, + EcsMetaTypeOpKindLast = 25 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_id_record_t - { - } + [CNode(Kind = "Enum")] + public enum ecs_oper_kind_t : int + { + EcsAnd = 0, + EcsOr = 1, + EcsNot = 2, + EcsOptional = 3, + EcsAndFrom = 4, + EcsOrFrom = 5, + EcsNotFrom = 6 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_mixins_t - { - } + [CNode(Kind = "Enum")] + public enum ecs_primitive_kind_t : int + { + EcsBool = 1, + EcsChar = 2, + EcsByte = 3, + EcsU8 = 4, + EcsU16 = 5, + EcsU32 = 6, + EcsU64 = 7, + EcsI8 = 8, + EcsI16 = 9, + EcsI32 = 10, + EcsI64 = 11, + EcsF32 = 12, + EcsF64 = 13, + EcsUPtr = 14, + EcsIPtr = 15, + EcsString = 16, + EcsEntity = 17, + EcsPrimitiveKindLast = 17 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_poly_t - { - } + [CNode(Kind = "Enum")] + public enum ecs_type_kind_t : int + { + EcsPrimitiveType = 0, + EcsBitmaskType = 1, + EcsEnumType = 2, + EcsStructType = 3, + EcsArrayType = 4, + EcsVectorType = 5, + EcsOpaqueType = 6, + EcsTypeKindLast = 6 + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_query_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_event_id_record_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_query_table_match_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_http_server_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_op_ctx_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_id_record_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_op_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_mixins_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_poly_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_var_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_query_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_snapshot_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_query_table_match_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_stack_page_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_rule_op_ctx_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_cache_hdr_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_rule_op_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_record_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_rule_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_rule_var_t + { + } - [CNode(Kind = "OpaqueType")] - [StructLayout(LayoutKind.Sequential)] - public struct ecs_world_t - { - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_snapshot_t + { + } - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_app_frame_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int Data; + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_stack_page_t + { + } - public static implicit operator FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(ecs_app_frame_action_t data) => data.Data; - public static implicit operator ecs_app_frame_action_t(FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_table_cache_hdr_t + { + } - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_app_init_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_Int Data; + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_table_record_t + { + } - public static implicit operator FnPtr_EcsWorldTPtr_Int(ecs_app_init_action_t data) => data.Data; - public static implicit operator ecs_app_init_action_t(FnPtr_EcsWorldTPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_table_t + { + } - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_app_run_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int Data; + [CNode(Kind = "OpaqueType")] + [StructLayout(LayoutKind.Sequential)] + public struct ecs_world_t + { + } - public static implicit operator FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(ecs_app_run_action_t data) => data.Data; - public static implicit operator ecs_app_run_action_t(FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_app_frame_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_compare_action_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_VoidPtr_Int Data; + public static implicit operator FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(ecs_app_frame_action_t data) => data.Data; + public static implicit operator ecs_app_frame_action_t(FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int(ecs_compare_action_t data) => data.Data; - public static implicit operator ecs_compare_action_t(FnPtr_VoidPtr_VoidPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_app_init_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_copy_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; + public static implicit operator FnPtr_EcsWorldTPtr_Int(ecs_app_init_action_t data) => data.Data; + public static implicit operator ecs_app_init_action_t(FnPtr_EcsWorldTPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_copy_t data) => data.Data; - public static implicit operator ecs_copy_t(FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_app_run_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_ctx_free_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_Void Data; + public static implicit operator FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int(ecs_app_run_action_t data) => data.Data; + public static implicit operator ecs_app_run_action_t(FnPtr_EcsWorldTPtr_EcsAppDescTPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_Void(ecs_ctx_free_t data) => data.Data; - public static implicit operator ecs_ctx_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_compare_action_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_VoidPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_entity_t - { - [FieldOffset(0)] - public ecs_id_t Data; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int(ecs_compare_action_t data) => data.Data; + public static implicit operator ecs_compare_action_t(FnPtr_VoidPtr_VoidPtr_Int data) => new() { Data = data }; + } - public static implicit operator ecs_id_t(ecs_entity_t data) => data.Data; - public static implicit operator ecs_entity_t(ecs_id_t data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_copy_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_fini_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_VoidPtr_Void Data; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_copy_t data) => data.Data; + public static implicit operator ecs_copy_t(FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_VoidPtr_Void(ecs_fini_action_t data) => data.Data; - public static implicit operator ecs_fini_action_t(FnPtr_EcsWorldTPtr_VoidPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_ctx_free_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 2)] - public struct ecs_flags16_t - { - [FieldOffset(0)] - public ushort Data; + public static implicit operator FnPtr_VoidPtr_Void(ecs_ctx_free_t data) => data.Data; + public static implicit operator ecs_ctx_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; + } - public static implicit operator ushort(ecs_flags16_t data) => data.Data; - public static implicit operator ecs_flags16_t(ushort data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_entity_t + { + [FieldOffset(0)] + public ecs_id_t Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] - public struct ecs_flags32_t - { - [FieldOffset(0)] - public uint Data; + public static implicit operator ecs_id_t(ecs_entity_t data) => data.Data; + public static implicit operator ecs_entity_t(ecs_id_t data) => new() { Data = data }; + } - public static implicit operator uint(ecs_flags32_t data) => data.Data; - public static implicit operator ecs_flags32_t(uint data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_fini_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_VoidPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_flags64_t - { - [FieldOffset(0)] - public ulong Data; + public static implicit operator FnPtr_EcsWorldTPtr_VoidPtr_Void(ecs_fini_action_t data) => data.Data; + public static implicit operator ecs_fini_action_t(FnPtr_EcsWorldTPtr_VoidPtr_Void data) => new() { Data = data }; + } - public static implicit operator ulong(ecs_flags64_t data) => data.Data; - public static implicit operator ecs_flags64_t(ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 2, Pack = 2)] + public struct ecs_flags16_t + { + [FieldOffset(0)] + public ushort Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 1, Pack = 1)] - public struct ecs_flags8_t - { - [FieldOffset(0)] - public byte Data; + public static implicit operator ushort(ecs_flags16_t data) => data.Data; + public static implicit operator ecs_flags16_t(ushort data) => new() { Data = data }; + } - public static implicit operator byte(ecs_flags8_t data) => data.Data; - public static implicit operator ecs_flags8_t(byte data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] + public struct ecs_flags32_t + { + [FieldOffset(0)] + public uint Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_group_by_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong Data; + public static implicit operator uint(ecs_flags32_t data) => data.Data; + public static implicit operator ecs_flags32_t(uint data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong(ecs_group_by_action_t data) => data.Data; - public static implicit operator ecs_group_by_action_t(FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_flags64_t + { + [FieldOffset(0)] + public ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_group_create_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr Data; + public static implicit operator ulong(ecs_flags64_t data) => data.Data; + public static implicit operator ecs_flags64_t(ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr(ecs_group_create_action_t data) => data.Data; - public static implicit operator ecs_group_create_action_t(FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 1, Pack = 1)] + public struct ecs_flags8_t + { + [FieldOffset(0)] + public byte Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_group_delete_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void Data; + public static implicit operator byte(ecs_flags8_t data) => data.Data; + public static implicit operator ecs_flags8_t(byte data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void(ecs_group_delete_action_t data) => data.Data; - public static implicit operator ecs_group_delete_action_t(FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_group_by_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_hash_value_action_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_Ulong Data; + public static implicit operator FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong(ecs_group_by_action_t data) => data.Data; + public static implicit operator ecs_group_by_action_t(FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsIdT_VoidPtr_Ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_Ulong(ecs_hash_value_action_t data) => data.Data; - public static implicit operator ecs_hash_value_action_t(FnPtr_VoidPtr_Ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_group_create_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_http_reply_action_t - { - [FieldOffset(0)] - public FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool Data; + public static implicit operator FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr(ecs_group_create_action_t data) => data.Data; + public static implicit operator ecs_group_create_action_t(FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool(ecs_http_reply_action_t data) => data.Data; - public static implicit operator ecs_http_reply_action_t(FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_group_delete_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_id_t - { - [FieldOffset(0)] - public ulong Data; + public static implicit operator FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void(ecs_group_delete_action_t data) => data.Data; + public static implicit operator ecs_group_delete_action_t(FnPtr_EcsWorldTPtr_Ulong_VoidPtr_VoidPtr_Void data) => new() { Data = data }; + } - public static implicit operator ulong(ecs_id_t data) => data.Data; - public static implicit operator ecs_id_t(ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_hash_value_action_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_Ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_action_t - { - [FieldOffset(0)] - public FnPtr_EcsIterTPtr_Void Data; + public static implicit operator FnPtr_VoidPtr_Ulong(ecs_hash_value_action_t data) => data.Data; + public static implicit operator ecs_hash_value_action_t(FnPtr_VoidPtr_Ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_iter_action_t data) => data.Data; - public static implicit operator ecs_iter_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_http_reply_action_t + { + [FieldOffset(0)] + public FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_fini_action_t - { - [FieldOffset(0)] - public FnPtr_EcsIterTPtr_Void Data; + public static implicit operator FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool(ecs_http_reply_action_t data) => data.Data; + public static implicit operator ecs_http_reply_action_t(FnPtr_EcsHttpRequestTPtr_EcsHttpReplyTPtr_VoidPtr_CBool data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_iter_fini_action_t data) => data.Data; - public static implicit operator ecs_iter_fini_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_id_t + { + [FieldOffset(0)] + public ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_init_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void Data; + public static implicit operator ulong(ecs_id_t data) => data.Data; + public static implicit operator ecs_id_t(ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void(ecs_iter_init_action_t data) => data.Data; - public static implicit operator ecs_iter_init_action_t(FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iter_action_t + { + [FieldOffset(0)] + public FnPtr_EcsIterTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_next_action_t - { - [FieldOffset(0)] - public FnPtr_EcsIterTPtr_CBool Data; + public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_iter_action_t data) => data.Data; + public static implicit operator ecs_iter_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsIterTPtr_CBool(ecs_iter_next_action_t data) => data.Data; - public static implicit operator ecs_iter_next_action_t(FnPtr_EcsIterTPtr_CBool data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iter_fini_action_t + { + [FieldOffset(0)] + public FnPtr_EcsIterTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_map_data_t - { - [FieldOffset(0)] - public ulong Data; + public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_iter_fini_action_t data) => data.Data; + public static implicit operator ecs_iter_fini_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; + } - public static implicit operator ulong(ecs_map_data_t data) => data.Data; - public static implicit operator ecs_map_data_t(ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iter_init_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_map_key_t - { - [FieldOffset(0)] - public ecs_map_data_t Data; + public static implicit operator FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void(ecs_iter_init_action_t data) => data.Data; + public static implicit operator ecs_iter_init_action_t(FnPtr_EcsWorldTPtr_EcsPolyTPtr_EcsIterTPtr_EcsTermTPtr_Void data) => new() { Data = data }; + } - public static implicit operator ecs_map_data_t(ecs_map_key_t data) => data.Data; - public static implicit operator ecs_map_key_t(ecs_map_data_t data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iter_next_action_t + { + [FieldOffset(0)] + public FnPtr_EcsIterTPtr_CBool Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_map_val_t - { - [FieldOffset(0)] - public ecs_map_data_t Data; + public static implicit operator FnPtr_EcsIterTPtr_CBool(ecs_iter_next_action_t data) => data.Data; + public static implicit operator ecs_iter_next_action_t(FnPtr_EcsIterTPtr_CBool data) => new() { Data = data }; + } - public static implicit operator ecs_map_data_t(ecs_map_val_t data) => data.Data; - public static implicit operator ecs_map_val_t(ecs_map_data_t data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_map_data_t + { + [FieldOffset(0)] + public ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_meta_serialize_t - { - [FieldOffset(0)] - public FnPtr_EcsSerializerTPtr_VoidPtr_Int Data; + public static implicit operator ulong(ecs_map_data_t data) => data.Data; + public static implicit operator ecs_map_data_t(ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsSerializerTPtr_VoidPtr_Int(ecs_meta_serialize_t data) => data.Data; - public static implicit operator ecs_meta_serialize_t(FnPtr_EcsSerializerTPtr_VoidPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_map_key_t + { + [FieldOffset(0)] + public ecs_map_data_t Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_module_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_Void Data; + public static implicit operator ecs_map_data_t(ecs_map_key_t data) => data.Data; + public static implicit operator ecs_map_key_t(ecs_map_data_t data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_Void(ecs_module_action_t data) => data.Data; - public static implicit operator ecs_module_action_t(FnPtr_EcsWorldTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_map_val_t + { + [FieldOffset(0)] + public ecs_map_data_t Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_move_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; + public static implicit operator ecs_map_data_t(ecs_map_val_t data) => data.Data; + public static implicit operator ecs_map_val_t(ecs_map_data_t data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_move_t data) => data.Data; - public static implicit operator ecs_move_t(FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_meta_serialize_t + { + [FieldOffset(0)] + public FnPtr_EcsSerializerTPtr_VoidPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_order_by_action_t - { - [FieldOffset(0)] - public FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int Data; + public static implicit operator FnPtr_EcsSerializerTPtr_VoidPtr_Int(ecs_meta_serialize_t data) => data.Data; + public static implicit operator ecs_meta_serialize_t(FnPtr_EcsSerializerTPtr_VoidPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int(ecs_order_by_action_t data) => data.Data; - public static implicit operator ecs_order_by_action_t(FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_module_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_abort_t - { - [FieldOffset(0)] - public FnPtr_Void Data; + public static implicit operator FnPtr_EcsWorldTPtr_Void(ecs_module_action_t data) => data.Data; + public static implicit operator ecs_module_action_t(FnPtr_EcsWorldTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_Void(ecs_os_api_abort_t data) => data.Data; - public static implicit operator ecs_os_api_abort_t(FnPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_move_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_ainc_t - { - [FieldOffset(0)] - public FnPtr_IntPtr_Int Data; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_move_t data) => data.Data; + public static implicit operator ecs_move_t(FnPtr_VoidPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_IntPtr_Int(ecs_os_api_ainc_t data) => data.Data; - public static implicit operator ecs_os_api_ainc_t(FnPtr_IntPtr_Int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_order_by_action_t + { + [FieldOffset(0)] + public FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_calloc_t - { - [FieldOffset(0)] - public FnPtr_EcsSizeT_VoidPtr Data; + public static implicit operator FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int(ecs_order_by_action_t data) => data.Data; + public static implicit operator ecs_order_by_action_t(FnPtr_EcsEntityT_VoidPtr_EcsEntityT_VoidPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsSizeT_VoidPtr(ecs_os_api_calloc_t data) => data.Data; - public static implicit operator ecs_os_api_calloc_t(FnPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_abort_t + { + [FieldOffset(0)] + public FnPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_broadcast_t - { - [FieldOffset(0)] - public FnPtr_EcsOsCondT_Void Data; + public static implicit operator FnPtr_Void(ecs_os_api_abort_t data) => data.Data; + public static implicit operator ecs_os_api_abort_t(FnPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_broadcast_t data) => data.Data; - public static implicit operator ecs_os_api_cond_broadcast_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_ainc_t + { + [FieldOffset(0)] + public FnPtr_IntPtr_Int Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_free_t - { - [FieldOffset(0)] - public FnPtr_EcsOsCondT_Void Data; + public static implicit operator FnPtr_IntPtr_Int(ecs_os_api_ainc_t data) => data.Data; + public static implicit operator ecs_os_api_ainc_t(FnPtr_IntPtr_Int data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_free_t data) => data.Data; - public static implicit operator ecs_os_api_cond_free_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_calloc_t + { + [FieldOffset(0)] + public FnPtr_EcsSizeT_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_new_t - { - [FieldOffset(0)] - public FnPtr_EcsOsCondT Data; + public static implicit operator FnPtr_EcsSizeT_VoidPtr(ecs_os_api_calloc_t data) => data.Data; + public static implicit operator ecs_os_api_calloc_t(FnPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsCondT(ecs_os_api_cond_new_t data) => data.Data; - public static implicit operator ecs_os_api_cond_new_t(FnPtr_EcsOsCondT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_cond_broadcast_t + { + [FieldOffset(0)] + public FnPtr_EcsOsCondT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_signal_t - { - [FieldOffset(0)] - public FnPtr_EcsOsCondT_Void Data; + public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_broadcast_t data) => data.Data; + public static implicit operator ecs_os_api_cond_broadcast_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_signal_t data) => data.Data; - public static implicit operator ecs_os_api_cond_signal_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_cond_free_t + { + [FieldOffset(0)] + public FnPtr_EcsOsCondT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_wait_t - { - [FieldOffset(0)] - public FnPtr_EcsOsCondT_EcsOsMutexT_Void Data; + public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_free_t data) => data.Data; + public static implicit operator ecs_os_api_cond_free_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsCondT_EcsOsMutexT_Void(ecs_os_api_cond_wait_t data) => data.Data; - public static implicit operator ecs_os_api_cond_wait_t(FnPtr_EcsOsCondT_EcsOsMutexT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_cond_new_t + { + [FieldOffset(0)] + public FnPtr_EcsOsCondT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_dlclose_t - { - [FieldOffset(0)] - public FnPtr_EcsOsDlT_Void Data; + public static implicit operator FnPtr_EcsOsCondT(ecs_os_api_cond_new_t data) => data.Data; + public static implicit operator ecs_os_api_cond_new_t(FnPtr_EcsOsCondT data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsDlT_Void(ecs_os_api_dlclose_t data) => data.Data; - public static implicit operator ecs_os_api_dlclose_t(FnPtr_EcsOsDlT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_cond_signal_t + { + [FieldOffset(0)] + public FnPtr_EcsOsCondT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_dlopen_t - { - [FieldOffset(0)] - public FnPtr_CString_EcsOsDlT Data; + public static implicit operator FnPtr_EcsOsCondT_Void(ecs_os_api_cond_signal_t data) => data.Data; + public static implicit operator ecs_os_api_cond_signal_t(FnPtr_EcsOsCondT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_CString_EcsOsDlT(ecs_os_api_dlopen_t data) => data.Data; - public static implicit operator ecs_os_api_dlopen_t(FnPtr_CString_EcsOsDlT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_cond_wait_t + { + [FieldOffset(0)] + public FnPtr_EcsOsCondT_EcsOsMutexT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_dlproc_t - { - [FieldOffset(0)] - public FnPtr_EcsOsDlT_CString_EcsOsProcT Data; + public static implicit operator FnPtr_EcsOsCondT_EcsOsMutexT_Void(ecs_os_api_cond_wait_t data) => data.Data; + public static implicit operator ecs_os_api_cond_wait_t(FnPtr_EcsOsCondT_EcsOsMutexT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsDlT_CString_EcsOsProcT(ecs_os_api_dlproc_t data) => data.Data; - public static implicit operator ecs_os_api_dlproc_t(FnPtr_EcsOsDlT_CString_EcsOsProcT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_dlclose_t + { + [FieldOffset(0)] + public FnPtr_EcsOsDlT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_fini_t - { - [FieldOffset(0)] - public FnPtr_Void Data; + public static implicit operator FnPtr_EcsOsDlT_Void(ecs_os_api_dlclose_t data) => data.Data; + public static implicit operator ecs_os_api_dlclose_t(FnPtr_EcsOsDlT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_Void(ecs_os_api_fini_t data) => data.Data; - public static implicit operator ecs_os_api_fini_t(FnPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_dlopen_t + { + [FieldOffset(0)] + public FnPtr_CString_EcsOsDlT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_free_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_Void Data; + public static implicit operator FnPtr_CString_EcsOsDlT(ecs_os_api_dlopen_t data) => data.Data; + public static implicit operator ecs_os_api_dlopen_t(FnPtr_CString_EcsOsDlT data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_Void(ecs_os_api_free_t data) => data.Data; - public static implicit operator ecs_os_api_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_dlproc_t + { + [FieldOffset(0)] + public FnPtr_EcsOsDlT_CString_EcsOsProcT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_get_time_t - { - [FieldOffset(0)] - public FnPtr_EcsTimeTPtr_Void Data; + public static implicit operator FnPtr_EcsOsDlT_CString_EcsOsProcT(ecs_os_api_dlproc_t data) => data.Data; + public static implicit operator ecs_os_api_dlproc_t(FnPtr_EcsOsDlT_CString_EcsOsProcT data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsTimeTPtr_Void(ecs_os_api_get_time_t data) => data.Data; - public static implicit operator ecs_os_api_get_time_t(FnPtr_EcsTimeTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_fini_t + { + [FieldOffset(0)] + public FnPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_init_t - { - [FieldOffset(0)] - public FnPtr_Void Data; + public static implicit operator FnPtr_Void(ecs_os_api_fini_t data) => data.Data; + public static implicit operator ecs_os_api_fini_t(FnPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_Void(ecs_os_api_init_t data) => data.Data; - public static implicit operator ecs_os_api_init_t(FnPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_free_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_lainc_t - { - [FieldOffset(0)] - public FnPtr_LongPtr_Long Data; + public static implicit operator FnPtr_VoidPtr_Void(ecs_os_api_free_t data) => data.Data; + public static implicit operator ecs_os_api_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_LongPtr_Long(ecs_os_api_lainc_t data) => data.Data; - public static implicit operator ecs_os_api_lainc_t(FnPtr_LongPtr_Long data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_get_time_t + { + [FieldOffset(0)] + public FnPtr_EcsTimeTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_log_t - { - [FieldOffset(0)] - public FnPtr_Int_CString_Int_CString_Void Data; + public static implicit operator FnPtr_EcsTimeTPtr_Void(ecs_os_api_get_time_t data) => data.Data; + public static implicit operator ecs_os_api_get_time_t(FnPtr_EcsTimeTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_Int_CString_Int_CString_Void(ecs_os_api_log_t data) => data.Data; - public static implicit operator ecs_os_api_log_t(FnPtr_Int_CString_Int_CString_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_init_t + { + [FieldOffset(0)] + public FnPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_malloc_t - { - [FieldOffset(0)] - public FnPtr_EcsSizeT_VoidPtr Data; + public static implicit operator FnPtr_Void(ecs_os_api_init_t data) => data.Data; + public static implicit operator ecs_os_api_init_t(FnPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsSizeT_VoidPtr(ecs_os_api_malloc_t data) => data.Data; - public static implicit operator ecs_os_api_malloc_t(FnPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_lainc_t + { + [FieldOffset(0)] + public FnPtr_LongPtr_Long Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_module_to_path_t - { - [FieldOffset(0)] - public FnPtr_CString_CString Data; + public static implicit operator FnPtr_LongPtr_Long(ecs_os_api_lainc_t data) => data.Data; + public static implicit operator ecs_os_api_lainc_t(FnPtr_LongPtr_Long data) => new() { Data = data }; + } - public static implicit operator FnPtr_CString_CString(ecs_os_api_module_to_path_t data) => data.Data; - public static implicit operator ecs_os_api_module_to_path_t(FnPtr_CString_CString data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_log_t + { + [FieldOffset(0)] + public FnPtr_Int_CString_Int_CString_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_free_t - { - [FieldOffset(0)] - public FnPtr_EcsOsMutexT_Void Data; + public static implicit operator FnPtr_Int_CString_Int_CString_Void(ecs_os_api_log_t data) => data.Data; + public static implicit operator ecs_os_api_log_t(FnPtr_Int_CString_Int_CString_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsMutexT_Void(ecs_os_api_mutex_free_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_free_t(FnPtr_EcsOsMutexT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_malloc_t + { + [FieldOffset(0)] + public FnPtr_EcsSizeT_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_lock_t - { - [FieldOffset(0)] - public FnPtr_EcsOsMutexT_Void Data; + public static implicit operator FnPtr_EcsSizeT_VoidPtr(ecs_os_api_malloc_t data) => data.Data; + public static implicit operator ecs_os_api_malloc_t(FnPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsMutexT_Void(ecs_os_api_mutex_lock_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_lock_t(FnPtr_EcsOsMutexT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_module_to_path_t + { + [FieldOffset(0)] + public FnPtr_CString_CString Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_new_t - { - [FieldOffset(0)] - public FnPtr_EcsOsMutexT Data; + public static implicit operator FnPtr_CString_CString(ecs_os_api_module_to_path_t data) => data.Data; + public static implicit operator ecs_os_api_module_to_path_t(FnPtr_CString_CString data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsMutexT(ecs_os_api_mutex_new_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_new_t(FnPtr_EcsOsMutexT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_mutex_free_t + { + [FieldOffset(0)] + public FnPtr_EcsOsMutexT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_now_t - { - [FieldOffset(0)] - public FnPtr_Ulong Data; + public static implicit operator FnPtr_EcsOsMutexT_Void(ecs_os_api_mutex_free_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_free_t(FnPtr_EcsOsMutexT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_Ulong(ecs_os_api_now_t data) => data.Data; - public static implicit operator ecs_os_api_now_t(FnPtr_Ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_mutex_lock_t + { + [FieldOffset(0)] + public FnPtr_EcsOsMutexT_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_realloc_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_EcsSizeT_VoidPtr Data; + public static implicit operator FnPtr_EcsOsMutexT_Void(ecs_os_api_mutex_lock_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_lock_t(FnPtr_EcsOsMutexT_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_EcsSizeT_VoidPtr(ecs_os_api_realloc_t data) => data.Data; - public static implicit operator ecs_os_api_realloc_t(FnPtr_VoidPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_mutex_new_t + { + [FieldOffset(0)] + public FnPtr_EcsOsMutexT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_sleep_t - { - [FieldOffset(0)] - public FnPtr_Int_Int_Void Data; + public static implicit operator FnPtr_EcsOsMutexT(ecs_os_api_mutex_new_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_new_t(FnPtr_EcsOsMutexT data) => new() { Data = data }; + } - public static implicit operator FnPtr_Int_Int_Void(ecs_os_api_sleep_t data) => data.Data; - public static implicit operator ecs_os_api_sleep_t(FnPtr_Int_Int_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_now_t + { + [FieldOffset(0)] + public FnPtr_Ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_strdup_t - { - [FieldOffset(0)] - public FnPtr_CString_CString Data; + public static implicit operator FnPtr_Ulong(ecs_os_api_now_t data) => data.Data; + public static implicit operator ecs_os_api_now_t(FnPtr_Ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_CString_CString(ecs_os_api_strdup_t data) => data.Data; - public static implicit operator ecs_os_api_strdup_t(FnPtr_CString_CString data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_realloc_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_EcsSizeT_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_thread_join_t - { - [FieldOffset(0)] - public FnPtr_EcsOsThreadT_VoidPtr Data; + public static implicit operator FnPtr_VoidPtr_EcsSizeT_VoidPtr(ecs_os_api_realloc_t data) => data.Data; + public static implicit operator ecs_os_api_realloc_t(FnPtr_VoidPtr_EcsSizeT_VoidPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsThreadT_VoidPtr(ecs_os_api_thread_join_t data) => data.Data; - public static implicit operator ecs_os_api_thread_join_t(FnPtr_EcsOsThreadT_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_sleep_t + { + [FieldOffset(0)] + public FnPtr_Int_Int_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_thread_new_t - { - [FieldOffset(0)] - public FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT Data; + public static implicit operator FnPtr_Int_Int_Void(ecs_os_api_sleep_t data) => data.Data; + public static implicit operator ecs_os_api_sleep_t(FnPtr_Int_Int_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT(ecs_os_api_thread_new_t data) => data.Data; - public static implicit operator ecs_os_api_thread_new_t(FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_strdup_t + { + [FieldOffset(0)] + public FnPtr_CString_CString Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_thread_self_t - { - [FieldOffset(0)] - public FnPtr_EcsOsThreadIdT Data; + public static implicit operator FnPtr_CString_CString(ecs_os_api_strdup_t data) => data.Data; + public static implicit operator ecs_os_api_strdup_t(FnPtr_CString_CString data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsOsThreadIdT(ecs_os_api_thread_self_t data) => data.Data; - public static implicit operator ecs_os_api_thread_self_t(FnPtr_EcsOsThreadIdT data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_thread_join_t + { + [FieldOffset(0)] + public FnPtr_EcsOsThreadT_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_cond_t - { - [FieldOffset(0)] - public UIntPtr Data; + public static implicit operator FnPtr_EcsOsThreadT_VoidPtr(ecs_os_api_thread_join_t data) => data.Data; + public static implicit operator ecs_os_api_thread_join_t(FnPtr_EcsOsThreadT_VoidPtr data) => new() { Data = data }; + } - public static implicit operator UIntPtr(ecs_os_cond_t data) => data.Data; - public static implicit operator ecs_os_cond_t(UIntPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_thread_new_t + { + [FieldOffset(0)] + public FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_dl_t - { - [FieldOffset(0)] - public UIntPtr Data; + public static implicit operator FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT(ecs_os_api_thread_new_t data) => data.Data; + public static implicit operator ecs_os_api_thread_new_t(FnPtr_EcsOsThreadCallbackT_VoidPtr_EcsOsThreadT data) => new() { Data = data }; + } - public static implicit operator UIntPtr(ecs_os_dl_t data) => data.Data; - public static implicit operator ecs_os_dl_t(UIntPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_thread_self_t + { + [FieldOffset(0)] + public FnPtr_EcsOsThreadIdT Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_mutex_t - { - [FieldOffset(0)] - public UIntPtr Data; + public static implicit operator FnPtr_EcsOsThreadIdT(ecs_os_api_thread_self_t data) => data.Data; + public static implicit operator ecs_os_api_thread_self_t(FnPtr_EcsOsThreadIdT data) => new() { Data = data }; + } - public static implicit operator UIntPtr(ecs_os_mutex_t data) => data.Data; - public static implicit operator ecs_os_mutex_t(UIntPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_cond_t + { + [FieldOffset(0)] + public UIntPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_proc_t - { - [FieldOffset(0)] - public FnPtr_Void Data; + public static implicit operator UIntPtr(ecs_os_cond_t data) => data.Data; + public static implicit operator ecs_os_cond_t(UIntPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_Void(ecs_os_proc_t data) => data.Data; - public static implicit operator ecs_os_proc_t(FnPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_dl_t + { + [FieldOffset(0)] + public UIntPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_thread_callback_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_VoidPtr Data; + public static implicit operator UIntPtr(ecs_os_dl_t data) => data.Data; + public static implicit operator ecs_os_dl_t(UIntPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_VoidPtr(ecs_os_thread_callback_t data) => data.Data; - public static implicit operator ecs_os_thread_callback_t(FnPtr_VoidPtr_VoidPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_mutex_t + { + [FieldOffset(0)] + public UIntPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_thread_id_t - { - [FieldOffset(0)] - public ulong Data; + public static implicit operator UIntPtr(ecs_os_mutex_t data) => data.Data; + public static implicit operator ecs_os_mutex_t(UIntPtr data) => new() { Data = data }; + } - public static implicit operator ulong(ecs_os_thread_id_t data) => data.Data; - public static implicit operator ecs_os_thread_id_t(ulong data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_proc_t + { + [FieldOffset(0)] + public FnPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_thread_t - { - [FieldOffset(0)] - public UIntPtr Data; + public static implicit operator FnPtr_Void(ecs_os_proc_t data) => data.Data; + public static implicit operator ecs_os_proc_t(FnPtr_Void data) => new() { Data = data }; + } - public static implicit operator UIntPtr(ecs_os_thread_t data) => data.Data; - public static implicit operator ecs_os_thread_t(UIntPtr data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_thread_callback_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_VoidPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_poly_dtor_t - { - [FieldOffset(0)] - public FnPtr_EcsPolyTPtr_Void Data; + public static implicit operator FnPtr_VoidPtr_VoidPtr(ecs_os_thread_callback_t data) => data.Data; + public static implicit operator ecs_os_thread_callback_t(FnPtr_VoidPtr_VoidPtr data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsPolyTPtr_Void(ecs_poly_dtor_t data) => data.Data; - public static implicit operator ecs_poly_dtor_t(FnPtr_EcsPolyTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_thread_id_t + { + [FieldOffset(0)] + public ulong Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_run_action_t - { - [FieldOffset(0)] - public FnPtr_EcsIterTPtr_Void Data; + public static implicit operator ulong(ecs_os_thread_id_t data) => data.Data; + public static implicit operator ecs_os_thread_id_t(ulong data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_run_action_t data) => data.Data; - public static implicit operator ecs_run_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_thread_t + { + [FieldOffset(0)] + public UIntPtr Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] - public struct ecs_size_t - { - [FieldOffset(0)] - public int Data; + public static implicit operator UIntPtr(ecs_os_thread_t data) => data.Data; + public static implicit operator ecs_os_thread_t(UIntPtr data) => new() { Data = data }; + } - public static implicit operator int(ecs_size_t data) => data.Data; - public static implicit operator ecs_size_t(int data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_poly_dtor_t + { + [FieldOffset(0)] + public FnPtr_EcsPolyTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_sort_table_action_t - { - [FieldOffset(0)] - public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void Data; + public static implicit operator FnPtr_EcsPolyTPtr_Void(ecs_poly_dtor_t data) => data.Data; + public static implicit operator ecs_poly_dtor_t(FnPtr_EcsPolyTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void(ecs_sort_table_action_t data) => data.Data; - public static implicit operator ecs_sort_table_action_t(FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_run_action_t + { + [FieldOffset(0)] + public FnPtr_EcsIterTPtr_Void Data; - [CNode(Kind = "TypeAlias")] - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_xtor_t - { - [FieldOffset(0)] - public FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; + public static implicit operator FnPtr_EcsIterTPtr_Void(ecs_run_action_t data) => data.Data; + public static implicit operator ecs_run_action_t(FnPtr_EcsIterTPtr_Void data) => new() { Data = data }; + } - public static implicit operator FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_xtor_t data) => data.Data; - public static implicit operator ecs_xtor_t(FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; - } + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] + public struct ecs_size_t + { + [FieldOffset(0)] + public int Data; - [CNode(Kind = "MacroObject")] - public const int ECS_ACCESS_VIOLATION = 40; + public static implicit operator int(ecs_size_t data) => data.Data; + public static implicit operator ecs_size_t(int data) => new() { Data = data }; + } - [CNode(Kind = "MacroObject")] - public const int ECS_ALERT_MAX_SEVERITY_FILTERS = 4; + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_sort_table_action_t + { + [FieldOffset(0)] + public FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void Data; - [CNode(Kind = "MacroObject")] - public const int ECS_ALREADY_DEFINED = 8; + public static implicit operator FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void(ecs_sort_table_action_t data) => data.Data; + public static implicit operator ecs_sort_table_action_t(FnPtr_EcsWorldTPtr_EcsTableTPtr_EcsEntityTPtr_VoidPtr_Int_Int_Int_EcsOrderByActionT_Void data) => new() { Data = data }; + } - [CNode(Kind = "MacroObject")] - public const int ECS_ALREADY_IN_USE = 30; + [CNode(Kind = "TypeAlias")] + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_xtor_t + { + [FieldOffset(0)] + public FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void Data; - [CNode(Kind = "MacroObject")] - public static string ECS_BLACK = ""; + public static implicit operator FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void(ecs_xtor_t data) => data.Data; + public static implicit operator ecs_xtor_t(FnPtr_VoidPtr_Int_EcsTypeInfoTPtr_Void data) => new() { Data = data }; + } - [CNode(Kind = "MacroObject")] - public static string ECS_BLUE = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_ACCESS_VIOLATION = 40; - [CNode(Kind = "MacroObject")] - public static string ECS_BOLD = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_ALERT_MAX_SEVERITY_FILTERS = 4; - [CNode(Kind = "MacroObject")] - public const int ECS_CLANG_VERSION = 13; + [CNode(Kind = "MacroObject")] + public const int ECS_ALREADY_DEFINED = 8; - [CNode(Kind = "MacroObject")] - public const int ECS_COLUMN_INDEX_OUT_OF_RANGE = 41; + [CNode(Kind = "MacroObject")] + public const int ECS_ALREADY_IN_USE = 30; - [CNode(Kind = "MacroObject")] - public const int ECS_COLUMN_IS_NOT_SHARED = 42; + [CNode(Kind = "MacroObject")] + public static string ECS_BLACK = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_COLUMN_IS_SHARED = 43; + [CNode(Kind = "MacroObject")] + public static string ECS_BLUE = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_COLUMN_TYPE_MISMATCH = 45; + [CNode(Kind = "MacroObject")] + public static string ECS_BOLD = ""; - [CNode(Kind = "MacroObject")] - public const ulong ECS_COMPONENT_MASK = 1152921504606846975; + [CNode(Kind = "MacroObject")] + public const int ECS_COLUMN_INDEX_OUT_OF_RANGE = 41; - [CNode(Kind = "MacroObject")] - public const int ECS_COMPONENT_NOT_REGISTERED = 25; + [CNode(Kind = "MacroObject")] + public const int ECS_COLUMN_IS_NOT_SHARED = 42; - [CNode(Kind = "MacroObject")] - public const int ECS_CONSTRAINT_VIOLATED = 3; + [CNode(Kind = "MacroObject")] + public const int ECS_COLUMN_IS_SHARED = 43; - [CNode(Kind = "MacroObject")] - public static string ECS_CYAN = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_COLUMN_TYPE_MISMATCH = 45; - [CNode(Kind = "MacroObject")] - public const int ECS_CYCLE_DETECTED = 13; + [CNode(Kind = "MacroObject")] + public const ulong ECS_COMPONENT_MASK = 1152921504606846975; - [CNode(Kind = "MacroObject")] - public const ulong ECS_ENTITY_MASK = 4294967295; + [CNode(Kind = "MacroObject")] + public const int ECS_COMPONENT_NOT_REGISTERED = 25; - [CNode(Kind = "MacroObject")] - public const ulong ECS_GENERATION_MASK = 281470681743360; + [CNode(Kind = "MacroObject")] + public const int ECS_CONSTRAINT_VIOLATED = 3; - [CNode(Kind = "MacroObject")] - public static string ECS_GREEN = ""; + [CNode(Kind = "MacroObject")] + public static string ECS_CYAN = ""; - [CNode(Kind = "MacroObject")] - public static string ECS_GREY = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_CYCLE_DETECTED = 13; - [CNode(Kind = "MacroObject")] - public const int ECS_HTTP_HEADER_COUNT_MAX = 32; + [CNode(Kind = "MacroObject")] + public const ulong ECS_ENTITY_MASK = 4294967295; - [CNode(Kind = "MacroObject")] - public const int ECS_HTTP_QUERY_PARAM_COUNT_MAX = 32; + [CNode(Kind = "MacroObject")] + public const ulong ECS_GENERATION_MASK = 281470681743360; - [CNode(Kind = "MacroObject")] - public const ulong ECS_ID_FLAGS_MASK = 17293822569102704640; + [CNode(Kind = "MacroObject")] + public static string ECS_GREEN = ""; - [CNode(Kind = "MacroObject")] - public const ulong ECS_ID_FLAG_BIT = 9223372036854775808; + [CNode(Kind = "MacroObject")] + public static string ECS_GREY = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_ID_IN_USE = 12; + [CNode(Kind = "MacroObject")] + public const int ECS_HTTP_HEADER_COUNT_MAX = 32; - [CNode(Kind = "MacroObject")] - public const int ECS_INCONSISTENT_COMPONENT_ACTION = 27; + [CNode(Kind = "MacroObject")] + public const int ECS_HTTP_QUERY_PARAM_COUNT_MAX = 32; - [CNode(Kind = "MacroObject")] - public const int ECS_INCONSISTENT_COMPONENT_ID = 26; + [CNode(Kind = "MacroObject")] + public const ulong ECS_ID_FLAGS_MASK = 17293822569102704640; - [CNode(Kind = "MacroObject")] - public const int ECS_INCONSISTENT_NAME = 20; + [CNode(Kind = "MacroObject")] + public const ulong ECS_ID_FLAG_BIT = 9223372036854775808; - [CNode(Kind = "MacroObject")] - public const int ECS_INTERNAL_ERROR = 7; + [CNode(Kind = "MacroObject")] + public const int ECS_ID_IN_USE = 12; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_COMPONENT_ALIGNMENT = 24; + [CNode(Kind = "MacroObject")] + public const int ECS_INCONSISTENT_COMPONENT_ACTION = 27; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_COMPONENT_SIZE = 23; + [CNode(Kind = "MacroObject")] + public const int ECS_INCONSISTENT_COMPONENT_ID = 26; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_CONVERSION = 11; + [CNode(Kind = "MacroObject")] + public const int ECS_INCONSISTENT_NAME = 20; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_FROM_WORKER = 72; + [CNode(Kind = "MacroObject")] + public const int ECS_INTERNAL_ERROR = 7; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_OPERATION = 1; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_COMPONENT_ALIGNMENT = 24; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_PARAMETER = 2; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_COMPONENT_SIZE = 23; - [CNode(Kind = "MacroObject")] - public const int ECS_INVALID_WHILE_READONLY = 70; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_CONVERSION = 11; - [CNode(Kind = "MacroObject")] - public const int ECS_LEAK_DETECTED = 14; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_FROM_WORKER = 72; - [CNode(Kind = "MacroObject")] - public const int ECS_LOCKED_STORAGE = 71; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_OPERATION = 1; - [CNode(Kind = "MacroObject")] - public static string ECS_MAGENTA = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_PARAMETER = 2; - [CNode(Kind = "MacroObject")] - public static uint ECS_MAX_COMPONENT_ID = 268435455; + [CNode(Kind = "MacroObject")] + public const int ECS_INVALID_WHILE_READONLY = 70; - [CNode(Kind = "MacroObject")] - public const int ECS_MAX_RECURSION = 512; + [CNode(Kind = "MacroObject")] + public const int ECS_LEAK_DETECTED = 14; - [CNode(Kind = "MacroObject")] - public const int ECS_MAX_TOKEN_SIZE = 256; + [CNode(Kind = "MacroObject")] + public const int ECS_LOCKED_STORAGE = 71; - [CNode(Kind = "MacroObject")] - public const int ECS_MEMBER_DESC_CACHE_SIZE = 32; + [CNode(Kind = "MacroObject")] + public static string ECS_MAGENTA = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_META_MAX_SCOPE_DEPTH = 32; + [CNode(Kind = "MacroObject")] + public static uint ECS_MAX_COMPONENT_ID = 268435455; - [CNode(Kind = "MacroObject")] - public const int ECS_MISSING_OS_API = 9; + [CNode(Kind = "MacroObject")] + public const int ECS_MAX_RECURSION = 512; - [CNode(Kind = "MacroObject")] - public const int ECS_MISSING_SYMBOL = 29; + [CNode(Kind = "MacroObject")] + public const int ECS_MAX_TOKEN_SIZE = 256; - [CNode(Kind = "MacroObject")] - public const int ECS_MODULE_UNDEFINED = 28; + [CNode(Kind = "MacroObject")] + public const int ECS_MEMBER_DESC_CACHE_SIZE = 32; - [CNode(Kind = "MacroObject")] - public const int ECS_NAME_IN_USE = 21; + [CNode(Kind = "MacroObject")] + public const int ECS_META_MAX_SCOPE_DEPTH = 32; - [CNode(Kind = "MacroObject")] - public static string ECS_NORMAL = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_MISSING_OS_API = 9; - [CNode(Kind = "MacroObject")] - public const int ECS_NOT_A_COMPONENT = 22; + [CNode(Kind = "MacroObject")] + public const int ECS_MISSING_SYMBOL = 29; - [CNode(Kind = "MacroObject")] - public const int ECS_OPERATION_FAILED = 10; + [CNode(Kind = "MacroObject")] + public const int ECS_MODULE_UNDEFINED = 28; - [CNode(Kind = "MacroObject")] - public const int ECS_OUT_OF_MEMORY = 4; + [CNode(Kind = "MacroObject")] + public const int ECS_NAME_IN_USE = 21; - [CNode(Kind = "MacroObject")] - public const int ECS_OUT_OF_RANGE = 5; + [CNode(Kind = "MacroObject")] + public static string ECS_NORMAL = ""; - [CNode(Kind = "MacroObject")] - public static string ECS_RED = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_NOT_A_COMPONENT = 22; - [CNode(Kind = "MacroObject")] - public const int ECS_REST_DEFAULT_PORT = 27750; + [CNode(Kind = "MacroObject")] + public const int ECS_OPERATION_FAILED = 10; - [CNode(Kind = "MacroObject")] - public const uint ECS_ROW_FLAGS_MASK = 4026531840; + [CNode(Kind = "MacroObject")] + public const int ECS_OUT_OF_MEMORY = 4; - [CNode(Kind = "MacroObject")] - public const uint ECS_ROW_MASK = 268435455; + [CNode(Kind = "MacroObject")] + public const int ECS_OUT_OF_RANGE = 5; - [CNode(Kind = "MacroObject")] - public const int ECS_STAT_WINDOW = 60; + [CNode(Kind = "MacroObject")] + public static string ECS_RED = ""; - [CNode(Kind = "MacroObject")] - public const int ECS_STRBUF_ELEMENT_SIZE = 511; + [CNode(Kind = "MacroObject")] + public const int ECS_REST_DEFAULT_PORT = 27750; - [CNode(Kind = "MacroObject")] - public const int ECS_STRBUF_MAX_LIST_DEPTH = 32; + [CNode(Kind = "MacroObject")] + public const uint ECS_ROW_FLAGS_MASK = 4026531840; - [CNode(Kind = "MacroObject")] - public const int ECS_UNSUPPORTED = 6; + [CNode(Kind = "MacroObject")] + public const uint ECS_ROW_MASK = 268435455; - [CNode(Kind = "MacroObject")] - public static string ECS_WHITE = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_STAT_WINDOW = 60; - [CNode(Kind = "MacroObject")] - public static string ECS_YELLOW = ""; + [CNode(Kind = "MacroObject")] + public const int ECS_STRBUF_ELEMENT_SIZE = 511; - [CNode(Kind = "MacroObject")] - public const uint EcsAperiodicComponentMonitors = 4; + [CNode(Kind = "MacroObject")] + public const int ECS_STRBUF_MAX_LIST_DEPTH = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsAperiodicEmptyQueries = 16; + [CNode(Kind = "MacroObject")] + public const int ECS_UNSUPPORTED = 6; - [CNode(Kind = "MacroObject")] - public const uint EcsAperiodicEmptyTables = 2; + [CNode(Kind = "MacroObject")] + public static string ECS_WHITE = ""; - [CNode(Kind = "MacroObject")] - public const uint EcsCascade = 32; + [CNode(Kind = "MacroObject")] + public static string ECS_YELLOW = ""; - [CNode(Kind = "MacroObject")] - public const uint EcsDown = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsAperiodicComponentMonitors = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsEntityIsId = 2147483648; + [CNode(Kind = "MacroObject")] + public const uint EcsAperiodicEmptyQueries = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsEntityIsTarget = 1073741824; + [CNode(Kind = "MacroObject")] + public const uint EcsAperiodicEmptyTables = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsEntityIsTraversable = 536870912; + [CNode(Kind = "MacroObject")] + public const uint EcsCascade = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsEventNoOnSet = 65536; + [CNode(Kind = "MacroObject")] + public const uint EcsDown = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsEventTableOnly = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsEntityIsId = 2147483648; - [CNode(Kind = "MacroObject")] - public const uint EcsFilter = 1024; + [CNode(Kind = "MacroObject")] + public const uint EcsEntityIsTarget = 1073741824; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterHasCondSet = 1024; + [CNode(Kind = "MacroObject")] + public const uint EcsEntityIsTraversable = 536870912; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterHasPred = 4096; + [CNode(Kind = "MacroObject")] + public const uint EcsEventNoOnSet = 65536; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterHasScopes = 8192; + [CNode(Kind = "MacroObject")] + public const uint EcsEventTableOnly = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterIsInstanced = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsFilter = 1024; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchAnything = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterHasCondSet = 1024; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchDisabled = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterHasPred = 4096; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchEmptyTables = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterHasScopes = 8192; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchOnlyThis = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterIsInstanced = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchPrefab = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchAnything = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterMatchThis = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchDisabled = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterNoData = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchEmptyTables = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterPopulate = 512; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchOnlyThis = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsFilterUnresolvedByName = 2048; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchPrefab = 8; - [CNode(Kind = "MacroObject")] - public const int EcsFirstUserComponentId = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterMatchThis = 2; - [CNode(Kind = "MacroObject")] - public const int EcsFirstUserEntityId = 384; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterNoData = 128; - [CNode(Kind = "MacroObject")] - public const uint EcsIdAlwaysOverride = 4096; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterPopulate = 512; - [CNode(Kind = "MacroObject")] - public const uint EcsIdDontInherit = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsFilterUnresolvedByName = 2048; - [CNode(Kind = "MacroObject")] - public const uint EcsIdEventMask = 16711680; + [CNode(Kind = "MacroObject")] + public const int EcsFirstUserComponentId = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsIdExclusive = 64; + [CNode(Kind = "MacroObject")] + public const int EcsFirstUserEntityId = 384; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnAdd = 65536; + [CNode(Kind = "MacroObject")] + public const uint EcsIdAlwaysOverride = 4096; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnRemove = 131072; + [CNode(Kind = "MacroObject")] + public const uint EcsIdDontInherit = 128; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnSet = 262144; + [CNode(Kind = "MacroObject")] + public const uint EcsIdEventMask = 16711680; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnTableCreate = 4194304; + [CNode(Kind = "MacroObject")] + public const uint EcsIdExclusive = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnTableDelete = 8388608; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnAdd = 65536; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnTableEmpty = 2097152; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnRemove = 131072; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasOnTableFill = 1048576; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnSet = 262144; - [CNode(Kind = "MacroObject")] - public const uint EcsIdHasUnSet = 524288; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnTableCreate = 4194304; - [CNode(Kind = "MacroObject")] - public const uint EcsIdMarkedForDelete = 1073741824; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnTableDelete = 8388608; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteDelete = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnTableEmpty = 2097152; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteMask = 7; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasOnTableFill = 1048576; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteObjectDelete = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsIdHasUnSet = 524288; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteObjectMask = 56; + [CNode(Kind = "MacroObject")] + public const uint EcsIdMarkedForDelete = 1073741824; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteObjectPanic = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteDelete = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteObjectRemove = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteMask = 7; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeletePanic = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteObjectDelete = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsIdOnDeleteRemove = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteObjectMask = 56; - [CNode(Kind = "MacroObject")] - public const uint EcsIdTag = 512; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteObjectPanic = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsIdTraversable = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteObjectRemove = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsIdUnion = 2048; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeletePanic = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsIdWith = 1024; + [CNode(Kind = "MacroObject")] + public const uint EcsIdOnDeleteRemove = 1; - [CNode(Kind = "MacroObject")] - public const uint EcsIsEntity = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsIdTag = 512; - [CNode(Kind = "MacroObject")] - public const uint EcsIsName = 512; + [CNode(Kind = "MacroObject")] + public const uint EcsIdTraversable = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsIsVariable = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsIdUnion = 2048; - [CNode(Kind = "MacroObject")] - public const uint EcsIterEntityOptional = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsIdWith = 1024; - [CNode(Kind = "MacroObject")] - public const uint EcsIterHasCondSet = 1024; + [CNode(Kind = "MacroObject")] + public const uint EcsIsEntity = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsIterHasShared = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsIsName = 512; - [CNode(Kind = "MacroObject")] - public const uint EcsIterIgnoreThis = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsIsVariable = 128; - [CNode(Kind = "MacroObject")] - public const uint EcsIterIsInstanced = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsIterEntityOptional = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsIterIsValid = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsIterHasCondSet = 1024; - [CNode(Kind = "MacroObject")] - public const uint EcsIterMatchVar = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsIterHasShared = 8; - [CNode(Kind = "MacroObject")] - public const int EcsIterNext = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsIterIgnoreThis = 128; - [CNode(Kind = "MacroObject")] - public const int EcsIterNextYield = 0; + [CNode(Kind = "MacroObject")] + public const uint EcsIterIsInstanced = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsIterNoData = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsIterIsValid = 1; - [CNode(Kind = "MacroObject")] - public const uint EcsIterNoResults = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsIterMatchVar = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsIterProfile = 2048; + [CNode(Kind = "MacroObject")] + public const int EcsIterNext = 1; - [CNode(Kind = "MacroObject")] - public const uint EcsIterTableOnly = 16; + [CNode(Kind = "MacroObject")] + public const int EcsIterNextYield = 0; - [CNode(Kind = "MacroObject")] - public const int EcsIterYield = -1; + [CNode(Kind = "MacroObject")] + public const uint EcsIterNoData = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsOsApiHighResolutionTimer = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsIterNoResults = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsOsApiLogWithColors = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsIterProfile = 2048; - [CNode(Kind = "MacroObject")] - public const uint EcsOsApiLogWithTimeDelta = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsIterTableOnly = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsOsApiLogWithTimeStamp = 4; + [CNode(Kind = "MacroObject")] + public const int EcsIterYield = -1; - [CNode(Kind = "MacroObject")] - public const uint EcsParent = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsOsApiHighResolutionTimer = 1; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryHasMonitor = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsOsApiLogWithColors = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryHasOutColumns = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsOsApiLogWithTimeDelta = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryHasRefs = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsOsApiLogWithTimeStamp = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryIsOrphaned = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsParent = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryIsSubquery = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryHasMonitor = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsQueryTrivialIter = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryHasOutColumns = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsSelf = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryHasRefs = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasAddActions = 336392; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryIsOrphaned = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasBuiltins = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryIsSubquery = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasChildOf = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsQueryTrivialIter = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasCopy = 2048; + [CNode(Kind = "MacroObject")] + public const uint EcsSelf = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasCtors = 512; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasAddActions = 336392; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasDtors = 1024; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasBuiltins = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasIsA = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasChildOf = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasLifecycle = 1536; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasCopy = 2048; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasModule = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasCtors = 512; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasMove = 4096; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasDtors = 1024; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasName = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasIsA = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnAdd = 65536; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasLifecycle = 1536; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnRemove = 131072; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasModule = 128; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnSet = 262144; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasMove = 4096; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnTableCreate = 4194304; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasName = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnTableDelete = 8388608; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnAdd = 65536; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnTableEmpty = 2097152; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnRemove = 131072; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOnTableFill = 1048576; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnSet = 262144; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasOverrides = 32768; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnTableCreate = 4194304; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasPairs = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnTableDelete = 8388608; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasRemoveActions = 656392; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnTableEmpty = 2097152; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasTarget = 67108864; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOnTableFill = 1048576; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasToggle = 16384; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasOverrides = 32768; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasTraversable = 33554432; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasPairs = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasUnSet = 524288; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasRemoveActions = 656392; - [CNode(Kind = "MacroObject")] - public const uint EcsTableHasUnion = 8192; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasTarget = 67108864; - [CNode(Kind = "MacroObject")] - public const uint EcsTableIsComplex = 26112; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasToggle = 16384; - [CNode(Kind = "MacroObject")] - public const uint EcsTableIsDisabled = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasTraversable = 33554432; - [CNode(Kind = "MacroObject")] - public const uint EcsTableIsPrefab = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasUnSet = 524288; - [CNode(Kind = "MacroObject")] - public const uint EcsTableMarkedForDelete = 1073741824; + [CNode(Kind = "MacroObject")] + public const uint EcsTableHasUnion = 8192; - [CNode(Kind = "MacroObject")] - public const uint EcsTermIdInherited = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsTableIsComplex = 26112; - [CNode(Kind = "MacroObject")] - public const uint EcsTermMatchAny = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsTableIsDisabled = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsTermMatchAnySrc = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsTableIsPrefab = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsTermMatchDisabled = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsTableMarkedForDelete = 1073741824; - [CNode(Kind = "MacroObject")] - public const uint EcsTermMatchPrefab = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsTermIdInherited = 64; - [CNode(Kind = "MacroObject")] - public const uint EcsTermReflexive = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsTermMatchAny = 1; - [CNode(Kind = "MacroObject")] - public const uint EcsTermSrcFirstEq = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsTermMatchAnySrc = 2; - [CNode(Kind = "MacroObject")] - public const uint EcsTermSrcSecondEq = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsTermMatchDisabled = 128; - [CNode(Kind = "MacroObject")] - public const uint EcsTermTransitive = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsTermMatchPrefab = 256; - [CNode(Kind = "MacroObject")] - public const uint EcsTraverseAll = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsTermReflexive = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsTraverseFlags = 126; + [CNode(Kind = "MacroObject")] + public const uint EcsTermSrcFirstEq = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsUp = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsTermSrcSecondEq = 8; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldFini = 16; + [CNode(Kind = "MacroObject")] + public const uint EcsTermTransitive = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldInit = 4; + [CNode(Kind = "MacroObject")] + public const uint EcsTraverseAll = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldMeasureFrameTime = 32; + [CNode(Kind = "MacroObject")] + public const uint EcsTraverseFlags = 126; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldMeasureSystemTime = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsUp = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldMultiThreaded = 128; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldFini = 16; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldQuit = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldInit = 4; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldQuitWorkers = 1; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldMeasureFrameTime = 32; - [CNode(Kind = "MacroObject")] - public const uint EcsWorldReadonly = 2; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldMeasureSystemTime = 64; - [CNode(Kind = "MacroObject")] - public const int FLECS_COUNT_MAX = 64; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldMultiThreaded = 128; - [CNode(Kind = "MacroObject")] - public const int FLECS_ENTITY_PAGE_BITS = 12; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldQuit = 8; - [CNode(Kind = "MacroObject")] - public const int FLECS_EVENT_DESC_MAX = 8; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldQuitWorkers = 1; - [CNode(Kind = "MacroObject")] - public const int FLECS_HI_COMPONENT_ID = 256; + [CNode(Kind = "MacroObject")] + public const uint EcsWorldReadonly = 2; - [CNode(Kind = "MacroObject")] - public const int FLECS_HI_ID_RECORD_ID = 1024; + [CNode(Kind = "MacroObject")] + public const int FLECS_COUNT_MAX = 64; - [CNode(Kind = "MacroObject")] - public const int FLECS_ID_DESC_MAX = 32; + [CNode(Kind = "MacroObject")] + public const int FLECS_ENTITY_PAGE_BITS = 12; - [CNode(Kind = "MacroObject")] - public const int FLECS_QUERY_SCOPE_NESTING_MAX = 8; + [CNode(Kind = "MacroObject")] + public const int FLECS_EVENT_DESC_MAX = 8; - [CNode(Kind = "MacroObject")] - public const int FLECS_SPARSE_PAGE_BITS = 12; + [CNode(Kind = "MacroObject")] + public const int FLECS_HI_COMPONENT_ID = 256; - [CNode(Kind = "MacroObject")] - public const int FLECS_SPARSE_PAGE_SIZE = 4096; + [CNode(Kind = "MacroObject")] + public const int FLECS_HI_ID_RECORD_ID = 1024; - [CNode(Kind = "MacroObject")] - public const int FLECS_TERM_DESC_MAX = 16; + [CNode(Kind = "MacroObject")] + public const int FLECS_ID0ID_ = 0; - [CNode(Kind = "MacroObject")] - public const int FLECS__E0 = 0; + [CNode(Kind = "MacroObject")] + public const int FLECS_ID_DESC_MAX = 32; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_ENV_GNU = 0; + [CNode(Kind = "MacroObject")] + public const int FLECS_QUERY_SCOPE_NESTING_MAX = 8; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_ENV_MSVC = 0; + [CNode(Kind = "MacroObject")] + public const int FLECS_SPARSE_PAGE_BITS = 12; - [CNode(Kind = "MacroObject")] - public static string PINVOKE_TARGET_NAME = "aarch64-apple-darwin"; + [CNode(Kind = "MacroObject")] + public const int FLECS_SPARSE_PAGE_SIZE = 4096; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_ANDROID = 0; + [CNode(Kind = "MacroObject")] + public const int FLECS_TERM_DESC_MAX = 16; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_BROWSER = 0; + [CNode(Kind = "MacroObject")] + public const int PINVOKE_TARGET_OS_ANDROID = 0; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_FREEBSD = 0; + [CNode(Kind = "MacroObject")] + public const int PINVOKE_TARGET_OS_BROWSER = 0; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_LINUX = 0; + [CNode(Kind = "MacroObject")] + public const int PINVOKE_TARGET_OS_FREEBSD = 0; - [CNode(Kind = "MacroObject")] - public const int PINVOKE_TARGET_OS_WINDOWS = 0; + [CNode(Kind = "MacroObject")] + public const int ecs_filter_t_magic = 1701016422; - [CNode(Kind = "MacroObject")] - public const int ecs_filter_t_magic = 1701016422; + [CNode(Kind = "MacroObject")] + public const int ecs_observer_t_magic = 1701016418; - [CNode(Kind = "MacroObject")] - public const int ecs_observer_t_magic = 1701016418; + [CNode(Kind = "MacroObject")] + public const int ecs_query_t_magic = 1701016433; - [CNode(Kind = "MacroObject")] - public const int ecs_query_t_magic = 1701016433; + [CNode(Kind = "MacroObject")] + public const int ecs_rule_t_magic = 1701016437; - [CNode(Kind = "MacroObject")] - public const int ecs_rule_t_magic = 1701016437; + [CNode(Kind = "MacroObject")] + public const int ecs_stage_t_magic = 1701016435; - [CNode(Kind = "MacroObject")] - public const int ecs_stage_t_magic = 1701016435; + [CNode(Kind = "MacroObject")] + public const int ecs_table_t_magic = 1701016436; - [CNode(Kind = "MacroObject")] - public const int ecs_table_t_magic = 1701016436; + [CNode(Kind = "MacroObject")] + public const int ecs_trigger_t_magic = 1701016434; - [CNode(Kind = "MacroObject")] - public const int ecs_trigger_t_magic = 1701016434; + [CNode(Kind = "MacroObject")] + public const int ecs_world_t_magic = 1701016439; - [CNode(Kind = "MacroObject")] - public const int ecs_world_t_magic = 1701016439; + [CNode(Kind = "MacroObject")] + public const int flecs_iter_cache_all = 255; - [CNode(Kind = "MacroObject")] - public const int flecs_iter_cache_all = 255; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_columns = 2; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_columns = 2; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_ids = 1; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_ids = 1; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_match_indices = 16; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_match_indices = 16; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_ptrs = 8; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_ptrs = 8; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_sources = 4; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_sources = 4; + [CNode(Kind = "MacroObject")] + public const uint flecs_iter_cache_variables = 32; - [CNode(Kind = "MacroObject")] - public const uint flecs_iter_cache_variables = 32; + #endregion + } - #endregion } -