C# Class ZeeguuData, Team-6

Inheritance: MonoBehaviour
Show file Open project: RUGSoftEng/Team-6

Public Properties

Property Type Description
DEFAULT_SERVER string
frequencyList FrequencyList,
loadAnimation GameObject
loginButton GameObject
loginForm GameObject
passwordText InputField,
serverText InputField,
serverURL string
sessionID int
signingIn GameObject
userBookmarks List
userLearnedLanguage string
userNativeLanguage string
username string
usernameText InputField,
wrongPasswordLabel GameObject

Public Methods

Method Description
GetBookmarks ( ) : void
Login ( GameObject animation ) : void
Login ( string username, string password, string server ) : void
SelectWords ( int num ) : List
SignUp ( ) : void
Start ( ) : void
UpdateBookmarks ( GameObject animation ) : IEnumerator
destroySession ( ) : void
sendResults ( uint bookmark_id, string outcome, uint speed ) : void

Private Methods

Method Description
BookmarksRequest ( ) : IEnumerator
LearnedLanguageRequest ( ) : IEnumerator
LoginRequest ( string username, string password ) : IEnumerator
NativeLanguageRequest ( ) : IEnumerator
ResultsRequest ( uint bookmark_id, string outcome, uint speed ) : IEnumerator
RetrieveBookmarks ( ) : IEnumerator
RetrieveLearnedBookmarks ( ) : IEnumerator
SignIn ( string username, string password ) : IEnumerator
TestSession ( ) : IEnumerator
loadBookmarks ( ) : bool
loadSession ( ) : bool
loginFail ( ) : void
saveBookmarks ( ) : void
saveSession ( ) : void

Method Details

GetBookmarks() public method

public GetBookmarks ( ) : void
return void

Login() public method

public Login ( GameObject animation ) : void
animation GameObject
return void

Login() public method

public Login ( string username, string password, string server ) : void
username string
password string
server string
return void

SelectWords() public method

public SelectWords ( int num ) : List
num int
return List

SignUp() public method

public SignUp ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateBookmarks() public method

public UpdateBookmarks ( GameObject animation ) : IEnumerator
animation GameObject
return IEnumerator

destroySession() public static method

public static destroySession ( ) : void
return void

sendResults() public method

public sendResults ( uint bookmark_id, string outcome, uint speed ) : void
bookmark_id uint
outcome string
speed uint
return void

Property Details

DEFAULT_SERVER public static property

public static string DEFAULT_SERVER
return string

frequencyList public property

public FrequencyList, frequencyList
return FrequencyList,

loadAnimation public property

public GameObject loadAnimation
return GameObject

loginButton public property

public GameObject loginButton
return GameObject

loginForm public property

public GameObject loginForm
return GameObject

passwordText public property

public InputField, passwordText
return InputField,

serverText public property

public InputField, serverText
return InputField,

serverURL public property

public string serverURL
return string

sessionID public property

public int sessionID
return int

signingIn public property

public GameObject signingIn
return GameObject

userBookmarks public property

public List userBookmarks
return List

userLearnedLanguage public property

public string userLearnedLanguage
return string

userNativeLanguage public property

public string userNativeLanguage
return string

username public property

public string username
return string

usernameText public property

public InputField, usernameText
return InputField,

wrongPasswordLabel public property

public GameObject wrongPasswordLabel
return GameObject