Added PersonaState enum

This commit is contained in:
Alexander Corn 2015-06-18 00:33:34 -04:00
parent 0e5929df24
commit 8ec0ef84c2

View File

@ -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;