Advanced Combat Tracker Plugin API
onTimer Method (iTime, dPercentage, bCompleted)
NamespacesTransitionsITransitionTypeonTimer(Int32, Double%, Boolean%)
Called by the Transition framework when its timer ticks to pass in the time (in ms) since the transition started. You should return (in an out parameter) the percentage movement towards the destination value for the time passed in. Note: this does not need to be a smooth transition from 0% to 100%. You can overshoot with values greater than 100% or undershoot if you need to (for example, to have some form of "elasticity"). The percentage should be returned as (for example) 0.1 for 10%. You should return (in an out parameter) whether the transition has completed. (This may not be at the same time as the percentage has moved to 100%.)
Declaration Syntax
C#Visual Basic
void onTimer(
	int iTime,
	out double dPercentage,
	out bool bCompleted
Sub onTimer ( 
	iTime As Integer,
	<OutAttribute> ByRef dPercentage As Double,
	<OutAttribute> ByRef bCompleted As Boolean
iTime (Int32)

[Missing <param name="iTime"/> documentation for "M:Transitions.ITransitionType.onTimer(System.Int32,System.Double@,System.Boolean@)"]

dPercentage (Double%)

[Missing <param name="dPercentage"/> documentation for "M:Transitions.ITransitionType.onTimer(System.Int32,System.Double@,System.Boolean@)"]

bCompleted (Boolean%)

[Missing <param name="bCompleted"/> documentation for "M:Transitions.ITransitionType.onTimer(System.Int32,System.Double@,System.Boolean@)"]

Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: