Skip to content

Commit 3736fb3

Browse files
committed
add more to rewrite
1 parent 0215cea commit 3736fb3

15 files changed

+3345
-9
lines changed

include/RateEvent.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#include "Types.hpp"
55

66
namespace GDUtils::Events {
7-
class RateEvent : public geode::SimpleEvent<RateEvent, EventData> {
7+
class RateEvent : public geode::Event<RateEvent, bool(EventData&)> {
88
public:
9-
using SimpleEvent::SimpleEvent;
9+
using Event::Event;
1010
static void emit(EventData data) {
1111
RateEvent().send(data);
1212
};

0 commit comments

Comments
 (0)