C# Class Batch.BatchPlugin

Batch plugin.
Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: BatchLabs/unity-plugin

Public Methods

Method 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

Method Description
isDevMode ( ) : bool
setConfig ( Config config ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartPlugin() public method

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

onBridgeFailure() public method

public onBridgeFailure ( string response ) : void
response string
return void

onRedeemAutomaticOffer() public method

public onRedeemAutomaticOffer ( string response ) : void
response string
return void

onRedeemCodeFailed() public method

public onRedeemCodeFailed ( string response ) : void
response string
return void

onRedeemCodeSuccess() public method

public onRedeemCodeSuccess ( string response ) : void
response string
return void

onRedeemURLCodeFound() public method

public onRedeemURLCodeFound ( string response ) : void
response string
return void

onRedeemURLFailed() public method

public onRedeemURLFailed ( string response ) : void
response string
return void

onRedeemURLSuccess() public method

public onRedeemURLSuccess ( string response ) : void
response string
return void

onRestoreFailed() public method

public onRestoreFailed ( string response ) : void
response string
return void

onRestoreSuccess() public method

public onRestoreSuccess ( string response ) : void
response string
return void