Blueprint to C++ and Engine Freezing?

In terms of spawning the code is still the same, so it should work as before.
This is the only thing I don’t know what it does

MyGameInstanceRef->GenerateSN(SN_Wep);
NewWeaponItem->SN = SN_Wep;

How do you determine SN_Wep ?