Added SteamNetworkingUtils.SendBufferSize

This commit is contained in:
Garry Newman 2020-02-28 15:34:41 +00:00
parent 3a11b6f8b3
commit 23129f3a83

View File

@ -177,6 +177,17 @@ public static int Timeout
set => SetConfigInt( NetConfig.TimeoutConnected, value );
}
/// <summary>
/// Upper limit of buffered pending bytes to be sent.
/// If this is reached SendMessage will return LimitExceeded.
/// Default is 524288 bytes (512k)
/// </summary>
public static int SendBufferSize
{
get => GetConfigInt( NetConfig.SendBufferSize );
set => SetConfigInt( NetConfig.SendBufferSize, value );
}
/// <summary>
/// Get Debug Information via OnDebugOutput event