C# Class Senseix.SenseixSession

Inheritance: UnityEngine.MonoBehaviour
Mostra file Open project: senseix/thinksy_unity_plugin Class Usage Examples

Public Methods

Method Description
CheckAnswer ( Message Problem, Answer answer ) : bool
CheckProblemPostCacheSubmission ( ) : void
DoFileFlagging ( string filePath ) : void
GetAccessToken ( ) : string
GetAuthToken ( ) : string
GetCurrentAvatarPath ( ) : string
GetCurrentLeaderboard ( ) : IList
GetCurrentPlayer ( ) : Message.Player.Player
GetCurrentPlayerID ( ) : string
GetCurrentPlayerList ( ) : ArrayList
GetDeviceID ( ) : string
GetEncouragements ( ) : void
GetProblems ( uint numberOfProblems ) : void
GetSessionState ( ) : bool
Heartbeat ( ) : void
InitializeSenseix ( string newAccessToken ) : IEnumerator
IsSignedIn ( ) : bool
LimitedInitializeSenseix ( string newAccessToken ) : IEnumerator
ListCurrentPlayerItems ( ) : void
ListPlayers ( ) : IEnumerator
PullLeaderboard ( uint pageNumber, uint pageSize ) : void
PullProblem ( ) : Senseix.Message.Problem.ProblemData
RegisterAllPlayers ( ) : IEnumerator
RegisterDevice ( ) : IEnumerator
SelectPlayer ( Senseix selectedPlayer ) : void
SendRecruitmentRequest ( ) : void
SetAndSaveAuthToken ( string newAuthToken ) : void
SetCurrentPlayerList ( Message newPlayerList ) : void
SetLeaderboardPlayers ( IList PlayerList ) : void
SetRecruitmentEmail ( String newRecruitmentEmail ) : void
SetSessionState ( bool state ) : void
SetSignedIn ( bool newIsSignedIn ) : void
ShouldCacheProblemPosts ( ) : bool
SubmitAnswer ( Message Problem, Answer answer, bool correct ) : bool
SubmitBugReport ( string additionalMessage ) : IEnumerator
UpdateCurrentPlayerScore ( UInt32 score ) : IEnumerator
VerifyGame ( string verificationCode ) : IEnumerator

Private Methods

Method Description
CheckAccessToken ( ) : int
EndInitialize ( ) : void
GetSingletonInstance ( ) : SenseixSession
RegisterPlayer ( Message Player ) : IEnumerator
SetCurrentPlayer ( Message newPlayer ) : void
WaitForWebGLInitializing ( ) : IEnumerator

Method Details

CheckAnswer() public static method

public static CheckAnswer ( Message Problem, Answer answer ) : bool
Problem Message
answer Answer
return bool

CheckProblemPostCacheSubmission() public static method

public static CheckProblemPostCacheSubmission ( ) : void
return void

DoFileFlagging() public static method

public static DoFileFlagging ( string filePath ) : void
filePath string
return void

GetAccessToken() public static method

public static GetAccessToken ( ) : string
return string

GetAuthToken() public static method

public static GetAuthToken ( ) : string
return string

GetCurrentAvatarPath() public static method

public static GetCurrentAvatarPath ( ) : string
return string

GetCurrentLeaderboard() public static method

public static GetCurrentLeaderboard ( ) : IList
return IList

GetCurrentPlayer() public static method

public static GetCurrentPlayer ( ) : Message.Player.Player
return Message.Player.Player

GetCurrentPlayerID() public static method

public static GetCurrentPlayerID ( ) : string
return string

GetCurrentPlayerList() public static method

public static GetCurrentPlayerList ( ) : ArrayList
return System.Collections.ArrayList

GetDeviceID() public static method

public static GetDeviceID ( ) : string
return string

GetEncouragements() public static method

public static GetEncouragements ( ) : void
return void

GetProblems() public static method

public static GetProblems ( uint numberOfProblems ) : void
numberOfProblems uint
return void

GetSessionState() public static method

public static GetSessionState ( ) : bool
return bool

Heartbeat() public static method

public static Heartbeat ( ) : void
return void

InitializeSenseix() public static method

public static InitializeSenseix ( string newAccessToken ) : IEnumerator
newAccessToken string
return IEnumerator

IsSignedIn() public static method

public static IsSignedIn ( ) : bool
return bool

LimitedInitializeSenseix() public static method

public static LimitedInitializeSenseix ( string newAccessToken ) : IEnumerator
newAccessToken string
return IEnumerator

ListCurrentPlayerItems() public static method

public static ListCurrentPlayerItems ( ) : void
return void

ListPlayers() public static method

public static ListPlayers ( ) : IEnumerator
return IEnumerator

PullLeaderboard() public static method

public static PullLeaderboard ( uint pageNumber, uint pageSize ) : void
pageNumber uint
pageSize uint
return void

PullProblem() public static method

public static PullProblem ( ) : Senseix.Message.Problem.ProblemData
return Senseix.Message.Problem.ProblemData

RegisterAllPlayers() public static method

public static RegisterAllPlayers ( ) : IEnumerator
return IEnumerator

RegisterDevice() public static method

public static RegisterDevice ( ) : IEnumerator
return IEnumerator

SelectPlayer() public static method

public static SelectPlayer ( Senseix selectedPlayer ) : void
selectedPlayer Senseix
return void

SendRecruitmentRequest() public method

public SendRecruitmentRequest ( ) : void
return void

SetAndSaveAuthToken() public static method

public static SetAndSaveAuthToken ( string newAuthToken ) : void
newAuthToken string
return void

SetCurrentPlayerList() public static method

public static SetCurrentPlayerList ( Message newPlayerList ) : void
newPlayerList Message
return void

SetLeaderboardPlayers() public static method

public static SetLeaderboardPlayers ( IList PlayerList ) : void
PlayerList IList
return void

SetRecruitmentEmail() public method

public SetRecruitmentEmail ( String newRecruitmentEmail ) : void
newRecruitmentEmail String
return void

SetSessionState() public static method

public static SetSessionState ( bool state ) : void
state bool
return void

SetSignedIn() public static method

public static SetSignedIn ( bool newIsSignedIn ) : void
newIsSignedIn bool
return void

ShouldCacheProblemPosts() public static method

public static ShouldCacheProblemPosts ( ) : bool
return bool

SubmitAnswer() public static method

public static SubmitAnswer ( Message Problem, Answer answer, bool correct ) : bool
Problem Message
answer Answer
correct bool
return bool

SubmitBugReport() public static method

public static SubmitBugReport ( string additionalMessage ) : IEnumerator
additionalMessage string
return IEnumerator

UpdateCurrentPlayerScore() public static method

public static UpdateCurrentPlayerScore ( UInt32 score ) : IEnumerator
score System.UInt32
return IEnumerator

VerifyGame() public static method

public static VerifyGame ( string verificationCode ) : IEnumerator
verificationCode string
return IEnumerator