mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2026-01-21 09:23:02 +00:00
Mk2Rev1
various bugfixes and such. also bookmarks, temp song loaderm and undo overhaul with near complete multiplayer, but menu items disabled. i really wish i could split this into multiple commits, but i don't know how to work unreal.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Object.h"
|
||||
#include "ZULambdaDelegate.generated.h"
|
||||
|
||||
UCLASS()
|
||||
class ZIPUTILITY_API UZULambdaDelegate : public UObject, public IZipUtilityInterface
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UZULambdaDelegate();
|
||||
public:
|
||||
void SetOnDoneCallback(TFunction<void()> InOnDoneCallback);
|
||||
void SetOnProgessCallback(TFunction<void(float)> InOnProgressCallback);
|
||||
|
||||
protected:
|
||||
//Zip utility interface
|
||||
virtual void OnProgress_Implementation(const FString& archive, float percentage, int32 bytes) override;
|
||||
virtual void OnDone_Implementation(const FString& archive, EZipUtilityCompletionState CompletionState) override;
|
||||
virtual void OnStartProcess_Implementation(const FString& archive, int32 bytes) override;
|
||||
virtual void OnFileDone_Implementation(const FString& archive, const FString& file) override;
|
||||
virtual void OnFileFound_Implementation(const FString& archive, const FString& file, int32 size) override;
|
||||
|
||||
TFunction<void()> OnDoneCallback;
|
||||
TFunction<void(float)> OnProgressCallback;
|
||||
};
|
||||
Reference in New Issue
Block a user