Constructor: peerLocated

Back to constructors index

Peer geolocated nearby


Name Type Required Description
peer Peer Yes Peer
expires int Yes Validity period of current data
distance int Yes Distance from the peer in meters

Type: PeerLocated


$peerLocated = ['_' => 'peerLocated', 'peer' => Peer, 'expires' => int, 'distance' => int];

Or, if you’re into Lua:

peerLocated={_='peerLocated', peer=Peer, expires=int, distance=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.