F4MP/tiltedcode/Code/client/Games/Events.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +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; }
};