Skip to content

[BUG - Release] Issues and improvements for CXXHeaderDump output #1308

Description

@PowerGamer1

Branch or Release
Latest experimental.

Game and Engine Version
Gothic 1 Remake
UE 5.4.3

Describe the bug
In the following class dump generated by UE4SS the class declares FText GetText(); twice and puts declarations of some functions (for example, FSlateColor GetSlateColor();) between class member variables (instead of at the end along with other methods).

class UTextBlock : public UTextLayoutWidget
{
	FText Text;                                                                       // 0x01A0 (size: 0x10)
	FTextBlockTextDelegate TextDelegate;                                              // 0x01B0 (size: 0x10)
	FText GetText();
	FSlateColor ColorAndOpacity;                                                      // 0x01C0 (size: 0x14)
	FTextBlockColorAndOpacityDelegate ColorAndOpacityDelegate;                        // 0x01D4 (size: 0x10)
	FSlateColor GetSlateColor();
	FSlateFontInfo Font;                                                              // 0x01E8 (size: 0x60)
	FSlateBrush StrikeBrush;                                                          // 0x0250 (size: 0xD0)
	FVector2D ShadowOffset;                                                           // 0x0320 (size: 0x10)
	FLinearColor ShadowColorAndOpacity;                                               // 0x0330 (size: 0x10)
	FTextBlockShadowColorAndOpacityDelegate ShadowColorAndOpacityDelegate;            // 0x0340 (size: 0x10)
	FLinearColor GetLinearColor();
	float MinDesiredWidth;                                                            // 0x0350 (size: 0x4)
	bool bWrapWithInvalidationPanel;                                                  // 0x0354 (size: 0x1)
	ETextTransformPolicy TextTransformPolicy;                                         // 0x0355 (size: 0x1)
	ETextOverflowPolicy TextOverflowPolicy;                                           // 0x0356 (size: 0x1)
	bool bSimpleTextMode;                                                             // 0x0357 (size: 0x1)

	void SetTextTransformPolicy(ETextTransformPolicy InTransformPolicy);
	void SetTextOverflowPolicy(ETextOverflowPolicy InOverflowPolicy);
	void SetText(FText InText);
	void SetStrikeBrush(FSlateBrush InStrikeBrush);
	void SetShadowOffset(FVector2D InShadowOffset);
	void SetShadowColorAndOpacity(FLinearColor InShadowColorAndOpacity);
	void SetOpacity(float InOpacity);
	void SetMinDesiredWidth(float InMinDesiredWidth);
	void SetFontOutlineMaterial(class UMaterialInterface* InMaterial);
	void SetFontMaterial(class UMaterialInterface* InMaterial);
	void SetFont(FSlateFontInfo InFontInfo);
	void SetColorAndOpacity(FSlateColor InColorAndOpacity);
	void SetAutoWrapText(bool InAutoTextWrap);
	FText GetText();
	class UMaterialInstanceDynamic* GetDynamicOutlineMaterial();
	class UMaterialInstanceDynamic* GetDynamicFontMaterial();
}; // Size: 0x370

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions