How add a function to existing class
#2
You need to implement the function in C++ code, and in the .h file, mark it with an "// tolua_export" comment right after the declaration. Then you need to document the API - that's in the Server/Plugins/APIDump folder; the format should be pretty self-explanatory.
Reply
Thanks given by:


Messages In This Thread
How add a function to existing class - by moiko89 - 05-20-2017, 12:51 AM
RE: How add a function to existing class - by xoft - 05-20-2017, 12:54 AM



Users browsing this thread: 1 Guest(s)