ResManGetFileContents(string, int)
From NWN Lexicon
Jump to navigationJump to searchGet the contents of a file as string, as seen by the server's resman.
Parameters
- sResRef
- blueprint resref to query for contents
- nResType
- blueprint RESTYPE constant for the blueprint resref
Description
Get the contents of a file as string, as seen by the server's resman. Note: If the file contains binary data it will return data up to the first null byte.
- nResType: a RESTYPE_* constant.
Returns "" if the file does not exist.
Remarks
Version
This function was added in 1.86.8193.35 of NWN:EE.
Example
See Also
functions: | ResManGetAliasFor() ResManFindPrefix() |