Table of Contents

Class CashInstance

Namespace
S1API.Money
Assembly
S1API.dll

Represents an instance of cash within the game.

public class CashInstance : ItemInstance
Inheritance
CashInstance
Inherited Members
Extension Methods

Methods

AddQuantity(float)

Adds to the quantity of cash for this instance. NOTE: Supports negative numbers to remove.

public void AddQuantity(float amount)

Parameters

amount float

Quantity to set the cash to.

SetQuantity(float)

Sets the quantity of cash for this instance.

public void SetQuantity(float newQuantity)

Parameters

newQuantity float

Quantity to set the cash to.