Polyphase Game Engine
Loading...
Searching...
No Matches
InputActionPrompt_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5
7
9
10#if LUA_ENABLED
11
12#define INPUT_ACTION_PROMPT_LUA_NAME "InputActionPrompt"
13#define INPUT_ACTION_PROMPT_LUA_FLAG "cfInputActionPrompt"
14#define CHECK_INPUT_ACTION_PROMPT(L, arg) \
15 (InputActionPrompt*)CheckNodeLuaType(L, arg, INPUT_ACTION_PROMPT_LUA_NAME, INPUT_ACTION_PROMPT_LUA_FLAG);
16
17struct InputActionPrompt_Lua
18{
19 static int SetAction(lua_State* L);
20 static int GetActionCategory(lua_State* L);
21 static int GetActionName(lua_State* L);
22 static int SetPromptMap(lua_State* L);
23 static int SetPromptStyle(lua_State* L);
24 static int GetResolvedLabel(lua_State* L);
25
26 static void Bind();
27};
28
29#endif