From 13f477664c07826c92eac774f0035994c460c057 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Nov 2021 11:32:32 +0800 Subject: *misc --- Runtime/Events/InputEvent.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Runtime/Events/InputEvent.h') diff --git a/Runtime/Events/InputEvent.h b/Runtime/Events/InputEvent.h index 5a5ed36..6069c85 100644 --- a/Runtime/Events/InputEvent.h +++ b/Runtime/Events/InputEvent.h @@ -1,5 +1,6 @@ #pragma once +#include #include "Runtime/Lua/LuaHelper.h" #include "Runtime/Math/Math.h" @@ -49,6 +50,8 @@ struct InputEvent : public LuaBind::INativeTable bool use; + InputEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); + void CastToTable(LuaBind::State& state) override; }; \ No newline at end of file -- cgit v1.1-26-g67d0