altmp / altv-js-module

JS module for alt:V Multiplayer. Powered by NodeJS & v8
MIT License
55 stars 35 forks source link

Add support for JS bindings #126

Closed LeonMrBonnie closed 2 years ago

LeonMrBonnie commented 2 years ago

This adds support to have bindings for classes in JS. Currently, all bindings are from C++, but this causes some performance issues as some classes (e.g. RGBA) don't need to be implemented in C++ as they don't access the alt:V API. Reimplementing the functionality for these in JS will cause no API difference, but improve the performance (drastically, in some cases)