libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
EventAction.h File Reference
#include <functional>
#include <stdint.h>
#include <variant>
#include "ship/core/Action.h"
#include "ship/events/EventTypes.h"
Include dependency graph for EventAction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ship::EventAction
 Action specialization for event-driven dispatch. More...
 

Namespaces

namespace  Ship
 Core namespace for the libultraship engine framework.
 

Typedefs

using Ship::EventActionCppCallback = std::function< bool(EventID, uintptr_t)>
 C++ callback signature for EventAction dispatch.
 
using Ship::EventActionRawCallback = bool(*)(EventID, uintptr_t)
 C-style callback signature for EventAction dispatch.
 
using Ship::EventActionCallback = std::variant< std::monostate, EventActionCppCallback, uintptr_t >
 Stored callback target for EventAction.