Closed XertroV closed 1 year ago
I think mb this was already addressed in the past. There's an 'undocumented' function: .Extract
on CSystemFidFile
that extracts to the Extracts
folder. My alt player skin plugin uses it. The reason I say it's undocumented is that it doesn't appear in next.openplanet.dev
docs, or the openplanet docs (e.g., under Fids::
). Consequently, it shows up as red in vscode using the extension. I can fix that manually in the extension but mb there's a better long-term soln.
Oh true, I forgot about those hidden API's. They are kinda hard to document, because they are not from Nadeo directly (thus won't show up on the game API documentation), and they are not part of Openplanet's API per se since they are additions to Nadeo's classes (and thus won't show up on Openplanet's API either).
I try to keep these hidden API's to a minimum and document them elsewhere, but it's not always possible. Perhaps moving these API's to Fids::Extract(..)
or something would be better, that way they can be documented easier.
Copying Fids to files, b/c
CopyToFileRelative
doesn't seem to work.from discord: https://discord.com/channels/276076890714800129/276076890714800129/895804760484118538