internal static IntPtr read(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string filename) { if (_readFunc == null) { _readFunc = (_read)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_Taml_read"), typeof(_read)); } return(_readFunc(thisPtr, filename)); }
internal static bool read(IntPtr thisPtr) { if (_readFunc == null) { _readFunc = (_read)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_Settings_read"), typeof(_read)); } return(_readFunc(thisPtr)); }