Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkClient.SendWriter

Switch to Manual
public function SendWriter(writer: Networking.NetworkWriter, channelId: int): bool;

Parameters

writer Writer object containing data to send.
channelId QoS channel to send data on.

Returns

bool True if data successfully sent.

Description

This sends the contents of the NetworkWriter's buffer to the connected server.