How to get FUniqueNetId from TSharedPtr(FUniqueNetId)?
Using parenthesis instead of less than or greater than symbols because of the HTML formatting.
Working on a steam leaderboards implementation for my simple VR arcade game.
However, writeleaderboards() requires an FUniqueNetId while GetUniquePlayerId() returns a TSharedPtr(FUniqueNetId)
How can I get a straight up FUniqueNetId from this?
I tried using GetUniquePlayerId().Get() but that returns an FUniqueNetId* which also doesn't work.
After you have verified the shared pointer is valid (call the IsValid() method on it), you can dereference the pointer by using an asterisk.
You'll also want to ensure your leaderboards' interface is also valid.
answered Oct 03 '16 at 03:07 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here