F4MP/codigos originales/tiltedcode/Code/client/Games/Events.h
2026-01-06 18:53:59 +01:00

15 lines
299 B
C++

#pragma once
#include <Events/EventDispatcher.h>
enum class BSTEventResult
{
kOk,
kAbort
};
template <class T> struct BSTEventSink
{
virtual ~BSTEventSink() {}
virtual BSTEventResult OnEvent(const T* apEvent, const EventDispatcher<T>* apSender) { return BSTEventResult::kOk; }
};