// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved. #pragma once #include "Engine/Core/Types/BaseTypes.h" /// /// The options for creation of the managed assembly. /// struct MAssemblyOptions { /// /// Should assembly cache classes on Load method. /// int32 PreCacheOnLoad : 1; /// /// Locks DLL/exe file with managed code. /// int32 KeepManagedFileLocked : 1; /// /// Initializes a new instance of the struct. /// /// if set to true to precache assembly metadata on load. /// if set to true keep managed file locked after load. MAssemblyOptions(bool preCacheOnLoad = true, bool keepManagedFileLocked = false) : PreCacheOnLoad(preCacheOnLoad) , KeepManagedFileLocked(keepManagedFileLocked) { } };