danielga / gm_stringtable

A module for Garry's Mod that provides interfaces to interact with stringtables from VALVe's engine.
https://github.com/danielga/gm_stringtable
Other
9 stars 2 forks source link

Add stringtable:GetStringUserDataInt #7

Closed aStonedPenguin closed 2 years ago

aStonedPenguin commented 2 years ago

Needed for the client_lua_files stringtable

danielga commented 2 years ago

This is a hard sell. It's impossible to verify the safety of doing this for all situations (besides nullptr). What is the meaning of the integer behind that userdata?

aStonedPenguin commented 2 years ago

I was thinking it still held the file CRC for some reason.