diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Android.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Android.Build.cs deleted file mode 100644 index e865e4e..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Android.Build.cs +++ /dev/null @@ -1,108 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_Android : WwiseUEPlatform -{ - private List AndroidSDKFolders; - public WwiseUEPlatform_2022_1_Android(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) - { - AndroidSDKFolders = new List - { -#if UE_5_0_OR_LATER - Path.Combine(ThirdPartyFolder, "Android", "arm64-v8a", WwiseConfigurationDir), - Path.Combine(ThirdPartyFolder, "Android", "x86_64", WwiseConfigurationDir), -#else - Path.Combine(ThirdPartyFolder, "Android", "armeabi-v7a", WwiseConfigurationDir), - Path.Combine(ThirdPartyFolder, "Android", "x86", WwiseConfigurationDir), - Path.Combine(ThirdPartyFolder, "Android", "arm64-v8a", WwiseConfigurationDir), - Path.Combine(ThirdPartyFolder, "Android", "x86_64", WwiseConfigurationDir), -#endif - }; - } - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "Android"; } } - - public override string DynamicLibExtension { get { return "so"; } } - - public override List GetPublicLibraryPaths() - { - var LibPaths = new List(); - foreach (var folder in AndroidSDKFolders) - { - LibPaths.Add(Path.Combine(folder, "lib")); - } - - return LibPaths; - } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetRuntimeDependencies() - { - var Dependencies = new List(); - foreach (var folder in AndroidSDKFolders) - { - Dependencies.AddRange(GetAllLibrariesInFolder(Path.Combine(folder, "bin"), DynamicLibExtension, false, true)); - } - - return Dependencies; - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List {"__ANDROID__"}; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return new Tuple("AndroidPlugin", Path.Combine(ModuleDirectory, "Wwise_APL.xml")); - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Hololens.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Hololens.Build.cs deleted file mode 100644 index 2fe86d1..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Hololens.Build.cs +++ /dev/null @@ -1,79 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_HoloLens : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_HoloLens(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, LibName + ".lib"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "UWP_ARM64_" + GetVisualStudioVersion(); } } - - public override string DynamicLibExtension { get { return "dll"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "AK_HOLOLENS_VS_VERSION=\"" + GetVisualStudioVersion() + "\"" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private string GetVisualStudioVersion() - { - return "vc160"; - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_iOS.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_iOS.Build.cs deleted file mode 100644 index dbd0674..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_iOS.Build.cs +++ /dev/null @@ -1,88 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_IOS : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_IOS(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "iOS_Xcode1400"; } } - - public override string DynamicLibExtension { get { return string.Empty; } } - - public override List GetPublicLibraryPaths() - { - return new List - { - Path.Combine(ThirdPartyFolder, AkPlatformLibDir, WwiseConfigurationDir + "-iphoneos", "lib") - }; - } - - public override List GetAdditionalWwiseLibs() - { - return GetAllLibrariesInFolder(Path.Combine(ThirdPartyFolder, AkPlatformLibDir, WwiseConfigurationDir + "-iphoneos", "lib"), "a", true); - } - - public override List GetRuntimeDependencies() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List(); - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List - { - "AudioToolbox", - "CoreAudio" - }; - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Linux.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Linux.Build.cs deleted file mode 100644 index 7070ad4..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Linux.Build.cs +++ /dev/null @@ -1,73 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_Linux : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_Linux(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "Linux_x64"; } } - - public override string DynamicLibExtension { get { return "so"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_LinuxAArch64.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_LinuxAArch64.Build.cs deleted file mode 100644 index e724436..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_LinuxAArch64.Build.cs +++ /dev/null @@ -1,73 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_LinuxAArch64 : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_LinuxAArch64(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "Linux_aarch64"; } } - - public override string DynamicLibExtension { get { return "so"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Mac.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Mac.Build.cs deleted file mode 100644 index 97b2155..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Mac.Build.cs +++ /dev/null @@ -1,78 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_Mac : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_Mac(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) - { - } - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return Target.Configuration != UnrealTargetConfiguration.Shipping; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "Mac_Xcode1400"; } } - - public override string DynamicLibExtension { get { return "dylib"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List(); - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List - { - "AudioUnit", - "AudioToolbox", - "CoreAudio" - }; - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS4.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS4.Build.cs deleted file mode 100644 index a509783..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS4.Build.cs +++ /dev/null @@ -1,89 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_PS4 : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_PS4(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir - { - get - { - string ExpectedSdkVersion = Environment.ExpandEnvironmentVariables("%SCE_ORBIS_SDK_DIR%"); - return "PS4_SDK" + System.IO.Path.GetFileName(ExpectedSdkVersion); - } - } - - public override string DynamicLibExtension { get { return "prx"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List - { - "SceAudio3dEngine" - }; - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "SceAjm_stub_weak", - "SceAudio3d_stub_weak", - "SceMove_stub_weak" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "__ORBIS__" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS5.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS5.Build.cs deleted file mode 100644 index edf4e2d..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_PS5.Build.cs +++ /dev/null @@ -1,230 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; -using System.Reflection; - -#if UE_5_2_OR_LATER -using Microsoft.Extensions.Logging; -#endif -#if UE_5_0_OR_LATER -using EpicGames.Core; -#else -using Tools.DotNETCommon; -#endif - -public class WwiseUEPlatform_2022_1_PS5 : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_PS5(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return true; } } - - public override string AkPlatformLibDir - { - get - { - string ExpectedSdkVersion = Environment.ExpandEnvironmentVariables("%SCE_PROSPERO_SDK_DIR%"); - ExpectedSdkVersion = System.IO.Path.GetFileName(ExpectedSdkVersion); - - if (ExpectedSdkVersion.Contains("9.000")) - { - ExpectedSdkVersion += "_ABI" + new ABIGetter(Target).GetABI(); - } - - return "PS5_SDK" + ExpectedSdkVersion; - } - } - - public override string DynamicLibExtension { get { return "prx"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "SceAcm_stub_weak", - "SceAudioOut2_stub_weak" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List(); - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private class ABIGetter - { - private ReadOnlyTargetRules Target; - public ABIGetter(ReadOnlyTargetRules in_Target) - { - Target = in_Target; - } - - private object GetPS5ToolchainObject() - { -#if UE_5_0_OR_LATER - var PS5ToolchainType = Type.GetType("UnrealBuildTool.PS5ToolChain, UnrealBuildTool"); - if (PS5ToolchainType == null) - { - return null; - } - - var ClangToolChainOptionsType = Type.GetType("UnrealBuildTool.ClangToolChainOptions, UnrealBuildTool"); - if (ClangToolChainOptionsType == null) - { - return null; - } - - var options = System.Enum.ToObject(ClangToolChainOptionsType, 0); - if (options == null) - { - return null; - } - -#if UE_5_3_OR_LATER - ILogger Logger = Target.Logger; -#elif UE_5_2_OR_LATER - ILogger Logger = Log.Logger; -#endif - return Activator.CreateInstance(PS5ToolchainType, new object[] { options, Logger }); -#else - return null; -#endif - } - - private MethodInfo GetGetCompileArguments_GlobalMethod() - { -#if UE_5_0_OR_LATER - var PS5ToolchainType = Type.GetType("UnrealBuildTool.PS5ToolChain, UnrealBuildTool"); - if (PS5ToolchainType == null) - { - return null; - } - return PS5ToolchainType.GetMethod("GetCompileArguments_Global", BindingFlags.NonPublic | BindingFlags.Instance); -#else - return null; -#endif - } - - private object GetCppCompileEnvironmentObject() - { -#if UE_5_0_OR_LATER - var CPPCompileEnvironmentType = Type.GetType("UnrealBuildTool.CppCompileEnvironment, UnrealBuildTool"); - if (CPPCompileEnvironmentType == null) - { - return null; - } - - var CppConfigurationType = Type.GetType("UnrealBuildTool.CppConfiguration, UnrealBuildTool"); - if (CppConfigurationType == null) - { - return null; - } - - - var CppConfig = System.Enum.Parse(CppConfigurationType, Target.Configuration.ToString()); - if (CppConfig == null) - { - return null; - } - - return Activator.CreateInstance(CPPCompileEnvironmentType, new object[] { UnrealTargetPlatform.Parse("PS5"), CppConfig, Target.Architectures, null }); -#else - return null; -#endif - } - - public string GetABI() - { - // Do everything needed to call PS5ToolChain.GetCompileArguments_Global - string FoundABI = "v1"; - - object PS5ToolchainObject = null; - MethodInfo GetCompileArgsMethod = null; - object CppCompileEnvironmentObject = null; - - // Activator.CreateInstance can throw. If this happens, we simply want to return the default ABI - try - { - PS5ToolchainObject = GetPS5ToolchainObject(); - GetCompileArgsMethod = GetGetCompileArguments_GlobalMethod(); - CppCompileEnvironmentObject = GetCppCompileEnvironmentObject(); - } - catch {} - - if (PS5ToolchainObject == null || GetCompileArgsMethod == null || CppCompileEnvironmentObject == null) - { -#if UE_5_3_OR_LATER - Target.Logger.LogInformation("Wwise_PS5: Unable to get sce-stdlib version using reflection, using default value of " + FoundABI); -#else - Log.TraceInformation("Wwise_PS5: Unable to get sce-stdlib version using reflection, using default value of " + FoundABI); -#endif - return FoundABI; - } - - List CompileArgs = new List(); - GetCompileArgsMethod.Invoke(PS5ToolchainObject, new[] { CppCompileEnvironmentObject, CompileArgs }); - - foreach (var arg in CompileArgs) - { - if (arg.Contains("sce-stdlib")) - { - FoundABI = arg.Split('=')[1]; - break; - } - } - - return FoundABI; - } - } -} - -public class WwiseUEPlatform_2022_1_DPX : WwiseUEPlatform_2022_1_PS5 -{ - public WwiseUEPlatform_2022_1_DPX(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) { } -} \ No newline at end of file diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Stadia.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Stadia.Build.cs deleted file mode 100644 index 9437859..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Stadia.Build.cs +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_Stadia : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_Stadia(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "GGP"; } } - - public override string DynamicLibExtension { get { return "so"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List (); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "__ggp__" - }; - - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} - -public class WwiseUEPlatform_2022_1_Quail : WwiseUEPlatform_2022_1_Stadia -{ - public WwiseUEPlatform_2022_1_Quail(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} -} \ No newline at end of file diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Switch.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Switch.Build.cs deleted file mode 100644 index 3110f10..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_Switch.Build.cs +++ /dev/null @@ -1,81 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_Switch : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_Switch(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "NX64_SDK16"; } } - - public override string DynamicLibExtension { get { return string.Empty; } } - - public override List GetAdditionalWwiseLibs() - { - var libs = GetAllLibrariesInFolder(Path.Combine(ThirdPartyFolder, AkPlatformLibDir, WwiseConfigurationDir, "lib"), "a", true); - libs.Add("AkOpusNXDecoder"); - return libs; - } - - public override List GetRuntimeDependencies() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "NN_NINTENDO_SDK" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_tvOS.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_tvOS.Build.cs deleted file mode 100644 index 1e9fabe..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_tvOS.Build.cs +++ /dev/null @@ -1,88 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_TVOS : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_TVOS(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, "lib" + LibName + ".a"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override string AkPlatformLibDir { get { return "tvOS_Xcode1400"; } } - - public override string DynamicLibExtension { get { return string.Empty; } } - - public override List GetPublicLibraryPaths() - { - return new List - { - Path.Combine(ThirdPartyFolder, AkPlatformLibDir, WwiseConfigurationDir + "-appletvos", "lib") - }; - } - - public override List GetAdditionalWwiseLibs() - { - return GetAllLibrariesInFolder(Path.Combine(ThirdPartyFolder, AkPlatformLibDir, WwiseConfigurationDir + "-appletvos", "lib"), "a", true); - } - - public override List GetRuntimeDependencies() - { - return new List(); - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List(); - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List - { - "AudioToolbox", - "CoreAudio" - }; - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_WinGDK.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_WinGDK.Build.cs deleted file mode 100644 index 92efa30..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_WinGDK.Build.cs +++ /dev/null @@ -1,96 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_WinGDK : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_WinGDK(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, LibName + ".lib"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return false; } } - - public override bool SupportsOpus { get { return true; } } - - public override string AkPlatformLibDir { get { return "WinGC_" + GetVisualStudioVersion(); } } - - public override string DynamicLibExtension { get { return "dll"; } } - - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "dsound.lib", - "dxguid.lib", - "Msacm32.lib", - "XInput.lib", - "dinput8.lib" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "AK_WINDOWSGC", - "AK_WINGC_VS_VERSION=\"" + GetVisualStudioVersion() + "\"" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private string GetVisualStudioVersion() - { - // TODO: WinAnvilPlatform does not have a Compiler property - return "vc160"; - } -} - -public class WwiseUEPlatform_2022_1_WinAnvil : WwiseUEPlatform_2022_1_WinGDK -{ - public WwiseUEPlatform_2022_1_WinAnvil(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} -} \ No newline at end of file diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOne.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOne.Build.cs deleted file mode 100644 index 5e99426..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOne.Build.cs +++ /dev/null @@ -1,89 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_XboxOne : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_XboxOne(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, LibName + ".lib"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return true; } } - - public override string AkPlatformLibDir { get { return "XboxOne_" + GetVisualStudioVersion(); } } - - public override string DynamicLibExtension { get { return "dll"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "AcpHal.lib", - "MMDevApi.lib" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - var Defines = new List - { - "_XBOX_ONE", - "AK_XBOXONE_INIT_COMMS_MANIFEST=1", - "AK_XBOXONE_VS_VERSION=\"" + GetVisualStudioVersion() + "\"", - "AK_XBOXONE_NEED_APU_ALLOC", - "AK_XBOXONE_COMMON" - }; - - return Defines; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private string GetVisualStudioVersion() - { - return "vc150"; // The only supported version is now Visual Studio 2017. 2019 is not supported by XDK and 2015 is not supported by Unreal. - } -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOneGDK.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOneGDK.Build.cs deleted file mode 100644 index 8d9b9ae..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XboxOneGDK.Build.cs +++ /dev/null @@ -1,98 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_XboxOneGDK : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_XboxOneGDK(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, LibName + ".lib"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return true; } } - - public override string AkPlatformLibDir { get { return "XboxOneGC_" + GetVisualStudioVersion(); } } - - public override string DynamicLibExtension { get { return "dll"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "AcpHal.lib", - "MMDevApi.lib" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "_GAMING_XBOX", - "AK_XBOXONE_INIT_COMMS_MANIFEST=0", - "AK_XBOXONEGC_VS_VERSION=\"" + GetVisualStudioVersion() + "\"", - "AK_XBOXONE_NEED_APU_ALLOC", - "AK_XBOXONE_COMMON" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private string GetVisualStudioVersion() - { - // TODO: XboxOneAnvilPlatform does not have a Compiler property - return "vc160"; - } -} - -public class WwiseUEPlatform_2022_1_XB1 : WwiseUEPlatform_2022_1_XboxOneGDK -{ - public WwiseUEPlatform_2022_1_XB1(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) { } -} - -public class WwiseUEPlatform_2022_1_XboxOneAnvil : WwiseUEPlatform_2022_1_XboxOneGDK -{ - public WwiseUEPlatform_2022_1_XboxOneAnvil(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} -} diff --git a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XSX.Build.cs b/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XSX.Build.cs deleted file mode 100644 index 0f762f6..0000000 --- a/Plugins/Wwise/Source/WwiseSoundEngine_2022_1/WwiseUEPlatform_2022_1_XSX.Build.cs +++ /dev/null @@ -1,110 +0,0 @@ -/******************************************************************************* -The content of this file includes portions of the proprietary AUDIOKINETIC Wwise -Technology released in source code form as part of the game integration package. -The content of this file may not be used without valid licenses to the -AUDIOKINETIC Wwise Technology. -Note that the use of the game engine is subject to the Unreal(R) Engine End User -License Agreement at https://www.unrealengine.com/en-US/eula/unreal - -License Usage - -Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use -this file in accordance with the end user license agreement provided with the -software or, alternatively, in accordance with the terms contained -in a written agreement between you and Audiokinetic Inc. -Copyright (c) 2024 Audiokinetic Inc. -*******************************************************************************/ - -using UnrealBuildTool; -using System; -using System.IO; -using System.Collections.Generic; - -public class WwiseUEPlatform_2022_1_XSX : WwiseUEPlatform -{ - public WwiseUEPlatform_2022_1_XSX(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} - - public override string GetLibraryFullPath(string LibName, string LibPath) - { - return Path.Combine(LibPath, LibName + ".lib"); - } - - public override bool SupportsAkAutobahn { get { return false; } } - - public override bool SupportsCommunication { get { return true; } } - - public override bool SupportsDeviceMemory { get { return true; } } - - public override string AkPlatformLibDir { get { return "XboxSeriesX_" + GetVisualStudioVersion(); } } - - public override string DynamicLibExtension { get { return "dll"; } } - - public override List GetAdditionalWwiseLibs() - { - return new List(); - } - - public override List GetPublicSystemLibraries() - { - return new List - { - "AcpHal.lib", - "xapu.lib", - "MMDevApi.lib" - }; - } - - public override List GetPublicDelayLoadDLLs() - { - return new List(); - } - - public override List GetPublicDefinitions() - { - return new List - { - "_GAMING_XBOX_SCARLETT", - "AK_XBOXSERIESX_VS_VERSION=\"" + GetVisualStudioVersion() + "\"", - "AK_XBOXONE_COMMON" - }; - } - - public override Tuple GetAdditionalPropertyForReceipt(string ModuleDirectory) - { - return null; - } - - public override List GetPublicFrameworks() - { - return new List(); - } - - private static void CheckCompilerVersion(ref string Version, WindowsCompiler Compiler, string LongVersionName, string ShortVersionName) - { - try - { - if (Compiler == (WindowsCompiler)Enum.Parse(typeof(WindowsCompiler), LongVersionName)) - Version = ShortVersionName; - } - catch - { - } - } - - private string GetVisualStudioVersion() - { - string VSVersion = "vc160"; - var Compiler = Target.WindowsPlatform.Compiler; - CheckCompilerVersion(ref VSVersion, Compiler, "VisualStudio2022", "vc170"); - CheckCompilerVersion(ref VSVersion, Compiler, "VisualStudio2019", "vc160"); - CheckCompilerVersion(ref VSVersion, Compiler, "VisualStudio2017", "vc150"); - CheckCompilerVersion(ref VSVersion, Compiler, "VisualStudio2015", "vc140"); - CheckCompilerVersion(ref VSVersion, Compiler, "VisualStudio2013", "vc120"); - return VSVersion; - } -} - -public class WwiseUEPlatform_2022_1_MPX : WwiseUEPlatform_2022_1_XSX -{ - public WwiseUEPlatform_2022_1_MPX(ReadOnlyTargetRules in_TargetRules, string in_ThirdPartyFolder) : base(in_TargetRules, in_ThirdPartyFolder) {} -} \ No newline at end of file diff --git a/Source/b1/Private/BGUFunctionLibAK.cpp b/Source/b1/Private/BGUFunctionLibAK.cpp index c2a1193..e9e0002 100644 --- a/Source/b1/Private/BGUFunctionLibAK.cpp +++ b/Source/b1/Private/BGUFunctionLibAK.cpp @@ -1,5 +1,7 @@ #include "BGUFunctionLibAK.h" +#include "AkGameplayTypes.h" + UBGUFunctionLibAK::UBGUFunctionLibAK() { } diff --git a/Source/b1/Public/BGUFunctionLibAK.h b/Source/b1/Public/BGUFunctionLibAK.h index df1186a..b5d20d4 100644 --- a/Source/b1/Public/BGUFunctionLibAK.h +++ b/Source/b1/Public/BGUFunctionLibAK.h @@ -1,6 +1,6 @@ #pragma once #include "CoreMinimal.h" -#include "EAkResult.h" + #include "Kismet/BlueprintFunctionLibrary.h" #include "BGUFunctionLibAK.generated.h"