garrysmod_common icon indicating copy to clipboard operation
garrysmod_common copied to clipboard

Added CLuaObject + Updated CLuaInterface

Open RaphaelIT7 opened this issue 10 months ago • 1 comments

Added a few members to CLuaInterface and Added all members to CLuaObject with a few useful functions.
While not all fields are directly useful, they could be in some cases, and having a more accurate class is also not a bad thing.
I tested it on Windows on x86 and x86-64, but I didn't test if it works on Apple and if the offset for it is still needed.

RaphaelIT7 avatar Apr 29 '24 00:04 RaphaelIT7

Added a few more changes today but I think it should be done now. (If I cant find out what the remaining unknown members are used for) New list of changes to get a better Overview: [+] Added ILuaThreadedCall [+] Added CLuaObject [#] Added a NOTE to the ILuaObject [#] Updated ILuaInterface

  • [#] AddThreadedCall returns an int (was void*)
  • [#] GetNewTable returns an ILuaObject* (was void)

[#] Updated CLuaInterface

  • [+] Added a bunch of private members
  • [+] Added GetStringPool()

RaphaelIT7 avatar May 09 '24 21:05 RaphaelIT7