C# Class ZeeguuData, Team-6

Inheritance: MonoBehaviour
ファイルを表示 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_oe static_oe property

public static string DEFAULT_SERVER
return string

frequencyList public_oe property

public FrequencyList, frequencyList
return FrequencyList,

loadAnimation public_oe property

public GameObject loadAnimation
return GameObject

loginButton public_oe property

public GameObject loginButton
return GameObject

loginForm public_oe property

public GameObject loginForm
return GameObject

passwordText public_oe property

public InputField, passwordText
return InputField,

serverText public_oe property

public InputField, serverText
return InputField,

serverURL public_oe property

public string serverURL
return string

sessionID public_oe property

public int sessionID
return int

signingIn public_oe property

public GameObject signingIn
return GameObject

userBookmarks public_oe property

public List userBookmarks
return List

userLearnedLanguage public_oe property

public string userLearnedLanguage
return string

userNativeLanguage public_oe property

public string userNativeLanguage
return string

username public_oe property

public string username
return string

usernameText public_oe property

public InputField, usernameText
return InputField,

wrongPasswordLabel public_oe property

public GameObject wrongPasswordLabel
return GameObject