C# Class SpilGames.Unity.Helpers.Wallet

This is the business object that the developer can use to work with the Wallet.
Show file Open project: spilgames/spil_event_unity_plugin Class Usage Examples

Public Properties

Property Type Description
currencies List

Public Methods

Method Description
Add ( int currencyId, int amount, string reason ) : void
Subtract ( int currencyId, int amount, string reason ) : void
Wallet ( List currencyData ) : System

Method Details

Add() public method

public Add ( int currencyId, int amount, string reason ) : void
currencyId int
amount int
reason string
return void

Subtract() public method

public Subtract ( int currencyId, int amount, string reason ) : void
currencyId int
amount int
reason string
return void

Wallet() public method

public Wallet ( List currencyData ) : System
currencyData List
return System

Property Details

currencies public property

public List currencies
return List