string empty default values are imported correctly
Some considerations:
Perhaps enum globals should be automatic somehow?
local Weapon = {} is duplicated in the output. Not sure how to handle this, given that, at least on Windows, you cannot have the same file with different capitalization (class.WEAPON.lua and class.Weapon.lua)
Fixes https://github.com/luttje/glua-api-snippets/issues/36
List of changes:
CSEnt
inheritsEntity
WEAPON
inheritsWeapon
Weapon
inheritsEntity
NETVERSIONSTR
globalSENSORBONE
,TEXFILTER
enum globalsSome considerations:
local Weapon = {}
is duplicated in the output. Not sure how to handle this, given that, at least on Windows, you cannot have the same file with different capitalization (class.WEAPON.lua
andclass.Weapon.lua
)