internal static bool isDirty(IntPtr thisPtr) { if (_isDirtyFunc == null) { _isDirtyFunc = (_isDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_Forest_isDirty"), typeof(_isDirty)); } return(_isDirtyFunc(thisPtr)); }
internal static bool isDirty(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string objName) { if (_isDirtyFunc == null) { _isDirtyFunc = (_isDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_PersistenceManager_isDirty"), typeof(_isDirty)); } return(_isDirtyFunc(thisPtr, objName)); }