Realtime Mail System
  • Welcome To Realtime Mail System
  • Getting Started
    • Introduce
    • Important Things
    • PHP & SQL
    • Setup Unreal Database
    • Extra
  • Tutorial
    • How to create New Mail
    • How to change your item data
    • Setup Single Player Mail
  • Other
    • Discord Channel
Powered by GitBook
On this page
  • Text Arguments Variable
  • Code Explain
  1. Getting Started

Extra

PreviousSetup Unreal DatabaseNextHow to create New Mail

Last updated 7 months ago

Text Arguments Variable

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

{Input_your_text}

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")
};