Abacus  v0.1.0-alpha
Playtesting tools for Unity
Abacus.EventTimestamper Class Reference

Timestamps mark a time with a string More...

Inheritance diagram for Abacus.EventTimestamper:
Abacus.Internal.ITemporal

Public Member Functions

void Stamp (string eventName)
 Create a timestamp for the current time More...
 
string GetVariableName ()
 Retrieve the recorder's name/label More...
 
object Dump ()
 Convert the recorder data to an object for serialization More...
 

Public Attributes

string Label
 
List< EventTimestampTimestamps => _timestamps
 
string DisplayType => "timestamp"
 

Additional Inherited Members

- Properties inherited from Abacus.Internal.ITemporal
string DisplayType [get]
 

Detailed Description

Timestamps mark a time with a string

Member Function Documentation

◆ Dump()

object Abacus.EventTimestamper.Dump ( )

Convert the recorder data to an object for serialization

Returns
The recorder's data as an object

Implements Abacus.Internal.ITemporal.

◆ GetVariableName()

string Abacus.EventTimestamper.GetVariableName ( )

Retrieve the recorder's name/label

Returns
The name of the recorder

Implements Abacus.Internal.ITemporal.

◆ Stamp()

void Abacus.EventTimestamper.Stamp ( string  eventName)

Create a timestamp for the current time

Parameters
eventNameName of the event being stamped

The documentation for this class was generated from the following file: