ReadTime Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Reads a value, in local time comparable to NetTime.Now, written using WriteTime() for the connection supplied

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public double ReadTime(
	NetConnection connection,
	bool highPrecision
)
Visual Basic
Public Function ReadTime ( _
	connection As NetConnection, _
	highPrecision As Boolean _
) As Double
Visual C++
public:
double ReadTime(
	NetConnection^ connection, 
	bool highPrecision
)

Parameters

connection
Type: Lidgren.Network..::..NetConnection

[Missing <param name="connection"/> documentation for "M:Lidgren.Network.NetBuffer.ReadTime(Lidgren.Network.NetConnection,System.Boolean)"]

highPrecision
Type: System..::..Boolean

[Missing <param name="highPrecision"/> documentation for "M:Lidgren.Network.NetBuffer.ReadTime(Lidgren.Network.NetConnection,System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetBuffer.ReadTime(Lidgren.Network.NetConnection,System.Boolean)"]

See Also