Lua/LuaInstance: Add support for multi-arg conversion
Allows to convert 3 numbers to a single Vector3 argument (Yup, I'm working on it) Former-commit-id: 56766e8b3821c7c4aa44036306c6bcbe658554bb
This commit is contained in:
@@ -42,8 +42,8 @@ namespace Nz
|
||||
bool Call(unsigned int argCount);
|
||||
bool Call(unsigned int argCount, unsigned int resultCount);
|
||||
|
||||
template<typename T> T Check(int index);
|
||||
template<typename T> T Check(int index, T defValue);
|
||||
template<typename T> T Check(unsigned int* index);
|
||||
template<typename T> T Check(unsigned int* index, T defValue);
|
||||
void CheckAny(int index) const;
|
||||
bool CheckBoolean(int index) const;
|
||||
bool CheckBoolean(int index, bool defValue) const;
|
||||
|
||||
Reference in New Issue
Block a user