Show / Hide Table of Contents

Class PDIntCostDisplayer

A cost displayer which displays PD int costs matching a provided PD variable name. When set set to cumulative, it will check for PDIntCost; when set to noncumulative it will check for ConsumablePDIntCost. Cost sprite is user-customizable and defaults to null.

Inheritance
System.Object
CostDisplayer
PDIntCostDisplayer
Inherited Members
CostDisplayer.CustomCostSprite
CostDisplayer.Cumulative
CostDisplayer.GetDisplayAmount(Cost)
CostDisplayer.GetAdditionalCostText(Cost)
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
Assembly: ItemChanger.dll
Syntax
public class PDIntCostDisplayer : CostDisplayer

Properties

| Improve this Doc View Source

FieldName

Declaration
public string FieldName { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetSingleCostDisplayAmount(Cost)

Declaration
protected override int GetSingleCostDisplayAmount(Cost cost)
Parameters
Type Name Description
Cost cost
Returns
Type Description
System.Int32
Overrides
CostDisplayer.GetSingleCostDisplayAmount(Cost)
| Improve this Doc View Source

SupportsCost(Cost)

Declaration
protected override bool SupportsCost(Cost cost)
Parameters
Type Name Description
Cost cost
Returns
Type Description
System.Boolean
Overrides
CostDisplayer.SupportsCost(Cost)

Extension Methods

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