How to include MobilePatchingUtils.h into the project?

Hi, I’m trying to use the functionalities of Mobile Patch Utility (Blueprint) Nodes by its C++ API (without using any bp nodes) in my source code project. But I have no idea how to include the header file of the plugin. I already try add MobilePatchingUtils into the dependency module names and also add the include paths in the Build.cs file. But seems still no use. I also found classes in MobilePatchingLibrary.h are not exported, is that means I can’t use them from source code?

in ur Project.Build.cs, please add

    		PrivateIncludePaths.AddRange(
    			new string[] {
    				// ... add other private include paths required here ...
                    "../../Runtime/MobilePatchingUtils/Source/MobilePatchingUtils/Private/",
                }

Meanwhile, please make sure the below are mentioned in yours respectively.

            PublicDependencyModuleNames.AddRange(new string[]
            {
                "Core",
                "CoreUObject",
                "Engine",
            });

            PrivateDependencyModuleNames.AddRange(new string[]
            {
                "PakFile",
                "HTTP",
                "BuildPatchServices"
            });
1 Like