Skip to content

Commit

Permalink
Merge pull request #371 from RozeDoyanawa/development
Browse files Browse the repository at this point in the history
feat:Emissive Label Text
  • Loading branch information
Panakotta00 authored Feb 8, 2025
2 parents b2be495 + fe27095 commit df8e203
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 3 deletions.
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 modified Content/Buildings/ModularPanel/Modules/Module_RCO.uasset
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 modified Content/Equipment/LabelingTool/I_LabelableInterface.uasset
Binary file not shown.
Binary file not shown.
12 changes: 9 additions & 3 deletions Source/FicsItNetworks/Public/Components/FINCommandPointMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ USTRUCT(Blueprintable)
struct FFINCommandLabelData {
GENERATED_BODY()

FFINCommandLabelData() : ImagePath(""), Vertical(false), Text(""), TextColor(0,0,0,1){}
FFINCommandLabelData(FString imagePath, FString text, FLinearColor textColor, bool vertical) : ImagePath(imagePath), Vertical(vertical), Text(text), TextColor(textColor) {}
FFINCommandLabelData() : ImagePath(""), Vertical(false), Text(""), TextColor(0,0,0,1), Emit(0){}
FFINCommandLabelData(FString imagePath, FString text, FLinearColor textColor, bool vertical, float emit) : ImagePath(imagePath), Vertical(vertical), Text(text), TextColor(textColor), Emit(emit) {}

UPROPERTY(EditAnywhere, BlueprintReadWrite, SaveGame)
FString ImagePath;
Expand All @@ -58,20 +58,23 @@ struct FFINCommandLabelData {
UPROPERTY(EditAnywhere, BlueprintReadWrite, SaveGame)
TEnumAsByte<EFINLabelPlacement> placement = North;

UPROPERTY(EditAnywhere, BlueprintReadWrite, SaveGame)
float Emit;
};


USTRUCT(Blueprintable)
struct FFINCommandLabelStructure {
GENERATED_BODY()

FFINCommandLabelStructure(UObject* reference, int index, FString path, bool doUpdate, bool doUpdateText, FString text, FLinearColor color, EFINLabelPlacement placement, float emit) : reference(reference), path(path), index(index), vertical(false), doUpdate(doUpdate), doUpdateText(doUpdateText), text(text), textColor(color), placement(placement), emit(emit) {}
FFINCommandLabelStructure(UObject* reference, int index, FString path, bool doUpdate, bool doUpdateText, FString text, FLinearColor color, EFINLabelPlacement placement) : reference(reference), path(path), index(index), vertical(false), doUpdate(doUpdate), doUpdateText(doUpdateText), text(text), textColor(color), placement(placement) {}
FFINCommandLabelStructure(UObject* reference, int index, FString path, bool vertical, bool doUpdate, bool doUpdateText, FString text, FLinearColor color) : reference(reference), path(path), index(index), vertical(vertical), doUpdate(doUpdate), doUpdateText(doUpdateText), text(text), textColor(color) {
if(vertical) {
placement = West;
}
}
FFINCommandLabelStructure() : reference(0), path(""), index(0), vertical(false), doUpdate(false), doUpdateText(false), text(""), textColor(0,0,0, 1) {}
FFINCommandLabelStructure() : reference(0), path(""), index(0), vertical(false), doUpdate(false), doUpdateText(false), text(""), textColor(0,0,0, 1), emit(0) {}

UPROPERTY(EditAnywhere, BlueprintReadWrite)
UObject* reference;
Expand Down Expand Up @@ -102,4 +105,7 @@ struct FFINCommandLabelStructure {

UPROPERTY(EditAnywhere, BlueprintReadWrite, SaveGame)
TEnumAsByte<EFINLabelPlacement> placement = North;

UPROPERTY(EditAnywhere, BlueprintReadWrite, SaveGame)
float emit;
};

0 comments on commit df8e203

Please sign in to comment.