mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-26 19:33:43 +00:00
77 lines
2.4 KiB
C++
77 lines
2.4 KiB
C++
#pragma once
|
|
|
|
/*
|
|
* SDK generated by Dumper-7
|
|
*
|
|
* https://github.com/Encryqed/Dumper-7
|
|
*/
|
|
|
|
// Package: MIDIDevice
|
|
|
|
#include "Basic.hpp"
|
|
|
|
#include "MIDIDevice_classes.hpp"
|
|
#include "MIDIDevice_parameters.hpp"
|
|
|
|
|
|
namespace SDK
|
|
{
|
|
|
|
// Function MIDIDevice.MIDIDeviceManager.CreateMIDIDeviceController
|
|
// (Final, Native, Static, Public, BlueprintCallable)
|
|
// Parameters:
|
|
// int32 DeviceID (ConstParm, Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// int32 MIDIBufferSize (ConstParm, Parm, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
// class UMIDIDeviceController* ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
|
|
|
class UMIDIDeviceController* UMIDIDeviceManager::CreateMIDIDeviceController(const int32 DeviceID, const int32 MIDIBufferSize)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (Func == nullptr)
|
|
Func = StaticClass()->GetFunction("MIDIDeviceManager", "CreateMIDIDeviceController");
|
|
|
|
Params::MIDIDeviceManager_CreateMIDIDeviceController Parms{};
|
|
|
|
Parms.DeviceID = DeviceID;
|
|
Parms.MIDIBufferSize = MIDIBufferSize;
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
GetDefaultObj()->ProcessEvent(Func, &Parms);
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
|
|
return Parms.ReturnValue;
|
|
}
|
|
|
|
|
|
// Function MIDIDevice.MIDIDeviceManager.FindMIDIDevices
|
|
// (Final, Native, Static, Public, HasOutParams, BlueprintCallable)
|
|
// Parameters:
|
|
// TArray<struct FFoundMIDIDevice> OutMIDIDevices (Parm, OutParm, ZeroConstructor, NativeAccessSpecifierPublic)
|
|
|
|
void UMIDIDeviceManager::FindMIDIDevices(TArray<struct FFoundMIDIDevice>* OutMIDIDevices)
|
|
{
|
|
static class UFunction* Func = nullptr;
|
|
|
|
if (Func == nullptr)
|
|
Func = StaticClass()->GetFunction("MIDIDeviceManager", "FindMIDIDevices");
|
|
|
|
Params::MIDIDeviceManager_FindMIDIDevices Parms{};
|
|
|
|
auto Flgs = Func->FunctionFlags;
|
|
Func->FunctionFlags |= 0x400;
|
|
|
|
GetDefaultObj()->ProcessEvent(Func, &Parms);
|
|
|
|
Func->FunctionFlags = Flgs;
|
|
|
|
if (OutMIDIDevices != nullptr)
|
|
*OutMIDIDevices = std::move(Parms.OutMIDIDevices);
|
|
}
|
|
|
|
}
|
|
|