Changes
-
Added
wrapper.WrapFile
for the new File object in CYF v0.6.3 -
Updated existing properties and functions to match CYF v0.6.3, and added new properties and functions that were added
- Among these, I added an exception for
Misc.OpenFIle
so that if a new boolwrapper.autoWrapFile
istrue
, upon callingMisc.OpenFile
you will be given a wrapped File object
- Among these, I added an exception for
-
Fixed an error that occurs when you wrap an object but don't give a custom override table, such as by doing
wrapper.WrapMisc()
-
Fixed all strange
isCYF
checks that also checked forEncounter
because I was dumb and thoughtisCYF
only existed in the Encounter script but it exists in all scripts actually >w>
Installation
Download userdataWrapper.lua
, place it in YOUR MOD/Lua/Libraries
and load it in any desired files with
wrapper = require "Libraries/userdataWrapper"