PurchaseResult
A class in Root.Township, Features.Main_Menu.Scripts.TalemShop.
Result of a Talem shop purchase: success, or a PurchaseError saying why it failed.
- Listed in ATT, Features and other game namespaces
Constructors
| Member | What it is |
|---|---|
PurchaseResult() | Creates a PurchaseResult from error. |
PurchaseResult(PurchaseError error) | Creates a PurchaseResult from error. |
Fields
| Member | What it is |
|---|---|
PurchaseError Error | Why the purchase failed. Only meaningful when IsSuccess is false. |
bool IsSuccess | True when the purchase went through. The no-argument constructor sets it. |
Used in
Members of other types that take, return or hold a PurchaseResult: