> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.kstime.md).

# Class ksTime

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Holds time data that is common to the client and server.

```csharp
public class ksTime
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ksTime](/reactor/api-reference/ks.reactor/ks.reactor.kstime.md)

#### Derived

[ksClientTime](/reactor/api-reference/ks.reactor.client/ks.reactor.client.ksclienttime.md)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Fields

### m\_timeScale <a href="#ks_reactor_kstime_m_timescale" id="ks_reactor_kstime_m_timescale"></a>

```csharp
protected float m_timeScale
```

#### Field Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

## Properties

### Delta <a href="#ks_reactor_kstime_delta" id="ks_reactor_kstime_delta"></a>

Local simulated game time in seconds since the last update.

```csharp
public float Delta { get; }
```

#### Property Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### Frame <a href="#ks_reactor_kstime_frame" id="ks_reactor_kstime_frame"></a>

Server frame number.

```csharp
public ulong Frame { get; set; }
```

#### Property Value

[ulong](https://learn.microsoft.com/dotnet/api/system.uint64)

### FramesPerSync <a href="#ks_reactor_kstime_framespersync" id="ks_reactor_kstime_framespersync"></a>

```csharp
[Obsolete("Use ServerFramesPerSync instead.")]
public int FramesPerSync { get; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### RealTime <a href="#ks_reactor_kstime_realtime" id="ks_reactor_kstime_realtime"></a>

Real time in seconds that the game has been running.

```csharp
public double RealTime { get; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### ServerFramesPerSync <a href="#ks_reactor_kstime_serverframespersync" id="ks_reactor_kstime_serverframespersync"></a>

The number of server frames between each network update sent to clients.

```csharp
public int ServerFramesPerSync { get; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Time <a href="#ks_reactor_kstime_time" id="ks_reactor_kstime_time"></a>

Total simluated game time in seconds.

```csharp
public double Time { get; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

### TimeScale <a href="#ks_reactor_kstime_timescale" id="ks_reactor_kstime_timescale"></a>

Time scale applied to simulation steps.

```csharp
public float TimeScale { get; }
```

#### Property Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### UnscaledDelta <a href="#ks_reactor_kstime_unscaleddelta" id="ks_reactor_kstime_unscaleddelta"></a>

Simulated game time in seconds unscaled by time scaling since the last update.

```csharp
public float UnscaledDelta { get; set; }
```

#### Property Value

[float](https://learn.microsoft.com/dotnet/api/system.single)

### Zero <a href="#ks_reactor_kstime_zero" id="ks_reactor_kstime_zero"></a>

```csharp
public static ksTime Zero { get; }
```

#### Property Value

[ksTime](/reactor/api-reference/ks.reactor/ks.reactor.kstime.md)
