What does this syntax do in C++?

Taken from: Data Driven Gameplay Elements | Unreal Engine Documentation

   FLevelUpData()
    : XPtoLvl(0)
    , AdditionalHP(0)
    {}

This is in the public area of a struct. I don’t seem to remember this type of syntax from C++, can anyone explain each line?

That’s the constructor for the struct/class. In this particular case the default constructor, no parameters that is, is empty since no code exists between the opening/closing brases { . . . }

During the construction phase the two members, XPtoLvl and AdditionalHP, which are int32, are set to 0.

I see. I will have to look into that, thank you very much.