diff --git a/src/lib.rs b/src/lib.rs index 6a9998e..0feb176 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -394,7 +394,7 @@ impl Client { /// Returns an accessor to the steam UGC interface (steam workshop) pub fn ugc(&self) -> UGC { unsafe { - let ugc = sys::SteamAPI_SteamUGC_v016(); + let ugc = sys::SteamAPI_SteamUGC_v017(); debug_assert!(!ugc.is_null()); UGC { ugc, diff --git a/src/ugc.rs b/src/ugc.rs index 35e726b..feffdf8 100644 --- a/src/ugc.rs +++ b/src/ugc.rs @@ -1053,7 +1053,7 @@ impl UserListQuery { api_call, CALLBACK_BASE_ID + 1, move |v, io_error| { - let ugc = sys::SteamAPI_SteamUGC_v016(); + let ugc = sys::SteamAPI_SteamUGC_v017(); if io_error { sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle); cb(Err(SteamError::IOFailure)); @@ -1237,7 +1237,7 @@ impl ItemListDetailsQuery { api_call, CALLBACK_BASE_ID + 1, move |v, io_error| { - let ugc = sys::SteamAPI_SteamUGC_v016(); + let ugc = sys::SteamAPI_SteamUGC_v017(); if io_error { sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle); cb(Err(SteamError::IOFailure)); @@ -1385,7 +1385,7 @@ impl ItemDetailsQuery { api_call, CALLBACK_BASE_ID + 1, move |v, io_error| { - let ugc = sys::SteamAPI_SteamUGC_v016(); + let ugc = sys::SteamAPI_SteamUGC_v017(); if io_error { sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle); cb(Err(SteamError::IOFailure)); diff --git a/steamworks-sys/src/linux_bindings.rs b/steamworks-sys/src/linux_bindings.rs index 8d7d807..019b1d0 100644 --- a/steamworks-sys/src/linux_bindings.rs +++ b/steamworks-sys/src/linux_bindings.rs @@ -28166,7 +28166,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC; + pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC; } extern "C" { pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC; diff --git a/steamworks-sys/src/macos_bindings.rs b/steamworks-sys/src/macos_bindings.rs index 981950e..12a505d 100644 --- a/steamworks-sys/src/macos_bindings.rs +++ b/steamworks-sys/src/macos_bindings.rs @@ -28201,7 +28201,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC; + pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC; } extern "C" { pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC; diff --git a/steamworks-sys/src/windows_bindings.rs b/steamworks-sys/src/windows_bindings.rs index 34a4c24..dbb6364 100644 --- a/steamworks-sys/src/windows_bindings.rs +++ b/steamworks-sys/src/windows_bindings.rs @@ -29466,7 +29466,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC; + pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC; } extern "C" { pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC;