Misc Objects¶
Some of the smaller objects created by CurveFlow
TrackedValue¶
- TrackedValue ( float min, float max, string name, ValueType type )
- float min , the lowest possible value this object can reach
- float max , the highest possible value this object can reach
- string name , the name of the skill to be tracked
- int additionCount = 0, lets you define the base addition count for AVERAGE or AVERAGEWEIGHTED value types
- ValueType , the method used to append new values into this object
LogCallback¶
- delegate void LogCallback ( string logMessage, MessageType type )
The delegate used to bind CurveFlow’s logging to your engine. Doesn’t need to be explicity created, just pass a function with the same parameters to Controller.InitializeLog
ValueType¶
- enum ValueType { ADDITIVE, AVERAGE, SET}
- ADDITIVE: New values are added/subtracted to the total
- AVERAGE: New values are averaged based on previous numbers entered.
- SET: New values can only be set using Controller.SetTrackedValue
- AVERAGEWEIGHTED: New values are added to an average that is always additionCount size
MessageType¶
- enum MessageType {STATUS = 1, DEBUG = 2, ERROR = 4}