mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-31 19:40:14 +08:00
28 lines
793 B
JavaScript
28 lines
793 B
JavaScript
/**
|
|
* @enum EPersonaStateFlag
|
|
*/
|
|
module.exports = {
|
|
"HasRichPresence": 1,
|
|
"InJoinableGame": 2,
|
|
"Golden": 4, // removed "no longer has any effect"
|
|
"OnlineUsingWeb": 256, // removed "renamed to ClientTypeWeb"
|
|
"ClientTypeWeb": 256,
|
|
"OnlineUsingMobile": 512, // removed "renamed to ClientTypeMobile"
|
|
"ClientTypeMobile": 512,
|
|
"OnlineUsingBigPicture": 1024, // removed "renamed to ClientTypeTenfoot"
|
|
"ClientTypeTenfoot": 1024,
|
|
"OnlineUsingVR": 2048, // removed "renamed to ClientTypeVR"
|
|
"ClientTypeVR": 2048,
|
|
"LaunchTypeGamepad": 4096,
|
|
|
|
// Value-to-name mapping for convenience
|
|
"1": "HasRichPresence",
|
|
"2": "InJoinableGame",
|
|
"4": "Golden",
|
|
"256": "ClientTypeWeb",
|
|
"512": "ClientTypeMobile",
|
|
"1024": "ClientTypeTenfoot",
|
|
"2048": "ClientTypeVR",
|
|
"4096": "LaunchTypeGamepad",
|
|
};
|