Difference between revisions of "enet.peer:disconnect now"

(Created page with "Force immediate disconnection from peer. Foreign peer not guaranteed to receive disconnect notification. == Function == === Synopsis === <source l...")
 
m (stylistic edit.)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
{{param|number|data|Optional integer value to be associated with the disconnect.}}
 
{{param|number|data|Optional integer value to be associated with the disconnect.}}
 
=== Returns ===
 
=== Returns ===
None
+
Nothing.
  
 
== See Also ==
 
== See Also ==
Line 14: Line 14:
 
* [[enet.peer]]
 
* [[enet.peer]]
 
== Other Languages ==
 
== Other Languages ==
{{i18n|enet.host:channel_limit}}
+
{{i18n|enet.peer:disconnect_now}}

Latest revision as of 02:12, 30 October 2016

Force immediate disconnection from peer. Foreign peer not guaranteed to receive disconnect notification.

Function

Synopsis

peer:disconnect_now(data)

Arguments

number data
Optional integer value to be associated with the disconnect.

Returns

Nothing.

See Also

Other Languages