C# Class Batch.BatchPlugin

Batch plugin.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: BatchLabs/unity-plugin

Méthodes publiques

Méthode Description
Awake ( ) : void
Start ( ) : void
StartPlugin ( Config config ) : void

Starts the plugin if not already started.

onBridgeFailure ( string response ) : void
onRedeemAutomaticOffer ( string response ) : void
onRedeemCodeFailed ( string response ) : void
onRedeemCodeSuccess ( string response ) : void
onRedeemURLCodeFound ( string response ) : void
onRedeemURLFailed ( string response ) : void
onRedeemURLSuccess ( string response ) : void
onRestoreFailed ( string response ) : void
onRestoreSuccess ( string response ) : void

Private Methods

Méthode Description
isDevMode ( ) : bool
setConfig ( Config config ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartPlugin() public méthode

Starts the plugin if not already started.
public StartPlugin ( Config config ) : void
config Config
Résultat void

onBridgeFailure() public méthode

public onBridgeFailure ( string response ) : void
response string
Résultat void

onRedeemAutomaticOffer() public méthode

public onRedeemAutomaticOffer ( string response ) : void
response string
Résultat void

onRedeemCodeFailed() public méthode

public onRedeemCodeFailed ( string response ) : void
response string
Résultat void

onRedeemCodeSuccess() public méthode

public onRedeemCodeSuccess ( string response ) : void
response string
Résultat void

onRedeemURLCodeFound() public méthode

public onRedeemURLCodeFound ( string response ) : void
response string
Résultat void

onRedeemURLFailed() public méthode

public onRedeemURLFailed ( string response ) : void
response string
Résultat void

onRedeemURLSuccess() public méthode

public onRedeemURLSuccess ( string response ) : void
response string
Résultat void

onRestoreFailed() public méthode

public onRestoreFailed ( string response ) : void
response string
Résultat void

onRestoreSuccess() public méthode

public onRestoreSuccess ( string response ) : void
response string
Résultat void