F4MP/codigos originales/tiltedcode/Code/client/Games/Events.h

16 lines
299 B
C
Raw Normal View History

#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; }
};