Closed assyrianic closed 1 year ago
Sadly no methmap for sdkcall handles because there's not many handles needed for an sdkcall.
Ah yeah, SDKCall() is pretty much the only thing used with those, right.
I was thinking of making a CEconAttribute methodmap (since tf2att returns Handles from GetByName/etc. right now) when doing the SM17 syntax conversion. Thoughts?
Oh, and does CloseHandle need to be swapped out with 'delete'?
According to Bailopan, "delete" is basically a syntactic version of "CloseHandle"
so it's not entirely necessary to switch it out though it makes it alot easy and faster to simply type "delete Handle" or "Handle.Close()" rather than "CloseHandle(Handle)"
you can make methodmaps about damn near anything, especially if you believe it'll make it easier to code things.
This has been superceded by f3945f28fdaca99472e7a597ae8cb0cff3be3e6e being merged in.
Has anybody made a methodmap for SDKCall handles? If so, that'd be much better to use, I think.