Lesson 57 - List Fleets Widget

This commit is contained in:
Norman Lansing
2026-03-28 22:15:48 -04:00
parent 0fecdf2df7
commit 2805d7fb92
8 changed files with 63 additions and 4 deletions

View File

@@ -118,7 +118,6 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="91dd7ef3-692f-484d-9bd1-060b29650efd" name="Changes" comment=""> <list default="true" id="91dd7ef3-692f-484d-9bd1-060b29650efd" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.FPSTemplate.dir/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.FPSTemplate.dir/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/.idea.FPSTemplate.dir/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.FPSTemplate.dir/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Source/DedicatedServers/DedicatedServers.build.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Source/DedicatedServers/DedicatedServers.build.cs" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -139,11 +138,13 @@
<component name="HighlightingSettingsPerFile"> <component name="HighlightingSettingsPerFile">
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/DedicatedServers.Build.cs" root0="SKIP_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/DedicatedServers/DedicatedServers.Build.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/Game/DS_GameMode.cpp" root0="FORCE_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/Game/DS_GameMode.cpp" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/UI/API/ListFleets/FleetId.cpp" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/UI/API/ListFleets/ListFleetsBox.cpp" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/UI/APITest/APITestHUD.cpp" root0="FORCE_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/UI/APITest/APITestHUD.cpp" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Private/UI/APITest/APITestOverlayClass.cpp" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/Game/DS_GameMode.h" root0="FORCE_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/Game/DS_GameMode.h" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/UI/API/ListFleets/FleetId.h" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/UI/API/ListFleets/ListFleetsBox.h" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/UI/APITest/APITestHUD.h" root0="FORCE_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/UI/APITest/APITestHUD.h" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/DedicatedServers/Public/UI/APITest/APITestOverlayClass.h" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Source/FPSTemplate/FPSTemplate.Build.cs" root0="FORCE_HIGHLIGHTING" /> <setting file="file://$PROJECT_DIR$/Source/FPSTemplate/FPSTemplate.Build.cs" root0="FORCE_HIGHLIGHTING" />
</component> </component>
<component name="McpProjectServerCommands"> <component name="McpProjectServerCommands">
@@ -64913,7 +64914,7 @@
<workItem from="1773536227018" duration="61902000" /> <workItem from="1773536227018" duration="61902000" />
<workItem from="1774233517830" duration="18186000" /> <workItem from="1774233517830" duration="18186000" />
<workItem from="1774317832300" duration="32871000" /> <workItem from="1774317832300" duration="32871000" />
<workItem from="1774531822750" duration="6195000" /> <workItem from="1774531822750" duration="13142000" />
</task> </task>
<task id="LOCAL-00001" summary="Added in EC2 support and adjusted Anywhere if statement to allow EC2 and to clean uip variable placement."> <task id="LOCAL-00001" summary="Added in EC2 support and adjusted Anywhere if statement to allow EC2 and to clean uip variable placement.">
<option name="closed" value="true" /> <option name="closed" value="true" />

View File

@@ -0,0 +1,4 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "UI/API/ListFleets/FleetId.h"

View File

@@ -0,0 +1,4 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "UI/API/ListFleets/ListFleetsBox.h"

View File

@@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "FleetId.generated.h"
class UTextBlock;
/**
*
*/
UCLASS()
class DEDICATEDSERVERS_API UFleetId : public UUserWidget
{
GENERATED_BODY()
public:
UPROPERTY(meta = (BindWidget))
TObjectPtr<UTextBlock> TextBlock_FleetId;
};

View File

@@ -0,0 +1,28 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "ListFleetsBox.generated.h"
class UButton;
class UScrollBox;
/**
*
*/
UCLASS()
class DEDICATEDSERVERS_API UListFleetsBox : public UUserWidget
{
GENERATED_BODY()
public:
UPROPERTY(meta = (BindWidget))
TObjectPtr<UScrollBox> ScrollBox_ListFleets;
UPROPERTY(meta = (BindWidget))
TObjectPtr<UButton> Button_ListFleets;
};