static private StateToStatus ( EPersonaState state, bool pretty = false ) : string | ||
state | EPersonaState | The state to convert. |
pretty | bool | If |
return | string |
/// <summary> /// Get a string representation of the currently logged in user's <see cref="EPersonaState" />. /// </summary> /// <param name="pretty">If <c>true</c>, capitalize the first letter of the return value.</param> /// <returns>The user's <see cref="EPersonaState" /> in a string format.</returns> public static string GetStatus(bool pretty = false) { return SteamUtils.StateToStatus(GetState(), pretty); }