Show / Hide Table of Contents

Class TimeLog

Inheritance
System.Object
TimeLog
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class TimeLog : Object

Constructors

TimeLog()

Declaration
public TimeLog()

Fields

Active

Declaration
public ThreadSafeList<Range> Active
Field Value
Type Description
ThreadSafeList<Range>

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
Remarks

A day is counted as active if the player was online for at least minimumHours that day.

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
Type Description
LocString

RecordCount()

Declaration
public int RecordCount()
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
public void StopTiming()

TotalAge()

Declaration
public double TotalAge()
Returns
Type Description
System.Double

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾