29 lines
750 B
C++
29 lines
750 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/DeveloperSettings.h"
|
|
#include "GameConfigSettings.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS(BlueprintType, config = GameConfig, defaultconfig)
|
|
class PROJECTFISH_API UGameConfigSettings : public UDeveloperSettings
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
UFUNCTION(BlueprintPure, Category = GameConfig)
|
|
float GetRandomWaitingTime() const;
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, config)
|
|
float MinWaitingTime;
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, config)
|
|
float MaxWaitingTime;
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, config)
|
|
float BattaleWatingTime = 1.0f;
|
|
virtual FName GetCategoryName() const override;
|
|
};
|