From 8ec0ef84c26d3baaa9c7cb34c1be10dc33b48d98 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Thu, 18 Jun 2015 00:33:34 -0400 Subject: [PATCH] Added PersonaState enum --- components/chat.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/chat.js b/components/chat.js index 73ae4ed..b5e6690 100644 --- a/components/chat.js +++ b/components/chat.js @@ -8,6 +8,17 @@ SteamCommunity.ChatState = { "LoggedOn": 3 }; +SteamCommunity.PersonaState = { + "Offline": 0, + "Online": 1, + "Busy": 2, + "Away": 3, + "Snooze": 4, + "LookingToTrade": 5, + "LookingToPlay": 6, + "Max": 7 +}; + SteamCommunity.prototype.chatLogon = function(interval) { if(this.chatState == SteamCommunity.ChatState.LoggingOn || this.chatState == SteamCommunity.ChatState.LoggedOn) { return;