Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#
Removed in version 2018.2.21

NetworkMessageInfo.timestamp

Obsolete public double timestamp;

Description

The time stamp when the Message was sent in seconds.

Timestamps can be used to implement interpolation or extrapolation of continous streams of packets The timestamp is passed as a double to avoid overflow when a game is running for a long time. Internally timestamps are sent as 32 bit integers with millisecond accuracy to save bandwidth. Timestamps are automatically adjusted to be relative to Network.time. Thus Network.time - messageInfo.timeStamp is the time the packet spent in transit.

Did you find this page useful? Please give it a rating: