Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Retrieve the Row based on the Row Name
- //The first parameter is the row name
- //I have yet to determine the second one, however, I will open a ticket on ue4 answerhub
- FPlayerStats* Row = DataTable->FindRow<FPlayerStats>(TEXT("1"), TEXT(""));
- if (Row)
- {
- //Cast the XpToLevel to string so I can print it with GLog
- FString output = FString::FromInt((*Row).XpToLevel);
- GLog->Log(output);
- //Casting the Health to string...
- output = FString::SanitizeFloat((*Row).Health);
- GLog->Log(output);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement