diff options
author | aunsane <aunsane@gmail.com> | 2018-01-14 22:02:44 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-14 22:03:16 +0300 |
commit | 7cb1539b0dbcf585472dd2341129adf174bb0bb5 (patch) | |
tree | 6879adfdd3ebf5f64557525df118e0753969fd95 /protocols/Steam/src/api/enums.h | |
parent | a6b0d0df4854ffda2577e2b61844467253eb9e0f (diff) |
Steam: refactoring pt.2
Diffstat (limited to 'protocols/Steam/src/api/enums.h')
-rw-r--r-- | protocols/Steam/src/api/enums.h | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/protocols/Steam/src/api/enums.h b/protocols/Steam/src/api/enums.h index a24ce48b34..1a1643a15d 100644 --- a/protocols/Steam/src/api/enums.h +++ b/protocols/Steam/src/api/enums.h @@ -1,6 +1,15 @@ #ifndef _STEAM_ENUMS_H_ #define _STEAM_ENUMS_H_ +enum VisibilityState +{ + Private = 1, + FriendsOnly = 2, + FriendsOfFriends = 3, + UsersOnly = 4, + Public = 5, +}; + enum PersonaState { Offline = 0, @@ -10,10 +19,19 @@ enum PersonaState Snooze = 4, LookingToTrade = 5, LookingToPlay = 6, - Max = 7, }; -enum StatusFlags +enum PersonaStateFlag +{ + None = 0, + HasRichPresence = 1, + InJoinableGame = 2, + OnlineUsingWeb = 256, + OnlineUsingMobile = 512, + OnlineUsingBigPicture = 1024, +}; + +enum PersonaStatusFlag { Status = 1, PlayerName = 2, @@ -27,6 +45,20 @@ enum StatusFlags GameDataBlob = 512, ClanTag = 1024, Facebook = 2048, -} +}; + +enum PersonaRelationshipAction +{ + // friend removed from contact list + Remove = 0, + // friend added you to ignore list + Ignore = 1, + // friend requested auth + AuthRequest = 2, + // friend added you to contact list + AddToList = 3, + // friend got (or approved?) your auth request + AuthRequested = 4, +}; #endif //_STEAM_ENUMS_H_ |