How add a function to existing class
#5
No it's not, I did it before with cBlockArea: https://forum.cuberite.org/thread-569-po...l#pid15474

cPlayer was a bit harder to do. First I had to get rid of the metatable, put the function inside and then put the metatable in there again.
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 NiLSPACE - 05-21-2017, 12:14 AM



Users browsing this thread: 1 Guest(s)