Skip to content

NewgroundsIO.SessionState

PsychoGoldfishNG edited this page Aug 18, 2022 · 8 revisions

File: /Core.cs
Static Class
Contains a bunch of constants representing the different states a user session can be in.This is used by the NewgroundsIO.objects.Session object

Public Constants

EXCEEDED_MAX_ATTEMPTS

string: "exceeded-max-attempts"

LOGIN_CANCELLED

string: "login-cancelled"

LOGIN_FAILED

string: "login-failed"

LOGIN_REQUIRED

string: "login-required"

LOGIN_SUCCESSFUL

string: "login-successful"

SERVER_UNAVAILABLE

string: "server-unavailable"

SESSION_UNINITIALIZED

string: "session-uninitialized"

USER_LOGGED_OUT

string: "user-logged-out"

WAITING_FOR_SERVER

string: "waiting-for-server"

WAITING_FOR_USER

string: "waiting-for-user"

Public Static Variables

SESSION_WAITING

Type: (List)
States in this list are considered "waiting". You don't need to make any API calls during these.

Clone this wiki locally