uspgamedev / luasteam

Bindings to connect lua with Steam API
https://luasteam.readthedocs.io/en/stable/
MIT License
129 stars 23 forks source link

Suggestion - ISteamFriends::GetPersonaName #34

Open GuglioIsStupid opened 11 months ago

GuglioIsStupid commented 11 months ago

Would be a really neat addition to add this, doc link: https://partner.steamgames.com/doc/api/ISteamFriends#GetPersonaName Returns the current steam users username

(sorry if this is the wrong place to put this)

yancouto commented 8 months ago

I'm not actively adding stuff, but feel free to submit a PR, this should be similar to the GetFriendPersonaName we already have.

Also, have you tried using luasteam.friends.getFriendPersonaName(luasteam.user.getSteamID())? The documentation doesn't guarantee it, but I think it might work, I'm pretty sure I did this in my game.

keharriso commented 3 months ago

See #41