Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkTransport.GetAckBufferCount

public static int GetAckBufferCount(int hostId, int connectionId, out byte error);

Parameters

hostId Host ID associated with this connection.
connectionId ID of the connection.
error Error (can be cast to NetworkError for more information).

Returns

int Size of ack buffer.

Description

Returns size of reliable buffer.

If occupied size == 32 (def) or 64 (if isAckLong == true) no new reliable message can be sent.

Did you find this page useful? Please give it a rating: