Darktide-Mod-Framework/vmf
FireSiku 7a08f1c32b Refactor API to use generic function for argument checking/handling
A lot of the code ended up being duplicated between the four api calls,
on top of that some type handling checks had to be made in both create_hook and get_orig_function.
This lead to a very messy state of things, so combine all of the handling into a single function,
then we can proceed with the rest of the code expecting one thing.

Having a single entry point made it very easy to add support for delaying hook cleanly.

Also add support for "Obj.Method" notation for backward-compatibility with old hooks.
I initially tried to use string.split provided by fatshark's code, but it creates a table, and requires a lot of supporting code that is all avoided by using a simple string.sub call.
2018-06-07 18:10:59 -04:00
..
core Added VT2 compatibility; updated project the last VMB version 2018-05-05 19:07:40 +03:00
gui/vmf Mutators module reworking 2018-04-19 04:21:49 +03:00
localization Mutators: cleaned up GUI and added localization 2018-05-19 20:53:50 +03:00
materials/vmf Mutators module reworking 2018-04-19 04:21:49 +03:00
resource_packages Mutators: moving, removig and renaming stuff 2018-05-22 11:52:57 +03:00
scripts/mods/vmf Refactor API to use generic function for argument checking/handling 2018-06-07 18:10:59 -04:00
itemV1.cfg Update Vermintide 1 workshop description 2018-06-06 14:55:37 -06:00
itemV2.cfg Steam Workshop Config [V2]: updated tags, applied VMF for sanctioning 2018-06-07 10:28:31 +03:00
preview.jpg Change project to make it work with UnShame's gulp script 2018-03-08 19:31:30 +03:00
preview2.png Updated workshop info 2018-05-19 20:53:50 +03:00
settings.ini Change project to make it work with UnShame's gulp script 2018-03-08 19:31:30 +03:00
vmf.mod Change project to make it work with UnShame's gulp script 2018-03-08 19:31:30 +03:00