C# Class Tracker, unity-tracker

Inheritance: MonoBehaviour
Show file Open project: e-ucm/unity-tracker Class Usage Examples

Public Properties

Property Type Description
START_DATE DateTime
accessible AccessibleTracker
alternative AlternativeTracker
completable CompletableTracker
debug Boolean
flushInterval float
host string
storageType string
traceFormat string
trackedGameObject GameObjectTracker
trackingCode string

Public Methods

Method Description
GeneratePath ( ) : string
GetTraceFormatter ( ) : ITraceFormatter
RequestFlush ( ) : void

Flush the traces queue in the next update.

Start ( ) : void
Trace ( ) : void

Adds a trace with the specified values

Trace ( string trace ) : void

Adds a trace to the queue.

Tracker ( ) : System
Update ( ) : void
setCompletion ( bool completion ) : void
setExtension ( string key, System value ) : void
setHealth ( float health ) : void
setPosition ( float x, float y, float z ) : void
setProgress ( float progress ) : void
setResponse ( string response ) : void
setScore ( float score ) : void
setSuccess ( bool success ) : void
setVar ( string id, string value ) : void

Private Methods

Method Description
Awake ( ) : void
Connect ( ) : void
Flush ( ) : void
GetRawTraces ( ) : string
Sent ( bool error ) : void
SetConnected ( bool connected ) : void
SetMainStorageConnected ( bool connected ) : void

Method Details

GeneratePath() public method

public GeneratePath ( ) : string
return string

GetTraceFormatter() public method

public GetTraceFormatter ( ) : ITraceFormatter
return ITraceFormatter

RequestFlush() public method

Flush the traces queue in the next update.
public RequestFlush ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Trace() public method

Adds a trace with the specified values
public Trace ( ) : void
return void

Trace() public method

Adds a trace to the queue.
public Trace ( string trace ) : void
trace string A comma separated string with the values of the trace
return void

Tracker() public method

public Tracker ( ) : System
return System

Update() public method

public Update ( ) : void
return void

setCompletion() public method

public setCompletion ( bool completion ) : void
completion bool
return void

setExtension() public method

public setExtension ( string key, System value ) : void
key string
value System
return void

setHealth() public method

public setHealth ( float health ) : void
health float
return void

setPosition() public method

public setPosition ( float x, float y, float z ) : void
x float
y float
z float
return void

setProgress() public method

public setProgress ( float progress ) : void
progress float
return void

setResponse() public method

public setResponse ( string response ) : void
response string
return void

setScore() public method

public setScore ( float score ) : void
score float
return void

setSuccess() public method

public setSuccess ( bool success ) : void
success bool
return void

setVar() public method

public setVar ( string id, string value ) : void
id string
value string
return void

Property Details

START_DATE public static property

public static DateTime START_DATE
return DateTime

accessible public property

public AccessibleTracker accessible
return AccessibleTracker

alternative public property

public AlternativeTracker alternative
return AlternativeTracker

completable public property

public CompletableTracker completable
return CompletableTracker

debug public property

public Boolean debug
return Boolean

flushInterval public property

public float flushInterval
return float

host public property

public string host
return string

storageType public property

public string storageType
return string

traceFormat public property

public string traceFormat
return string

trackedGameObject public property

public GameObjectTracker trackedGameObject
return GameObjectTracker

trackingCode public property

public string trackingCode
return string