C# Class ReferralCodeDemo, PlayFab-Samples

Inheritance: MonoBehaviour
Show file Open project: PlayFab/PlayFab-Samples

Public Properties

Property Type Description
badgeName string
inputReferralCode InputField,
myReferralCode Text
playFabTitleId string
redeem Button
redeemGroup Transform
referredBy Text
referredGroup Transform

Public Methods

Method Description
AuthenticateWithPlayFab ( ) : void
GetInventory ( ) : void
HideRedeemGroup ( ) : void
HideReferredGroup ( ) : void
LockUI ( ) : void
OnApiCallError ( PlayFabError err ) : void
OnGetInventoryCallback ( GetUserInventoryResult result ) : void
OnLoginCallback ( LoginResult result ) : void
OnRedeemClicked ( ) : void
OnRedeemReferralCodeCallback ( ExecuteCloudScriptResult result ) : void
RedeemReferralCode ( ) : void
SearchForReferralBadge ( ) : void
ShowRedeemGroup ( ) : void
ShowReferredGroup ( ) : void
Start ( ) : void
UnlockUI ( ) : void

Method Details

AuthenticateWithPlayFab() public method

public AuthenticateWithPlayFab ( ) : void
return void

GetInventory() public method

public GetInventory ( ) : void
return void

HideRedeemGroup() public method

public HideRedeemGroup ( ) : void
return void

HideReferredGroup() public method

public HideReferredGroup ( ) : void
return void

LockUI() public method

public LockUI ( ) : void
return void

OnApiCallError() public method

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

OnGetInventoryCallback() public method

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

OnLoginCallback() public method

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

OnRedeemClicked() public method

public OnRedeemClicked ( ) : void
return void

OnRedeemReferralCodeCallback() public method

public OnRedeemReferralCodeCallback ( ExecuteCloudScriptResult result ) : void
result PlayFab.ClientModels.ExecuteCloudScriptResult
return void

RedeemReferralCode() public method

public RedeemReferralCode ( ) : void
return void

SearchForReferralBadge() public method

public SearchForReferralBadge ( ) : void
return void

ShowRedeemGroup() public method

public ShowRedeemGroup ( ) : void
return void

ShowReferredGroup() public method

public ShowReferredGroup ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UnlockUI() public method

public UnlockUI ( ) : void
return void

Property Details

badgeName public property

public string badgeName
return string

inputReferralCode public property

public InputField, inputReferralCode
return InputField,

myReferralCode public property

public Text myReferralCode
return Text

playFabTitleId public property

public string playFabTitleId
return string

redeem public property

public Button redeem
return Button

redeemGroup public property

public Transform redeemGroup
return Transform

referredBy public property

public Text referredBy
return Text

referredGroup public property

public Transform referredGroup
return Transform