diff --git a/tpl/macro.twig b/tpl/macro.twig index 05774cb..79fc2ad 100644 --- a/tpl/macro.twig +++ b/tpl/macro.twig @@ -98,10 +98,6 @@ public {{_self.struct_type(o)}} {{o.name}} {{_self.base_struct_class(o)}} {%- if has_token(o, 'bitfields') ~%} {{_self.bitmask_helpers(o)}} {%- endif -%} - -{%- if has_token(o, 'bhl_bind') ~%} - {{_self.get_itype(o)}} -{%- endif -%} {%- if has_token(o, 'id') ~%} public ulong getPrimaryId() @@ -173,7 +169,6 @@ ResetFieldMask(); {%- else -%} : {{o.parent ? o.parent.name : 'BaseMetaStruct'}} {{- has_token(o, 'cloneable') and not o.parent ? ', IMetaCloneable' -}} -{{- has_token(o, 'bhl_bind') and not o.parent ? ', bhl.ITyped' -}} {%- endif -%} {%- for ai in get_accessor_interfaces(o) -%} , {{ai.interfacename}} @@ -282,15 +277,6 @@ base.syncFields(ctx); {%- endmacro -%} - -{% macro get_itype(o) %} - - public {{_self.virtual(o)}} bhl.IType GetIType() - { - return bhl.BHL_Types.Type_{{o.name}}; - } -{%- endmacro -%} - {% macro decl_enum(o) %} {{_self.attributes(o)}} public enum {{o.name}}