Show / Hide Table of Contents

Class FlameCost

A Grimmkin Flame cost with options to act cumulatively.

Inheritance
System.Object
Cost
FlameCost
Implements
System.IEquatable<Cost>
System.IEquatable<FlameCost>
Inherited Members
Cost.Pay()
Cost.AfterPay()
Cost.Paid
Cost.Recurring
Cost.DiscountRate
Cost.GetBaseCost()
Cost.Includes(Cost)
Cost.Load()
Cost.Unload()
Cost.NewGeoCost(Int32)
Cost.NewEssenceCost(Int32)
Cost.NewGrubCost(Int32)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger.Modules
Assembly: ItemChanger.dll
Syntax
public class FlameCost : Cost, IEquatable<Cost>, IEquatable<FlameCost>

Constructors

| Improve this Doc View Source

FlameCost(Int32, Boolean, Boolean)

A Grimmkin Flame cost with options to act cumulatively.

Declaration
public FlameCost(int amount, bool cumulative, bool subtractive)
Parameters
Type Name Description
System.Int32 amount

The number of flames.

System.Boolean cumulative

Should the cost compare against the cumulative flames collected, or the current balance?

System.Boolean subtractive

Should paying the cost increment the cumulative flames spent, and decrease the current balance?

Properties

| Improve this Doc View Source

amount

Declaration
public int amount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

cumulative

Declaration
public bool cumulative { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

subtractive

Declaration
public bool subtractive { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

CanPay()

Declaration
public override bool CanPay()
Returns
Type Description
System.Boolean
Overrides
Cost.CanPay()
| Improve this Doc View Source

GetCostText()

Declaration
public override string GetCostText()
Returns
Type Description
System.String
Overrides
Cost.GetCostText()
| Improve this Doc View Source

HasPayEffects()

Declaration
public override bool HasPayEffects()
Returns
Type Description
System.Boolean
Overrides
Cost.HasPayEffects()
| Improve this Doc View Source

OnPay()

Declaration
public override void OnPay()
Overrides
Cost.OnPay()

Implements

System.IEquatable<T>
System.IEquatable<T>

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX