mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 22:55:55 +03:00
Added SteamNetworkingUtils.SendBufferSize
This commit is contained in:
parent
3a11b6f8b3
commit
23129f3a83
@ -177,6 +177,17 @@ public static int Timeout
|
|||||||
set => SetConfigInt( NetConfig.TimeoutConnected, value );
|
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>
|
/// <summary>
|
||||||
/// Get Debug Information via OnDebugOutput event
|
/// Get Debug Information via OnDebugOutput event
|
||||||
|
Loading…
Reference in New Issue
Block a user