Class PreciseTickExtensions
Inheritance
System.Object
PreciseTickExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Managing.Timing
Assembly: FishNet.Runtime.dll
Syntax
public static class PreciseTickExtensions
Methods
Add(PreciseTick, PreciseTick, Double)
Adds value onto a PreciseTick.
Declaration
public static PreciseTick Add(this PreciseTick pt, PreciseTick value, double delta)
Parameters
Type | Name | Description |
---|---|---|
PreciseTick | pt | |
PreciseTick | value | Value to add. |
System.Double | delta | Tick delta. |
Returns
Type | Description |
---|---|
PreciseTick |
Subtract(PreciseTick, PreciseTick, Double)
Subtracts value from a PreciseTick.
Declaration
public static PreciseTick Subtract(this PreciseTick pt, PreciseTick value, double delta)
Parameters
Type | Name | Description |
---|---|---|
PreciseTick | pt | |
PreciseTick | value | Value to subtract. |
System.Double | delta | Tick delta. |
Returns
Type | Description |
---|---|
PreciseTick |