C# Class FluffyManager.History

Inheritance: IExposable
Afficher le fichier Open project: FluffierThanThou/RW_Manager Class Usage Examples

Méthodes publiques

Свойство Type Description
AllowTogglingLegend bool
DefaultLineColor Color
DrawCounts bool
DrawIcons bool
DrawInfoInBar bool
DrawInlineLegend bool
DrawMaxMarkers bool
DrawOptions bool
DrawTargetLine bool
MaxPerChapter bool
Suffix string
periodShown Period
periods Period[]

Méthodes publiques

Méthode Description
CeilToPrecision ( float x, int precision = 1 ) : int

Round up to given precision

DrawDetailedLegend ( Rect canvas, Vector2 &scrollPos, int max, bool positiveOnly = false, bool negativeOnly = false ) : void
DrawPlot ( Rect rect, int target, string label = "", bool positiveOnly = false, bool negativeOnly = false ) : void
ExposeData ( ) : void
FormatCount ( float x, int unit = 1000, string suffixes = null ) : string
History ( ) : System
History ( ThingCount thingCounts, Color colors = null ) : System
History ( string labels, Color colors = null ) : System
Interval ( Period period ) : int
Update ( ) : void
UpdateMax ( ) : void
UpdateThingCountAndMax ( int counts, int maxes ) : void
UpdateThingCounts ( ) : void

Method Details

CeilToPrecision() public méthode

Round up to given precision
public CeilToPrecision ( float x, int precision = 1 ) : int
x float input
precision int number of digits to preserve past the magnitude, should be equal to or greater than zero.
Résultat int

DrawDetailedLegend() public méthode

public DrawDetailedLegend ( Rect canvas, Vector2 &scrollPos, int max, bool positiveOnly = false, bool negativeOnly = false ) : void
canvas UnityEngine.Rect
scrollPos Vector2
max int
positiveOnly bool
negativeOnly bool
Résultat void

DrawPlot() public méthode

public DrawPlot ( Rect rect, int target, string label = "", bool positiveOnly = false, bool negativeOnly = false ) : void
rect UnityEngine.Rect
target int
label string
positiveOnly bool
negativeOnly bool
Résultat void

ExposeData() public méthode

public ExposeData ( ) : void
Résultat void

FormatCount() public méthode

public FormatCount ( float x, int unit = 1000, string suffixes = null ) : string
x float
unit int
suffixes string
Résultat string

History() public méthode

public History ( ) : System
Résultat System

History() public méthode

public History ( ThingCount thingCounts, Color colors = null ) : System
thingCounts ThingCount
colors Color
Résultat System

History() public méthode

public History ( string labels, Color colors = null ) : System
labels string
colors Color
Résultat System

Interval() public static méthode

public static Interval ( Period period ) : int
period Period
Résultat int

Update() public méthode

public Update ( ) : void
Résultat void

UpdateMax() public méthode

public UpdateMax ( ) : void
Résultat void

UpdateThingCountAndMax() public méthode

public UpdateThingCountAndMax ( int counts, int maxes ) : void
counts int
maxes int
Résultat void

UpdateThingCounts() public méthode

public UpdateThingCounts ( ) : void
Résultat void

Property Details

AllowTogglingLegend public_oe property

public bool AllowTogglingLegend
Résultat bool

DefaultLineColor public_oe static_oe property

public static Color DefaultLineColor
Résultat Color

DrawCounts public_oe property

public bool DrawCounts
Résultat bool

DrawIcons public_oe property

public bool DrawIcons
Résultat bool

DrawInfoInBar public_oe property

public bool DrawInfoInBar
Résultat bool

DrawInlineLegend public_oe property

public bool DrawInlineLegend
Résultat bool

DrawMaxMarkers public_oe property

public bool DrawMaxMarkers
Résultat bool

DrawOptions public_oe property

public bool DrawOptions
Résultat bool

DrawTargetLine public_oe property

public bool DrawTargetLine
Résultat bool

MaxPerChapter public_oe property

public bool MaxPerChapter
Résultat bool

Suffix public_oe property

public string Suffix
Résultat string

periodShown public_oe property

public Period periodShown
Résultat Period

periods public_oe static_oe property

public static Period[] periods
Résultat Period[]