Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Steam rich presence #149

Merged
merged 7 commits into from
Jan 19, 2019
Merged

Set Steam rich presence #149

merged 7 commits into from
Jan 19, 2019

Conversation

TomyLobo
Copy link
Collaborator

@TomyLobo TomyLobo commented Jan 9, 2019

See the docs:
https://partner.steamgames.com/doc/features/enhancedrichpresence

What's missing right now is an UpdateRichPresence call on death.
I couldn't find a good place to put that and I think it works well enough without one.

… to take into account for the wanted

This makes testing easier.
This method updates rich presence with the current situation of a player.
- Respawn
- Receiving certain properties from the server
   - Selected skill
   - SuperSkill bonus
   - Superfalling
   - Current mini objective
   - Briefcase
   - Rat race leaderboard
   - Wanted
"#Verb_Skill_reflexes" "Slowing time"
"#Verb_Skill_marksman" "Camping"
"#Verb_Skill_troll" "Exploding"
"#Verb_Skill_none" "Playing"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentations added to highlight the decision tree.

@BSVino
Copy link
Owner

BSVino commented Jan 19, 2019

Looks like a pretty hacky way of doing this, but it's EOL'd code so I care much less. My big question is, why? This seems like a pretty low-impact feature.

@TomyLobo
Copy link
Collaborator Author

Well it was easy enough to do and it allows people to see when you probably don't want to be messaged :)

@TomyLobo TomyLobo merged commit f353e04 into develop Jan 19, 2019
@TomyLobo TomyLobo deleted the rich-presence branch January 19, 2019 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants