添加背包配置文档
This commit is contained in:
parent
39c95a5ed5
commit
8c6d5cceac
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0001.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0001.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0004.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0004.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0006.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0006.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0007.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0007.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0008.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0008.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0009.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0009.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0010.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0010.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0011.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0011.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0012.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0012.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0013.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0013.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0014.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0014.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0015.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0015.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0017.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0017.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0019.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0019.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0020.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0020.exp
Normal file
Binary file not shown.
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0021.exp
Normal file
BIN
ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0021.exp
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
"BuildId": "37670630",
|
"BuildId": "37670630",
|
||||||
"Modules":
|
"Modules":
|
||||||
{
|
{
|
||||||
"ProjectFish": "UnrealEditor-ProjectFish-0004.dll",
|
"ProjectFish": "UnrealEditor-ProjectFish.dll",
|
||||||
"ProjectFishEditor": "UnrealEditor-ProjectFishEditor-0004.dll"
|
"ProjectFishEditor": "UnrealEditor-ProjectFishEditor.dll"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ProjectFish/Content/Gameplay/BagSystem/SkillAsset/Pull.uasset
Normal file
BIN
ProjectFish/Content/Gameplay/BagSystem/SkillAsset/Pull.uasset
Normal file
Binary file not shown.
4
ProjectFish/ProjectFish.sln.DotSettings.user
Normal file
4
ProjectFish/ProjectFish.sln.DotSettings.user
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=72263A5F_002DD5F9_002D3915_002D8DA0_002DCD45C38A70E5_002Fdl_003ASource_003AF_0021_003FEpic_003FUE_005F5_002E5_003FEngine_003FSource_002Fd_003ARuntime_002Fd_003ACoreUObject_002Fd_003APublic_002Fd_003AAssetRegistry_002Ff_003AAssetData_002Eh/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=72263A5F_002DD5F9_002D3915_002D8DA0_002DCD45C38A70E5_002Fdl_003ASource_003AF_0021_003FEpic_003FUE_005F5_002E5_003FEngine_003FSource_002Fd_003AEditor_002Fd_003APropertyEditor_002Fd_003APublic_002Ff_003APropertyCustomizationHelpers_002Eh/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=72263A5F_002DD5F9_002D3915_002D8DA0_002DCD45C38A70E5_002Fdl_003ASource_003AF_0021_003FEpic_003FUE_005F5_002E5_003FEngine_003FSource_002Fd_003ARuntime_002Fd_003ACoreUObject_002Fd_003APublic_002Fd_003AUObject_002Ff_003AUObjectBaseUtility_002Eh/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
|
||||||
@ -56,7 +56,7 @@ struct FPlacedSkillInfo
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
UCLASS()
|
UCLASS(BlueprintType)
|
||||||
class PROJECTFISH_API UBagConfigAsset : public UDataAsset
|
class PROJECTFISH_API UBagConfigAsset : public UDataAsset
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
#include "ProjectFish/DataAsset/BagShapeAsset.h"
|
#include "ProjectFish/DataAsset/BagShapeAsset.h"
|
||||||
#include "../Public/Thumbnail/BagShapeAssetThumbnailRenderer.h"
|
#include "../Public/Thumbnail/BagShapeAssetThumbnailRenderer.h"
|
||||||
#include "../Public/Thumbnail/BagConfigThumbnailRenderer.h"
|
#include "../Public/Thumbnail/BagConfigThumbnailRenderer.h"
|
||||||
|
#include "AssetActions/SkillAssetTypeAction.h"
|
||||||
#include "ProjectFish/DataAsset/BagConfigAsset.h"
|
#include "ProjectFish/DataAsset/BagConfigAsset.h"
|
||||||
|
|
||||||
#define LOCTEXT_NAMESPACE "FProjectFishEditorModule"
|
#define LOCTEXT_NAMESPACE "FProjectFishEditorModule"
|
||||||
@ -53,7 +54,10 @@ void FProjectFishEditorModule::RegisterAssetTypeActions()
|
|||||||
AssetTools.RegisterAssetTypeActions(BagConfigAction);
|
AssetTools.RegisterAssetTypeActions(BagConfigAction);
|
||||||
CreatedAssetTypeActions.Add(BagConfigAction);
|
CreatedAssetTypeActions.Add(BagConfigAction);
|
||||||
|
|
||||||
|
//注册技能资源菜单
|
||||||
|
TSharedRef<FAssetTypeActions_Base> SkillAssetAction = MakeShareable(new FSkillAssetTypeAction(BogShapeAssetCategory));
|
||||||
|
AssetTools.RegisterAssetTypeActions(SkillAssetAction);
|
||||||
|
CreatedAssetTypeActions.Add(SkillAssetAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FProjectFishEditorModule::UnregisterAssetTypeActions()
|
void FProjectFishEditorModule::UnregisterAssetTypeActions()
|
||||||
|
|||||||
@ -103,7 +103,7 @@ void SBagConfigEditorWidget::Construct(const FArguments& InArgs)
|
|||||||
.Padding(2.0f)
|
.Padding(2.0f)
|
||||||
[
|
[
|
||||||
SNew(SButton)
|
SNew(SButton)
|
||||||
.Text(FText::FromString(TEXT("点击后,单击背包添加当前选中的技能")))
|
.Text(FText::FromString(TEXT("添加当前选中的技能")))
|
||||||
.OnClicked(this, &SBagConfigEditorWidget::OnAddSkillClicked)
|
.OnClicked(this, &SBagConfigEditorWidget::OnAddSkillClicked)
|
||||||
.IsEnabled_Lambda([this]() { return BagConfig.IsValid() && BagConfig->BagShapeAsset != nullptr && SelectedSkillAsset.IsValid(); })
|
.IsEnabled_Lambda([this]() { return BagConfig.IsValid() && BagConfig->BagShapeAsset != nullptr && SelectedSkillAsset.IsValid(); })
|
||||||
]
|
]
|
||||||
@ -113,7 +113,7 @@ void SBagConfigEditorWidget::Construct(const FArguments& InArgs)
|
|||||||
.Padding(2.0f)
|
.Padding(2.0f)
|
||||||
[
|
[
|
||||||
SNew(SButton)
|
SNew(SButton)
|
||||||
.Text(FText::FromString(TEXT("点击后,单击背包移除当前选中的技能")))
|
.Text(FText::FromString(TEXT("移除当前选中的技能")))
|
||||||
.OnClicked(this, &SBagConfigEditorWidget::OnRemoveSkillClicked)
|
.OnClicked(this, &SBagConfigEditorWidget::OnRemoveSkillClicked)
|
||||||
.IsEnabled_Lambda([this]() { return SelectedSkillAsset.IsValid(); })
|
.IsEnabled_Lambda([this]() { return SelectedSkillAsset.IsValid(); })
|
||||||
]
|
]
|
||||||
|
|||||||
@ -103,7 +103,7 @@ TSharedRef<SWidget> SBagShapeEditorWidget::CreateSizeControls()
|
|||||||
.Padding(20, 0, 10, 0)
|
.Padding(20, 0, 10, 0)
|
||||||
[
|
[
|
||||||
SNew(STextBlock)
|
SNew(STextBlock)
|
||||||
.Text(FText::FromString("Width:"))
|
.Text(FText::FromString("Height:"))
|
||||||
]
|
]
|
||||||
+ SHorizontalBox::Slot()
|
+ SHorizontalBox::Slot()
|
||||||
.AutoWidth()
|
.AutoWidth()
|
||||||
|
|||||||
BIN
ProjectFish/~$背包配置文档.docx
Normal file
BIN
ProjectFish/~$背包配置文档.docx
Normal file
Binary file not shown.
BIN
ProjectFish/~$配置文档.docx
Normal file
BIN
ProjectFish/~$配置文档.docx
Normal file
Binary file not shown.
BIN
ProjectFish/背包配置文档.docx
Normal file
BIN
ProjectFish/背包配置文档.docx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user