C# Class PrizeWheelDemo, PlayFab-Samples

Inheritance: MonoBehaviour
Datei anzeigen Open project: PlayFab/PlayFab-Samples

Public Properties

Property Type Description
itemCount Text
playFabTitleId string
spin Button
spinTicketBalance Text
timeUntilNextFreeSpin Text

Public Methods

Method Description
AuthenticateWithPlayFab ( ) : void
GetInventory ( ) : void
GetInventoryCallback ( GetUserInventoryResult result ) : void
LockUI ( ) : void
OnApiCallError ( PlayFabError err ) : void
OnLoginCallback ( LoginResult result ) : void
OnSpinClicked ( ) : void
SetUI ( int tickets, int items, string nextFree ) : void
Start ( ) : void
TryToSpin ( ) : void
TryToSpinCallback ( PurchaseItemResult result ) : void
UnlockUI ( ) : void

Method Details

AuthenticateWithPlayFab() public method

public AuthenticateWithPlayFab ( ) : void
return void

GetInventory() public method

public GetInventory ( ) : void
return void

GetInventoryCallback() public method

public GetInventoryCallback ( GetUserInventoryResult result ) : void
result PlayFab.ClientModels.GetUserInventoryResult
return void

LockUI() public method

public LockUI ( ) : void
return void

OnApiCallError() public method

public OnApiCallError ( PlayFabError err ) : void
err PlayFab.PlayFabError
return void

OnLoginCallback() public method

public OnLoginCallback ( LoginResult result ) : void
result LoginResult
return void

OnSpinClicked() public method

public OnSpinClicked ( ) : void
return void

SetUI() public method

public SetUI ( int tickets, int items, string nextFree ) : void
tickets int
items int
nextFree string
return void

Start() public method

public Start ( ) : void
return void

TryToSpin() public method

public TryToSpin ( ) : void
return void

TryToSpinCallback() public method

public TryToSpinCallback ( PurchaseItemResult result ) : void
result PlayFab.ClientModels.PurchaseItemResult
return void

UnlockUI() public method

public UnlockUI ( ) : void
return void

Property Details

itemCount public_oe property

public Text itemCount
return Text

playFabTitleId public_oe property

public string playFabTitleId
return string

spin public_oe property

public Button spin
return Button

spinTicketBalance public_oe property

public Text spinTicketBalance
return Text

timeUntilNextFreeSpin public_oe property

public Text timeUntilNextFreeSpin
return Text