Migrating to new bhl version
This commit is contained in:
parent
3bb1c5e90a
commit
df2e4fd44a
|
@ -109,7 +109,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
|
||||
{%- macro decl_func_partial_class(o, prefix, this_type = null) ~%}
|
||||
|
||||
public partial class {{prefix}}{{o.name|norm_name}} {% if has_token(o, 'bhl_coroutine') %}: bhl.ICoroutine {% endif %} {
|
||||
public partial class {{prefix}}{{o.name|norm_name}} {% if has_token(o, 'bhl_coroutine') %}: bhl.Coroutine {% endif %} {
|
||||
|
||||
{% if o.args or this_type ~%}
|
||||
|
||||
|
@ -202,11 +202,11 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
Init(frm, stack);
|
||||
}
|
||||
|
||||
public void Tick(VM.Frame frm, bhl.VM.ExecState exec, ref BHS status) {
|
||||
public override void Tick(VM.Frame frm, bhl.VM.ExecState exec, ref BHS status) {
|
||||
Exec(frm, exec.stack, ref status);
|
||||
}
|
||||
|
||||
public void Cleanup(VM.Frame frm, bhl.VM.ExecState exec) {
|
||||
public override void Cleanup(VM.Frame frm, bhl.VM.ExecState exec) {
|
||||
Cleanup(frm);
|
||||
{% if o.args or this_type ~%}
|
||||
args = default;
|
||||
|
|
Loading…
Reference in New Issue