![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
Lidgren Network Library documentation |
NetBuffer..::..ReadTime Method |
NetBuffer Class See Also Send Feedback |
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)"]