Extra

Text Arguments Variable

If you need to get player name or other thing you can use

Go to WBP_MailInfo find this comment

Click Format Text and go side detials add your new arguments variable


Code Explain

MailSystemSubsystem.h
UENUM(BlueprintType, Category = "*MailSystem")
enum class EMailType : uint8
{
    TextOnly UMETA(DisplayName = "Text Only"),
    TextAndItems UMETA(DisplayName = "Text + Items"),
    Link UMETA(DisplayName = "Link")
};

you can add this if you have other thing like Redeem Code

MailSystemSubsystem.h
UENUM(BlueprintType, Category = "*MailSystem")
enum class EMailType : uint8
{
    TextOnly UMETA(DisplayName = "Text Only"),
    TextAndItems UMETA(DisplayName = "Text + Items"),
    Link UMETA(DisplayName = "Link"),
    RedeemCode UMeta(DisplayName = "Redeem Code")
};

Last updated