mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "ECommonInputType.h"
|
|
#include "CommonUserWidget.h"
|
|
#include "GameFramework/OnlineReplStructs.h"
|
|
#include "EMatchmakingInputSource.h"
|
|
#include "MatchmakingInputIndicatorBase.generated.h"
|
|
|
|
UCLASS(Blueprintable, EditInlineNew)
|
|
class UMatchmakingInputIndicatorBase : public UCommonUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
EMatchmakingInputSource InputSource;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
bool bShowLocalInputOnlyWhenDifferentFromDefault;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
bool bShowRemoteInputOnlyWhenDifferentFromDefault;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
FUniqueNetIdRepl RemotePlayerUniqueId;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
ECommonInputType LastInputType;
|
|
|
|
public:
|
|
UMatchmakingInputIndicatorBase();
|
|
UFUNCTION(BlueprintCallable)
|
|
void SetRemotePlayer(FUniqueNetIdRepl UniqueId);
|
|
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void OnInputSourceTypeChanged(ECommonInputType InputType);
|
|
|
|
};
|
|
|