LeonMrBonnie / altv-angelscript-module

An alt:V module providing support for the AngelScript scripting language
MIT License
6 stars 2 forks source link

Change macro to create server/client/shared class method/property #17

Closed LeonMrBonnie closed 3 years ago

LeonMrBonnie commented 3 years ago

Less fucking around with defines, the better Just check for the define in the macro

REGISTER_GLOBAL_SHARED_FUNC
REGISTER_GLOBAL_SERVER_FUNC
REGISTER_GLOBAL_CLIENT_FUNC

REGISTER_SHARED_FUNCDEF
REGISTER_SERVER_FUNCDEF
REGISTER_CLIENT_FUNCDEF
// and so on...
LeonMrBonnie commented 3 years ago

Actually, no. I am too lazy for that shit. Just use the defines, it will be fine, probably