Difference between revisions of "ClientObject:doPing"

(Created page with 'Commence a ping. == Function == === Synopsis === <source lang="lua"> clientobject:init( sockettype ) </source> === Arguments === {{param|SocketType|string|"tcp", "udp" or user-de…')
 
m
 
Line 1: Line 1:
Commence a ping.
+
Commence a ping (According to settings), Does a ping whenever needed.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
clientobject:init( sockettype )
+
clientobject:doPing(dt)
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|SocketType|string|"tcp", "udp" or user-defined.}}
+
{{param|number|dt|Delta time, as passed to update}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
Line 14: Line 14:
 
{{#set:Description=Commence a ping.}}
 
{{#set:Description=Commence a ping.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ClientObject:init}}
+
{{i18n|ClientObject:doPing}}

Latest revision as of 16:50, 20 November 2010

Commence a ping (According to settings), Does a ping whenever needed.

Function

Synopsis

clientobject:doPing(dt)

Arguments

number dt
Delta time, as passed to update

Returns

Nothing.

See Also

Other Languages