internal static bool save(IntPtr thisPtr) { if (_saveFunc == null) { _saveFunc = (_save)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ModuleDefinition_save"), typeof(_save)); } return(_saveFunc(thisPtr)); }
internal static bool save(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string fileName) { if (_saveFunc == null) { _saveFunc = (_save)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_TerrainBlock_save"), typeof(_save)); } return(_saveFunc(thisPtr, fileName)); }
internal static void save(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string fileName, bool append) { if (_saveFunc == null) { _saveFunc = (_save)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ActionMap_save"), typeof(_save)); } _saveFunc(thisPtr, fileName, append); }
internal static void save(IntPtr thisPtr) { if (_saveFunc == null) { _saveFunc = (_save)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_NavMesh_save"), typeof(_save)); } _saveFunc(thisPtr); }