LiteNetLib_Utils::​NtpPacket
UnityObjectLink
LiteNetLib_Utils::​NtpPacket

class:/TYPE/LiteNetLib.Utils.NtpPacket//, can be loaded from an assetbundle using LiteNetLib_Utils::NtpPacket::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
bytes
readonly System.Byte[] bytes
correctionoffset
readonly System.TimeSpan correctionoffset
leapindicator
readonly LiteNetLib.Utils.NtpLeapIndicator leapindicator
mode
readonly LiteNetLib.Utils.NtpMode mode
poll
readonly System.Int32 poll
precision
readonly System.Int32 precision
referenceid
readonly System.UInt32 referenceid
rootdelay
readonly System.TimeSpan rootdelay
rootdispersion
readonly System.TimeSpan rootdispersion
roundtriptime
readonly System.TimeSpan roundtriptime
stratum
readonly System.Int32 stratum
versionnumber
readonly System.Int32 versionnumber
Functions
litenetlib_utils::​ntppacket::​create
static LiteNetLib.Utils.NtpPacket Create ()

Constructor replaces new;

Returns

LiteNetLib.Utils.NtpPacket

litenetlib_utils::​ntppacket::​fromassetbundle
static LiteNetLib.Utils.NtpPacket CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

LiteNetLib.Utils.NtpPacket

litenetlib_utils::​ntppacket::​fromserverresponse
static LiteNetLib.Utils.NtpPacket FromServerResponse(
System.Byte[] bytes,
System.DateTime destinationTimestamp
)

System.Byte[] bytes-no documentation

Parameters
bytes
System.Byte[]

no documentation destinationTimestamp -

Returns

LiteNetLib.Utils.NtpPacket