C# Class SpilGames.Unity.Helpers.Inventory

This is the business object that the developer can use to work with the Inventory.
Afficher le fichier Open project: spilgames/spil_event_unity_plugin Class Usage Examples

Méthodes publiques

Méthode Description
Add ( int itemId, int amount, string reason ) : void
Inventory ( List itemData ) : System
Subtract ( int itemId, int amount, string reason ) : void

Method Details

Add() public méthode

public Add ( int itemId, int amount, string reason ) : void
itemId int
amount int
reason string
Résultat void

Inventory() public méthode

public Inventory ( List itemData ) : System
itemData List
Résultat System

Subtract() public méthode

public Subtract ( int itemId, int amount, string reason ) : void
itemId int
amount int
reason string
Résultat void