Files
Nuake-custom/Nuake/src/Scripting/NetModules/EngineNetAPI.cpp
Antoine Pilote 1ccd338fc6 Added various method to the .Net API
- IsKeyDown
- GetMousePosition
- GetEntity
- HasComponent
- GetComponent
- Added InputKeyCode to C#
2023-10-16 23:41:22 -04:00

16 lines
247 B
C++

#include "EngineNetAPI.h"
namespace Nuake {
void Log(Coral::NativeString string)
{
Logger::Log(string.ToString(), ".net", VERBOSE);
}
void EngineNetAPI::RegisterMethods()
{
RegisterMethod("Engine.LoggerLogIcall", (void*)(&Log));
}
}