Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Hook Bindings #7

@vurvdev

Description

@vurvdev

Would be cool if we could make hooks like

@:hook("Tick")
function tick() {
	Sys.println("Hi");
}

or

@Event("Tick")
function tick() {
	trace("Hi");
}

Similar to how it works in S&Box right now

I'm not to the point in Haxe skill where I could easily get it to use the hook's arguments in these events but it'd be easy syntax sugar for hook.add(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgeneratorThis has to do with the generator branch.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions