You've already forked LuckyWorld
Optimizing WB_MainScreen
This commit is contained in:
@ -68,10 +68,21 @@ public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SelectPreviousQuality();
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoResolutionChange();
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void GameStart();
|
||||
|
||||
void UpdateSelectRobot();
|
||||
void UpdateSelectLevel();
|
||||
void UpdateSelectQuality();
|
||||
|
||||
public:
|
||||
FParsedData DoJsonParse(const FString& JsonString);
|
||||
void OnMessageDispatchedHandler(const FString& Message);
|
||||
void DoSendReadyJson();
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void BPUpdateSelectRobot();
|
||||
@ -79,8 +90,4 @@ public:
|
||||
void BPUpdateSelectLevel();
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void BPUpdateSelectQuality();
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void BPSendReadyJson();
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void BPGetdataHTTP();
|
||||
};
|
||||
|
@ -670,4 +670,19 @@ public:
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
FTransform Transform;
|
||||
};
|
||||
|
||||
USTRUCT(BlueprintType)
|
||||
struct FParsedData
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Parsed Data")
|
||||
FString LevelName;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Parsed Data")
|
||||
FString CharacterName;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category = "Parsed Data")
|
||||
FString Quality;
|
||||
};
|
Reference in New Issue
Block a user