C# 클래스 HighscoresDemo

상속: MonoBehaviour, ITableViewDataSource
파일 보기 프로젝트 열기: Unity3dAzure/AppServicesDemo

공개 메소드들

메소드 설명
ClearScore ( ) : void

Reset UI to insert new score

Delete ( ) : void
GenerateScores ( ) : void
GetAllHighscores ( ) : void
GetCellForRowInTableView ( TableView tableView, int row ) : TableViewCell
GetHeightForRowInTableView ( TableView tableView, int row ) : float
GetNumberOfRowsForTableView ( TableView tableView ) : int
GetTopHighscores ( ) : void
GetUsernameHighscore ( ) : void
GoNextScene ( ) : void

Handler to go to next scene

Hello ( ) : void

This demo 'hello' custom api just gets a response message eg. '{"message":"Hello World!"}'

Insert ( ) : void
Login ( ) : void
Lookup ( ) : void

This is an example showing how to get an item using it's id. For example if $select columns are specified and the returned data is limited then this can be used to get all the details by using the items's id.

OnSelectedRow ( Button button ) : void

Handler to get selected row item

Read ( ) : void
TextChanged ( ) : void

Handler for text changed event to update view state

UpdateScore ( ) : void

비공개 메소드들

메소드 설명
DisplayScore ( Highscore, highscore ) : void

Update UI with data model

GetPageHighscores ( ) : void
GetScore ( ) : Highscore,

Create data model from UI

OnCustomApiCompleted ( IRestResponse response ) : void
OnDeleteCompleted ( IRestResponse response ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnInsertCompleted ( IRestResponse response ) : void
OnLoginCompleted ( IRestResponse response ) : void
OnLookupCompleted ( IRestResponse response ) : void
OnReadCompleted ( IRestResponse response ) : void
OnReadNestedResultsCompleted ( IRestResponse response ) : void
OnScrollValueChanged ( Vector2 newScrollValue ) : void
OnUpdateScoreCompleted ( IRestResponse response ) : void
Query ( CustomQuery query ) : void
SetInteractableScrollbars ( bool isInteractable ) : void
Start ( ) : void
Update ( ) : void
UpdateText ( string gameObjectName, bool isValid = true ) : void

Change text color to highlight errors

UpdateUI ( ) : void

Method to manage UI view state

Validate ( Highscore, highscore ) : bool

Validate data before sending

메소드 상세

ClearScore() 공개 메소드

Reset UI to insert new score
public ClearScore ( ) : void
리턴 void

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

GenerateScores() 공개 메소드

public GenerateScores ( ) : void
리턴 void

GetAllHighscores() 공개 메소드

public GetAllHighscores ( ) : void
리턴 void

GetCellForRowInTableView() 공개 메소드

public GetCellForRowInTableView ( TableView tableView, int row ) : TableViewCell
tableView TableView
row int
리턴 Tacticsoft.TableViewCell

GetHeightForRowInTableView() 공개 메소드

public GetHeightForRowInTableView ( TableView tableView, int row ) : float
tableView TableView
row int
리턴 float

GetNumberOfRowsForTableView() 공개 메소드

public GetNumberOfRowsForTableView ( TableView tableView ) : int
tableView TableView
리턴 int

GetTopHighscores() 공개 메소드

public GetTopHighscores ( ) : void
리턴 void

GetUsernameHighscore() 공개 메소드

public GetUsernameHighscore ( ) : void
리턴 void

GoNextScene() 공개 메소드

Handler to go to next scene
public GoNextScene ( ) : void
리턴 void

Hello() 공개 메소드

This demo 'hello' custom api just gets a response message eg. '{"message":"Hello World!"}'
public Hello ( ) : void
리턴 void

Insert() 공개 메소드

public Insert ( ) : void
리턴 void

Login() 공개 메소드

public Login ( ) : void
리턴 void

Lookup() 공개 메소드

This is an example showing how to get an item using it's id. For example if $select columns are specified and the returned data is limited then this can be used to get all the details by using the items's id.
public Lookup ( ) : void
리턴 void

OnSelectedRow() 공개 메소드

Handler to get selected row item
public OnSelectedRow ( Button button ) : void
button Button
리턴 void

Read() 공개 메소드

public Read ( ) : void
리턴 void

TextChanged() 공개 메소드

Handler for text changed event to update view state
public TextChanged ( ) : void
리턴 void

UpdateScore() 공개 메소드

public UpdateScore ( ) : void
리턴 void