Unturned support.

This commit is contained in:
CosminPerRam 2022-11-26 15:38:13 +02:00
parent 999998f309
commit 7b2cad22ec
6 changed files with 21 additions and 4 deletions

View file

@ -143,7 +143,7 @@ struct ValveProtocol {
socket: UdpSocket
}
static PACKET_SIZE: usize = 1600;
static PACKET_SIZE: usize = 4096;
impl ValveProtocol {
fn new(address: &str, port: u16, timeout_settings: Option<TimeoutSettings>) -> GDResult<Self> {

View file

@ -175,6 +175,8 @@ pub enum SteamID {
INS = 222880,
/// 7 Days To Die
SDTD = 251570,
/// Unturned
UNTURNED = 304930,
/// ARK: Survival Evolved
ASE = 346110,
/// Insurgency: Sandstorm