class UMagesQuestionButtonWidget¶
Overview¶
#include <MagesQuestionButtonWidget.h> class UMagesQuestionButtonWidget: public UMagesButtonWidget { public: // fields int NetworkID; // methods void ShowQuestionCorrectness(bool IsCorrect); };
Inherited Members¶
public: // fields bool isToggleMode = false; EMagesButtonInteractionMethod ButtonInteractionMethod = EMagesButtonInteractionMethod::Default; float RepeatInitialDelay = 0.5f; float RepeatDelay = 0.1f; bool IsTextVisibleOnInit = true; FOnMagesButtonClicked OnEventClicked; FOnMagesButtonToggled OnEventToggled; // methods virtual void SetupWidget( FOnRequestDestroySelf RequestDestroySelfDelegate, FOnRequestOwnerRef RequestOwnerRef ); UMagesWidgetComponent* RequestOwner(); void RequestDestroySelf(bool ForceNoAnim); void SetInteractive(bool NewInteractive); void OnCreated(); void OnInteractiveChanged(bool NewInteractive); FORCEINLINE bool IsInteractive(); virtual void NativeOnInteractiveChanged(bool bIsInteractive); virtual void NativeOnCreated(); void SetText(const FString& text); void SetTextVisible(bool Value); void OnClicked(); bool GetIsToggleMode(); void SetToggled(bool Toggled); bool GetToggled(); bool IsButtonHovered(); virtual void NativeOnInteractiveChanged(bool NewInteractive);