第一次提交

This commit is contained in:
不明不惑
2026-03-03 01:23:02 +08:00
commit 3e434877e8
1053 changed files with 102411 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
//
#pragma once
#include "CoreMinimal.h"
#include "CommonUserWidget.h"
#include "AmountContainerBase.generated.h"
/**
* 用来显示数量的容器基类
*/
UCLASS()
class PHYINVENTORY_API UAmountContainerBase : public UCommonUserWidget
{
GENERATED_BODY()
protected:
UPROPERTY(meta=(BindWidget))
class USizeBox* Container;
UPROPERTY(meta=(BindWidget))
class UCommonTextBlock* AmountText;
public:
void UpdateAmount(float InAmount, const FNumberFormattingOptions* const Options = nullptr) const;
};