Class TimeLog
Inheritance
System.Object
TimeLog
Assembly: Eco.Gameplay.dll
Syntax
public class TimeLog : Object
Constructors
TimeLog()
Declaration
Fields
Active
Declaration
public ThreadSafeList<Range> Active
Field Value
AdminSetBoostTime
Declaration
public double AdminSetBoostTime
Field Value
Type |
Description |
System.Double |
|
Methods
ActiveDays(Single)
Counts the amount of days the player was online enough to be considered active.
Declaration
public int ActiveDays(float minimumHours)
Parameters
Type |
Name |
Description |
System.Single |
minimumHours |
|
Returns
Type |
Description |
System.Int32 |
|
ActiveHours(Double)
Declaration
public double ActiveHours(double withinLastDays)
Parameters
Type |
Name |
Description |
System.Double |
withinLastDays |
|
Returns
Type |
Description |
System.Double |
|
ActiveSeconds(Double)
Declaration
public double ActiveSeconds(double withinLastSeconds)
Parameters
Type |
Name |
Description |
System.Double |
withinLastSeconds |
|
Returns
Type |
Description |
System.Double |
|
ActiveTimes()
Declaration
public LocString ActiveTimes()
Returns
RecordCount()
Declaration
Returns
Type |
Description |
System.Int32 |
|
SecondsPlayedToday()
Return the time played in the current day (not the last 24 hours, but in the last set of 24 hours since server start)
Declaration
public double SecondsPlayedToday()
Returns
Type |
Description |
System.Double |
|
StartTiming()
Declaration
public void StartTiming()
StopTiming()
Declaration
TotalAge()
Declaration
Returns
Type |
Description |
System.Double |
|
Extension Methods