RakNetConnection:Disconnect Synchronous

  • RakNetConnection:disconnect

Disconnects observer.

Syntax
Luau
RakNetConnection:Disconnect() -> ()

Parameters

Call this method with a RakNetConnection receiver. The colon supplies self implicitly; a dot call must pass the receiver explicitly.

This function takes no arguments.

Returns

()

This function returns no values.

Availability

RakNet is disabled by default. RakNet and raknet are removed when the setting is off; retained references can still call is_enabled().

Kawaii documentation