Go to file
Pavel Shevaev c2030384f0 More optimal retrival of components: 1) using refs 2) using EcsPool<T>.GetOrDefault(..) 2024-11-20 12:10:08 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-04-26 18:36:02 +03:00
src Making PHPStan happy 2023-11-16 11:42:55 +03:00
tpl More optimal retrival of components: 1) using refs 2) using EcsPool<T>.GetOrDefault(..) 2024-11-20 12:10:08 +03:00
.gitignore Initial commit 2023-10-23 11:13:52 +03:00
CHANGELOG.md Добавить CHANGELOG.md 2024-06-21 18:41:04 +03:00
README.md Improving README 2023-10-23 11:17:58 +03:00
composer.json Making it forward compatible with newer version of metagen_bhl_bind 2024-11-14 20:20:34 +03:00

README.md

This package implements a BHL binding plugin for generation of C# LeoECS Lite bindings using Twig templates

Here the example of bindings declaration:


@shared_tokens:{"bhl_bind":true, "bhl_ecslite_component_entity":"EcsEntity"}

struct EcsEntity
  @bhl_no_new @bhl_native_class:Leopotam.EcsLite.EcsPackedEntityWithWorld @bhl_custom_rw
end

struct Velocity
  @bhl_native_class:`BitGames.GamePlay.Components.Velocity` @bhl_ecslite_component
  Value : Vector3
end

struct Position
  @bhl_native_class:`BitGames.GamePlay.Components.Position` @bhl_ecslite_component
  Value : Vector3
end