Class SectionTimer
- Namespace
- KSP.Networking.MP.Utils
- Assembly
- Assembly-CSharp.dll
public class SectionTimer : IDisposable
- Inheritance
-
SectionTimer
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
SectionTimer(bool)
public SectionTimer(bool start = false)
Parameters
start bool
Fields
DEFAULT_ELAPSED_TIME_IN_MS
public const long DEFAULT_ELAPSED_TIME_IN_MS = -1
Field Value
- long
DEFAULT_TIME_STAMP
public const long DEFAULT_TIME_STAMP = 0
Field Value
- long
Properties
ElapsedTimeInMS
public long ElapsedTimeInMS { get; }
Property Value
- long
ElapsedTimeInMSString
public string ElapsedTimeInMSString { get; }
Property Value
- string
IsRunning
public bool IsRunning { get; }
Property Value
- bool
Methods
Dispose()
~SectionTimer()
protected ~SectionTimer()
Init(bool)
public void Init(bool start = false)
Parameters
start bool
Start()
public SectionTimer Start()
Returns
- SectionTimer
Stop()
Returns
- long
Uninit()