aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2021-02-27 11:30:36 +0000
committerMatthew Collins <[email protected]>2021-02-27 11:30:36 +0000
commitb8d16062278dc04e5f2322aa3ac01f3eb19d6f91 (patch)
treee93e9721518b870d66e0de7838c6846006271158
parentSet version to 0.7.0 (diff)
downloadsteamworks-rs-b8d16062278dc04e5f2322aa3ac01f3eb19d6f91.tar.xz
steamworks-rs-b8d16062278dc04e5f2322aa3ac01f3eb19d6f91.zip
Fix doc builds
-rw-r--r--Cargo.toml14
-rw-r--r--steamworks-sys/Cargo.toml4
-rw-r--r--steamworks-sys/src/bindings.rs2300
-rw-r--r--steamworks-sys/src/lib.rs6
4 files changed, 1597 insertions, 727 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3d59fec..52806e0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,12 +25,12 @@ members = [
[dependencies]
steamworks-sys = {path = "./steamworks-sys", version = "0.7.0"}
-thiserror = "1.0"
-bitflags = "1.0.4"
-libc = "0.2.50"
-lazy_static = "1.3.0"
-serde = {version = "1.0", features = ["derive"], optional = true}
+thiserror = "1.0.24"
+bitflags = "1.2.1"
+libc = "0.2.86"
+lazy_static = "1.4.0"
+serde = { version = "1.0.123", features = ["derive"], optional = true }
[dev-dependencies]
-serial_test = "0.2.0"
-serial_test_derive = "0.2.0"
+serial_test = "0.5.1"
+serial_test_derive = "0.5.1"
diff --git a/steamworks-sys/Cargo.toml b/steamworks-sys/Cargo.toml
index 46f32bb..da52af8 100644
--- a/steamworks-sys/Cargo.toml
+++ b/steamworks-sys/Cargo.toml
@@ -19,7 +19,7 @@ docs-only = []
[dependencies]
-libc = "0.2.50"
+libc = "0.2.86"
[build-dependencies]
-bindgen = "0.53.1"
+bindgen = "0.57.0"
diff --git a/steamworks-sys/src/bindings.rs b/steamworks-sys/src/bindings.rs
index a89ee73..9c1926e 100644
--- a/steamworks-sys/src/bindings.rs
+++ b/steamworks-sys/src/bindings.rs
@@ -1,18 +1,17 @@
-/* automatically generated by rust-bindgen */
+/* automatically generated by rust-bindgen 0.57.0 */
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
-pub struct __BindgenBitfieldUnit<Storage, Align> {
+pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
- align: [Align; 0],
}
-impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align> {
+impl<Storage> __BindgenBitfieldUnit<Storage> {
#[inline]
pub const fn new(storage: Storage) -> Self {
- Self { storage, align: [] }
+ Self { storage }
}
}
-impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
+impl<Storage> __BindgenBitfieldUnit<Storage>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
@@ -128,13 +127,13 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
-pub const __GLIBC_MINOR__: u32 = 31;
+pub const __GLIBC_MINOR__: u32 = 33;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
-pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0;
+pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 0;
pub const __GLIBC_USE_LIB_EXT2: u32 = 1;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 1;
@@ -146,9 +145,9 @@ pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
pub const _STRINGS_H: u32 = 1;
pub const STEAMCLIENT_INTERFACE_VERSION: &'static [u8; 15usize] = b"SteamClient020\0";
-pub const STEAMUSER_INTERFACE_VERSION: &'static [u8; 13usize] = b"SteamUser020\0";
+pub const STEAMUSER_INTERFACE_VERSION: &'static [u8; 13usize] = b"SteamUser021\0";
pub const STEAMFRIENDS_INTERFACE_VERSION: &'static [u8; 16usize] = b"SteamFriends017\0";
-pub const STEAMUTILS_INTERFACE_VERSION: &'static [u8; 14usize] = b"SteamUtils009\0";
+pub const STEAMUTILS_INTERFACE_VERSION: &'static [u8; 14usize] = b"SteamUtils010\0";
pub const _STDIO_H: u32 = 1;
pub const __GNUC_VA_LIST: u32 = 1;
pub const _BITS_TYPES_H: u32 = 1;
@@ -158,6 +157,7 @@ pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
+pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _____fpos_t_defined: u32 = 1;
@@ -191,6 +191,22 @@ pub const FOPEN_MAX: u32 = 16;
pub const RENAME_NOREPLACE: u32 = 1;
pub const RENAME_EXCHANGE: u32 = 2;
pub const RENAME_WHITEOUT: u32 = 4;
+pub const __HAVE_FLOAT128: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT128: u32 = 0;
+pub const __HAVE_FLOAT64X: u32 = 1;
+pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1;
+pub const __HAVE_FLOAT16: u32 = 0;
+pub const __HAVE_FLOAT32: u32 = 1;
+pub const __HAVE_FLOAT64: u32 = 1;
+pub const __HAVE_FLOAT32X: u32 = 1;
+pub const __HAVE_FLOAT128X: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT16: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT32: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT64: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0;
+pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0;
+pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0;
pub const k_nMaxLobbyKeyLength: u32 = 255;
pub const STEAMMATCHMAKING_INTERFACE_VERSION: &'static [u8; 20usize] = b"SteamMatchMaking009\0";
pub const STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION: &'static [u8; 27usize] =
@@ -200,7 +216,7 @@ pub const STEAMPARTIES_INTERFACE_VERSION: &'static [u8; 16usize] = b"SteamPartie
pub const STEAMREMOTESTORAGE_INTERFACE_VERSION: &'static [u8; 40usize] =
b"STEAMREMOTESTORAGE_INTERFACE_VERSION014\0";
pub const STEAMUSERSTATS_INTERFACE_VERSION: &'static [u8; 36usize] =
- b"STEAMUSERSTATS_INTERFACE_VERSION011\0";
+ b"STEAMUSERSTATS_INTERFACE_VERSION012\0";
pub const STEAMAPPS_INTERFACE_VERSION: &'static [u8; 31usize] = b"STEAMAPPS_INTERFACE_VERSION008\0";
pub const STEAMNETWORKING_INTERFACE_VERSION: &'static [u8; 19usize] = b"SteamNetworking006\0";
pub const INVALID_SCREENSHOT_HANDLE: u32 = 0;
@@ -222,7 +238,7 @@ pub const STEAM_INPUT_MAX_ORIGINS: u32 = 8;
pub const STEAM_INPUT_MAX_ACTIVE_LAYERS: u32 = 16;
pub const STEAM_INPUT_MIN_ANALOG_ACTION_DATA: f64 = -1.0;
pub const STEAM_INPUT_MAX_ANALOG_ACTION_DATA: f64 = 1.0;
-pub const STEAMINPUT_INTERFACE_VERSION: &'static [u8; 14usize] = b"SteamInput001\0";
+pub const STEAMINPUT_INTERFACE_VERSION: &'static [u8; 14usize] = b"SteamInput002\0";
pub const STEAM_CONTROLLER_MAX_COUNT: u32 = 16;
pub const STEAM_CONTROLLER_MAX_ANALOG_ACTIONS: u32 = 16;
pub const STEAM_CONTROLLER_MAX_DIGITAL_ACTIONS: u32 = 128;
@@ -230,8 +246,8 @@ pub const STEAM_CONTROLLER_MAX_ORIGINS: u32 = 8;
pub const STEAM_CONTROLLER_MAX_ACTIVE_LAYERS: u32 = 16;
pub const STEAM_CONTROLLER_MIN_ANALOG_ACTION_DATA: f64 = -1.0;
pub const STEAM_CONTROLLER_MAX_ANALOG_ACTION_DATA: f64 = 1.0;
-pub const STEAMCONTROLLER_INTERFACE_VERSION: &'static [u8; 19usize] = b"SteamController007\0";
-pub const STEAMUGC_INTERFACE_VERSION: &'static [u8; 30usize] = b"STEAMUGC_INTERFACE_VERSION014\0";
+pub const STEAMCONTROLLER_INTERFACE_VERSION: &'static [u8; 19usize] = b"SteamController008\0";
+pub const STEAMUGC_INTERFACE_VERSION: &'static [u8; 30usize] = b"STEAMUGC_INTERFACE_VERSION015\0";
pub const STEAMAPPLIST_INTERFACE_VERSION: &'static [u8; 34usize] =
b"STEAMAPPLIST_INTERFACE_VERSION001\0";
pub const STEAMHTMLSURFACE_INTERFACE_VERSION: &'static [u8; 39usize] =
@@ -317,20 +333,15 @@ pub const SIG_ATOMIC_WIDTH: u32 = 32;
pub const SIZE_WIDTH: u32 = 64;
pub const WCHAR_WIDTH: u32 = 32;
pub const WINT_WIDTH: u32 = 32;
+pub const STEAMNETWORKINGMESSAGES_INTERFACE_VERSION: &'static [u8; 27usize] =
+ b"SteamNetworkingMessages002\0";
pub const STEAMNETWORKINGSOCKETS_INTERFACE_VERSION: &'static [u8; 26usize] =
- b"SteamNetworkingSockets008\0";
+ b"SteamNetworkingSockets009\0";
pub const STEAMNETWORKINGUTILS_INTERFACE_VERSION: &'static [u8; 24usize] =
b"SteamNetworkingUtils003\0";
pub const STEAMGAMESERVER_INTERFACE_VERSION: &'static [u8; 19usize] = b"SteamGameServer013\0";
pub const STEAMGAMESERVERSTATS_INTERFACE_VERSION: &'static [u8; 24usize] =
b"SteamGameServerStats001\0";
-pub type SteamTVRegion_t = u8;
-#[repr(u32)]
-#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum ESteamTVRegionBehavior {
- __invalid = 0,
-}
pub type uint8 = ::std::os::raw::c_uchar;
pub type int8 = ::std::os::raw::c_schar;
pub type int16 = ::std::os::raw::c_short;
@@ -383,7 +394,7 @@ pub type PartyBeaconID_t = uint64;
pub const k_ulPartyBeaconIdInvalid: PartyBeaconID_t = 0;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamIPType {
k_ESteamIPTypeIPv4 = 0,
k_ESteamIPTypeIPv6 = 1,
@@ -478,7 +489,7 @@ fn bindgen_test_layout_SteamIPAddress_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUniverse {
k_EUniverseInvalid = 0,
k_EUniversePublic = 1,
@@ -489,7 +500,7 @@ pub enum EUniverse {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EResult {
k_EResultNone = 0,
k_EResultOK = 1,
@@ -606,10 +617,14 @@ pub enum EResult {
k_EResultCantRemoveItem = 113,
k_EResultAccountDeleted = 114,
k_EResultExistingUserCancelledLicense = 115,
+ k_EResultCommunityCooldown = 116,
+ k_EResultNoLauncherSpecified = 117,
+ k_EResultMustAgreeToSSA = 118,
+ k_EResultLauncherMigrated = 119,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EVoiceResult {
k_EVoiceResultOK = 0,
k_EVoiceResultNotInitialized = 1,
@@ -624,7 +639,7 @@ pub enum EVoiceResult {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EDenyReason {
k_EDenyInvalid = 0,
k_EDenyInvalidVersion = 1,
@@ -647,7 +662,7 @@ pub type HAuthTicket = uint32;
pub const k_HAuthTicketInvalid: HAuthTicket = 0;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EBeginAuthSessionResult {
k_EBeginAuthSessionResultOK = 0,
k_EBeginAuthSessionResultInvalidTicket = 1,
@@ -658,7 +673,7 @@ pub enum EBeginAuthSessionResult {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EAuthSessionResponse {
k_EAuthSessionResponseOK = 0,
k_EAuthSessionResponseUserNotConnectedToSteam = 1,
@@ -673,7 +688,7 @@ pub enum EAuthSessionResponse {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUserHasLicenseForAppResult {
k_EUserHasLicenseResultHasLicense = 0,
k_EUserHasLicenseResultDoesNotHaveLicense = 1,
@@ -681,7 +696,7 @@ pub enum EUserHasLicenseForAppResult {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EAccountType {
k_EAccountTypeInvalid = 0,
k_EAccountTypeIndividual = 1,
@@ -698,7 +713,7 @@ pub enum EAccountType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EAppReleaseState {
k_EAppReleaseState_Unknown = 0,
k_EAppReleaseState_Unavailable = 1,
@@ -708,7 +723,7 @@ pub enum EAppReleaseState {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EAppOwnershipFlags {
k_EAppOwnershipFlags_None = 0,
k_EAppOwnershipFlags_OwnsLicense = 1,
@@ -732,10 +747,11 @@ pub enum EAppOwnershipFlags {
k_EAppOwnershipFlags_SiteLicense = 262144,
k_EAppOwnershipFlags_LegacyFreeSub = 524288,
k_EAppOwnershipFlags_InvalidOSType = 1048576,
+ k_EAppOwnershipFlags_TimedTrial = 2097152,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EAppType {
k_EAppType_Invalid = 0,
k_EAppType_Game = 1,
@@ -756,11 +772,11 @@ pub enum EAppType {
k_EAppType_Comic_UNUSED = 32768,
k_EAppType_Beta = 65536,
k_EAppType_Shortcut = 1073741824,
- k_EAppType_DepotOnly = 2147483648,
+ k_EAppType_DepotOnly_DEPRECATED = 2147483648,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamUserStatType {
k_ESteamUserStatTypeINVALID = 0,
k_ESteamUserStatTypeINT = 1,
@@ -772,7 +788,7 @@ pub enum ESteamUserStatType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EChatEntryType {
k_EChatEntryTypeInvalid = 0,
k_EChatEntryTypeChatMsg = 1,
@@ -789,7 +805,7 @@ pub enum EChatEntryType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EChatRoomEnterResponse {
k_EChatRoomEnterResponseSuccess = 1,
k_EChatRoomEnterResponseDoesntExist = 2,
@@ -816,7 +832,7 @@ pub const k_unSteamAccountInstanceMask: ::std::os::raw::c_uint = 1048575;
pub const k_unSteamUserDefaultInstance: ::std::os::raw::c_uint = 1;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EChatSteamIDInstanceFlags {
k_EChatAccountInstanceMask = 4095,
k_EChatInstanceFlagClan = 524288,
@@ -825,7 +841,7 @@ pub enum EChatSteamIDInstanceFlags {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EMarketingMessageFlags {
k_EMarketingMessageFlagsNone = 0,
k_EMarketingMessageFlagsHighPriority = 1,
@@ -836,7 +852,7 @@ pub enum EMarketingMessageFlags {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ENotificationPosition {
k_EPositionTopLeft = 0,
k_EPositionTopRight = 1,
@@ -845,7 +861,7 @@ pub enum ENotificationPosition {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EBroadcastUploadResult {
k_EBroadcastUploadResultNone = 0,
k_EBroadcastUploadResultOK = 1,
@@ -874,7 +890,7 @@ pub enum EBroadcastUploadResult {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELaunchOptionType {
k_ELaunchOptionType_None = 0,
k_ELaunchOptionType_Default = 1,
@@ -896,7 +912,7 @@ pub enum ELaunchOptionType {
}
#[repr(i32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EVRHMDType {
k_eEVRHMDType_None = -1,
k_eEVRHMDType_Unknown = 0,
@@ -921,6 +937,7 @@ pub enum EVRHMDType {
k_eEVRHMDType_HP_Unknown = 80,
k_eEVRHMDType_HP_WindowsMR = 81,
k_eEVRHMDType_HP_Reverb = 82,
+ k_eEVRHMDType_HP_ReverbG2 = 1463,
k_eEVRHMDType_Samsung_Unknown = 90,
k_eEVRHMDType_Samsung_Odyssey = 91,
k_eEVRHMDType_Unannounced_Unknown = 100,
@@ -934,7 +951,7 @@ pub enum EVRHMDType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EMarketNotAllowedReasonFlags {
k_EMarketNotAllowedReason_None = 0,
k_EMarketNotAllowedReason_TemporaryFailure = 1,
@@ -956,7 +973,7 @@ pub enum EMarketNotAllowedReasonFlags {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EDurationControlProgress {
k_EDurationControlProgress_Full = 0,
k_EDurationControlProgress_Half = 1,
@@ -967,7 +984,7 @@ pub enum EDurationControlProgress {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EDurationControlNotification {
k_EDurationControlNotification_None = 0,
k_EDurationControlNotification_1Hour = 1,
@@ -978,6 +995,15 @@ pub enum EDurationControlNotification {
k_EDurationControlNotification_ExitSoon_5h = 6,
k_EDurationControlNotification_ExitSoon_Night = 7,
}
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum EDurationControlOnlineState {
+ k_EDurationControlOnlineState_Invalid = 0,
+ k_EDurationControlOnlineState_Offline = 1,
+ k_EDurationControlOnlineState_Online = 2,
+ k_EDurationControlOnlineState_OnlineHighPri = 3,
+}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct CSteamID {
@@ -993,7 +1019,8 @@ pub union CSteamID_SteamID_t {
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct CSteamID_SteamID_t_SteamIDComponent_t {
- pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>,
+ pub _bitfield_align_1: [u32; 0],
+ pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
#[test]
fn bindgen_test_layout_CSteamID_SteamID_t_SteamIDComponent_t() {
@@ -1065,9 +1092,8 @@ impl CSteamID_SteamID_t_SteamIDComponent_t {
m_unAccountInstance: ::std::os::raw::c_uint,
m_EAccountType: ::std::os::raw::c_uint,
m_EUniverse: EUniverse,
- ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> {
- let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> =
- Default::default();
+ ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
+ let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 32u8, {
let m_unAccountID: u32 = unsafe { ::std::mem::transmute(m_unAccountID) };
m_unAccountID as u64
@@ -1251,7 +1277,7 @@ pub struct CGameID {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum CGameID_EGameIDType {
k_EGameIDTypeApp = 0,
k_EGameIDTypeGameMod = 1,
@@ -1261,7 +1287,8 @@ pub enum CGameID_EGameIDType {
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct CGameID_GameID_t {
- pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>,
+ pub _bitfield_align_1: [u32; 0],
+ pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
#[test]
fn bindgen_test_layout_CGameID_GameID_t() {
@@ -1315,9 +1342,8 @@ impl CGameID_GameID_t {
m_nAppID: ::std::os::raw::c_uint,
m_nType: ::std::os::raw::c_uint,
m_nModID: ::std::os::raw::c_uint,
- ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> {
- let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> =
- Default::default();
+ ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
+ let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 24u8, {
let m_nAppID: u32 = unsafe { ::std::mem::transmute(m_nAppID) };
m_nAppID as u64
@@ -1422,7 +1448,7 @@ pub type PFNPreMinidumpCallback =
pub type BREAKPAD_HANDLE = *mut ::std::os::raw::c_void;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EGameSearchErrorCode_t {
k_EGameSearchErrorCode_OK = 1,
k_EGameSearchErrorCode_Failed_Search_Already_In_Progress = 2,
@@ -1436,7 +1462,7 @@ pub enum EGameSearchErrorCode_t {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EPlayerResult_t {
k_EPlayerResultFailedToConnect = 1,
k_EPlayerResultAbandoned = 2,
@@ -1446,7 +1472,7 @@ pub enum EPlayerResult_t {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamIPv6ConnectivityProtocol {
k_ESteamIPv6ConnectivityProtocol_Invalid = 0,
k_ESteamIPv6ConnectivityProtocol_HTTP = 1,
@@ -1454,7 +1480,7 @@ pub enum ESteamIPv6ConnectivityProtocol {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamIPv6ConnectivityState {
k_ESteamIPv6ConnectivityState_Unknown = 0,
k_ESteamIPv6ConnectivityState_Good = 1,
@@ -1550,7 +1576,7 @@ pub const CCallbackBase_k_ECallbackFlagsGameServer: CCallbackBase__bindgen_ty_1
CCallbackBase__bindgen_ty_1::k_ECallbackFlagsGameServer;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum CCallbackBase__bindgen_ty_1 {
k_ECallbackFlagsRegistered = 1,
k_ECallbackFlagsGameServer = 2,
@@ -1915,6 +1941,12 @@ extern "C" {
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
+ pub fn strerrordesc_np(__err: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
+ pub fn strerrorname_np(__err: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
pub fn strerror_l(
__errnum: ::std::os::raw::c_int,
__l: locale_t,
@@ -1999,6 +2031,12 @@ extern "C" {
pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
+ pub fn sigabbrev_np(__sig: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
+ pub fn sigdescr_np(__sig: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
pub fn __stpcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
@@ -2160,43 +2198,38 @@ pub struct ISteamContentServer {
pub struct ISteamPS3OverlayRender {
_unused: [u8; 0],
}
-#[repr(C)]
-#[derive(Debug, Copy, Clone)]
-pub struct ISteamTV {
- _unused: [u8; 0],
-}
pub const k_iSteamUserCallbacks: _bindgen_ty_1 = _bindgen_ty_1::k_iSteamUserCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_1 {
k_iSteamUserCallbacks = 100,
}
pub const k_iSteamGameServerCallbacks: _bindgen_ty_2 = _bindgen_ty_2::k_iSteamGameServerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_2 {
k_iSteamGameServerCallbacks = 200,
}
pub const k_iSteamFriendsCallbacks: _bindgen_ty_3 = _bindgen_ty_3::k_iSteamFriendsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_3 {
k_iSteamFriendsCallbacks = 300,
}
pub const k_iSteamBillingCallbacks: _bindgen_ty_4 = _bindgen_ty_4::k_iSteamBillingCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_4 {
k_iSteamBillingCallbacks = 400,
}
pub const k_iSteamMatchmakingCallbacks: _bindgen_ty_5 = _bindgen_ty_5::k_iSteamMatchmakingCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_5 {
k_iSteamMatchmakingCallbacks = 500,
}
@@ -2204,49 +2237,49 @@ pub const k_iSteamContentServerCallbacks: _bindgen_ty_6 =
_bindgen_ty_6::k_iSteamContentServerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_6 {
k_iSteamContentServerCallbacks = 600,
}
pub const k_iSteamUtilsCallbacks: _bindgen_ty_7 = _bindgen_ty_7::k_iSteamUtilsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_7 {
k_iSteamUtilsCallbacks = 700,
}
pub const k_iClientFriendsCallbacks: _bindgen_ty_8 = _bindgen_ty_8::k_iClientFriendsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_8 {
k_iClientFriendsCallbacks = 800,
}
pub const k_iClientUserCallbacks: _bindgen_ty_9 = _bindgen_ty_9::k_iClientUserCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_9 {
k_iClientUserCallbacks = 900,
}
pub const k_iSteamAppsCallbacks: _bindgen_ty_10 = _bindgen_ty_10::k_iSteamAppsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_10 {
k_iSteamAppsCallbacks = 1000,
}
pub const k_iSteamUserStatsCallbacks: _bindgen_ty_11 = _bindgen_ty_11::k_iSteamUserStatsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_11 {
k_iSteamUserStatsCallbacks = 1100,
}
pub const k_iSteamNetworkingCallbacks: _bindgen_ty_12 = _bindgen_ty_12::k_iSteamNetworkingCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_12 {
k_iSteamNetworkingCallbacks = 1200,
}
@@ -2254,7 +2287,7 @@ pub const k_iSteamNetworkingSocketsCallbacks: _bindgen_ty_13 =
_bindgen_ty_13::k_iSteamNetworkingSocketsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_13 {
k_iSteamNetworkingSocketsCallbacks = 1220,
}
@@ -2262,7 +2295,7 @@ pub const k_iSteamNetworkingMessagesCallbacks: _bindgen_ty_14 =
_bindgen_ty_14::k_iSteamNetworkingMessagesCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_14 {
k_iSteamNetworkingMessagesCallbacks = 1250,
}
@@ -2270,7 +2303,7 @@ pub const k_iSteamNetworkingUtilsCallbacks: _bindgen_ty_15 =
_bindgen_ty_15::k_iSteamNetworkingUtilsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_15 {
k_iSteamNetworkingUtilsCallbacks = 1280,
}
@@ -2278,7 +2311,7 @@ pub const k_iClientRemoteStorageCallbacks: _bindgen_ty_16 =
_bindgen_ty_16::k_iClientRemoteStorageCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_16 {
k_iClientRemoteStorageCallbacks = 1300,
}
@@ -2286,7 +2319,7 @@ pub const k_iClientDepotBuilderCallbacks: _bindgen_ty_17 =
_bindgen_ty_17::k_iClientDepotBuilderCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_17 {
k_iClientDepotBuilderCallbacks = 1400,
}
@@ -2294,14 +2327,14 @@ pub const k_iSteamGameServerItemsCallbacks: _bindgen_ty_18 =
_bindgen_ty_18::k_iSteamGameServerItemsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_18 {
k_iSteamGameServerItemsCallbacks = 1500,
}
pub const k_iClientUtilsCallbacks: _bindgen_ty_19 = _bindgen_ty_19::k_iClientUtilsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_19 {
k_iClientUtilsCallbacks = 1600,
}
@@ -2309,7 +2342,7 @@ pub const k_iSteamGameCoordinatorCallbacks: _bindgen_ty_20 =
_bindgen_ty_20::k_iSteamGameCoordinatorCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_20 {
k_iSteamGameCoordinatorCallbacks = 1700,
}
@@ -2317,28 +2350,28 @@ pub const k_iSteamGameServerStatsCallbacks: _bindgen_ty_21 =
_bindgen_ty_21::k_iSteamGameServerStatsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_21 {
k_iSteamGameServerStatsCallbacks = 1800,
}
pub const k_iSteam2AsyncCallbacks: _bindgen_ty_22 = _bindgen_ty_22::k_iSteam2AsyncCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_22 {
k_iSteam2AsyncCallbacks = 1900,
}
pub const k_iSteamGameStatsCallbacks: _bindgen_ty_23 = _bindgen_ty_23::k_iSteamGameStatsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_23 {
k_iSteamGameStatsCallbacks = 2000,
}
pub const k_iClientHTTPCallbacks: _bindgen_ty_24 = _bindgen_ty_24::k_iClientHTTPCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_24 {
k_iClientHTTPCallbacks = 2100,
}
@@ -2346,7 +2379,7 @@ pub const k_iClientScreenshotsCallbacks: _bindgen_ty_25 =
_bindgen_ty_25::k_iClientScreenshotsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_25 {
k_iClientScreenshotsCallbacks = 2200,
}
@@ -2354,14 +2387,14 @@ pub const k_iSteamScreenshotsCallbacks: _bindgen_ty_26 =
_bindgen_ty_26::k_iSteamScreenshotsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_26 {
k_iSteamScreenshotsCallbacks = 2300,
}
pub const k_iClientAudioCallbacks: _bindgen_ty_27 = _bindgen_ty_27::k_iClientAudioCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_27 {
k_iClientAudioCallbacks = 2400,
}
@@ -2369,7 +2402,7 @@ pub const k_iClientUnifiedMessagesCallbacks: _bindgen_ty_28 =
_bindgen_ty_28::k_iClientUnifiedMessagesCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_28 {
k_iClientUnifiedMessagesCallbacks = 2500,
}
@@ -2377,7 +2410,7 @@ pub const k_iSteamStreamLauncherCallbacks: _bindgen_ty_29 =
_bindgen_ty_29::k_iSteamStreamLauncherCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_29 {
k_iSteamStreamLauncherCallbacks = 2600,
}
@@ -2385,14 +2418,14 @@ pub const k_iClientControllerCallbacks: _bindgen_ty_30 =
_bindgen_ty_30::k_iClientControllerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_30 {
k_iClientControllerCallbacks = 2700,
}
pub const k_iSteamControllerCallbacks: _bindgen_ty_31 = _bindgen_ty_31::k_iSteamControllerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_31 {
k_iSteamControllerCallbacks = 2800,
}
@@ -2400,7 +2433,7 @@ pub const k_iClientParentalSettingsCallbacks: _bindgen_ty_32 =
_bindgen_ty_32::k_iClientParentalSettingsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_32 {
k_iClientParentalSettingsCallbacks = 2900,
}
@@ -2408,7 +2441,7 @@ pub const k_iClientDeviceAuthCallbacks: _bindgen_ty_33 =
_bindgen_ty_33::k_iClientDeviceAuthCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_33 {
k_iClientDeviceAuthCallbacks = 3000,
}
@@ -2416,14 +2449,14 @@ pub const k_iClientNetworkDeviceManagerCallbacks: _bindgen_ty_34 =
_bindgen_ty_34::k_iClientNetworkDeviceManagerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_34 {
k_iClientNetworkDeviceManagerCallbacks = 3100,
}
pub const k_iClientMusicCallbacks: _bindgen_ty_35 = _bindgen_ty_35::k_iClientMusicCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_35 {
k_iClientMusicCallbacks = 3200,
}
@@ -2431,14 +2464,14 @@ pub const k_iClientRemoteClientManagerCallbacks: _bindgen_ty_36 =
_bindgen_ty_36::k_iClientRemoteClientManagerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_36 {
k_iClientRemoteClientManagerCallbacks = 3300,
}
pub const k_iClientUGCCallbacks: _bindgen_ty_37 = _bindgen_ty_37::k_iClientUGCCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_37 {
k_iClientUGCCallbacks = 3400,
}
@@ -2446,7 +2479,7 @@ pub const k_iSteamStreamClientCallbacks: _bindgen_ty_38 =
_bindgen_ty_38::k_iSteamStreamClientCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_38 {
k_iSteamStreamClientCallbacks = 3500,
}
@@ -2454,14 +2487,14 @@ pub const k_IClientProductBuilderCallbacks: _bindgen_ty_39 =
_bindgen_ty_39::k_IClientProductBuilderCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_39 {
k_IClientProductBuilderCallbacks = 3600,
}
pub const k_iClientShortcutsCallbacks: _bindgen_ty_40 = _bindgen_ty_40::k_iClientShortcutsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_40 {
k_iClientShortcutsCallbacks = 3700,
}
@@ -2469,21 +2502,21 @@ pub const k_iClientRemoteControlManagerCallbacks: _bindgen_ty_41 =
_bindgen_ty_41::k_iClientRemoteControlManagerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_41 {
k_iClientRemoteControlManagerCallbacks = 3800,
}
pub const k_iSteamAppListCallbacks: _bindgen_ty_42 = _bindgen_ty_42::k_iSteamAppListCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_42 {
k_iSteamAppListCallbacks = 3900,
}
pub const k_iSteamMusicCallbacks: _bindgen_ty_43 = _bindgen_ty_43::k_iSteamMusicCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_43 {
k_iSteamMusicCallbacks = 4000,
}
@@ -2491,14 +2524,14 @@ pub const k_iSteamMusicRemoteCallbacks: _bindgen_ty_44 =
_bindgen_ty_44::k_iSteamMusicRemoteCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_44 {
k_iSteamMusicRemoteCallbacks = 4100,
}
pub const k_iClientVRCallbacks: _bindgen_ty_45 = _bindgen_ty_45::k_iClientVRCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_45 {
k_iClientVRCallbacks = 4200,
}
@@ -2506,7 +2539,7 @@ pub const k_iClientGameNotificationCallbacks: _bindgen_ty_46 =
_bindgen_ty_46::k_iClientGameNotificationCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_46 {
k_iClientGameNotificationCallbacks = 4300,
}
@@ -2514,7 +2547,7 @@ pub const k_iSteamGameNotificationCallbacks: _bindgen_ty_47 =
_bindgen_ty_47::k_iSteamGameNotificationCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_47 {
k_iSteamGameNotificationCallbacks = 4400,
}
@@ -2522,21 +2555,21 @@ pub const k_iSteamHTMLSurfaceCallbacks: _bindgen_ty_48 =
_bindgen_ty_48::k_iSteamHTMLSurfaceCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_48 {
k_iSteamHTMLSurfaceCallbacks = 4500,
}
pub const k_iClientVideoCallbacks: _bindgen_ty_49 = _bindgen_ty_49::k_iClientVideoCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_49 {
k_iClientVideoCallbacks = 4600,
}
pub const k_iClientInventoryCallbacks: _bindgen_ty_50 = _bindgen_ty_50::k_iClientInventoryCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_50 {
k_iClientInventoryCallbacks = 4700,
}
@@ -2544,7 +2577,7 @@ pub const k_iClientBluetoothManagerCallbacks: _bindgen_ty_51 =
_bindgen_ty_51::k_iClientBluetoothManagerCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_51 {
k_iClientBluetoothManagerCallbacks = 4800,
}
@@ -2552,7 +2585,7 @@ pub const k_iClientSharedConnectionCallbacks: _bindgen_ty_52 =
_bindgen_ty_52::k_iClientSharedConnectionCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_52 {
k_iClientSharedConnectionCallbacks = 4900,
}
@@ -2560,66 +2593,73 @@ pub const k_ISteamParentalSettingsCallbacks: _bindgen_ty_53 =
_bindgen_ty_53::k_ISteamParentalSettingsCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_53 {
k_ISteamParentalSettingsCallbacks = 5000,
}
pub const k_iClientShaderCallbacks: _bindgen_ty_54 = _bindgen_ty_54::k_iClientShaderCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_54 {
k_iClientShaderCallbacks = 5100,
}
pub const k_iSteamGameSearchCallbacks: _bindgen_ty_55 = _bindgen_ty_55::k_iSteamGameSearchCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_55 {
k_iSteamGameSearchCallbacks = 5200,
}
pub const k_iSteamPartiesCallbacks: _bindgen_ty_56 = _bindgen_ty_56::k_iSteamPartiesCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_56 {
k_iSteamPartiesCallbacks = 5300,
}
pub const k_iClientPartiesCallbacks: _bindgen_ty_57 = _bindgen_ty_57::k_iClientPartiesCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_57 {
k_iClientPartiesCallbacks = 5400,
}
pub const k_iSteamSTARCallbacks: _bindgen_ty_58 = _bindgen_ty_58::k_iSteamSTARCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_58 {
k_iSteamSTARCallbacks = 5500,
}
pub const k_iClientSTARCallbacks: _bindgen_ty_59 = _bindgen_ty_59::k_iClientSTARCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_59 {
k_iClientSTARCallbacks = 5600,
}
pub const k_iSteamRemotePlayCallbacks: _bindgen_ty_60 = _bindgen_ty_60::k_iSteamRemotePlayCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_60 {
k_iSteamRemotePlayCallbacks = 5700,
}
pub const k_iClientCompatCallbacks: _bindgen_ty_61 = _bindgen_ty_61::k_iClientCompatCallbacks;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum _bindgen_ty_61 {
k_iClientCompatCallbacks = 5800,
}
+pub const k_iSteamChatCallbacks: _bindgen_ty_62 = _bindgen_ty_62::k_iSteamChatCallbacks;
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_62 {
+ k_iSteamChatCallbacks = 5900,
+}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct CSteamAPIContext {
@@ -2644,7 +2684,6 @@ pub struct CSteamAPIContext {
pub m_pSteamHTMLSurface: *mut ISteamHTMLSurface,
pub m_pSteamInventory: *mut ISteamInventory,
pub m_pSteamVideo: *mut ISteamVideo,
- pub m_pSteamTV: *mut ISteamTV,
pub m_pSteamParentalSettings: *mut ISteamParentalSettings,
pub m_pSteamInput: *mut ISteamInput,
}
@@ -2652,7 +2691,7 @@ pub struct CSteamAPIContext {
fn bindgen_test_layout_CSteamAPIContext() {
assert_eq!(
::std::mem::size_of::<CSteamAPIContext>(),
- 192usize,
+ 184usize,
concat!("Size of: ", stringify!(CSteamAPIContext))
);
assert_eq!(
@@ -2896,21 +2935,11 @@ fn bindgen_test_layout_CSteamAPIContext() {
)
);
assert_eq!(
- unsafe { &(*(::std::ptr::null::<CSteamAPIContext>())).m_pSteamTV as *const _ as usize },
- 168usize,
- concat!(
- "Offset of field: ",
- stringify!(CSteamAPIContext),
- "::",
- stringify!(m_pSteamTV)
- )
- );
- assert_eq!(
unsafe {
&(*(::std::ptr::null::<CSteamAPIContext>())).m_pSteamParentalSettings as *const _
as usize
},
- 176usize,
+ 168usize,
concat!(
"Offset of field: ",
stringify!(CSteamAPIContext),
@@ -2920,7 +2949,7 @@ fn bindgen_test_layout_CSteamAPIContext() {
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<CSteamAPIContext>())).m_pSteamInput as *const _ as usize },
- 184usize,
+ 176usize,
concat!(
"Offset of field: ",
stringify!(CSteamAPIContext),
@@ -3118,7 +3147,7 @@ pub const SteamServersConnected_t_k_iCallback: SteamServersConnected_t__bindgen_
SteamServersConnected_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamServersConnected_t__bindgen_ty_1 {
k_iCallback = 101,
}
@@ -3145,7 +3174,7 @@ pub const SteamServerConnectFailure_t_k_iCallback: SteamServerConnectFailure_t__
SteamServerConnectFailure_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamServerConnectFailure_t__bindgen_ty_1 {
k_iCallback = 102,
}
@@ -3196,7 +3225,7 @@ pub const SteamServersDisconnected_t_k_iCallback: SteamServersDisconnected_t__bi
SteamServersDisconnected_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamServersDisconnected_t__bindgen_ty_1 {
k_iCallback = 103,
}
@@ -3238,7 +3267,7 @@ pub const ClientGameServerDeny_t_k_iCallback: ClientGameServerDeny_t__bindgen_ty
ClientGameServerDeny_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ClientGameServerDeny_t__bindgen_ty_1 {
k_iCallback = 113,
}
@@ -3323,13 +3352,13 @@ pub const IPCFailure_t_k_iCallback: IPCFailure_t__bindgen_ty_1 =
IPCFailure_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IPCFailure_t__bindgen_ty_1 {
k_iCallback = 117,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IPCFailure_t_EFailureType {
k_EFailureFlushedCallbackQueue = 0,
k_EFailurePipeFail = 1,
@@ -3366,7 +3395,7 @@ pub const LicensesUpdated_t_k_iCallback: LicensesUpdated_t__bindgen_ty_1 =
LicensesUpdated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LicensesUpdated_t__bindgen_ty_1 {
k_iCallback = 125,
}
@@ -3394,7 +3423,7 @@ pub const ValidateAuthTicketResponse_t_k_iCallback: ValidateAuthTicketResponse_t
ValidateAuthTicketResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ValidateAuthTicketResponse_t__bindgen_ty_1 {
k_iCallback = 143,
}
@@ -3461,7 +3490,7 @@ pub const MicroTxnAuthorizationResponse_t_k_iCallback:
MicroTxnAuthorizationResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MicroTxnAuthorizationResponse_t__bindgen_ty_1 {
k_iCallback = 152,
}
@@ -3526,7 +3555,7 @@ pub const EncryptedAppTicketResponse_t_k_iCallback: EncryptedAppTicketResponse_t
EncryptedAppTicketResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EncryptedAppTicketResponse_t__bindgen_ty_1 {
k_iCallback = 154,
}
@@ -3565,7 +3594,7 @@ pub const GetAuthSessionTicketResponse_t_k_iCallback: GetAuthSessionTicketRespon
GetAuthSessionTicketResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GetAuthSessionTicketResponse_t__bindgen_ty_1 {
k_iCallback = 163,
}
@@ -3617,7 +3646,7 @@ pub const GameWebCallback_t_k_iCallback: GameWebCallback_t__bindgen_ty_1 =
GameWebCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameWebCallback_t__bindgen_ty_1 {
k_iCallback = 164,
}
@@ -3653,7 +3682,7 @@ pub const StoreAuthURLResponse_t_k_iCallback: StoreAuthURLResponse_t__bindgen_ty
StoreAuthURLResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum StoreAuthURLResponse_t__bindgen_ty_1 {
k_iCallback = 165,
}
@@ -3693,7 +3722,7 @@ pub const MarketEligibilityResponse_t_k_iCallback: MarketEligibilityResponse_t__
MarketEligibilityResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MarketEligibilityResponse_t__bindgen_ty_1 {
k_iCallback = 166,
}
@@ -3790,7 +3819,7 @@ pub const DurationControl_t_k_iCallback: DurationControl_t__bindgen_ty_1 =
DurationControl_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum DurationControl_t__bindgen_ty_1 {
k_iCallback = 167,
}
@@ -3893,7 +3922,7 @@ fn bindgen_test_layout_DurationControl_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EFriendRelationship {
k_EFriendRelationshipNone = 0,
k_EFriendRelationshipBlocked = 1,
@@ -3912,7 +3941,7 @@ pub const k_FriendsGroupID_Invalid: FriendsGroupID_t = -1;
pub const k_cEnumerateFollowersMax: ::std::os::raw::c_int = 50;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EPersonaState {
k_EPersonaStateOffline = 0,
k_EPersonaStateOnline = 1,
@@ -3926,7 +3955,7 @@ pub enum EPersonaState {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EFriendFlags {
k_EFriendFlagNone = 0,
k_EFriendFlagBlocked = 1,
@@ -4013,18 +4042,18 @@ fn bindgen_test_layout_FriendGameInfo_t() {
)
);
}
-pub const k_cchPersonaNameMax: _bindgen_ty_62 = _bindgen_ty_62::k_cchPersonaNameMax;
-pub const k_cwchPersonaNameMax: _bindgen_ty_62 = _bindgen_ty_62::k_cwchPersonaNameMax;
+pub const k_cchPersonaNameMax: _bindgen_ty_63 = _bindgen_ty_63::k_cchPersonaNameMax;
+pub const k_cwchPersonaNameMax: _bindgen_ty_63 = _bindgen_ty_63::k_cwchPersonaNameMax;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_62 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_63 {
k_cchPersonaNameMax = 128,
k_cwchPersonaNameMax = 32,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUserRestriction {
k_nUserRestrictionNone = 0,
k_nUserRestrictionUnknown = 1,
@@ -4035,78 +4064,33 @@ pub enum EUserRestriction {
k_nUserRestrictionGameInvites = 32,
k_nUserRestrictionTrading = 64,
}
-#[repr(C)]
-#[derive(Debug, Copy, Clone)]
-pub struct FriendSessionStateInfo_t {
- pub m_uiOnlineSessionInstances: uint32,
- pub m_uiPublishedToFriendsSessionInstance: uint8,
-}
-#[test]
-fn bindgen_test_layout_FriendSessionStateInfo_t() {
- assert_eq!(
- ::std::mem::size_of::<FriendSessionStateInfo_t>(),
- 8usize,
- concat!("Size of: ", stringify!(FriendSessionStateInfo_t))
- );
- assert_eq!(
- ::std::mem::align_of::<FriendSessionStateInfo_t>(),
- 4usize,
- concat!("Alignment of ", stringify!(FriendSessionStateInfo_t))
- );
- assert_eq!(
- unsafe {
- &(*(::std::ptr::null::<FriendSessionStateInfo_t>())).m_uiOnlineSessionInstances
- as *const _ as usize
- },
- 0usize,
- concat!(
- "Offset of field: ",
- stringify!(FriendSessionStateInfo_t),
- "::",
- stringify!(m_uiOnlineSessionInstances)
- )
- );
- assert_eq!(
- unsafe {
- &(*(::std::ptr::null::<FriendSessionStateInfo_t>()))
- .m_uiPublishedToFriendsSessionInstance as *const _ as usize
- },
- 4usize,
- concat!(
- "Offset of field: ",
- stringify!(FriendSessionStateInfo_t),
- "::",
- stringify!(m_uiPublishedToFriendsSessionInstance)
- )
- );
-}
pub const k_cubChatMetadataMax: uint32 = 8192;
-pub const k_cchMaxRichPresenceKeys: _bindgen_ty_63 = _bindgen_ty_63::k_cchMaxRichPresenceKeys;
+pub const k_cchMaxRichPresenceKeys: _bindgen_ty_64 = _bindgen_ty_64::k_cchMaxRichPresenceKeys;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_63 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_64 {
k_cchMaxRichPresenceKeys = 30,
}
-pub const k_cchMaxRichPresenceKeyLength: _bindgen_ty_64 =
- _bindgen_ty_64::k_cchMaxRichPresenceKeyLength;
+pub const k_cchMaxRichPresenceKeyLength: _bindgen_ty_65 =
+ _bindgen_ty_65::k_cchMaxRichPresenceKeyLength;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_64 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_65 {
k_cchMaxRichPresenceKeyLength = 64,
}
-pub const k_cchMaxRichPresenceValueLength: _bindgen_ty_65 =
- _bindgen_ty_65::k_cchMaxRichPresenceValueLength;
+pub const k_cchMaxRichPresenceValueLength: _bindgen_ty_66 =
+ _bindgen_ty_66::k_cchMaxRichPresenceValueLength;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_65 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_66 {
k_cchMaxRichPresenceValueLength = 256,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EOverlayToStoreFlag {
k_EOverlayToStoreFlag_None = 0,
k_EOverlayToStoreFlag_AddToCart = 1,
@@ -4114,7 +4098,7 @@ pub enum EOverlayToStoreFlag {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EActivateGameOverlayToWebPageMode {
k_EActivateGameOverlayToWebPageMode_Default = 0,
k_EActivateGameOverlayToWebPageMode_Modal = 1,
@@ -4149,7 +4133,7 @@ pub const PersonaStateChange_t_k_iCallback: PersonaStateChange_t__bindgen_ty_1 =
PersonaStateChange_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum PersonaStateChange_t__bindgen_ty_1 {
k_iCallback = 304,
}
@@ -4192,7 +4176,7 @@ fn bindgen_test_layout_PersonaStateChange_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EPersonaChange {
k_EPersonaChangeName = 1,
k_EPersonaChangeStatus = 2,
@@ -4219,7 +4203,7 @@ pub const GameOverlayActivated_t_k_iCallback: GameOverlayActivated_t__bindgen_ty
GameOverlayActivated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameOverlayActivated_t__bindgen_ty_1 {
k_iCallback = 331,
}
@@ -4258,7 +4242,7 @@ pub const GameServerChangeRequested_t_k_iCallback: GameServerChangeRequested_t__
GameServerChangeRequested_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameServerChangeRequested_t__bindgen_ty_1 {
k_iCallback = 332,
}
@@ -4311,7 +4295,7 @@ pub const GameLobbyJoinRequested_t_k_iCallback: GameLobbyJoinRequested_t__bindge
GameLobbyJoinRequested_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameLobbyJoinRequested_t__bindgen_ty_1 {
k_iCallback = 333,
}
@@ -4365,7 +4349,7 @@ pub const AvatarImageLoaded_t_k_iCallback: AvatarImageLoaded_t__bindgen_ty_1 =
AvatarImageLoaded_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AvatarImageLoaded_t__bindgen_ty_1 {
k_iCallback = 334,
}
@@ -4433,7 +4417,7 @@ pub const ClanOfficerListResponse_t_k_iCallback: ClanOfficerListResponse_t__bind
ClanOfficerListResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ClanOfficerListResponse_t__bindgen_ty_1 {
k_iCallback = 335,
}
@@ -4496,7 +4480,7 @@ pub const FriendRichPresenceUpdate_t_k_iCallback: FriendRichPresenceUpdate_t__bi
FriendRichPresenceUpdate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FriendRichPresenceUpdate_t__bindgen_ty_1 {
k_iCallback = 336,
}
@@ -4549,7 +4533,7 @@ pub const GameRichPresenceJoinRequested_t_k_iCallback:
GameRichPresenceJoinRequested_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameRichPresenceJoinRequested_t__bindgen_ty_1 {
k_iCallback = 337,
}
@@ -4603,7 +4587,7 @@ pub const GameConnectedClanChatMsg_t_k_iCallback: GameConnectedClanChatMsg_t__bi
GameConnectedClanChatMsg_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameConnectedClanChatMsg_t__bindgen_ty_1 {
k_iCallback = 338,
}
@@ -4668,7 +4652,7 @@ pub const GameConnectedChatJoin_t_k_iCallback: GameConnectedChatJoin_t__bindgen_
GameConnectedChatJoin_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameConnectedChatJoin_t__bindgen_ty_1 {
k_iCallback = 339,
}
@@ -4722,7 +4706,7 @@ pub const GameConnectedChatLeave_t_k_iCallback: GameConnectedChatLeave_t__bindge
GameConnectedChatLeave_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameConnectedChatLeave_t__bindgen_ty_1 {
k_iCallback = 340,
}
@@ -4798,7 +4782,7 @@ pub const DownloadClanActivityCountsResult_t_k_iCallback:
DownloadClanActivityCountsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum DownloadClanActivityCountsResult_t__bindgen_ty_1 {
k_iCallback = 341,
}
@@ -4842,7 +4826,7 @@ pub const JoinClanChatRoomCompletionResult_t_k_iCallback:
JoinClanChatRoomCompletionResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum JoinClanChatRoomCompletionResult_t__bindgen_ty_1 {
k_iCallback = 342,
}
@@ -4898,7 +4882,7 @@ pub const GameConnectedFriendChatMsg_t_k_iCallback: GameConnectedFriendChatMsg_t
GameConnectedFriendChatMsg_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GameConnectedFriendChatMsg_t__bindgen_ty_1 {
k_iCallback = 343,
}
@@ -4952,7 +4936,7 @@ pub const FriendsGetFollowerCount_t_k_iCallback: FriendsGetFollowerCount_t__bind
FriendsGetFollowerCount_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FriendsGetFollowerCount_t__bindgen_ty_1 {
k_iCallback = 344,
}
@@ -5016,7 +5000,7 @@ pub const FriendsIsFollowing_t_k_iCallback: FriendsIsFollowing_t__bindgen_ty_1 =
FriendsIsFollowing_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FriendsIsFollowing_t__bindgen_ty_1 {
k_iCallback = 345,
}
@@ -5078,7 +5062,7 @@ pub const FriendsEnumerateFollowingList_t_k_iCallback:
FriendsEnumerateFollowingList_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FriendsEnumerateFollowingList_t__bindgen_ty_1 {
k_iCallback = 346,
}
@@ -5158,7 +5142,7 @@ pub const SetPersonaNameResponse_t_k_iCallback: SetPersonaNameResponse_t__bindge
SetPersonaNameResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SetPersonaNameResponse_t__bindgen_ty_1 {
k_iCallback = 347,
}
@@ -5221,7 +5205,7 @@ pub const UnreadChatMessagesChanged_t_k_iCallback: UnreadChatMessagesChanged_t__
UnreadChatMessagesChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UnreadChatMessagesChanged_t__bindgen_ty_1 {
k_iCallback = 348,
}
@@ -5238,9 +5222,52 @@ fn bindgen_test_layout_UnreadChatMessagesChanged_t() {
concat!("Alignment of ", stringify!(UnreadChatMessagesChanged_t))
);
}
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct OverlayBrowserProtocolNavigation_t {
+ pub rgchURI: [::std::os::raw::c_char; 1024usize],
+}
+pub const OverlayBrowserProtocolNavigation_t_k_iCallback:
+ OverlayBrowserProtocolNavigation_t__bindgen_ty_1 =
+ OverlayBrowserProtocolNavigation_t__bindgen_ty_1::k_iCallback;
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum OverlayBrowserProtocolNavigation_t__bindgen_ty_1 {
+ k_iCallback = 349,
+}
+#[test]
+fn bindgen_test_layout_OverlayBrowserProtocolNavigation_t() {
+ assert_eq!(
+ ::std::mem::size_of::<OverlayBrowserProtocolNavigation_t>(),
+ 1024usize,
+ concat!("Size of: ", stringify!(OverlayBrowserProtocolNavigation_t))
+ );
+ assert_eq!(
+ ::std::mem::align_of::<OverlayBrowserProtocolNavigation_t>(),
+ 1usize,
+ concat!(
+ "Alignment of ",
+ stringify!(OverlayBrowserProtocolNavigation_t)
+ )
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<OverlayBrowserProtocolNavigation_t>())).rgchURI as *const _
+ as usize
+ },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(OverlayBrowserProtocolNavigation_t),
+ "::",
+ stringify!(rgchURI)
+ )
+ );
+}
#[repr(i32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamAPICallFailure {
k_ESteamAPICallFailureNone = -1,
k_ESteamAPICallFailureSteamGone = 0,
@@ -5250,18 +5277,27 @@ pub enum ESteamAPICallFailure {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EGamepadTextInputMode {
k_EGamepadTextInputModeNormal = 0,
k_EGamepadTextInputModePassword = 1,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EGamepadTextInputLineMode {
k_EGamepadTextInputLineModeSingleLine = 0,
k_EGamepadTextInputLineModeMultipleLines = 1,
}
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum ETextFilteringContext {
+ k_ETextFilteringContextUnknown = 0,
+ k_ETextFilteringContextGameContent = 1,
+ k_ETextFilteringContextChat = 2,
+ k_ETextFilteringContextName = 3,
+}
#[repr(C)]
pub struct ISteamUtils__bindgen_vtable(::std::os::raw::c_void);
#[repr(C)]
@@ -5291,7 +5327,7 @@ pub const IPCountry_t_k_iCallback: IPCountry_t__bindgen_ty_1 =
IPCountry_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IPCountry_t__bindgen_ty_1 {
k_iCallback = 701,
}
@@ -5317,7 +5353,7 @@ pub const LowBatteryPower_t_k_iCallback: LowBatteryPower_t__bindgen_ty_1 =
LowBatteryPower_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LowBatteryPower_t__bindgen_ty_1 {
k_iCallback = 702,
}
@@ -5357,7 +5393,7 @@ pub const SteamAPICallCompleted_t_k_iCallback: SteamAPICallCompleted_t__bindgen_
SteamAPICallCompleted_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamAPICallCompleted_t__bindgen_ty_1 {
k_iCallback = 703,
}
@@ -5419,7 +5455,7 @@ pub const SteamShutdown_t_k_iCallback: SteamShutdown_t__bindgen_ty_1 =
SteamShutdown_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamShutdown_t__bindgen_ty_1 {
k_iCallback = 704,
}
@@ -5438,7 +5474,7 @@ fn bindgen_test_layout_SteamShutdown_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ECheckFileSignature {
k_ECheckFileSignatureInvalidSignature = 0,
k_ECheckFileSignatureValidSignature = 1,
@@ -5455,7 +5491,7 @@ pub const CheckFileSignature_t_k_iCallback: CheckFileSignature_t__bindgen_ty_1 =
CheckFileSignature_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum CheckFileSignature_t__bindgen_ty_1 {
k_iCallback = 705,
}
@@ -5495,7 +5531,7 @@ pub const GamepadTextInputDismissed_t_k_iCallback: GamepadTextInputDismissed_t__
GamepadTextInputDismissed_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GamepadTextInputDismissed_t__bindgen_ty_1 {
k_iCallback = 714,
}
@@ -5609,6 +5645,7 @@ pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
+pub type __suseconds64_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
@@ -6472,6 +6509,10 @@ extern "C" {
...
) -> ::std::os::raw::c_int;
}
+pub type _Float32 = f32;
+pub type _Float64 = f64;
+pub type _Float32x = f64;
+pub type _Float64x = u128;
extern "C" {
#[link_name = "\u{1}__isoc99_fscanf"]
pub fn fscanf1(
@@ -6729,18 +6770,6 @@ extern "C" {
pub fn perror(__s: *const ::std::os::raw::c_char);
}
extern "C" {
- pub static mut sys_nerr: ::std::os::raw::c_int;
-}
-extern "C" {
- pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize];
-}
-extern "C" {
- pub static mut _sys_nerr: ::std::os::raw::c_int;
-}
-extern "C" {
- pub static mut _sys_errlist: [*const ::std::os::raw::c_char; 0usize];
-}
-extern "C" {
pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
@@ -6851,7 +6880,7 @@ fn bindgen_test_layout_MatchMakingKeyValuePair_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EMatchMakingServerResponse {
eServerResponded = 0,
eServerFailedToRespond = 1,
@@ -7275,7 +7304,7 @@ impl gameserveritem_t {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELobbyType {
k_ELobbyTypePrivate = 0,
k_ELobbyTypeFriendsOnly = 1,
@@ -7285,7 +7314,7 @@ pub enum ELobbyType {
}
#[repr(i32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELobbyComparison {
k_ELobbyComparisonEqualToOrLessThan = -2,
k_ELobbyComparisonLessThan = -1,
@@ -7296,7 +7325,7 @@ pub enum ELobbyComparison {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELobbyDistanceFilter {
k_ELobbyDistanceFilterClose = 0,
k_ELobbyDistanceFilterDefault = 1,
@@ -7437,7 +7466,7 @@ pub const k_unFavoriteFlagFavorite: uint32 = 1;
pub const k_unFavoriteFlagHistory: uint32 = 2;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EChatMemberStateChange {
k_EChatMemberStateChangeEntered = 1,
k_EChatMemberStateChangeLeft = 2,
@@ -7467,7 +7496,7 @@ fn bindgen_test_layout_ISteamGameSearch() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamPartyBeaconLocationType {
k_ESteamPartyBeaconLocationType_Invalid = 0,
k_ESteamPartyBeaconLocationType_ChatGroup = 1,
@@ -7519,7 +7548,7 @@ fn bindgen_test_layout_SteamPartyBeaconLocation_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamPartyBeaconLocationData {
k_ESteamPartyBeaconLocationDataInvalid = 0,
k_ESteamPartyBeaconLocationDataName = 1,
@@ -7562,7 +7591,7 @@ pub const FavoritesListChanged_t_k_iCallback: FavoritesListChanged_t__bindgen_ty
FavoritesListChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FavoritesListChanged_t__bindgen_ty_1 {
k_iCallback = 502,
}
@@ -7666,7 +7695,7 @@ pub const LobbyInvite_t_k_iCallback: LobbyInvite_t__bindgen_ty_1 =
LobbyInvite_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyInvite_t__bindgen_ty_1 {
k_iCallback = 503,
}
@@ -7725,7 +7754,7 @@ pub const LobbyEnter_t_k_iCallback: LobbyEnter_t__bindgen_ty_1 =
LobbyEnter_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyEnter_t__bindgen_ty_1 {
k_iCallback = 504,
}
@@ -7797,7 +7826,7 @@ pub const LobbyDataUpdate_t_k_iCallback: LobbyDataUpdate_t__bindgen_ty_1 =
LobbyDataUpdate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyDataUpdate_t__bindgen_ty_1 {
k_iCallback = 505,
}
@@ -7860,7 +7889,7 @@ pub const LobbyChatUpdate_t_k_iCallback: LobbyChatUpdate_t__bindgen_ty_1 =
LobbyChatUpdate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyChatUpdate_t__bindgen_ty_1 {
k_iCallback = 506,
}
@@ -7940,7 +7969,7 @@ pub const LobbyChatMsg_t_k_iCallback: LobbyChatMsg_t__bindgen_ty_1 =
LobbyChatMsg_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyChatMsg_t__bindgen_ty_1 {
k_iCallback = 507,
}
@@ -8009,7 +8038,7 @@ pub const LobbyGameCreated_t_k_iCallback: LobbyGameCreated_t__bindgen_ty_1 =
LobbyGameCreated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyGameCreated_t__bindgen_ty_1 {
k_iCallback = 509,
}
@@ -8080,7 +8109,7 @@ pub const LobbyMatchList_t_k_iCallback: LobbyMatchList_t__bindgen_ty_1 =
LobbyMatchList_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyMatchList_t__bindgen_ty_1 {
k_iCallback = 510,
}
@@ -8120,7 +8149,7 @@ pub const LobbyKicked_t_k_iCallback: LobbyKicked_t__bindgen_ty_1 =
LobbyKicked_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyKicked_t__bindgen_ty_1 {
k_iCallback = 512,
}
@@ -8179,7 +8208,7 @@ pub const LobbyCreated_t_k_iCallback: LobbyCreated_t__bindgen_ty_1 =
LobbyCreated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LobbyCreated_t__bindgen_ty_1 {
k_iCallback = 513,
}
@@ -8226,7 +8255,7 @@ pub const PSNGameBootInviteResult_t_k_iCallback: PSNGameBootInviteResult_t__bind
PSNGameBootInviteResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum PSNGameBootInviteResult_t__bindgen_ty_1 {
k_iCallback = 515,
}
@@ -8278,7 +8307,7 @@ pub const FavoritesListAccountsUpdated_t_k_iCallback: FavoritesListAccountsUpdat
FavoritesListAccountsUpdated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FavoritesListAccountsUpdated_t__bindgen_ty_1 {
k_iCallback = 516,
}
@@ -8323,7 +8352,7 @@ pub const SearchForGameProgressCallback_t_k_iCallback:
SearchForGameProgressCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SearchForGameProgressCallback_t__bindgen_ty_1 {
k_iCallback = 5201,
}
@@ -8432,7 +8461,7 @@ pub const SearchForGameResultCallback_t_k_iCallback: SearchForGameResultCallback
SearchForGameResultCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SearchForGameResultCallback_t__bindgen_ty_1 {
k_iCallback = 5202,
}
@@ -8537,7 +8566,7 @@ pub const RequestPlayersForGameProgressCallback_t_k_iCallback:
RequestPlayersForGameProgressCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RequestPlayersForGameProgressCallback_t__bindgen_ty_1 {
k_iCallback = 5211,
}
@@ -8605,13 +8634,13 @@ pub const RequestPlayersForGameResultCallback_t_k_iCallback:
RequestPlayersForGameResultCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RequestPlayersForGameResultCallback_t__bindgen_ty_1 {
k_iCallback = 5212,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RequestPlayersForGameResultCallback_t_PlayerAcceptState_t {
k_EStateUnknown = 0,
k_EStatePlayerAccepted = 1,
@@ -8778,7 +8807,7 @@ pub const RequestPlayersForGameFinalResultCallback_t_k_iCallback:
RequestPlayersForGameFinalResultCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RequestPlayersForGameFinalResultCallback_t__bindgen_ty_1 {
k_iCallback = 5213,
}
@@ -8852,7 +8881,7 @@ pub const SubmitPlayerResultResultCallback_t_k_iCallback:
SubmitPlayerResultResultCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SubmitPlayerResultResultCallback_t__bindgen_ty_1 {
k_iCallback = 5214,
}
@@ -8921,7 +8950,7 @@ pub const EndGameResultCallback_t_k_iCallback: EndGameResultCallback_t__bindgen_
EndGameResultCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EndGameResultCallback_t__bindgen_ty_1 {
k_iCallback = 5215,
}
@@ -8974,7 +9003,7 @@ pub const JoinPartyCallback_t_k_iCallback: JoinPartyCallback_t__bindgen_ty_1 =
JoinPartyCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum JoinPartyCallback_t__bindgen_ty_1 {
k_iCallback = 5301,
}
@@ -9048,7 +9077,7 @@ pub const CreateBeaconCallback_t_k_iCallback: CreateBeaconCallback_t__bindgen_ty
CreateBeaconCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum CreateBeaconCallback_t__bindgen_ty_1 {
k_iCallback = 5302,
}
@@ -9100,7 +9129,7 @@ pub const ReservationNotificationCallback_t_k_iCallback:
ReservationNotificationCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ReservationNotificationCallback_t__bindgen_ty_1 {
k_iCallback = 5303,
}
@@ -9155,7 +9184,7 @@ pub const ChangeNumOpenSlotsCallback_t_k_iCallback: ChangeNumOpenSlotsCallback_t
ChangeNumOpenSlotsCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ChangeNumOpenSlotsCallback_t__bindgen_ty_1 {
k_iCallback = 5304,
}
@@ -9194,7 +9223,7 @@ pub const AvailableBeaconLocationsUpdated_t_k_iCallback:
AvailableBeaconLocationsUpdated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AvailableBeaconLocationsUpdated_t__bindgen_ty_1 {
k_iCallback = 5305,
}
@@ -9223,7 +9252,7 @@ pub const ActiveBeaconsUpdated_t_k_iCallback: ActiveBeaconsUpdated_t__bindgen_ty
ActiveBeaconsUpdated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ActiveBeaconsUpdated_t__bindgen_ty_1 {
k_iCallback = 5306,
}
@@ -9301,7 +9330,7 @@ pub const k_cchFilenameMax: uint32 = 260;
pub const k_cchPublishedFileURLMax: uint32 = 256;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ERemoteStoragePlatform {
k_ERemoteStoragePlatformNone = 0,
k_ERemoteStoragePlatformWindows = 1,
@@ -9315,7 +9344,7 @@ pub enum ERemoteStoragePlatform {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ERemoteStoragePublishedFileVisibility {
k_ERemoteStoragePublishedFileVisibilityPublic = 0,
k_ERemoteStoragePublishedFileVisibilityFriendsOnly = 1,
@@ -9328,7 +9357,7 @@ impl EWorkshopFileType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EWorkshopFileType {
k_EWorkshopFileTypeFirst = 0,
k_EWorkshopFileTypeMicrotransaction = 1,
@@ -9350,7 +9379,7 @@ pub enum EWorkshopFileType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EWorkshopVote {
k_EWorkshopVoteUnvoted = 0,
k_EWorkshopVoteFor = 1,
@@ -9359,14 +9388,14 @@ pub enum EWorkshopVote {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EWorkshopFileAction {
k_EWorkshopFileActionPlayed = 0,
k_EWorkshopFileActionCompleted = 1,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EWorkshopEnumerationType {
k_EWorkshopEnumerationTypeRankedByVote = 0,
k_EWorkshopEnumerationTypeRecent = 1,
@@ -9378,14 +9407,14 @@ pub enum EWorkshopEnumerationType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EWorkshopVideoProvider {
k_EWorkshopVideoProviderNone = 0,
k_EWorkshopVideoProviderYoutube = 1,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUGCReadAction {
k_EUGCRead_ContinueReadingUntilFinished = 0,
k_EUGCRead_ContinueReading = 1,
@@ -9422,7 +9451,7 @@ pub const RemoteStorageAppSyncedClient_t_k_iCallback: RemoteStorageAppSyncedClie
RemoteStorageAppSyncedClient_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageAppSyncedClient_t__bindgen_ty_1 {
k_iCallback = 1301,
}
@@ -9488,7 +9517,7 @@ pub const RemoteStorageAppSyncedServer_t_k_iCallback: RemoteStorageAppSyncedServ
RemoteStorageAppSyncedServer_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageAppSyncedServer_t__bindgen_ty_1 {
k_iCallback = 1302,
}
@@ -9556,7 +9585,7 @@ pub const RemoteStorageAppSyncProgress_t_k_iCallback: RemoteStorageAppSyncProgre
RemoteStorageAppSyncProgress_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageAppSyncProgress_t__bindgen_ty_1 {
k_iCallback = 1303,
}
@@ -9648,7 +9677,7 @@ pub const RemoteStorageAppSyncStatusCheck_t_k_iCallback:
RemoteStorageAppSyncStatusCheck_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageAppSyncStatusCheck_t__bindgen_ty_1 {
k_iCallback = 1305,
}
@@ -9705,7 +9734,7 @@ pub const RemoteStorageFileShareResult_t_k_iCallback: RemoteStorageFileShareResu
RemoteStorageFileShareResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageFileShareResult_t__bindgen_ty_1 {
k_iCallback = 1307,
}
@@ -9772,7 +9801,7 @@ pub const RemoteStoragePublishFileResult_t_k_iCallback:
RemoteStoragePublishFileResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishFileResult_t__bindgen_ty_1 {
k_iCallback = 1309,
}
@@ -9842,7 +9871,7 @@ pub const RemoteStorageDeletePublishedFileResult_t_k_iCallback:
RemoteStorageDeletePublishedFileResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageDeletePublishedFileResult_t__bindgen_ty_1 {
k_iCallback = 1311,
}
@@ -9904,7 +9933,7 @@ pub const RemoteStorageEnumerateUserPublishedFilesResult_t_k_iCallback:
RemoteStorageEnumerateUserPublishedFilesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageEnumerateUserPublishedFilesResult_t__bindgen_ty_1 {
k_iCallback = 1312,
}
@@ -9990,7 +10019,7 @@ pub const RemoteStorageSubscribePublishedFileResult_t_k_iCallback:
RemoteStorageSubscribePublishedFileResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageSubscribePublishedFileResult_t__bindgen_ty_1 {
k_iCallback = 1313,
}
@@ -10053,7 +10082,7 @@ pub const RemoteStorageEnumerateUserSubscribedFilesResult_t_k_iCallback:
RemoteStorageEnumerateUserSubscribedFilesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageEnumerateUserSubscribedFilesResult_t__bindgen_ty_1 {
k_iCallback = 1314,
}
@@ -10152,7 +10181,7 @@ pub const RemoteStorageUnsubscribePublishedFileResult_t_k_iCallback:
RemoteStorageUnsubscribePublishedFileResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageUnsubscribePublishedFileResult_t__bindgen_ty_1 {
k_iCallback = 1315,
}
@@ -10213,7 +10242,7 @@ pub const RemoteStorageUpdatePublishedFileResult_t_k_iCallback:
RemoteStorageUpdatePublishedFileResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageUpdatePublishedFileResult_t__bindgen_ty_1 {
k_iCallback = 1316,
}
@@ -10290,7 +10319,7 @@ pub const RemoteStorageDownloadUGCResult_t_k_iCallback:
RemoteStorageDownloadUGCResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageDownloadUGCResult_t__bindgen_ty_1 {
k_iCallback = 1317,
}
@@ -10412,14 +10441,13 @@ pub struct RemoteStorageGetPublishedFileDetailsResult_t {
pub m_rgchURL: [::std::os::raw::c_char; 256usize],
pub m_eFileType: EWorkshopFileType,
pub m_bAcceptedForUse: bool,
- pub __bindgen_padding_0: [u8; 7usize],
}
pub const RemoteStorageGetPublishedFileDetailsResult_t_k_iCallback:
RemoteStorageGetPublishedFileDetailsResult_t__bindgen_ty_1 =
RemoteStorageGetPublishedFileDetailsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageGetPublishedFileDetailsResult_t__bindgen_ty_1 {
k_iCallback = 1318,
}
@@ -10731,7 +10759,7 @@ pub const RemoteStorageEnumerateWorkshopFilesResult_t_k_iCallback:
RemoteStorageEnumerateWorkshopFilesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageEnumerateWorkshopFilesResult_t__bindgen_ty_1 {
k_iCallback = 1319,
}
@@ -10860,7 +10888,7 @@ pub const RemoteStorageGetPublishedItemVoteDetailsResult_t_k_iCallback:
RemoteStorageGetPublishedItemVoteDetailsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageGetPublishedItemVoteDetailsResult_t__bindgen_ty_1 {
k_iCallback = 1320,
}
@@ -10972,7 +11000,7 @@ pub const RemoteStoragePublishedFileSubscribed_t_k_iCallback:
RemoteStoragePublishedFileSubscribed_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishedFileSubscribed_t__bindgen_ty_1 {
k_iCallback = 1321,
}
@@ -11032,7 +11060,7 @@ pub const RemoteStoragePublishedFileUnsubscribed_t_k_iCallback:
RemoteStoragePublishedFileUnsubscribed_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishedFileUnsubscribed_t__bindgen_ty_1 {
k_iCallback = 1322,
}
@@ -11092,7 +11120,7 @@ pub const RemoteStoragePublishedFileDeleted_t_k_iCallback:
RemoteStoragePublishedFileDeleted_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishedFileDeleted_t__bindgen_ty_1 {
k_iCallback = 1323,
}
@@ -11149,7 +11177,7 @@ pub const RemoteStorageUpdateUserPublishedItemVoteResult_t_k_iCallback:
RemoteStorageUpdateUserPublishedItemVoteResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageUpdateUserPublishedItemVoteResult_t__bindgen_ty_1 {
k_iCallback = 1324,
}
@@ -11209,7 +11237,7 @@ pub const RemoteStorageUserVoteDetails_t_k_iCallback: RemoteStorageUserVoteDetai
RemoteStorageUserVoteDetails_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageUserVoteDetails_t__bindgen_ty_1 {
k_iCallback = 1325,
}
@@ -11277,7 +11305,7 @@ pub const RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_k_iCallback:
RemoteStorageEnumerateUserSharedWorkshopFilesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageEnumerateUserSharedWorkshopFilesResult_t__bindgen_ty_1 {
k_iCallback = 1326,
}
@@ -11364,7 +11392,7 @@ pub const RemoteStorageSetUserPublishedFileActionResult_t_k_iCallback:
RemoteStorageSetUserPublishedFileActionResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageSetUserPublishedFileActionResult_t__bindgen_ty_1 {
k_iCallback = 1327,
}
@@ -11441,7 +11469,7 @@ pub const RemoteStorageEnumeratePublishedFilesByUserActionResult_t_k_iCallback:
RemoteStorageEnumeratePublishedFilesByUserActionResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageEnumeratePublishedFilesByUserActionResult_t__bindgen_ty_1 {
k_iCallback = 1328,
}
@@ -11553,7 +11581,7 @@ pub const RemoteStoragePublishFileProgress_t_k_iCallback:
RemoteStoragePublishFileProgress_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishFileProgress_t__bindgen_ty_1 {
k_iCallback = 1329,
}
@@ -11611,7 +11639,7 @@ pub const RemoteStoragePublishedFileUpdated_t_k_iCallback:
RemoteStoragePublishedFileUpdated_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStoragePublishedFileUpdated_t__bindgen_ty_1 {
k_iCallback = 1330,
}
@@ -11680,7 +11708,7 @@ pub const RemoteStorageFileWriteAsyncComplete_t_k_iCallback:
RemoteStorageFileWriteAsyncComplete_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageFileWriteAsyncComplete_t__bindgen_ty_1 {
k_iCallback = 1331,
}
@@ -11729,7 +11757,7 @@ pub const RemoteStorageFileReadAsyncComplete_t_k_iCallback:
RemoteStorageFileReadAsyncComplete_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoteStorageFileReadAsyncComplete_t__bindgen_ty_1 {
k_iCallback = 1332,
}
@@ -11804,32 +11832,32 @@ fn bindgen_test_layout_RemoteStorageFileReadAsyncComplete_t() {
)
);
}
-pub const k_cchStatNameMax: _bindgen_ty_66 = _bindgen_ty_66::k_cchStatNameMax;
+pub const k_cchStatNameMax: _bindgen_ty_67 = _bindgen_ty_67::k_cchStatNameMax;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_66 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_67 {
k_cchStatNameMax = 128,
}
-pub const k_cchLeaderboardNameMax: _bindgen_ty_67 = _bindgen_ty_67::k_cchLeaderboardNameMax;
+pub const k_cchLeaderboardNameMax: _bindgen_ty_68 = _bindgen_ty_68::k_cchLeaderboardNameMax;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_67 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_68 {
k_cchLeaderboardNameMax = 128,
}
-pub const k_cLeaderboardDetailsMax: _bindgen_ty_68 = _bindgen_ty_68::k_cLeaderboardDetailsMax;
+pub const k_cLeaderboardDetailsMax: _bindgen_ty_69 = _bindgen_ty_69::k_cLeaderboardDetailsMax;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
-pub enum _bindgen_ty_68 {
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum _bindgen_ty_69 {
k_cLeaderboardDetailsMax = 64,
}
pub type SteamLeaderboard_t = uint64;
pub type SteamLeaderboardEntries_t = uint64;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELeaderboardDataRequest {
k_ELeaderboardDataRequestGlobal = 0,
k_ELeaderboardDataRequestGlobalAroundUser = 1,
@@ -11838,7 +11866,7 @@ pub enum ELeaderboardDataRequest {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELeaderboardSortMethod {
k_ELeaderboardSortMethodNone = 0,
k_ELeaderboardSortMethodAscending = 1,
@@ -11846,7 +11874,7 @@ pub enum ELeaderboardSortMethod {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELeaderboardDisplayType {
k_ELeaderboardDisplayTypeNone = 0,
k_ELeaderboardDisplayTypeNumeric = 1,
@@ -11855,7 +11883,7 @@ pub enum ELeaderboardDisplayType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ELeaderboardUploadScoreMethod {
k_ELeaderboardUploadScoreMethodNone = 0,
k_ELeaderboardUploadScoreMethodKeepBest = 1,
@@ -11968,7 +11996,7 @@ pub const UserStatsReceived_t_k_iCallback: UserStatsReceived_t__bindgen_ty_1 =
UserStatsReceived_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserStatsReceived_t__bindgen_ty_1 {
k_iCallback = 1101,
}
@@ -12027,7 +12055,7 @@ pub const UserStatsStored_t_k_iCallback: UserStatsStored_t__bindgen_ty_1 =
UserStatsStored_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserStatsStored_t__bindgen_ty_1 {
k_iCallback = 1102,
}
@@ -12077,7 +12105,7 @@ pub const UserAchievementStored_t_k_iCallback: UserAchievementStored_t__bindgen_
UserAchievementStored_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserAchievementStored_t__bindgen_ty_1 {
k_iCallback = 1103,
}
@@ -12166,7 +12194,7 @@ pub const LeaderboardFindResult_t_k_iCallback: LeaderboardFindResult_t__bindgen_
LeaderboardFindResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LeaderboardFindResult_t__bindgen_ty_1 {
k_iCallback = 1104,
}
@@ -12220,7 +12248,7 @@ pub const LeaderboardScoresDownloaded_t_k_iCallback: LeaderboardScoresDownloaded
LeaderboardScoresDownloaded_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LeaderboardScoresDownloaded_t__bindgen_ty_1 {
k_iCallback = 1105,
}
@@ -12285,13 +12313,12 @@ pub struct LeaderboardScoreUploaded_t {
pub m_bScoreChanged: uint8,
pub m_nGlobalRankNew: ::std::os::raw::c_int,
pub m_nGlobalRankPrevious: ::std::os::raw::c_int,
- pub __bindgen_padding_0: [u8; 6usize],
}
pub const LeaderboardScoreUploaded_t_k_iCallback: LeaderboardScoreUploaded_t__bindgen_ty_1 =
LeaderboardScoreUploaded_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LeaderboardScoreUploaded_t__bindgen_ty_1 {
k_iCallback = 1106,
}
@@ -12394,7 +12421,7 @@ pub const NumberOfCurrentPlayers_t_k_iCallback: NumberOfCurrentPlayers_t__bindge
NumberOfCurrentPlayers_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum NumberOfCurrentPlayers_t__bindgen_ty_1 {
k_iCallback = 1107,
}
@@ -12444,7 +12471,7 @@ pub const UserStatsUnloaded_t_k_iCallback: UserStatsUnloaded_t__bindgen_ty_1 =
UserStatsUnloaded_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserStatsUnloaded_t__bindgen_ty_1 {
k_iCallback = 1108,
}
@@ -12485,7 +12512,7 @@ pub const UserAchievementIconFetched_t_k_iCallback: UserAchievementIconFetched_t
UserAchievementIconFetched_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserAchievementIconFetched_t__bindgen_ty_1 {
k_iCallback = 1109,
}
@@ -12564,7 +12591,7 @@ pub const GlobalAchievementPercentagesReady_t_k_iCallback:
GlobalAchievementPercentagesReady_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GlobalAchievementPercentagesReady_t__bindgen_ty_1 {
k_iCallback = 1110,
}
@@ -12620,7 +12647,7 @@ pub const LeaderboardUGCSet_t_k_iCallback: LeaderboardUGCSet_t__bindgen_ty_1 =
LeaderboardUGCSet_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum LeaderboardUGCSet_t__bindgen_ty_1 {
k_iCallback = 1111,
}
@@ -12670,7 +12697,7 @@ pub const PS3TrophiesInstalled_t_k_iCallback: PS3TrophiesInstalled_t__bindgen_ty
PS3TrophiesInstalled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum PS3TrophiesInstalled_t__bindgen_ty_1 {
k_iCallback = 1112,
}
@@ -12734,7 +12761,7 @@ pub const GlobalStatsReceived_t_k_iCallback: GlobalStatsReceived_t__bindgen_ty_1
GlobalStatsReceived_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GlobalStatsReceived_t__bindgen_ty_1 {
k_iCallback = 1112,
}
@@ -12801,7 +12828,7 @@ pub const DlcInstalled_t_k_iCallback: DlcInstalled_t__bindgen_ty_1 =
DlcInstalled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum DlcInstalled_t__bindgen_ty_1 {
k_iCallback = 1005,
}
@@ -12830,7 +12857,7 @@ fn bindgen_test_layout_DlcInstalled_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ERegisterActivationCodeResult {
k_ERegisterActivationCodeResultOK = 0,
k_ERegisterActivationCodeResultFail = 1,
@@ -12849,7 +12876,7 @@ pub const RegisterActivationCodeResponse_t_k_iCallback:
RegisterActivationCodeResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RegisterActivationCodeResponse_t__bindgen_ty_1 {
k_iCallback = 1008,
}
@@ -12904,7 +12931,7 @@ pub const NewUrlLaunchParameters_t_k_iCallback: NewUrlLaunchParameters_t__bindge
NewUrlLaunchParameters_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum NewUrlLaunchParameters_t__bindgen_ty_1 {
k_iCallback = 1014,
}
@@ -12934,7 +12961,7 @@ pub const AppProofOfPurchaseKeyResponse_t_k_iCallback:
AppProofOfPurchaseKeyResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AppProofOfPurchaseKeyResponse_t__bindgen_ty_1 {
k_iCallback = 1021,
}
@@ -13015,7 +13042,7 @@ pub const FileDetailsResult_t_k_iCallback: FileDetailsResult_t__bindgen_ty_1 =
FileDetailsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum FileDetailsResult_t__bindgen_ty_1 {
k_iCallback = 1023,
}
@@ -13074,20 +13101,93 @@ fn bindgen_test_layout_FileDetailsResult_t() {
)
);
}
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct TimedTrialStatus_t {
+ pub m_unAppID: AppId_t,
+ pub m_bIsOffline: bool,
+ pub m_unSecondsAllowed: uint32,
+ pub m_unSecondsPlayed: uint32,
+}
+pub const TimedTrialStatus_t_k_iCallback: TimedTrialStatus_t__bindgen_ty_1 =
+ TimedTrialStatus_t__bindgen_ty_1::k_iCallback;
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum TimedTrialStatus_t__bindgen_ty_1 {
+ k_iCallback = 1030,
+}
+#[test]
+fn bindgen_test_layout_TimedTrialStatus_t() {
+ assert_eq!(
+ ::std::mem::size_of::<TimedTrialStatus_t>(),
+ 16usize,
+ concat!("Size of: ", stringify!(TimedTrialStatus_t))
+ );
+ assert_eq!(
+ ::std::mem::align_of::<TimedTrialStatus_t>(),
+ 4usize,
+ concat!("Alignment of ", stringify!(TimedTrialStatus_t))
+ );
+ assert_eq!(
+ unsafe { &(*(::std::ptr::null::<TimedTrialStatus_t>())).m_unAppID as *const _ as usize },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(TimedTrialStatus_t),
+ "::",
+ stringify!(m_unAppID)
+ )
+ );
+ assert_eq!(
+ unsafe { &(*(::std::ptr::null::<TimedTrialStatus_t>())).m_bIsOffline as *const _ as usize },
+ 4usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(TimedTrialStatus_t),
+ "::",
+ stringify!(m_bIsOffline)
+ )
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<TimedTrialStatus_t>())).m_unSecondsAllowed as *const _ as usize
+ },
+ 8usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(TimedTrialStatus_t),
+ "::",
+ stringify!(m_unSecondsAllowed)
+ )
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<TimedTrialStatus_t>())).m_unSecondsPlayed as *const _ as usize
+ },
+ 12usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(TimedTrialStatus_t),
+ "::",
+ stringify!(m_unSecondsPlayed)
+ )
+ );
+}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EP2PSessionError {
k_EP2PSessionErrorNone = 0,
- k_EP2PSessionErrorNotRunningApp = 1,
k_EP2PSessionErrorNoRightsToApp = 2,
- k_EP2PSessionErrorDestinationNotLoggedIn = 3,
k_EP2PSessionErrorTimeout = 4,
+ k_EP2PSessionErrorNotRunningApp_DELETED = 1,
+ k_EP2PSessionErrorDestinationNotLoggedIn_DELETED = 3,
k_EP2PSessionErrorMax = 5,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EP2PSend {
k_EP2PSendUnreliable = 0,
k_EP2PSendUnreliableNoDelay = 1,
@@ -13212,7 +13312,7 @@ pub type SNetSocket_t = uint32;
pub type SNetListenSocket_t = uint32;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESNetSocketState {
k_ESNetSocketStateInvalid = 0,
k_ESNetSocketStateConnected = 1,
@@ -13228,7 +13328,7 @@ pub enum ESNetSocketState {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESNetSocketConnectionType {
k_ESNetSocketConnectionTypeNotConnected = 0,
k_ESNetSocketConnectionTypeUDP = 1,
@@ -13236,6 +13336,8 @@ pub enum ESNetSocketConnectionType {
}
#[repr(C)]
pub struct ISteamNetworking__bindgen_vtable(::std::os::raw::c_void);
+#[doc = " the Steamworks SDK. Please see ISteamNetworkingSockets and"]
+#[doc = " ISteamNetworkingMessages"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ISteamNetworking {
@@ -13263,7 +13365,7 @@ pub const P2PSessionRequest_t_k_iCallback: P2PSessionRequest_t__bindgen_ty_1 =
P2PSessionRequest_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum P2PSessionRequest_t__bindgen_ty_1 {
k_iCallback = 1202,
}
@@ -13302,7 +13404,7 @@ pub const P2PSessionConnectFail_t_k_iCallback: P2PSessionConnectFail_t__bindgen_
P2PSessionConnectFail_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum P2PSessionConnectFail_t__bindgen_ty_1 {
k_iCallback = 1203,
}
@@ -13356,7 +13458,7 @@ pub const SocketStatusCallback_t_k_iCallback: SocketStatusCallback_t__bindgen_ty
SocketStatusCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SocketStatusCallback_t__bindgen_ty_1 {
k_iCallback = 1201,
}
@@ -13430,7 +13532,7 @@ pub const k_ScreenshotThumbWidth: ::std::os::raw::c_int = 200;
pub type ScreenshotHandle = uint32;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EVRScreenshotType {
k_EVRScreenshotType_None = 0,
k_EVRScreenshotType_Mono = 1,
@@ -13469,7 +13571,7 @@ pub const ScreenshotReady_t_k_iCallback: ScreenshotReady_t__bindgen_ty_1 =
ScreenshotReady_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ScreenshotReady_t__bindgen_ty_1 {
k_iCallback = 2301,
}
@@ -13515,7 +13617,7 @@ pub const ScreenshotRequested_t_k_iCallback: ScreenshotRequested_t__bindgen_ty_1
ScreenshotRequested_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ScreenshotRequested_t__bindgen_ty_1 {
k_iCallback = 2302,
}
@@ -13534,7 +13636,7 @@ fn bindgen_test_layout_ScreenshotRequested_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AudioPlayback_Status {
AudioPlayback_Undefined = 0,
AudioPlayback_Playing = 1,
@@ -13570,7 +13672,7 @@ pub const PlaybackStatusHasChanged_t_k_iCallback: PlaybackStatusHasChanged_t__bi
PlaybackStatusHasChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum PlaybackStatusHasChanged_t__bindgen_ty_1 {
k_iCallback = 4001,
}
@@ -13596,7 +13698,7 @@ pub const VolumeHasChanged_t_k_iCallback: VolumeHasChanged_t__bindgen_ty_1 =
VolumeHasChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VolumeHasChanged_t__bindgen_ty_1 {
k_iCallback = 4002,
}
@@ -13655,7 +13757,7 @@ pub const MusicPlayerRemoteWillActivate_t_k_iCallback:
MusicPlayerRemoteWillActivate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerRemoteWillActivate_t__bindgen_ty_1 {
k_iCallback = 4101,
}
@@ -13682,7 +13784,7 @@ pub const MusicPlayerRemoteWillDeactivate_t_k_iCallback:
MusicPlayerRemoteWillDeactivate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerRemoteWillDeactivate_t__bindgen_ty_1 {
k_iCallback = 4102,
}
@@ -13711,7 +13813,7 @@ pub const MusicPlayerRemoteToFront_t_k_iCallback: MusicPlayerRemoteToFront_t__bi
MusicPlayerRemoteToFront_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerRemoteToFront_t__bindgen_ty_1 {
k_iCallback = 4103,
}
@@ -13737,7 +13839,7 @@ pub const MusicPlayerWillQuit_t_k_iCallback: MusicPlayerWillQuit_t__bindgen_ty_1
MusicPlayerWillQuit_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWillQuit_t__bindgen_ty_1 {
k_iCallback = 4104,
}
@@ -13763,7 +13865,7 @@ pub const MusicPlayerWantsPlay_t_k_iCallback: MusicPlayerWantsPlay_t__bindgen_ty
MusicPlayerWantsPlay_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsPlay_t__bindgen_ty_1 {
k_iCallback = 4105,
}
@@ -13789,7 +13891,7 @@ pub const MusicPlayerWantsPause_t_k_iCallback: MusicPlayerWantsPause_t__bindgen_
MusicPlayerWantsPause_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsPause_t__bindgen_ty_1 {
k_iCallback = 4106,
}
@@ -13815,7 +13917,7 @@ pub const MusicPlayerWantsPlayPrevious_t_k_iCallback: MusicPlayerWantsPlayPrevio
MusicPlayerWantsPlayPrevious_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsPlayPrevious_t__bindgen_ty_1 {
k_iCallback = 4107,
}
@@ -13841,7 +13943,7 @@ pub const MusicPlayerWantsPlayNext_t_k_iCallback: MusicPlayerWantsPlayNext_t__bi
MusicPlayerWantsPlayNext_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsPlayNext_t__bindgen_ty_1 {
k_iCallback = 4108,
}
@@ -13867,7 +13969,7 @@ pub const MusicPlayerWantsShuffled_t_k_iCallback: MusicPlayerWantsShuffled_t__bi
MusicPlayerWantsShuffled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsShuffled_t__bindgen_ty_1 {
k_iCallback = 4109,
}
@@ -13905,7 +14007,7 @@ pub const MusicPlayerWantsLooped_t_k_iCallback: MusicPlayerWantsLooped_t__bindge
MusicPlayerWantsLooped_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsLooped_t__bindgen_ty_1 {
k_iCallback = 4110,
}
@@ -13943,7 +14045,7 @@ pub const MusicPlayerWantsVolume_t_k_iCallback: MusicPlayerWantsVolume_t__bindge
MusicPlayerWantsVolume_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsVolume_t__bindgen_ty_1 {
k_iCallback = 4011,
}
@@ -13981,7 +14083,7 @@ pub const MusicPlayerSelectsQueueEntry_t_k_iCallback: MusicPlayerSelectsQueueEnt
MusicPlayerSelectsQueueEntry_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerSelectsQueueEntry_t__bindgen_ty_1 {
k_iCallback = 4012,
}
@@ -14020,7 +14122,7 @@ pub const MusicPlayerSelectsPlaylistEntry_t_k_iCallback:
MusicPlayerSelectsPlaylistEntry_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerSelectsPlaylistEntry_t__bindgen_ty_1 {
k_iCallback = 4013,
}
@@ -14062,7 +14164,7 @@ pub const MusicPlayerWantsPlayingRepeatStatus_t_k_iCallback:
MusicPlayerWantsPlayingRepeatStatus_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum MusicPlayerWantsPlayingRepeatStatus_t__bindgen_ty_1 {
k_iCallback = 4114,
}
@@ -14100,7 +14202,7 @@ fn bindgen_test_layout_MusicPlayerWantsPlayingRepeatStatus_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EHTTPMethod {
k_EHTTPMethodInvalid = 0,
k_EHTTPMethodGET = 1,
@@ -14113,7 +14215,7 @@ pub enum EHTTPMethod {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EHTTPStatusCode {
k_EHTTPStatusCodeInvalid = 0,
k_EHTTPStatusCode100Continue = 100,
@@ -14152,6 +14254,7 @@ pub enum EHTTPStatusCode {
k_EHTTPStatusCode417ExpectationFailed = 417,
k_EHTTPStatusCode4xxUnknown = 418,
k_EHTTPStatusCode429TooManyRequests = 429,
+ k_EHTTPStatusCode444ConnectionClosed = 444,
k_EHTTPStatusCode500InternalServerError = 500,
k_EHTTPStatusCode501NotImplemented = 501,
k_EHTTPStatusCode502BadGateway = 502,
@@ -14195,7 +14298,7 @@ pub const HTTPRequestCompleted_t_k_iCallback: HTTPRequestCompleted_t__bindgen_ty
HTTPRequestCompleted_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTTPRequestCompleted_t__bindgen_ty_1 {
k_iCallback = 2101,
}
@@ -14283,7 +14386,7 @@ pub const HTTPRequestHeadersReceived_t_k_iCallback: HTTPRequestHeadersReceived_t
HTTPRequestHeadersReceived_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTTPRequestHeadersReceived_t__bindgen_ty_1 {
k_iCallback = 2102,
}
@@ -14337,7 +14440,7 @@ pub const HTTPRequestDataReceived_t_k_iCallback: HTTPRequestDataReceived_t__bind
HTTPRequestDataReceived_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTTPRequestDataReceived_t__bindgen_ty_1 {
k_iCallback = 2103,
}
@@ -14406,7 +14509,7 @@ fn bindgen_test_layout_HTTPRequestDataReceived_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EInputSourceMode {
k_EInputSourceMode_None = 0,
k_EInputSourceMode_Dpad = 1,
@@ -14428,7 +14531,7 @@ pub enum EInputSourceMode {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EInputActionOrigin {
k_EInputActionOrigin_None = 0,
k_EInputActionOrigin_SteamController_A = 1,
@@ -14688,12 +14791,87 @@ pub enum EInputActionOrigin {
k_EInputActionOrigin_Switch_Reserved18 = 255,
k_EInputActionOrigin_Switch_Reserved19 = 256,
k_EInputActionOrigin_Switch_Reserved20 = 257,
- k_EInputActionOrigin_Count = 258,
+ k_EInputActionOrigin_PS5_X = 258,
+ k_EInputActionOrigin_PS5_Circle = 259,
+ k_EInputActionOrigin_PS5_Triangle = 260,
+ k_EInputActionOrigin_PS5_Square = 261,
+ k_EInputActionOrigin_PS5_LeftBumper = 262,
+ k_EInputActionOrigin_PS5_RightBumper = 263,
+ k_EInputActionOrigin_PS5_Option = 264,
+ k_EInputActionOrigin_PS5_Create = 265,
+ k_EInputActionOrigin_PS5_Mute = 266,
+ k_EInputActionOrigin_PS5_LeftPad_Touch = 267,
+ k_EInputActionOrigin_PS5_LeftPad_Swipe = 268,
+ k_EInputActionOrigin_PS5_LeftPad_Click = 269,
+ k_EInputActionOrigin_PS5_LeftPad_DPadNorth = 270,
+ k_EInputActionOrigin_PS5_LeftPad_DPadSouth = 271,
+ k_EInputActionOrigin_PS5_LeftPad_DPadWest = 272,
+ k_EInputActionOrigin_PS5_LeftPad_DPadEast = 273,
+ k_EInputActionOrigin_PS5_RightPad_Touch = 274,
+ k_EInputActionOrigin_PS5_RightPad_Swipe = 275,
+ k_EInputActionOrigin_PS5_RightPad_Click = 276,
+ k_EInputActionOrigin_PS5_RightPad_DPadNorth = 277,
+ k_EInputActionOrigin_PS5_RightPad_DPadSouth = 278,
+ k_EInputActionOrigin_PS5_RightPad_DPadWest = 279,
+ k_EInputActionOrigin_PS5_RightPad_DPadEast = 280,
+ k_EInputActionOrigin_PS5_CenterPad_Touch = 281,
+ k_EInputActionOrigin_PS5_CenterPad_Swipe = 282,
+ k_EInputActionOrigin_PS5_CenterPad_Click = 283,
+ k_EInputActionOrigin_PS5_CenterPad_DPadNorth = 284,
+ k_EInputActionOrigin_PS5_CenterPad_DPadSouth = 285,
+ k_EInputActionOrigin_PS5_CenterPad_DPadWest = 286,
+ k_EInputActionOrigin_PS5_CenterPad_DPadEast = 287,
+ k_EInputActionOrigin_PS5_LeftTrigger_Pull = 288,
+ k_EInputActionOrigin_PS5_LeftTrigger_Click = 289,
+ k_EInputActionOrigin_PS5_RightTrigger_Pull = 290,
+ k_EInputActionOrigin_PS5_RightTrigger_Click = 291,
+ k_EInputActionOrigin_PS5_LeftStick_Move = 292,
+ k_EInputActionOrigin_PS5_LeftStick_Click = 293,
+ k_EInputActionOrigin_PS5_LeftStick_DPadNorth = 294,
+ k_EInputActionOrigin_PS5_LeftStick_DPadSouth = 295,
+ k_EInputActionOrigin_PS5_LeftStick_DPadWest = 296,
+ k_EInputActionOrigin_PS5_LeftStick_DPadEast = 297,
+ k_EInputActionOrigin_PS5_RightStick_Move = 298,
+ k_EInputActionOrigin_PS5_RightStick_Click = 299,
+ k_EInputActionOrigin_PS5_RightStick_DPadNorth = 300,
+ k_EInputActionOrigin_PS5_RightStick_DPadSouth = 301,
+ k_EInputActionOrigin_PS5_RightStick_DPadWest = 302,
+ k_EInputActionOrigin_PS5_RightStick_DPadEast = 303,
+ k_EInputActionOrigin_PS5_DPad_North = 304,
+ k_EInputActionOrigin_PS5_DPad_South = 305,
+ k_EInputActionOrigin_PS5_DPad_West = 306,
+ k_EInputActionOrigin_PS5_DPad_East = 307,
+ k_EInputActionOrigin_PS5_Gyro_Move = 308,
+ k_EInputActionOrigin_PS5_Gyro_Pitch = 309,
+ k_EInputActionOrigin_PS5_Gyro_Yaw = 310,
+ k_EInputActionOrigin_PS5_Gyro_Roll = 311,
+ k_EInputActionOrigin_PS5_DPad_Move = 312,
+ k_EInputActionOrigin_PS5_Reserved1 = 313,
+ k_EInputActionOrigin_PS5_Reserved2 = 314,
+ k_EInputActionOrigin_PS5_Reserved3 = 315,
+ k_EInputActionOrigin_PS5_Reserved4 = 316,
+ k_EInputActionOrigin_PS5_Reserved5 = 317,
+ k_EInputActionOrigin_PS5_Reserved6 = 318,
+ k_EInputActionOrigin_PS5_Reserved7 = 319,
+ k_EInputActionOrigin_PS5_Reserved8 = 320,
+ k_EInputActionOrigin_PS5_Reserved9 = 321,
+ k_EInputActionOrigin_PS5_Reserved10 = 322,
+ k_EInputActionOrigin_PS5_Reserved11 = 323,
+ k_EInputActionOrigin_PS5_Reserved12 = 324,
+ k_EInputActionOrigin_PS5_Reserved13 = 325,
+ k_EInputActionOrigin_PS5_Reserved14 = 326,
+ k_EInputActionOrigin_PS5_Reserved15 = 327,
+ k_EInputActionOrigin_PS5_Reserved16 = 328,
+ k_EInputActionOrigin_PS5_Reserved17 = 329,
+ k_EInputActionOrigin_PS5_Reserved18 = 330,
+ k_EInputActionOrigin_PS5_Reserved19 = 331,
+ k_EInputActionOrigin_PS5_Reserved20 = 332,
+ k_EInputActionOrigin_Count = 333,
k_EInputActionOrigin_MaximumPossibleValue = 32767,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EXboxOrigin {
k_EXboxOrigin_A = 0,
k_EXboxOrigin_B = 1,
@@ -14727,14 +14905,14 @@ pub enum EXboxOrigin {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamControllerPad {
k_ESteamControllerPad_Left = 0,
k_ESteamControllerPad_Right = 1,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamInputType {
k_ESteamInputType_Unknown = 0,
k_ESteamInputType_SteamController = 1,
@@ -14749,12 +14927,13 @@ pub enum ESteamInputType {
k_ESteamInputType_SwitchProController = 10,
k_ESteamInputType_MobileTouch = 11,
k_ESteamInputType_PS3Controller = 12,
- k_ESteamInputType_Count = 13,
+ k_ESteamInputType_PS5Controller = 13,
+ k_ESteamInputType_Count = 14,
k_ESteamInputType_MaximumPossibleValue = 255,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamInputLEDFlag {
k_ESteamInputLEDFlag_SetColor = 0,
k_ESteamInputLEDFlag_RestoreUserDefault = 1,
@@ -15014,7 +15193,7 @@ fn bindgen_test_layout_ISteamInput() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EControllerActionOrigin {
k_EControllerActionOrigin_None = 0,
k_EControllerActionOrigin_A = 1,
@@ -15261,12 +15440,67 @@ pub enum EControllerActionOrigin {
k_EControllerActionOrigin_XBoxOne_DPad_Move = 242,
k_EControllerActionOrigin_XBox360_DPad_Move = 243,
k_EControllerActionOrigin_Switch_DPad_Move = 244,
- k_EControllerActionOrigin_Count = 245,
+ k_EControllerActionOrigin_PS5_X = 245,
+ k_EControllerActionOrigin_PS5_Circle = 246,
+ k_EControllerActionOrigin_PS5_Triangle = 247,
+ k_EControllerActionOrigin_PS5_Square = 248,
+ k_EControllerActionOrigin_PS5_LeftBumper = 249,
+ k_EControllerActionOrigin_PS5_RightBumper = 250,
+ k_EControllerActionOrigin_PS5_Option = 251,
+ k_EControllerActionOrigin_PS5_Create = 252,
+ k_EControllerActionOrigin_PS5_Mute = 253,
+ k_EControllerActionOrigin_PS5_LeftPad_Touch = 254,
+ k_EControllerActionOrigin_PS5_LeftPad_Swipe = 255,
+ k_EControllerActionOrigin_PS5_LeftPad_Click = 256,
+ k_EControllerActionOrigin_PS5_LeftPad_DPadNorth = 257,
+ k_EControllerActionOrigin_PS5_LeftPad_DPadSouth = 258,
+ k_EControllerActionOrigin_PS5_LeftPad_DPadWest = 259,
+ k_EControllerActionOrigin_PS5_LeftPad_DPadEast = 260,
+ k_EControllerActionOrigin_PS5_RightPad_Touch = 261,
+ k_EControllerActionOrigin_PS5_RightPad_Swipe = 262,
+ k_EControllerActionOrigin_PS5_RightPad_Click = 263,
+ k_EControllerActionOrigin_PS5_RightPad_DPadNorth = 264,
+ k_EControllerActionOrigin_PS5_RightPad_DPadSouth = 265,
+ k_EControllerActionOrigin_PS5_RightPad_DPadWest = 266,
+ k_EControllerActionOrigin_PS5_RightPad_DPadEast = 267,
+ k_EControllerActionOrigin_PS5_CenterPad_Touch = 268,
+ k_EControllerActionOrigin_PS5_CenterPad_Swipe = 269,
+ k_EControllerActionOrigin_PS5_CenterPad_Click = 270,
+ k_EControllerActionOrigin_PS5_CenterPad_DPadNorth = 271,
+ k_EControllerActionOrigin_PS5_CenterPad_DPadSouth = 272,
+ k_EControllerActionOrigin_PS5_CenterPad_DPadWest = 273,
+ k_EControllerActionOrigin_PS5_CenterPad_DPadEast = 274,
+ k_EControllerActionOrigin_PS5_LeftTrigger_Pull = 275,
+ k_EControllerActionOrigin_PS5_LeftTrigger_Click = 276,
+ k_EControllerActionOrigin_PS5_RightTrigger_Pull = 277,
+ k_EControllerActionOrigin_PS5_RightTrigger_Click = 278,
+ k_EControllerActionOrigin_PS5_LeftStick_Move = 279,
+ k_EControllerActionOrigin_PS5_LeftStick_Click = 280,
+ k_EControllerActionOrigin_PS5_LeftStick_DPadNorth = 281,
+ k_EControllerActionOrigin_PS5_LeftStick_DPadSouth = 282,
+ k_EControllerActionOrigin_PS5_LeftStick_DPadWest = 283,
+ k_EControllerActionOrigin_PS5_LeftStick_DPadEast = 284,
+ k_EControllerActionOrigin_PS5_RightStick_Move = 285,
+ k_EControllerActionOrigin_PS5_RightStick_Click = 286,
+ k_EControllerActionOrigin_PS5_RightStick_DPadNorth = 287,
+ k_EControllerActionOrigin_PS5_RightStick_DPadSouth = 288,
+ k_EControllerActionOrigin_PS5_RightStick_DPadWest = 289,
+ k_EControllerActionOrigin_PS5_RightStick_DPadEast = 290,
+ k_EControllerActionOrigin_PS5_DPad_Move = 291,
+ k_EControllerActionOrigin_PS5_DPad_North = 292,
+ k_EControllerActionOrigin_PS5_DPad_South = 293,
+ k_EControllerActionOrigin_PS5_DPad_West = 294,
+ k_EControllerActionOrigin_PS5_DPad_East = 295,
+ k_EControllerActionOrigin_PS5_Gyro_Move = 296,
+ k_EControllerActionOrigin_PS5_Gyro_Pitch = 297,
+ k_EControllerActionOrigin_PS5_Gyro_Yaw = 298,
+ k_EControllerActionOrigin_PS5_Gyro_Roll = 299,
+ k_EControllerActionOrigin_Count = 300,
k_EControllerActionOrigin_MaximumPossibleValue = 32767,
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamControllerLEDFlag {
k_ESteamControllerLEDFlag_SetColor = 0,
k_ESteamControllerLEDFlag_RestoreUserDefault = 1,
@@ -15301,7 +15535,7 @@ pub const k_UGCQueryHandleInvalid: UGCQueryHandle_t = 18446744073709551615;
pub const k_UGCUpdateHandleInvalid: UGCUpdateHandle_t = 18446744073709551615;
#[repr(i32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUGCMatchingUGCType {
k_EUGCMatchingUGCType_Items = 0,
k_EUGCMatchingUGCType_Items_Mtx = 1,
@@ -15320,7 +15554,7 @@ pub enum EUGCMatchingUGCType {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUserUGCList {
k_EUserUGCList_Published = 0,
k_EUserUGCList_VotedOn = 1,
@@ -15334,7 +15568,7 @@ pub enum EUserUGCList {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUserUGCListSortOrder {
k_EUserUGCListSortOrder_CreationOrderDesc = 0,
k_EUserUGCListSortOrder_CreationOrderAsc = 1,
@@ -15346,7 +15580,7 @@ pub enum EUserUGCListSortOrder {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EUGCQuery {
k_EUGCQuery_RankedByVote = 0,
k_EUGCQuery_RankedByPublicationDate = 1,
@@ -15370,7 +15604,7 @@ pub enum EUGCQuery {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EItemUpdateStatus {
k_EItemUpdateStatusInvalid = 0,
k_EItemUpdateStatusPreparingConfig = 1,
@@ -15381,7 +15615,7 @@ pub enum EItemUpdateStatus {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EItemState {
k_EItemStateNone = 0,
k_EItemStateSubscribed = 1,
@@ -15393,7 +15627,7 @@ pub enum EItemState {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EItemStatistic {
k_EItemStatistic_NumSubscriptions = 0,
k_EItemStatistic_NumFavorites = 1,
@@ -15411,7 +15645,7 @@ pub enum EItemStatistic {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EItemPreviewType {
k_EItemPreviewType_Image = 0,
k_EItemPreviewType_YouTubeVideo = 1,
@@ -15786,7 +16020,7 @@ pub const SteamUGCQueryCompleted_t_k_iCallback: SteamUGCQueryCompleted_t__bindge
SteamUGCQueryCompleted_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamUGCQueryCompleted_t__bindgen_ty_1 {
k_iCallback = 3401,
}
@@ -15889,7 +16123,7 @@ pub const SteamUGCRequestUGCDetailsResult_t_k_iCallback:
SteamUGCRequestUGCDetailsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamUGCRequestUGCDetailsResult_t__bindgen_ty_1 {
k_iCallback = 3402,
}
@@ -15946,7 +16180,7 @@ pub const CreateItemResult_t_k_iCallback: CreateItemResult_t__bindgen_ty_1 =
CreateItemResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum CreateItemResult_t__bindgen_ty_1 {
k_iCallback = 3403,
}
@@ -16009,7 +16243,7 @@ pub const SubmitItemUpdateResult_t_k_iCallback: SubmitItemUpdateResult_t__bindge
SubmitItemUpdateResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SubmitItemUpdateResult_t__bindgen_ty_1 {
k_iCallback = 3404,
}
@@ -16074,7 +16308,7 @@ pub const ItemInstalled_t_k_iCallback: ItemInstalled_t__bindgen_ty_1 =
ItemInstalled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ItemInstalled_t__bindgen_ty_1 {
k_iCallback = 3405,
}
@@ -16124,7 +16358,7 @@ pub const DownloadItemResult_t_k_iCallback: DownloadItemResult_t__bindgen_ty_1 =
DownloadItemResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum DownloadItemResult_t__bindgen_ty_1 {
k_iCallback = 3406,
}
@@ -16184,7 +16418,7 @@ pub const UserFavoriteItemsListChanged_t_k_iCallback: UserFavoriteItemsListChang
UserFavoriteItemsListChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum UserFavoriteItemsListChanged_t__bindgen_ty_1 {
k_iCallback = 3407,
}
@@ -16251,7 +16485,7 @@ pub const SetUserItemVoteResult_t_k_iCallback: SetUserItemVoteResult_t__bindgen_
SetUserItemVoteResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SetUserItemVoteResult_t__bindgen_ty_1 {
k_iCallback = 3408,
}
@@ -16318,7 +16552,7 @@ pub const GetUserItemVoteResult_t_k_iCallback: GetUserItemVoteResult_t__bindgen_
GetUserItemVoteResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GetUserItemVoteResult_t__bindgen_ty_1 {
k_iCallback = 3409,
}
@@ -16405,7 +16639,7 @@ pub const StartPlaytimeTrackingResult_t_k_iCallback: StartPlaytimeTrackingResult
StartPlaytimeTrackingResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum StartPlaytimeTrackingResult_t__bindgen_ty_1 {
k_iCallback = 3410,
}
@@ -16443,7 +16677,7 @@ pub const StopPlaytimeTrackingResult_t_k_iCallback: StopPlaytimeTrackingResult_t
StopPlaytimeTrackingResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum StopPlaytimeTrackingResult_t__bindgen_ty_1 {
k_iCallback = 3411,
}
@@ -16483,7 +16717,7 @@ pub const AddUGCDependencyResult_t_k_iCallback: AddUGCDependencyResult_t__bindge
AddUGCDependencyResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AddUGCDependencyResult_t__bindgen_ty_1 {
k_iCallback = 3412,
}
@@ -16549,7 +16783,7 @@ pub const RemoveUGCDependencyResult_t_k_iCallback: RemoveUGCDependencyResult_t__
RemoveUGCDependencyResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoveUGCDependencyResult_t__bindgen_ty_1 {
k_iCallback = 3413,
}
@@ -16615,7 +16849,7 @@ pub const AddAppDependencyResult_t_k_iCallback: AddAppDependencyResult_t__bindge
AddAppDependencyResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AddAppDependencyResult_t__bindgen_ty_1 {
k_iCallback = 3414,
}
@@ -16680,7 +16914,7 @@ pub const RemoveAppDependencyResult_t_k_iCallback: RemoveAppDependencyResult_t__
RemoveAppDependencyResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum RemoveAppDependencyResult_t__bindgen_ty_1 {
k_iCallback = 3415,
}
@@ -16747,7 +16981,7 @@ pub const GetAppDependenciesResult_t_k_iCallback: GetAppDependenciesResult_t__bi
GetAppDependenciesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GetAppDependenciesResult_t__bindgen_ty_1 {
k_iCallback = 3416,
}
@@ -16837,7 +17071,7 @@ pub const DeleteItemResult_t_k_iCallback: DeleteItemResult_t__bindgen_ty_1 =
DeleteItemResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum DeleteItemResult_t__bindgen_ty_1 {
k_iCallback = 3417,
}
@@ -16905,7 +17139,7 @@ pub const SteamAppInstalled_t_k_iCallback: SteamAppInstalled_t__bindgen_ty_1 =
SteamAppInstalled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamAppInstalled_t__bindgen_ty_1 {
k_iCallback = 3901,
}
@@ -16941,7 +17175,7 @@ pub const SteamAppUninstalled_t_k_iCallback: SteamAppUninstalled_t__bindgen_ty_1
SteamAppUninstalled_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamAppUninstalled_t__bindgen_ty_1 {
k_iCallback = 3902,
}
@@ -16979,7 +17213,7 @@ pub struct ISteamHTMLSurface {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ISteamHTMLSurface_EHTMLMouseButton {
eHTMLMouseButton_Left = 0,
eHTMLMouseButton_Right = 1,
@@ -16987,7 +17221,7 @@ pub enum ISteamHTMLSurface_EHTMLMouseButton {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ISteamHTMLSurface_EMouseCursor {
dc_user = 0,
dc_none = 1,
@@ -17034,7 +17268,7 @@ pub enum ISteamHTMLSurface_EMouseCursor {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ISteamHTMLSurface_EHTMLKeyModifiers {
k_eHTMLKeyModifier_None = 0,
k_eHTMLKeyModifier_AltDown = 1,
@@ -17063,7 +17297,7 @@ pub const HTML_BrowserReady_t_k_iCallback: HTML_BrowserReady_t__bindgen_ty_1 =
HTML_BrowserReady_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_BrowserReady_t__bindgen_ty_1 {
k_iCallback = 4501,
}
@@ -17112,7 +17346,7 @@ pub const HTML_NeedsPaint_t_k_iCallback: HTML_NeedsPaint_t__bindgen_ty_1 =
HTML_NeedsPaint_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_NeedsPaint_t__bindgen_ty_1 {
k_iCallback = 4502,
}
@@ -17264,7 +17498,7 @@ pub const HTML_StartRequest_t_k_iCallback: HTML_StartRequest_t__bindgen_ty_1 =
HTML_StartRequest_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_StartRequest_t__bindgen_ty_1 {
k_iCallback = 4503,
}
@@ -17342,7 +17576,7 @@ pub const HTML_CloseBrowser_t_k_iCallback: HTML_CloseBrowser_t__bindgen_ty_1 =
HTML_CloseBrowser_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_CloseBrowser_t__bindgen_ty_1 {
k_iCallback = 4504,
}
@@ -17380,13 +17614,12 @@ pub struct HTML_URLChanged_t {
pub bIsRedirect: bool,
pub pchPageTitle: *const ::std::os::raw::c_char,
pub bNewNavigation: bool,
- pub __bindgen_padding_0: [u8; 6usize],
}
pub const HTML_URLChanged_t_k_iCallback: HTML_URLChanged_t__bindgen_ty_1 =
HTML_URLChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_URLChanged_t__bindgen_ty_1 {
k_iCallback = 4505,
}
@@ -17478,7 +17711,7 @@ pub const HTML_FinishedRequest_t_k_iCallback: HTML_FinishedRequest_t__bindgen_ty
HTML_FinishedRequest_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_FinishedRequest_t__bindgen_ty_1 {
k_iCallback = 4506,
}
@@ -17539,7 +17772,7 @@ pub const HTML_OpenLinkInNewTab_t_k_iCallback: HTML_OpenLinkInNewTab_t__bindgen_
HTML_OpenLinkInNewTab_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_OpenLinkInNewTab_t__bindgen_ty_1 {
k_iCallback = 4507,
}
@@ -17588,7 +17821,7 @@ pub const HTML_ChangedTitle_t_k_iCallback: HTML_ChangedTitle_t__bindgen_ty_1 =
HTML_ChangedTitle_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_ChangedTitle_t__bindgen_ty_1 {
k_iCallback = 4508,
}
@@ -17638,7 +17871,7 @@ pub const HTML_SearchResults_t_k_iCallback: HTML_SearchResults_t__bindgen_ty_1 =
HTML_SearchResults_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_SearchResults_t__bindgen_ty_1 {
k_iCallback = 4509,
}
@@ -17700,7 +17933,7 @@ pub const HTML_CanGoBackAndForward_t_k_iCallback: HTML_CanGoBackAndForward_t__bi
HTML_CanGoBackAndForward_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_CanGoBackAndForward_t__bindgen_ty_1 {
k_iCallback = 4510,
}
@@ -17769,7 +18002,7 @@ pub const HTML_HorizontalScroll_t_k_iCallback: HTML_HorizontalScroll_t__bindgen_
HTML_HorizontalScroll_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_HorizontalScroll_t__bindgen_ty_1 {
k_iCallback = 4511,
}
@@ -17872,7 +18105,7 @@ pub const HTML_VerticalScroll_t_k_iCallback: HTML_VerticalScroll_t__bindgen_ty_1
HTML_VerticalScroll_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_VerticalScroll_t__bindgen_ty_1 {
k_iCallback = 4512,
}
@@ -17973,7 +18206,7 @@ pub const HTML_LinkAtPosition_t_k_iCallback: HTML_LinkAtPosition_t__bindgen_ty_1
HTML_LinkAtPosition_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_LinkAtPosition_t__bindgen_ty_1 {
k_iCallback = 4513,
}
@@ -18062,7 +18295,7 @@ pub const HTML_JSAlert_t_k_iCallback: HTML_JSAlert_t__bindgen_ty_1 =
HTML_JSAlert_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_JSAlert_t__bindgen_ty_1 {
k_iCallback = 4514,
}
@@ -18109,7 +18342,7 @@ pub const HTML_JSConfirm_t_k_iCallback: HTML_JSConfirm_t__bindgen_ty_1 =
HTML_JSConfirm_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_JSConfirm_t__bindgen_ty_1 {
k_iCallback = 4515,
}
@@ -18159,7 +18392,7 @@ pub const HTML_FileOpenDialog_t_k_iCallback: HTML_FileOpenDialog_t__bindgen_ty_1
HTML_FileOpenDialog_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_FileOpenDialog_t__bindgen_ty_1 {
k_iCallback = 4516,
}
@@ -18225,7 +18458,7 @@ pub const HTML_NewWindow_t_k_iCallback: HTML_NewWindow_t__bindgen_ty_1 =
HTML_NewWindow_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_NewWindow_t__bindgen_ty_1 {
k_iCallback = 4521,
}
@@ -18327,7 +18560,7 @@ pub const HTML_SetCursor_t_k_iCallback: HTML_SetCursor_t__bindgen_ty_1 =
HTML_SetCursor_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_SetCursor_t__bindgen_ty_1 {
k_iCallback = 4522,
}
@@ -18376,7 +18609,7 @@ pub const HTML_StatusText_t_k_iCallback: HTML_StatusText_t__bindgen_ty_1 =
HTML_StatusText_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_StatusText_t__bindgen_ty_1 {
k_iCallback = 4523,
}
@@ -18425,7 +18658,7 @@ pub const HTML_ShowToolTip_t_k_iCallback: HTML_ShowToolTip_t__bindgen_ty_1 =
HTML_ShowToolTip_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_ShowToolTip_t__bindgen_ty_1 {
k_iCallback = 4524,
}
@@ -18474,7 +18707,7 @@ pub const HTML_UpdateToolTip_t_k_iCallback: HTML_UpdateToolTip_t__bindgen_ty_1 =
HTML_UpdateToolTip_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_UpdateToolTip_t__bindgen_ty_1 {
k_iCallback = 4525,
}
@@ -18522,7 +18755,7 @@ pub const HTML_HideToolTip_t_k_iCallback: HTML_HideToolTip_t__bindgen_ty_1 =
HTML_HideToolTip_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_HideToolTip_t__bindgen_ty_1 {
k_iCallback = 4526,
}
@@ -18561,7 +18794,7 @@ pub const HTML_BrowserRestarted_t_k_iCallback: HTML_BrowserRestarted_t__bindgen_
HTML_BrowserRestarted_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_BrowserRestarted_t__bindgen_ty_1 {
k_iCallback = 4527,
}
@@ -18611,7 +18844,7 @@ extern "C" {
pub type SteamItemDef_t = int32;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamItemFlags {
k_ESteamItemNoTrade = 1,
k_ESteamItemRemoved = 256,
@@ -18714,7 +18947,7 @@ pub const SteamInventoryResultReady_t_k_iCallback: SteamInventoryResultReady_t__
SteamInventoryResultReady_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryResultReady_t__bindgen_ty_1 {
k_iCallback = 4700,
}
@@ -18764,7 +18997,7 @@ pub const SteamInventoryFullUpdate_t_k_iCallback: SteamInventoryFullUpdate_t__bi
SteamInventoryFullUpdate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryFullUpdate_t__bindgen_ty_1 {
k_iCallback = 4701,
}
@@ -18803,7 +19036,7 @@ pub const SteamInventoryDefinitionUpdate_t_k_iCallback:
SteamInventoryDefinitionUpdate_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryDefinitionUpdate_t__bindgen_ty_1 {
k_iCallback = 4702,
}
@@ -18836,7 +19069,7 @@ pub const SteamInventoryEligiblePromoItemDefIDs_t_k_iCallback:
SteamInventoryEligiblePromoItemDefIDs_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryEligiblePromoItemDefIDs_t__bindgen_ty_1 {
k_iCallback = 4703,
}
@@ -18923,7 +19156,7 @@ pub const SteamInventoryStartPurchaseResult_t_k_iCallback:
SteamInventoryStartPurchaseResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryStartPurchaseResult_t__bindgen_ty_1 {
k_iCallback = 4704,
}
@@ -18993,7 +19226,7 @@ pub const SteamInventoryRequestPricesResult_t_k_iCallback:
SteamInventoryRequestPricesResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamInventoryRequestPricesResult_t__bindgen_ty_1 {
k_iCallback = 4705,
}
@@ -19070,7 +19303,7 @@ pub const GetVideoURLResult_t_k_iCallback: GetVideoURLResult_t__bindgen_ty_1 =
GetVideoURLResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GetVideoURLResult_t__bindgen_ty_1 {
k_iCallback = 4611,
}
@@ -19129,7 +19362,7 @@ pub const GetOPFSettingsResult_t_k_iCallback: GetOPFSettingsResult_t__bindgen_ty
GetOPFSettingsResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GetOPFSettingsResult_t__bindgen_ty_1 {
k_iCallback = 4624,
}
@@ -19172,7 +19405,7 @@ fn bindgen_test_layout_GetOPFSettingsResult_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EParentalFeature {
k_EFeatureInvalid = 0,
k_EFeatureStore = 1,
@@ -19219,7 +19452,7 @@ pub const SteamParentalSettingsChanged_t_k_iCallback: SteamParentalSettingsChang
SteamParentalSettingsChanged_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamParentalSettingsChanged_t__bindgen_ty_1 {
k_iCallback = 5001,
}
@@ -19238,7 +19471,7 @@ fn bindgen_test_layout_SteamParentalSettingsChanged_t() {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamDeviceFormFactor {
k_ESteamDeviceFormFactorUnknown = 0,
k_ESteamDeviceFormFactorPhone = 1,
@@ -19277,7 +19510,7 @@ pub const SteamRemotePlaySessionConnected_t_k_iCallback:
SteamRemotePlaySessionConnected_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamRemotePlaySessionConnected_t__bindgen_ty_1 {
k_iCallback = 5701,
}
@@ -19320,7 +19553,7 @@ pub const SteamRemotePlaySessionDisconnected_t_k_iCallback:
SteamRemotePlaySessionDisconnected_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamRemotePlaySessionDisconnected_t__bindgen_ty_1 {
k_iCallback = 5702,
}
@@ -19389,6 +19622,17 @@ pub struct SteamDatagramHostedAddress {
pub struct SteamDatagramGameCoordinatorServerLogin {
_unused: [u8; 0],
}
+pub type FnSteamNetConnectionStatusChanged = ::std::option::Option<
+ unsafe extern "C" fn(arg1: *mut SteamNetConnectionStatusChangedCallback_t),
+>;
+pub type FnSteamNetAuthenticationStatusChanged =
+ ::std::option::Option<unsafe extern "C" fn(arg1: *mut SteamNetAuthenticationStatus_t)>;
+pub type FnSteamRelayNetworkStatusChanged =
+ ::std::option::Option<unsafe extern "C" fn(arg1: *mut SteamRelayNetworkStatus_t)>;
+pub type FnSteamNetworkingMessagesSessionRequest =
+ ::std::option::Option<unsafe extern "C" fn(arg1: *mut SteamNetworkingMessagesSessionRequest_t)>;
+pub type FnSteamNetworkingMessagesSessionFailed =
+ ::std::option::Option<unsafe extern "C" fn(arg1: *mut SteamNetworkingMessagesSessionFailed_t)>;
#[doc = " Handle used to identify a connection to a remote host."]
pub type HSteamNetConnection = uint32;
pub const k_HSteamNetConnection_Invalid: HSteamNetConnection = 0;
@@ -19417,7 +19661,7 @@ pub type SteamNetworkingMicroseconds = int64;
#[repr(i32)]
#[non_exhaustive]
#[doc = " Describe the status of a particular network resource"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingAvailability {
k_ESteamNetworkingAvailability_CannotTry = -102,
k_ESteamNetworkingAvailability_Failed = -101,
@@ -19433,7 +19677,7 @@ pub enum ESteamNetworkingAvailability {
#[repr(u32)]
#[non_exhaustive]
#[doc = " Different methods of describing the identity of a network host"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingIdentityType {
k_ESteamNetworkingIdentityType_Invalid = 0,
k_ESteamNetworkingIdentityType_SteamID = 16,
@@ -19456,96 +19700,97 @@ pub const SteamNetworkingIPAddr_k_cchMaxString: SteamNetworkingIPAddr__bindgen_t
SteamNetworkingIPAddr__bindgen_ty_1::k_cchMaxString;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamNetworkingIPAddr__bindgen_ty_1 {
k_cchMaxString = 48,
}
-#[repr(C)]
-#[derive(Copy, Clone)]
-pub union SteamNetworkingIPAddr__bindgen_ty_2 {
- pub m_ipv6: [uint8; 16usize],
- pub m_ipv4: SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1,
- _bindgen_union_align: [u8; 16usize],
-}
+#[doc = " RFC4038, section 4.2"]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
-pub struct SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1 {
+pub struct SteamNetworkingIPAddr_IPv4MappedAddress {
pub m_8zeros: uint64,
pub m_0000: uint16,
pub m_ffff: uint16,
pub m_ip: [uint8; 4usize],
}
#[test]
-fn bindgen_test_layout_SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1() {
+fn bindgen_test_layout_SteamNetworkingIPAddr_IPv4MappedAddress() {
assert_eq!(
- ::std::mem::size_of::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>(),
+ ::std::mem::size_of::<SteamNetworkingIPAddr_IPv4MappedAddress>(),
16usize,
concat!(
"Size of: ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1)
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress)
)
);
assert_eq!(
- ::std::mem::align_of::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>(),
+ ::std::mem::align_of::<SteamNetworkingIPAddr_IPv4MappedAddress>(),
1usize,
concat!(
"Alignment of ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1)
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress)
)
);
assert_eq!(
unsafe {
- &(*(::std::ptr::null::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>())).m_8zeros
- as *const _ as usize
+ &(*(::std::ptr::null::<SteamNetworkingIPAddr_IPv4MappedAddress>())).m_8zeros as *const _
+ as usize
},
0usize,
concat!(
"Offset of field: ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1),
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress),
"::",
stringify!(m_8zeros)
)
);
assert_eq!(
unsafe {
- &(*(::std::ptr::null::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>())).m_0000
- as *const _ as usize
+ &(*(::std::ptr::null::<SteamNetworkingIPAddr_IPv4MappedAddress>())).m_0000 as *const _
+ as usize
},
8usize,
concat!(
"Offset of field: ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1),
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress),
"::",
stringify!(m_0000)
)
);
assert_eq!(
unsafe {
- &(*(::std::ptr::null::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>())).m_ffff
- as *const _ as usize
+ &(*(::std::ptr::null::<SteamNetworkingIPAddr_IPv4MappedAddress>())).m_ffff as *const _
+ as usize
},
10usize,
concat!(
"Offset of field: ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1),
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress),
"::",
stringify!(m_ffff)
)
);
assert_eq!(
unsafe {
- &(*(::std::ptr::null::<SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1>())).m_ip
- as *const _ as usize
+ &(*(::std::ptr::null::<SteamNetworkingIPAddr_IPv4MappedAddress>())).m_ip as *const _
+ as usize
},
12usize,
concat!(
"Offset of field: ",
- stringify!(SteamNetworkingIPAddr__bindgen_ty_2__bindgen_ty_1),
+ stringify!(SteamNetworkingIPAddr_IPv4MappedAddress),
"::",
stringify!(m_ip)
)
);
}
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub union SteamNetworkingIPAddr__bindgen_ty_2 {
+ pub m_ipv6: [uint8; 16usize],
+ pub m_ipv4: SteamNetworkingIPAddr_IPv4MappedAddress,
+ _bindgen_union_align: [u8; 16usize],
+}
#[test]
fn bindgen_test_layout_SteamNetworkingIPAddr__bindgen_ty_2() {
assert_eq!(
@@ -19706,7 +19951,7 @@ pub const SteamNetworkingIdentity_k_cbMaxGenericBytes: SteamNetworkingIdentity__
SteamNetworkingIdentity__bindgen_ty_1::k_cchMaxGenericString;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamNetworkingIdentity__bindgen_ty_1 {
k_cchMaxString = 128,
k_cchMaxGenericString = 32,
@@ -19938,6 +20183,8 @@ extern "C" {
#[doc = " or any other time you need to encode the identity as a string. It has a"]
#[doc = " URL-like format (type:<type-data>). Your buffer should be at least"]
#[doc = " k_cchMaxString bytes big to avoid truncation."]
+ #[doc = ""]
+ #[doc = " See also SteamNetworkingIPAddrRender"]
#[link_name = "\u{1}_ZNK23SteamNetworkingIdentity8ToStringEPcm"]
pub fn SteamNetworkingIdentity_ToString(
this: *const SteamNetworkingIdentity,
@@ -19948,7 +20195,7 @@ extern "C" {
extern "C" {
#[doc = " Parse back a string that was generated using ToString. If we don't understand the"]
#[doc = " string, but it looks \"reasonable\" (it matches the pattern type:<type-data> and doesn't"]
- #[doc = " have any funcky characters, etc), then we will return true, and the type is set to"]
+ #[doc = " have any funky characters, etc), then we will return true, and the type is set to"]
#[doc = " k_ESteamNetworkingIdentityType_UnknownType. false will only be returned if the string"]
#[doc = " looks invalid."]
#[link_name = "\u{1}_ZN23SteamNetworkingIdentity11ParseStringEPKc"]
@@ -20030,7 +20277,7 @@ impl SteamNetworkingIdentity {
#[repr(i32)]
#[non_exhaustive]
#[doc = " High level connection status"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingConnectionState {
#[doc = " Dummy value used to indicate an error condition in the API."]
#[doc = " Specified connection doesn't exist or has already been closed."]
@@ -20131,7 +20378,7 @@ impl ESteamNetConnectionEnd {
#[doc = " Enumerate various causes of connection termination. These are designed to work similar"]
#[doc = " to HTTP error codes: the numeric range gives you a rough classification as to the source"]
#[doc = " of the problem."]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetConnectionEnd {
k_ESteamNetConnectionEnd_Invalid = 0,
k_ESteamNetConnectionEnd_App_Min = 1000,
@@ -20144,6 +20391,7 @@ pub enum ESteamNetConnectionEnd {
k_ESteamNetConnectionEnd_Local_HostedServerPrimaryRelay = 3003,
k_ESteamNetConnectionEnd_Local_NetworkConfig = 3004,
k_ESteamNetConnectionEnd_Local_Rights = 3005,
+ k_ESteamNetConnectionEnd_Local_P2P_ICE_NoPublicAddresses = 3006,
k_ESteamNetConnectionEnd_Local_Max = 3999,
k_ESteamNetConnectionEnd_Remote_Min = 4000,
k_ESteamNetConnectionEnd_Remote_Timeout = 4001,
@@ -20152,6 +20400,7 @@ pub enum ESteamNetConnectionEnd {
k_ESteamNetConnectionEnd_Remote_NotLoggedIn = 4004,
k_ESteamNetConnectionEnd_Remote_NotRunningApp = 4005,
k_ESteamNetConnectionEnd_Remote_BadProtocolVersion = 4006,
+ k_ESteamNetConnectionEnd_Remote_P2P_ICE_NoPublicAddresses = 4007,
k_ESteamNetConnectionEnd_Remote_Max = 4999,
k_ESteamNetConnectionEnd_Misc_Min = 5000,
k_ESteamNetConnectionEnd_Misc_Generic = 5001,
@@ -20160,6 +20409,9 @@ pub enum ESteamNetConnectionEnd {
k_ESteamNetConnectionEnd_Misc_RelayConnectivity = 5004,
k_ESteamNetConnectionEnd_Misc_SteamConnectivity = 5005,
k_ESteamNetConnectionEnd_Misc_NoRelaySessionsToClient = 5006,
+ k_ESteamNetConnectionEnd_Misc_P2P_Rendezvous = 5008,
+ k_ESteamNetConnectionEnd_Misc_P2P_NAT_Firewall = 5009,
+ k_ESteamNetConnectionEnd_Misc_PeerSentNoConnection = 5010,
k_ESteamNetConnectionEnd_Misc_Max = 5999,
k_ESteamNetConnectionEnd__Force32Bit = 2147483647,
}
@@ -20194,9 +20446,13 @@ pub struct SteamNetConnectionInfo_t {
#[doc = " diagnostic purposes only, not to display to users. It might"]
#[doc = " have some details specific to the issue."]
pub m_szEndDebug: [::std::os::raw::c_char; 128usize],
- #[doc = " Debug description. This includes the connection handle,"]
- #[doc = " connection type (and peer information), and the app name."]
- #[doc = " This string is used in various internal logging messages"]
+ #[doc = " Debug description. This includes the internal connection ID,"]
+ #[doc = " connection type (and peer information), and any name"]
+ #[doc = " given to the connection by the app. This string is used in various"]
+ #[doc = " internal logging messages."]
+ #[doc = ""]
+ #[doc = " Note that the connection ID *usually* matches the HSteamNetConnection"]
+ #[doc = " handle, but in certain cases with symmetric connections it might not."]
pub m_szConnectionDescription: [::std::os::raw::c_char; 128usize],
#[doc = " Internal stuff, room to change API easily"]
pub reserved: [uint32; 64usize],
@@ -20857,6 +21113,7 @@ pub const k_nSteamNetworkingSend_UnreliableNoDelay: ::std::os::raw::c_int = 5;
pub const k_nSteamNetworkingSend_Reliable: ::std::os::raw::c_int = 8;
pub const k_nSteamNetworkingSend_ReliableNoNagle: ::std::os::raw::c_int = 9;
pub const k_nSteamNetworkingSend_UseCurrentThread: ::std::os::raw::c_int = 16;
+pub const k_nSteamNetworkingSend_AutoRestartBrokenSession: ::std::os::raw::c_int = 32;
#[doc = " Object that describes a \"location\" on the Internet with sufficient"]
#[doc = " detail that we can reasonably estimate an upper bound on the ping between"]
#[doc = " the two hosts, even if a direct route between the hosts is not possible,"]
@@ -20906,7 +21163,7 @@ pub const k_nSteamNetworkingPing_Unknown: ::std::os::raw::c_int = -2;
#[repr(u32)]
#[non_exhaustive]
#[doc = " Configuration values can be applied to different types of objects."]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingConfigScope {
#[doc = " Get/set global option, or defaults. Even options that apply to more specific scopes"]
#[doc = " have global scope, and you may be able to just change the global defaults. If you"]
@@ -20930,19 +21187,19 @@ pub enum ESteamNetworkingConfigScope {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingConfigDataType {
k_ESteamNetworkingConfig_Int32 = 1,
k_ESteamNetworkingConfig_Int64 = 2,
k_ESteamNetworkingConfig_Float = 3,
k_ESteamNetworkingConfig_String = 4,
- k_ESteamNetworkingConfig_FunctionPtr = 5,
+ k_ESteamNetworkingConfig_Ptr = 5,
k_ESteamNetworkingConfigDataType__Force32Bit = 2147483647,
}
#[repr(u32)]
#[non_exhaustive]
#[doc = " Configuration options"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingConfigValue {
k_ESteamNetworkingConfig_Invalid = 0,
#[doc = " [global float, 0--100] Randomly discard N pct of packets instead of sending/recv"]
@@ -21034,6 +21291,173 @@ pub enum ESteamNetworkingConfigValue {
#[doc = ""]
#[doc = " (This flag is itself a dev variable.)"]
k_ESteamNetworkingConfig_EnumerateDevVars = 35,
+ #[doc = " [connection int32] Set this to 1 on outbound connections and listen sockets,"]
+ #[doc = " to enable \"symmetric connect mode\", which is useful in the following"]
+ #[doc = " common peer-to-peer use case:"]
+ #[doc = ""]
+ #[doc = " - The two peers are \"equal\" to each other. (Neither is clearly the \"client\""]
+ #[doc = " or \"server\".)"]
+ #[doc = " - Either peer may initiate the connection, and indeed they may do this"]
+ #[doc = " at the same time"]
+ #[doc = " - The peers only desire a single connection to each other, and if both"]
+ #[doc = " peers initiate connections simultaneously, a protocol is needed for them"]
+ #[doc = " to resolve the conflict, so that we end up with a single connection."]
+ #[doc = ""]
+ #[doc = " This use case is both common, and involves subtle race conditions and tricky"]
+ #[doc = " pitfalls, which is why the API has support for dealing with it."]
+ #[doc = ""]
+ #[doc = " If an incoming connection arrives on a listen socket or via custom signaling,"]
+ #[doc = " and the application has not attempted to make a matching outbound connection"]
+ #[doc = " in symmetric mode, then the incoming connection can be accepted as usual."]
+ #[doc = " A \"matching\" connection means that the relevant endpoint information matches."]
+ #[doc = " (At the time this comment is being written, this is only supported for P2P"]
+ #[doc = " connections, which means that the peer identities must match, and the virtual"]
+ #[doc = " port must match. At a later time, symmetric mode may be supported for other"]
+ #[doc = " connection types.)"]
+ #[doc = ""]
+ #[doc = " If connections are initiated by both peers simultaneously, race conditions"]
+ #[doc = " can arise, but fortunately, most of them are handled internally and do not"]
+ #[doc = " require any special awareness from the application. However, there"]
+ #[doc = " is one important case that application code must be aware of:"]
+ #[doc = " If application code attempts an outbound connection using a ConnectXxx"]
+ #[doc = " function in symmetric mode, and a matching incoming connection is already"]
+ #[doc = " waiting on a listen socket, then instead of forming a new connection,"]
+ #[doc = " the ConnectXxx call will accept the existing incoming connection, and return"]
+ #[doc = " a connection handle to this accepted connection."]
+ #[doc = " IMPORTANT: in this case, a SteamNetConnectionStatusChangedCallback_t"]
+ #[doc = " has probably *already* been posted to the queue for the incoming connection!"]
+ #[doc = " (Once callbacks are posted to the queue, they are not modified.) It doesn't"]
+ #[doc = " matter if the callback has not been consumed by the app. Thus, application"]
+ #[doc = " code that makes use of symmetric connections must be aware that, when processing a"]
+ #[doc = " SteamNetConnectionStatusChangedCallback_t for an incoming connection, the"]
+ #[doc = " m_hConn may refer to a new connection that the app has has not"]
+ #[doc = " seen before (the usual case), but it may also refer to a connection that"]
+ #[doc = " has already been accepted implicitly through a call to Connect()! In this"]
+ #[doc = " case, AcceptConnection() will return k_EResultDuplicateRequest."]
+ #[doc = ""]
+ #[doc = " Only one symmetric connection to a given peer (on a given virtual port)"]
+ #[doc = " may exist at any given time. If client code attempts to create a connection,"]
+ #[doc = " and a (live) connection already exists on the local host, then either the"]
+ #[doc = " existing connection will be accepted as described above, or the attempt"]
+ #[doc = " to create a new connection will fail. Furthermore, linger mode functionality"]
+ #[doc = " is not supported on symmetric connections."]
+ #[doc = ""]
+ #[doc = " A more complicated race condition can arise if both peers initiate a connection"]
+ #[doc = " at roughly the same time. In this situation, each peer will receive an incoming"]
+ #[doc = " connection from the other peer, when the application code has already initiated"]
+ #[doc = " an outgoing connection to that peer. The peers must resolve this conflict and"]
+ #[doc = " decide who is going to act as the \"server\" and who will act as the \"client\"."]
+ #[doc = " Typically the application does not need to be aware of this case as it is handled"]
+ #[doc = " internally. On both sides, the will observe their outbound connection being"]
+ #[doc = " \"accepted\", although one of them one have been converted internally to act"]
+ #[doc = " as the \"server\"."]
+ #[doc = ""]
+ #[doc = " In general, symmetric mode should be all-or-nothing: do not mix symmetric"]
+ #[doc = " connections with a non-symmetric connection that it might possible \"match\""]
+ #[doc = " with. If you use symmetric mode on any connections, then both peers should"]
+ #[doc = " use it on all connections, and the corresponding listen socket, if any. The"]
+ #[doc = " behaviour when symmetric and ordinary connections are mixed is not defined by"]
+ #[doc = " this API, and you should not rely on it. (This advice only applies when connections"]
+ #[doc = " might possibly \"match\". For example, it's OK to use all symmetric mode"]
+ #[doc = " connections on one virtual port, and all ordinary, non-symmetric connections"]
+ #[doc = " on a different virtual port, as there is no potential for ambiguity.)"]
+ #[doc = ""]
+ #[doc = " When using the feature, you should set it in the following situations on"]
+ #[doc = " applicable objects:"]
+ #[doc = ""]
+ #[doc = " - When creating an outbound connection using ConnectXxx function"]
+ #[doc = " - When creating a listen socket. (Note that this will automatically cause"]
+ #[doc = " any accepted connections to inherit the flag.)"]
+ #[doc = " - When using custom signaling, before accepting an incoming connection."]
+ #[doc = ""]
+ #[doc = " Setting the flag on listen socket and accepted connections will enable the"]
+ #[doc = " API to automatically deal with duplicate incoming connections, even if the"]
+ #[doc = " local host has not made any outbound requests. (In general, such duplicate"]
+ #[doc = " requests from a peer are ignored internally and will not be visible to the"]
+ #[doc = " application code. The previous connection must be closed or resolved first.)"]
+ k_ESteamNetworkingConfig_SymmetricConnect = 37,
+ #[doc = " [connection int32] For connection types that use \"virtual ports\", this can be used"]
+ #[doc = " to assign a local virtual port. For incoming connections, this will always be the"]
+ #[doc = " virtual port of the listen socket (or the port requested by the remote host if custom"]
+ #[doc = " signaling is used and the connection is accepted), and cannot be changed. For"]
+ #[doc = " connections initiated locally, the local virtual port will default to the same as the"]
+ #[doc = " requested remote virtual port, if you do not specify a different option when creating"]
+ #[doc = " the connection. The local port is only relevant for symmetric connections, when"]
+ #[doc = " determining if two connections \"match.\" In this case, if you need the local and remote"]
+ #[doc = " port to differ, you can set this value."]
+ #[doc = ""]
+ #[doc = " You can also read back this value on listen sockets."]
+ #[doc = ""]
+ #[doc = " This value should not be read or written in any other context."]
+ k_ESteamNetworkingConfig_LocalVirtualPort = 38,
+ #[doc = " [connection FnSteamNetConnectionStatusChanged] Callback that will be invoked"]
+ #[doc = " when the state of a connection changes."]
+ #[doc = ""]
+ #[doc = " IMPORTANT: callbacks are dispatched to the handler that is in effect at the time"]
+ #[doc = " the event occurs, which might be in another thread. For example, immediately after"]
+ #[doc = " creating a listen socket, you may receive an incoming connection. And then immediately"]
+ #[doc = " after this, the remote host may close the connection. All of this could happen"]
+ #[doc = " before the function to create the listen socket has returned. For this reason,"]
+ #[doc = " callbacks usually must be in effect at the time of object creation. This means"]
+ #[doc = " you should set them when you are creating the listen socket or connection, or have"]
+ #[doc = " them in effect so they will be inherited at the time of object creation."]
+ #[doc = ""]
+ #[doc = " For example:"]
+ #[doc = ""]
+ #[doc = " exterm void MyStatusChangedFunc( SteamNetConnectionStatusChangedCallback_t *info );"]
+ #[doc = " SteamNetworkingConfigValue_t opt; opt.SetPtr( k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged, MyStatusChangedFunc );"]
+ #[doc = " SteamNetworkingIPAddr localAddress; localAddress.Clear();"]
+ #[doc = " HSteamListenSocket hListenSock = SteamNetworkingSockets()->CreateListenSocketIP( localAddress, 1, &opt );"]
+ #[doc = ""]
+ #[doc = " When accepting an incoming connection, there is no atomic way to switch the"]
+ #[doc = " callback. However, if the connection is DOA, AcceptConnection() will fail, and"]
+ #[doc = " you can fetch the state of the connection at that time."]
+ #[doc = ""]
+ #[doc = " If all connections and listen sockets can use the same callback, the simplest"]
+ #[doc = " method is to set it globally before you create any listen sockets or connections."]
+ k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged = 201,
+ #[doc = " [global FnSteamNetAuthenticationStatusChanged] Callback that will be invoked"]
+ #[doc = " when our auth state changes. If you use this, install the callback before creating"]
+ #[doc = " any connections or listen sockets, and don't change it."]
+ #[doc = " See: ISteamNetworkingUtils::SetGlobalCallback_SteamNetAuthenticationStatusChanged"]
+ k_ESteamNetworkingConfig_Callback_AuthStatusChanged = 202,
+ #[doc = " [global FnSteamRelayNetworkStatusChanged] Callback that will be invoked"]
+ #[doc = " when our auth state changes. If you use this, install the callback before creating"]
+ #[doc = " any connections or listen sockets, and don't change it."]
+ #[doc = " See: ISteamNetworkingUtils::SetGlobalCallback_SteamRelayNetworkStatusChanged"]
+ k_ESteamNetworkingConfig_Callback_RelayNetworkStatusChanged = 203,
+ #[doc = " [global FnSteamNetworkingMessagesSessionRequest] Callback that will be invoked"]
+ #[doc = " when a peer wants to initiate a SteamNetworkingMessagesSessionRequest."]
+ #[doc = " See: ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionRequest"]
+ k_ESteamNetworkingConfig_Callback_MessagesSessionRequest = 204,
+ #[doc = " [global FnSteamNetworkingMessagesSessionFailed] Callback that will be invoked"]
+ #[doc = " when a session you have initiated, or accepted either fails to connect, or loses"]
+ #[doc = " connection in some unexpected way."]
+ #[doc = " See: ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionFailed"]
+ k_ESteamNetworkingConfig_Callback_MessagesSessionFailed = 205,
+ #[doc = " [global FnSteamNetworkingSocketsCreateConnectionSignaling] Callback that will"]
+ #[doc = " be invoked when we need to create a signaling object for a connection"]
+ #[doc = " initiated locally. See: ISteamNetworkingSockets::ConnectP2P,"]
+ #[doc = " ISteamNetworkingMessages."]
+ k_ESteamNetworkingConfig_Callback_CreateConnectionSignaling = 206,
+ #[doc = " [connection string] Comma-separated list of STUN servers that can be used"]
+ #[doc = " for NAT piercing. If you set this to an empty string, NAT piercing will"]
+ #[doc = " not be attempted. Also if \"public\" candidates are not allowed for"]
+ #[doc = " P2P_Transport_ICE_Enable, then this is ignored."]
+ k_ESteamNetworkingConfig_P2P_STUN_ServerList = 103,
+ #[doc = " [connection int32] What types of ICE candidates to share with the peer."]
+ #[doc = " See k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_xxx values"]
+ k_ESteamNetworkingConfig_P2P_Transport_ICE_Enable = 104,
+ #[doc = " [connection int32] When selecting P2P transport, add various"]
+ #[doc = " penalties to the scores for selected transports. (Route selection"]
+ #[doc = " scores are on a scale of milliseconds. The score begins with the"]
+ #[doc = " route ping time and is then adjusted.)"]
+ k_ESteamNetworkingConfig_P2P_Transport_ICE_Penalty = 105,
+ #[doc = " [connection int32] When selecting P2P transport, add various"]
+ #[doc = " penalties to the scores for selected transports. (Route selection"]
+ #[doc = " scores are on a scale of milliseconds. The score begins with the"]
+ #[doc = " route ping time and is then adjusted.)"]
+ k_ESteamNetworkingConfig_P2P_Transport_SDR_Penalty = 106,
#[doc = " [int32 global] If the first N pings to a port all fail, mark that port as unavailable for"]
#[doc = " a while, and try a different one. Some ISPs and routers may drop the first"]
#[doc = " packet, so setting this to 1 may greatly disrupt communications."]
@@ -21114,6 +21538,12 @@ pub enum ESteamNetworkingConfigValue {
#[doc = " in production."]
k_ESteamNetworkingConfigValue__Force32Bit = 2147483647,
}
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Default: ::std::os::raw::c_int = -1;
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Disable: ::std::os::raw::c_int = 0;
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Relay: ::std::os::raw::c_int = 1;
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Private: ::std::os::raw::c_int = 2;
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Public: ::std::os::raw::c_int = 4;
+pub const k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_All: ::std::os::raw::c_int = 2147483647;
#[doc = " In a few places we need to set configuration options on listen sockets and connections, and"]
#[doc = " have them take effect *before* the listen socket or connection really starts doing anything."]
#[doc = " Creating the object and then setting the options \"immediately\" after creation doesn't work"]
@@ -21142,7 +21572,7 @@ pub union SteamNetworkingConfigValue_t__bindgen_ty_1 {
pub m_int64: i64,
pub m_float: f32,
pub m_string: *const ::std::os::raw::c_char,
- pub m_functionPtr: *mut ::std::os::raw::c_void,
+ pub m_ptr: *mut ::std::os::raw::c_void,
_bindgen_union_align: u64,
}
#[test]
@@ -21217,15 +21647,15 @@ fn bindgen_test_layout_SteamNetworkingConfigValue_t__bindgen_ty_1() {
);
assert_eq!(
unsafe {
- &(*(::std::ptr::null::<SteamNetworkingConfigValue_t__bindgen_ty_1>())).m_functionPtr
- as *const _ as usize
+ &(*(::std::ptr::null::<SteamNetworkingConfigValue_t__bindgen_ty_1>())).m_ptr as *const _
+ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(SteamNetworkingConfigValue_t__bindgen_ty_1),
"::",
- stringify!(m_functionPtr)
+ stringify!(m_ptr)
)
);
}
@@ -21282,7 +21712,7 @@ fn bindgen_test_layout_SteamNetworkingConfigValue_t() {
#[repr(i32)]
#[non_exhaustive]
#[doc = " Return value of ISteamNetworkintgUtils::GetConfigValue"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingGetConfigValueResult {
k_ESteamNetworkingGetConfigValue_BadValue = -1,
k_ESteamNetworkingGetConfigValue_BadScopeObj = -2,
@@ -21295,7 +21725,7 @@ pub enum ESteamNetworkingGetConfigValueResult {
#[non_exhaustive]
#[doc = " Detail level for diagnostic output callback."]
#[doc = " See ISteamNetworkingUtils::SetDebugOutputFunction"]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ESteamNetworkingSocketsDebugOutputType {
k_ESteamNetworkingSocketsDebugOutputType_None = 0,
k_ESteamNetworkingSocketsDebugOutputType_Bug = 1,
@@ -21316,118 +21746,253 @@ pub type FSteamNetworkingSocketsDebugOutput = ::std::option::Option<
),
>;
pub const k_SteamDatagramPOPID_dev: SteamNetworkingPOPID = 6579574;
-pub type ISteamNetworkingMessage = SteamNetworkingMessage_t;
-pub type SteamDatagramErrMsg = SteamNetworkingErrMsg;
+#[doc = " Utility class for printing a SteamNetworkingPOPID."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
-pub struct ISteamNetworkingSocketsCallbacks {
- _unused: [u8; 0],
+pub struct SteamNetworkingPOPIDRender {
+ pub buf: [::std::os::raw::c_char; 8usize],
+}
+#[test]
+fn bindgen_test_layout_SteamNetworkingPOPIDRender() {
+ assert_eq!(
+ ::std::mem::size_of::<SteamNetworkingPOPIDRender>(),
+ 8usize,
+ concat!("Size of: ", stringify!(SteamNetworkingPOPIDRender))
+ );
+ assert_eq!(
+ ::std::mem::align_of::<SteamNetworkingPOPIDRender>(),
+ 1usize,
+ concat!("Alignment of ", stringify!(SteamNetworkingPOPIDRender))
+ );
+ assert_eq!(
+ unsafe { &(*(::std::ptr::null::<SteamNetworkingPOPIDRender>())).buf as *const _ as usize },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(SteamNetworkingPOPIDRender),
+ "::",
+ stringify!(buf)
+ )
+ );
}
+pub type ISteamNetworkingMessage = SteamNetworkingMessage_t;
+pub type SteamDatagramErrMsg = SteamNetworkingErrMsg;
#[repr(C)]
-pub struct ISteamNetworkingSockets__bindgen_vtable(::std::os::raw::c_void);
-#[doc = " Lower level networking interface that more closely mirrors the standard"]
-#[doc = " Berkeley sockets model. Sockets are hard! You should probably only use"]
-#[doc = " this interface under the existing circumstances:"]
+pub struct ISteamNetworkingMessages__bindgen_vtable(::std::os::raw::c_void);
+#[doc = " The non-connection-oriented interface to send and receive messages"]
+#[doc = " (whether they be \"clients\" or \"servers\")."]
#[doc = ""]
-#[doc = " - You have an existing socket-based codebase you want to port, or coexist with."]
-#[doc = " - You want to be able to connect based on IP address, rather than (just) Steam ID."]
-#[doc = " - You need low-level control of bandwidth utilization, when to drop packets, etc."]
+#[doc = " ISteamNetworkingSockets is connection-oriented (like TCP), meaning you"]
+#[doc = " need to listen and connect, and then you send messages using a connection"]
+#[doc = " handle. ISteamNetworkingMessages is more like UDP, in that you can just send"]
+#[doc = " messages to arbitrary peers at any time. The underlying connections are"]
+#[doc = " established implicitly."]
+#[doc = ""]
+#[doc = " Under the hood ISteamNetworkingMessages works on top of the ISteamNetworkingSockets"]
+#[doc = " code, so you get the same routing and messaging efficiency. The difference is"]
+#[doc = " mainly in your responsibility to explicitly establish a connection and"]
+#[doc = " the type of feedback you get about the state of the connection. Both"]
+#[doc = " interfaces can do \"P2P\" communications, and both support both unreliable"]
+#[doc = " and reliable messages, fragmentation and reassembly."]
+#[doc = ""]
+#[doc = " The primary purpose of this interface is to be \"like UDP\", so that UDP-based code"]
+#[doc = " can be ported easily to take advantage of relayed connections. If you find"]
+#[doc = " yourself needing more low level information or control, or to be able to better"]
+#[doc = " handle failure, then you probably need to use ISteamNetworkingSockets directly."]
+#[doc = " Also, note that if your main goal is to obtain a connection between two peers"]
+#[doc = " without concerning yourself with assigning roles of \"client\" and \"server\","]
+#[doc = " you may find the symmetric connection mode of ISteamNetworkingSockets useful."]
+#[doc = " (See k_ESteamNetworkingConfig_SymmetricConnect.)"]
#[doc = ""]
-#[doc = " Note that neither of the terms \"connection\" and \"socket\" will correspond"]
-#[doc = " one-to-one with an underlying UDP socket. An attempt has been made to"]
-#[doc = " keep the semantics as similar to the standard socket model when appropriate,"]
-#[doc = " but some deviations do exist."]
#[repr(C)]
-#[derive(Debug)]
-pub struct ISteamNetworkingSockets {
- pub vtable_: *const ISteamNetworkingSockets__bindgen_vtable,
+#[derive(Debug, Copy, Clone)]
+pub struct ISteamNetworkingMessages {
+ pub vtable_: *const ISteamNetworkingMessages__bindgen_vtable,
}
#[test]
-fn bindgen_test_layout_ISteamNetworkingSockets() {
+fn bindgen_test_layout_ISteamNetworkingMessages() {
assert_eq!(
- ::std::mem::size_of::<ISteamNetworkingSockets>(),
+ ::std::mem::size_of::<ISteamNetworkingMessages>(),
8usize,
- concat!("Size of: ", stringify!(ISteamNetworkingSockets))
+ concat!("Size of: ", stringify!(ISteamNetworkingMessages))
);
assert_eq!(
- ::std::mem::align_of::<ISteamNetworkingSockets>(),
+ ::std::mem::align_of::<ISteamNetworkingMessages>(),
8usize,
- concat!("Alignment of ", stringify!(ISteamNetworkingSockets))
+ concat!("Alignment of ", stringify!(ISteamNetworkingMessages))
);
}
-extern "C" {
- #[link_name = "\u{1}_ZN23ISteamNetworkingSocketsD1Ev"]
- pub fn ISteamNetworkingSockets_ISteamNetworkingSockets_destructor(
- this: *mut ISteamNetworkingSockets,
- );
+#[doc = " Posted when a remote host is sending us a message, and we do not already have a session with them"]
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct SteamNetworkingMessagesSessionRequest_t {
+ pub m_identityRemote: SteamNetworkingIdentity,
}
-impl ISteamNetworkingSockets {
- #[inline]
- pub unsafe fn destruct(&mut self) {
- ISteamNetworkingSockets_ISteamNetworkingSockets_destructor(self)
- }
+pub const SteamNetworkingMessagesSessionRequest_t_k_iCallback:
+ SteamNetworkingMessagesSessionRequest_t__bindgen_ty_1 =
+ SteamNetworkingMessagesSessionRequest_t__bindgen_ty_1::k_iCallback;
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum SteamNetworkingMessagesSessionRequest_t__bindgen_ty_1 {
+ k_iCallback = 1251,
}
-#[repr(C)]
-pub struct ISteamNetworkingConnectionCustomSignaling__bindgen_vtable(::std::os::raw::c_void);
-#[doc = " Interface used to send signaling messages for a particular connection."]
-#[doc = " You will need to construct one of these per connection."]
+#[test]
+fn bindgen_test_layout_SteamNetworkingMessagesSessionRequest_t() {
+ assert_eq!(
+ ::std::mem::size_of::<SteamNetworkingMessagesSessionRequest_t>(),
+ 136usize,
+ concat!(
+ "Size of: ",
+ stringify!(SteamNetworkingMessagesSessionRequest_t)
+ )
+ );
+ assert_eq!(
+ ::std::mem::align_of::<SteamNetworkingMessagesSessionRequest_t>(),
+ 1usize,
+ concat!(
+ "Alignment of ",
+ stringify!(SteamNetworkingMessagesSessionRequest_t)
+ )
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<SteamNetworkingMessagesSessionRequest_t>())).m_identityRemote
+ as *const _ as usize
+ },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(SteamNetworkingMessagesSessionRequest_t),
+ "::",
+ stringify!(m_identityRemote)
+ )
+ );
+}
+#[doc = " Posted when we fail to establish a connection, or we detect that communications"]
+#[doc = " have been disrupted it an unusual way. There is no notification when a peer proactively"]
+#[doc = " closes the session. (\"Closed by peer\" is not a concept of UDP-style communications, and"]
+#[doc = " SteamNetworkingMessages is primarily intended to make porting UDP code easy.)"]
#[doc = ""]
-#[doc = " - For connections initiated locally, you will construct it and pass"]
-#[doc = " it to ISteamNetworkingSockets::ConnectP2PCustomSignaling."]
-#[doc = " - For connections initiated remotely and \"accepted\" locally, you"]
-#[doc = " will return it from ISteamNetworkingCustomSignalingRecvContext::OnConnectRequest"]
-#[repr(C)]
-#[derive(Debug, Copy, Clone)]
-pub struct ISteamNetworkingConnectionCustomSignaling {
- pub vtable_: *const ISteamNetworkingConnectionCustomSignaling__bindgen_vtable,
+#[doc = " Remember: callbacks are asynchronous. See notes on SendMessageToUser,"]
+#[doc = " and k_nSteamNetworkingSend_AutoRestartBrokenSession in particular."]
+#[doc = ""]
+#[doc = " Also, if a session times out due to inactivity, no callbacks will be posted. The only"]
+#[doc = " way to detect that this is happening is that querying the session state may return"]
+#[doc = " none, connecting, and findingroute again."]
+#[repr(C, packed)]
+#[derive(Copy, Clone)]
+pub struct SteamNetworkingMessagesSessionFailed_t {
+ #[doc = " Detailed info about the session that failed."]
+ #[doc = " SteamNetConnectionInfo_t::m_identityRemote indicates who this session"]
+ #[doc = " was with."]
+ pub m_info: SteamNetConnectionInfo_t,
+}
+pub const SteamNetworkingMessagesSessionFailed_t_k_iCallback:
+ SteamNetworkingMessagesSessionFailed_t__bindgen_ty_1 =
+ SteamNetworkingMessagesSessionFailed_t__bindgen_ty_1::k_iCallback;
+#[repr(u32)]
+#[non_exhaustive]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
+pub enum SteamNetworkingMessagesSessionFailed_t__bindgen_ty_1 {
+ k_iCallback = 1252,
}
#[test]
-fn bindgen_test_layout_ISteamNetworkingConnectionCustomSignaling() {
+fn bindgen_test_layout_SteamNetworkingMessagesSessionFailed_t() {
assert_eq!(
- ::std::mem::size_of::<ISteamNetworkingConnectionCustomSignaling>(),
- 8usize,
+ ::std::mem::size_of::<SteamNetworkingMessagesSessionFailed_t>(),
+ 696usize,
concat!(
"Size of: ",
- stringify!(ISteamNetworkingConnectionCustomSignaling)
+ stringify!(SteamNetworkingMessagesSessionFailed_t)
)
);
assert_eq!(
- ::std::mem::align_of::<ISteamNetworkingConnectionCustomSignaling>(),
- 8usize,
+ ::std::mem::align_of::<SteamNetworkingMessagesSessionFailed_t>(),
+ 1usize,
concat!(
"Alignment of ",
- stringify!(ISteamNetworkingConnectionCustomSignaling)
+ stringify!(SteamNetworkingMessagesSessionFailed_t)
+ )
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<SteamNetworkingMessagesSessionFailed_t>())).m_info as *const _
+ as usize
+ },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(SteamNetworkingMessagesSessionFailed_t),
+ "::",
+ stringify!(m_info)
)
);
}
#[repr(C)]
-pub struct ISteamNetworkingCustomSignalingRecvContext__bindgen_vtable(::std::os::raw::c_void);
-#[doc = " Interface used when a custom signal is received."]
-#[doc = " See ISteamNetworkingSockets::ReceivedP2PCustomSignal"]
+#[derive(Debug, Copy, Clone)]
+pub struct ISteamNetworkingConnectionSignaling {
+ _unused: [u8; 0],
+}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
-pub struct ISteamNetworkingCustomSignalingRecvContext {
- pub vtable_: *const ISteamNetworkingCustomSignalingRecvContext__bindgen_vtable,
+pub struct ISteamNetworkingSignalingRecvContext {
+ _unused: [u8; 0],
+}
+#[repr(C)]
+pub struct ISteamNetworkingSockets__bindgen_vtable(::std::os::raw::c_void);
+#[doc = " Lower level networking API."]
+#[doc = ""]
+#[doc = " - Connection-oriented API (like TCP, not UDP). When sending and receiving"]
+#[doc = " messages, a connection handle is used. (For a UDP-style interface, see"]
+#[doc = " ISteamNetworkingMessages.) In this TCP-style interface, the \"server\" will"]
+#[doc = " \"listen\" on a \"listen socket.\" A \"client\" will \"connect\" to the server,"]
+#[doc = " and the server will \"accept\" the connection."]
+#[doc = " - But unlike TCP, it's message-oriented, not stream-oriented."]
+#[doc = " - Mix of reliable and unreliable messages"]
+#[doc = " - Fragmentation and reassembly"]
+#[doc = " - Supports connectivity over plain UDP"]
+#[doc = " - Also supports SDR (\"Steam Datagram Relay\") connections, which are"]
+#[doc = " addressed by the identity of the peer. There is a \"P2P\" use case and"]
+#[doc = " a \"hosted dedicated server\" use case."]
+#[doc = ""]
+#[doc = " Note that neither of the terms \"connection\" nor \"socket\" necessarily correspond"]
+#[doc = " one-to-one with an underlying UDP socket. An attempt has been made to"]
+#[doc = " keep the semantics as similar to the standard socket model when appropriate,"]
+#[doc = " but some deviations do exist."]
+#[doc = ""]
+#[doc = " See also: ISteamNetworkingMessages, the UDP-style interface. This API might be"]
+#[doc = " easier to use, especially when porting existing UDP code."]
+#[repr(C)]
+#[derive(Debug)]
+pub struct ISteamNetworkingSockets {
+ pub vtable_: *const ISteamNetworkingSockets__bindgen_vtable,
}
#[test]
-fn bindgen_test_layout_ISteamNetworkingCustomSignalingRecvContext() {
+fn bindgen_test_layout_ISteamNetworkingSockets() {
assert_eq!(
- ::std::mem::size_of::<ISteamNetworkingCustomSignalingRecvContext>(),
+ ::std::mem::size_of::<ISteamNetworkingSockets>(),
8usize,
- concat!(
- "Size of: ",
- stringify!(ISteamNetworkingCustomSignalingRecvContext)
- )
+ concat!("Size of: ", stringify!(ISteamNetworkingSockets))
);
assert_eq!(
- ::std::mem::align_of::<ISteamNetworkingCustomSignalingRecvContext>(),
+ ::std::mem::align_of::<ISteamNetworkingSockets>(),
8usize,
- concat!(
- "Alignment of ",
- stringify!(ISteamNetworkingCustomSignalingRecvContext)
- )
+ concat!("Alignment of ", stringify!(ISteamNetworkingSockets))
+ );
+}
+extern "C" {
+ #[link_name = "\u{1}_ZN23ISteamNetworkingSocketsD1Ev"]
+ pub fn ISteamNetworkingSockets_ISteamNetworkingSockets_destructor(
+ this: *mut ISteamNetworkingSockets,
);
}
+impl ISteamNetworkingSockets {
+ #[inline]
+ pub unsafe fn destruct(&mut self) {
+ ISteamNetworkingSockets_ISteamNetworkingSockets_destructor(self)
+ }
+}
#[doc = " This callback is posted whenever a connection is created, destroyed, or changes state."]
#[doc = " The m_info field will contain a complete description of the connection at the time the"]
#[doc = " change occurred and the callback was posted. In particular, m_eState will have the"]
@@ -21478,7 +22043,7 @@ pub const SteamNetConnectionStatusChangedCallback_t_k_iCallback:
SteamNetConnectionStatusChangedCallback_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamNetConnectionStatusChangedCallback_t__bindgen_ty_1 {
k_iCallback = 1221,
}
@@ -21561,7 +22126,7 @@ pub const SteamNetAuthenticationStatus_t_k_iCallback: SteamNetAuthenticationStat
SteamNetAuthenticationStatus_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamNetAuthenticationStatus_t__bindgen_ty_1 {
k_iCallback = 1222,
}
@@ -21650,6 +22215,14 @@ extern "C" {
) -> bool;
}
extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils23SetGlobalConfigValuePtrE27ESteamNetworkingConfigValuePv"]
+ pub fn ISteamNetworkingUtils_SetGlobalConfigValuePtr(
+ this: *mut ISteamNetworkingUtils,
+ eValue: ESteamNetworkingConfigValue,
+ val: *mut ::std::os::raw::c_void,
+ ) -> bool;
+}
+extern "C" {
#[link_name = "\u{1}_ZN21ISteamNetworkingUtils29SetConnectionConfigValueInt32Ej27ESteamNetworkingConfigValuei"]
pub fn ISteamNetworkingUtils_SetConnectionConfigValueInt32(
this: *mut ISteamNetworkingUtils,
@@ -21677,6 +22250,41 @@ extern "C" {
) -> bool;
}
extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils49SetGlobalCallback_SteamNetConnectionStatusChangedEPFvP41SteamNetConnectionStatusChangedCallback_tE"]
+ pub fn ISteamNetworkingUtils_SetGlobalCallback_SteamNetConnectionStatusChanged(
+ this: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetConnectionStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils53SetGlobalCallback_SteamNetAuthenticationStatusChangedEPFvP30SteamNetAuthenticationStatus_tE"]
+ pub fn ISteamNetworkingUtils_SetGlobalCallback_SteamNetAuthenticationStatusChanged(
+ this: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetAuthenticationStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils48SetGlobalCallback_SteamRelayNetworkStatusChangedEPFvP25SteamRelayNetworkStatus_tE"]
+ pub fn ISteamNetworkingUtils_SetGlobalCallback_SteamRelayNetworkStatusChanged(
+ this: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamRelayNetworkStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils40SetGlobalCallback_MessagesSessionRequestEPFvP39SteamNetworkingMessagesSessionRequest_tE"]
+ pub fn ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionRequest(
+ this: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetworkingMessagesSessionRequest,
+ ) -> bool;
+}
+extern "C" {
+ #[link_name = "\u{1}_ZN21ISteamNetworkingUtils39SetGlobalCallback_MessagesSessionFailedEPFvP38SteamNetworkingMessagesSessionFailed_tE"]
+ pub fn ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionFailed(
+ this: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetworkingMessagesSessionFailed,
+ ) -> bool;
+}
+extern "C" {
#[doc = " Set a configuration value, using a struct to pass the value."]
#[doc = " (This is just a convenience shortcut; see below for the implementation and"]
#[doc = " a little insight into how SteamNetworkingConfigValue_t is used when"]
@@ -21719,6 +22327,14 @@ impl ISteamNetworkingUtils {
ISteamNetworkingUtils_SetGlobalConfigValueString(self, eValue, val)
}
#[inline]
+ pub unsafe fn SetGlobalConfigValuePtr(
+ &mut self,
+ eValue: ESteamNetworkingConfigValue,
+ val: *mut ::std::os::raw::c_void,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalConfigValuePtr(self, eValue, val)
+ }
+ #[inline]
pub unsafe fn SetConnectionConfigValueInt32(
&mut self,
hConn: HSteamNetConnection,
@@ -21746,6 +22362,43 @@ impl ISteamNetworkingUtils {
ISteamNetworkingUtils_SetConnectionConfigValueString(self, hConn, eValue, val)
}
#[inline]
+ pub unsafe fn SetGlobalCallback_SteamNetConnectionStatusChanged(
+ &mut self,
+ fnCallback: FnSteamNetConnectionStatusChanged,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalCallback_SteamNetConnectionStatusChanged(self, fnCallback)
+ }
+ #[inline]
+ pub unsafe fn SetGlobalCallback_SteamNetAuthenticationStatusChanged(
+ &mut self,
+ fnCallback: FnSteamNetAuthenticationStatusChanged,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalCallback_SteamNetAuthenticationStatusChanged(
+ self, fnCallback,
+ )
+ }
+ #[inline]
+ pub unsafe fn SetGlobalCallback_SteamRelayNetworkStatusChanged(
+ &mut self,
+ fnCallback: FnSteamRelayNetworkStatusChanged,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalCallback_SteamRelayNetworkStatusChanged(self, fnCallback)
+ }
+ #[inline]
+ pub unsafe fn SetGlobalCallback_MessagesSessionRequest(
+ &mut self,
+ fnCallback: FnSteamNetworkingMessagesSessionRequest,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionRequest(self, fnCallback)
+ }
+ #[inline]
+ pub unsafe fn SetGlobalCallback_MessagesSessionFailed(
+ &mut self,
+ fnCallback: FnSteamNetworkingMessagesSessionFailed,
+ ) -> bool {
+ ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionFailed(self, fnCallback)
+ }
+ #[inline]
pub unsafe fn SetConfigValueStruct(
&mut self,
opt: *const SteamNetworkingConfigValue_t,
@@ -21792,7 +22445,7 @@ pub const SteamRelayNetworkStatus_t_k_iCallback: SteamRelayNetworkStatus_t__bind
SteamRelayNetworkStatus_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum SteamRelayNetworkStatus_t__bindgen_ty_1 {
k_iCallback = 1281,
}
@@ -21872,6 +22525,67 @@ fn bindgen_test_layout_SteamRelayNetworkStatus_t() {
)
);
}
+#[doc = " Utility class for printing a SteamNetworkingIdentity."]
+#[doc = " E.g. printf( \"Identity is '%s'\\n\", SteamNetworkingIdentityRender( identity ).c_str() );"]
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct SteamNetworkingIdentityRender {
+ pub buf: [::std::os::raw::c_char; 128usize],
+}
+#[test]
+fn bindgen_test_layout_SteamNetworkingIdentityRender() {
+ assert_eq!(
+ ::std::mem::size_of::<SteamNetworkingIdentityRender>(),
+ 128usize,
+ concat!("Size of: ", stringify!(SteamNetworkingIdentityRender))
+ );
+ assert_eq!(
+ ::std::mem::align_of::<SteamNetworkingIdentityRender>(),
+ 1usize,
+ concat!("Alignment of ", stringify!(SteamNetworkingIdentityRender))
+ );
+ assert_eq!(
+ unsafe {
+ &(*(::std::ptr::null::<SteamNetworkingIdentityRender>())).buf as *const _ as usize
+ },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(SteamNetworkingIdentityRender),
+ "::",
+ stringify!(buf)
+ )
+ );
+}
+#[doc = " Utility class for printing a SteamNetworkingIPAddrRender."]
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct SteamNetworkingIPAddrRender {
+ pub buf: [::std::os::raw::c_char; 48usize],
+}
+#[test]
+fn bindgen_test_layout_SteamNetworkingIPAddrRender() {
+ assert_eq!(
+ ::std::mem::size_of::<SteamNetworkingIPAddrRender>(),
+ 48usize,
+ concat!("Size of: ", stringify!(SteamNetworkingIPAddrRender))
+ );
+ assert_eq!(
+ ::std::mem::align_of::<SteamNetworkingIPAddrRender>(),
+ 1usize,
+ concat!("Alignment of ", stringify!(SteamNetworkingIPAddrRender))
+ );
+ assert_eq!(
+ unsafe { &(*(::std::ptr::null::<SteamNetworkingIPAddrRender>())).buf as *const _ as usize },
+ 0usize,
+ concat!(
+ "Offset of field: ",
+ stringify!(SteamNetworkingIPAddrRender),
+ "::",
+ stringify!(buf)
+ )
+ );
+}
extern "C" {
pub fn SteamAPI_Init() -> bool;
}
@@ -21957,13 +22671,6 @@ fn bindgen_test_layout_ISteamGameServer() {
concat!("Alignment of ", stringify!(ISteamGameServer))
);
}
-pub const k_unServerFlagNone: uint32 = 0;
-pub const k_unServerFlagActive: uint32 = 1;
-pub const k_unServerFlagSecure: uint32 = 2;
-pub const k_unServerFlagDedicated: uint32 = 4;
-pub const k_unServerFlagLinux: uint32 = 8;
-pub const k_unServerFlagPassworded: uint32 = 16;
-pub const k_unServerFlagPrivate: uint32 = 32;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct GSClientApprove_t {
@@ -21974,7 +22681,7 @@ pub const GSClientApprove_t_k_iCallback: GSClientApprove_t__bindgen_ty_1 =
GSClientApprove_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSClientApprove_t__bindgen_ty_1 {
k_iCallback = 201,
}
@@ -22024,7 +22731,7 @@ pub const GSClientDeny_t_k_iCallback: GSClientDeny_t__bindgen_ty_1 =
GSClientDeny_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSClientDeny_t__bindgen_ty_1 {
k_iCallback = 202,
}
@@ -22083,7 +22790,7 @@ pub const GSClientKick_t_k_iCallback: GSClientKick_t__bindgen_ty_1 =
GSClientKick_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSClientKick_t__bindgen_ty_1 {
k_iCallback = 203,
}
@@ -22131,7 +22838,7 @@ pub const GSClientAchievementStatus_t_k_iCallback: GSClientAchievementStatus_t__
GSClientAchievementStatus_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSClientAchievementStatus_t__bindgen_ty_1 {
k_iCallback = 206,
}
@@ -22194,7 +22901,7 @@ pub const GSPolicyResponse_t_k_iCallback: GSPolicyResponse_t__bindgen_ty_1 =
GSPolicyResponse_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSPolicyResponse_t__bindgen_ty_1 {
k_iCallback = 115,
}
@@ -22233,7 +22940,7 @@ pub const GSGameplayStats_t_k_iCallback: GSGameplayStats_t__bindgen_ty_1 =
GSGameplayStats_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSGameplayStats_t__bindgen_ty_1 {
k_iCallback = 207,
}
@@ -22307,7 +23014,7 @@ pub const GSClientGroupStatus_t_k_iCallback: GSClientGroupStatus_t__bindgen_ty_1
GSClientGroupStatus_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSClientGroupStatus_t__bindgen_ty_1 {
k_iCallback = 208,
}
@@ -22380,13 +23087,12 @@ pub struct GSReputation_t {
pub m_usBannedPort: uint16,
pub m_ulBannedGameID: uint64,
pub m_unBanExpires: uint32,
- pub __bindgen_padding_0: [u8; 5usize],
}
pub const GSReputation_t_k_iCallback: GSReputation_t__bindgen_ty_1 =
GSReputation_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSReputation_t__bindgen_ty_1 {
k_iCallback = 209,
}
@@ -22484,7 +23190,7 @@ pub const AssociateWithClanResult_t_k_iCallback: AssociateWithClanResult_t__bind
AssociateWithClanResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum AssociateWithClanResult_t__bindgen_ty_1 {
k_iCallback = 210,
}
@@ -22527,7 +23233,7 @@ pub const ComputeNewPlayerCompatibilityResult_t_k_iCallback:
ComputeNewPlayerCompatibilityResult_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ComputeNewPlayerCompatibilityResult_t__bindgen_ty_1 {
k_iCallback = 211,
}
@@ -22645,7 +23351,7 @@ pub const GSStatsReceived_t_k_iCallback: GSStatsReceived_t__bindgen_ty_1 =
GSStatsReceived_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSStatsReceived_t__bindgen_ty_1 {
k_iCallback = 1800,
}
@@ -22692,7 +23398,7 @@ pub const GSStatsStored_t_k_iCallback: GSStatsStored_t__bindgen_ty_1 =
GSStatsStored_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSStatsStored_t__bindgen_ty_1 {
k_iCallback = 1801,
}
@@ -22738,7 +23444,7 @@ pub const GSStatsUnloaded_t_k_iCallback: GSStatsUnloaded_t__bindgen_ty_1 =
GSStatsUnloaded_t__bindgen_ty_1::k_iCallback;
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GSStatsUnloaded_t__bindgen_ty_1 {
k_iCallback = 1108,
}
@@ -23208,6 +23914,12 @@ extern "C" {
pub fn SteamAPI_ISteamUser_GetDurationControl(self_: *mut ISteamUser) -> SteamAPICall_t;
}
extern "C" {
+ pub fn SteamAPI_ISteamUser_BSetDurationControlOnlineState(
+ self_: *mut ISteamUser,
+ eNewState: EDurationControlOnlineState,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_SteamFriends_v017() -> *mut ISteamFriends;
}
extern "C" {
@@ -23674,10 +24386,22 @@ extern "C" {
);
}
extern "C" {
+ pub fn SteamAPI_ISteamFriends_RegisterProtocolInOverlayBrowser(
+ self_: *mut ISteamFriends,
+ pchProtocol: *const ::std::os::raw::c_char,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialogConnectString(
+ self_: *mut ISteamFriends,
+ pchConnectString: *const ::std::os::raw::c_char,
+ );
+}
+extern "C" {
pub fn SteamAPI_SteamUtils_v010() -> *mut ISteamUtils;
}
extern "C" {
- pub fn SteamAPI_SteamGameServerUtils_v009() -> *mut ISteamUtils;
+ pub fn SteamAPI_SteamGameServerUtils_v010() -> *mut ISteamUtils;
}
extern "C" {
pub fn SteamAPI_ISteamUtils_GetSecondsSinceAppActive(self_: *mut ISteamUtils) -> uint32;
@@ -23713,13 +24437,6 @@ extern "C" {
) -> bool;
}
extern "C" {
- pub fn SteamAPI_ISteamUtils_GetCSERIPPort(
- self_: *mut ISteamUtils,
- unIP: *mut uint32,
- usPort: *mut uint16,
- ) -> bool;
-}
-extern "C" {
pub fn SteamAPI_ISteamUtils_GetCurrentBatteryPower(self_: *mut ISteamUtils) -> uint8;
}
extern "C" {
@@ -23829,15 +24546,19 @@ extern "C" {
pub fn SteamAPI_ISteamUtils_IsSteamChinaLauncher(self_: *mut ISteamUtils) -> bool;
}
extern "C" {
- pub fn SteamAPI_ISteamUtils_InitFilterText(self_: *mut ISteamUtils) -> bool;
+ pub fn SteamAPI_ISteamUtils_InitFilterText(
+ self_: *mut ISteamUtils,
+ unFilterOptions: uint32,
+ ) -> bool;
}
extern "C" {
pub fn SteamAPI_ISteamUtils_FilterText(
self_: *mut ISteamUtils,
+ eContext: ETextFilteringContext,
+ sourceSteamID: uint64_steamid,
+ pchInputMessage: *const ::std::os::raw::c_char,
pchOutFilteredText: *mut ::std::os::raw::c_char,
nByteSizeOutFilteredText: uint32,
- pchInputMessage: *const ::std::os::raw::c_char,
- bLegalOnly: bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
@@ -25196,6 +25917,22 @@ extern "C" {
) -> int32;
}
extern "C" {
+ pub fn SteamAPI_ISteamUserStats_GetAchievementProgressLimitsInt32(
+ self_: *mut ISteamUserStats,
+ pchName: *const ::std::os::raw::c_char,
+ pnMinProgress: *mut int32,
+ pnMaxProgress: *mut int32,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamUserStats_GetAchievementProgressLimitsFloat(
+ self_: *mut ISteamUserStats,
+ pchName: *const ::std::os::raw::c_char,
+ pfMinProgress: *mut f32,
+ pfMaxProgress: *mut f32,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_SteamApps_v008() -> *mut ISteamApps;
}
extern "C" {
@@ -25335,6 +26072,13 @@ extern "C" {
pub fn SteamAPI_ISteamApps_BIsSubscribedFromFamilySharing(self_: *mut ISteamApps) -> bool;
}
extern "C" {
+ pub fn SteamAPI_ISteamApps_BIsTimedTrial(
+ self_: *mut ISteamApps,
+ punSecondsAllowed: *mut uint32,
+ punSecondsPlayed: *mut uint32,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_SteamNetworking_v006() -> *mut ISteamNetworking;
}
extern "C" {
@@ -25964,7 +26708,7 @@ extern "C" {
) -> bool;
}
extern "C" {
- pub fn SteamAPI_SteamInput_v001() -> *mut ISteamInput;
+ pub fn SteamAPI_SteamInput_v002() -> *mut ISteamInput;
}
extern "C" {
pub fn SteamAPI_ISteamInput_Init(self_: *mut ISteamInput) -> bool;
@@ -26198,7 +26942,7 @@ extern "C" {
) -> uint32;
}
extern "C" {
- pub fn SteamAPI_SteamController_v007() -> *mut ISteamController;
+ pub fn SteamAPI_SteamController_v008() -> *mut ISteamController;
}
extern "C" {
pub fn SteamAPI_ISteamController_Init(self_: *mut ISteamController) -> bool;
@@ -26429,7 +27173,7 @@ extern "C" {
pub fn SteamAPI_SteamUGC_v015() -> *mut ISteamUGC;
}
extern "C" {
- pub fn SteamAPI_SteamGameServerUGC_v014() -> *mut ISteamUGC;
+ pub fn SteamAPI_SteamGameServerUGC_v015() -> *mut ISteamUGC;
}
extern "C" {
pub fn SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(
@@ -26485,6 +27229,33 @@ extern "C" {
) -> bool;
}
extern "C" {
+ pub fn SteamAPI_ISteamUGC_GetQueryUGCNumTags(
+ self_: *mut ISteamUGC,
+ handle: UGCQueryHandle_t,
+ index: uint32,
+ ) -> uint32;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamUGC_GetQueryUGCTag(
+ self_: *mut ISteamUGC,
+ handle: UGCQueryHandle_t,
+ index: uint32,
+ indexTag: uint32,
+ pchValue: *mut ::std::os::raw::c_char,
+ cchValueSize: uint32,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamUGC_GetQueryUGCTagDisplayName(
+ self_: *mut ISteamUGC,
+ handle: UGCQueryHandle_t,
+ index: uint32,
+ indexTag: uint32,
+ pchValue: *mut ::std::os::raw::c_char,
+ cchValueSize: uint32,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_ISteamUGC_GetQueryUGCPreviewURL(
self_: *mut ISteamUGC,
handle: UGCQueryHandle_t,
@@ -27589,6 +28360,13 @@ extern "C" {
) -> bool;
}
extern "C" {
+ pub fn SteamAPI_ISteamInventory_InspectItem(
+ self_: *mut ISteamInventory,
+ pResultHandle: *mut SteamInventoryResult_t,
+ pchItemToken: *const ::std::os::raw::c_char,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_SteamVideo_v002() -> *mut ISteamVideo;
}
extern "C" {
@@ -27612,53 +28390,6 @@ extern "C" {
) -> bool;
}
extern "C" {
- pub fn SteamAPI_SteamTV_v001() -> *mut ISteamTV;
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_IsBroadcasting(
- self_: *mut ISteamTV,
- pnNumViewers: *mut ::std::os::raw::c_int,
- ) -> bool;
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_AddBroadcastGameData(
- self_: *mut ISteamTV,
- pchKey: *const ::std::os::raw::c_char,
- pchValue: *const ::std::os::raw::c_char,
- );
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_RemoveBroadcastGameData(
- self_: *mut ISteamTV,
- pchKey: *const ::std::os::raw::c_char,
- );
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_AddTimelineMarker(
- self_: *mut ISteamTV,
- pchTemplateName: *const ::std::os::raw::c_char,
- bPersistent: bool,
- nColorR: uint8,
- nColorG: uint8,
- nColorB: uint8,
- );
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_RemoveTimelineMarker(self_: *mut ISteamTV);
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_AddRegion(
- self_: *mut ISteamTV,
- pchElementName: *const ::std::os::raw::c_char,
- pchTimelineDataSection: *const ::std::os::raw::c_char,
- pSteamTVRegion: *const SteamTVRegion_t,
- eSteamTVRegionBehavior: ESteamTVRegionBehavior,
- ) -> uint32;
-}
-extern "C" {
- pub fn SteamAPI_ISteamTV_RemoveRegion(self_: *mut ISteamTV, unRegionHandle: uint32);
-}
-extern "C" {
pub fn SteamAPI_SteamParentalSettings_v001() -> *mut ISteamParentalSettings;
}
extern "C" {
@@ -27740,10 +28471,62 @@ extern "C" {
) -> bool;
}
extern "C" {
- pub fn SteamAPI_SteamNetworkingSockets_v008() -> *mut ISteamNetworkingSockets;
+ pub fn SteamAPI_SteamNetworkingMessages_SteamAPI_v002() -> *mut ISteamNetworkingMessages;
+}
+extern "C" {
+ pub fn SteamAPI_SteamGameServerNetworkingMessages_SteamAPI_v002(
+ ) -> *mut ISteamNetworkingMessages;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_SendMessageToUser(
+ self_: *mut ISteamNetworkingMessages,
+ identityRemote: *const SteamNetworkingIdentity,
+ pubData: *const ::std::os::raw::c_void,
+ cubData: uint32,
+ nSendFlags: ::std::os::raw::c_int,
+ nRemoteChannel: ::std::os::raw::c_int,
+ ) -> EResult;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_ReceiveMessagesOnChannel(
+ self_: *mut ISteamNetworkingMessages,
+ nLocalChannel: ::std::os::raw::c_int,
+ ppOutMessages: *mut *mut SteamNetworkingMessage_t,
+ nMaxMessages: ::std::os::raw::c_int,
+ ) -> ::std::os::raw::c_int;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_AcceptSessionWithUser(
+ self_: *mut ISteamNetworkingMessages,
+ identityRemote: *const SteamNetworkingIdentity,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_CloseSessionWithUser(
+ self_: *mut ISteamNetworkingMessages,
+ identityRemote: *const SteamNetworkingIdentity,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_CloseChannelWithUser(
+ self_: *mut ISteamNetworkingMessages,
+ identityRemote: *const SteamNetworkingIdentity,
+ nLocalChannel: ::std::os::raw::c_int,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingMessages_GetSessionConnectionInfo(
+ self_: *mut ISteamNetworkingMessages,
+ identityRemote: *const SteamNetworkingIdentity,
+ pConnectionInfo: *mut SteamNetConnectionInfo_t,
+ pQuickStatus: *mut SteamNetworkingQuickConnectionStatus,
+ ) -> ESteamNetworkingConnectionState;
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingSockets_SteamAPI_v009() -> *mut ISteamNetworkingSockets;
}
extern "C" {
- pub fn SteamAPI_SteamGameServerNetworkingSockets_v008() -> *mut ISteamNetworkingSockets;
+ pub fn SteamAPI_SteamGameServerNetworkingSockets_SteamAPI_v009() -> *mut ISteamNetworkingSockets;
}
extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_CreateListenSocketIP(
@@ -27764,7 +28547,7 @@ extern "C" {
extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_CreateListenSocketP2P(
self_: *mut ISteamNetworkingSockets,
- nVirtualPort: ::std::os::raw::c_int,
+ nLocalVirtualPort: ::std::os::raw::c_int,
nOptions: ::std::os::raw::c_int,
pOptions: *const SteamNetworkingConfigValue_t,
) -> HSteamListenSocket;
@@ -27773,7 +28556,7 @@ extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_ConnectP2P(
self_: *mut ISteamNetworkingSockets,
identityRemote: *const SteamNetworkingIdentity,
- nVirtualPort: ::std::os::raw::c_int,
+ nRemoteVirtualPort: ::std::os::raw::c_int,
nOptions: ::std::os::raw::c_int,
pOptions: *const SteamNetworkingConfigValue_t,
) -> HSteamNetConnection;
@@ -27953,7 +28736,7 @@ extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_FindRelayAuthTicketForServer(
self_: *mut ISteamNetworkingSockets,
identityGameServer: *const SteamNetworkingIdentity,
- nVirtualPort: ::std::os::raw::c_int,
+ nRemoteVirtualPort: ::std::os::raw::c_int,
pOutParsedTicket: *mut SteamDatagramRelayAuthTicket,
) -> ::std::os::raw::c_int;
}
@@ -27961,7 +28744,7 @@ extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_ConnectToHostedDedicatedServer(
self_: *mut ISteamNetworkingSockets,
identityTarget: *const SteamNetworkingIdentity,
- nVirtualPort: ::std::os::raw::c_int,
+ nRemoteVirtualPort: ::std::os::raw::c_int,
nOptions: ::std::os::raw::c_int,
pOptions: *const SteamNetworkingConfigValue_t,
) -> HSteamNetConnection;
@@ -27985,7 +28768,7 @@ extern "C" {
extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_CreateHostedDedicatedServerListenSocket(
self_: *mut ISteamNetworkingSockets,
- nVirtualPort: ::std::os::raw::c_int,
+ nLocalVirtualPort: ::std::os::raw::c_int,
nOptions: ::std::os::raw::c_int,
pOptions: *const SteamNetworkingConfigValue_t,
) -> HSteamListenSocket;
@@ -28001,8 +28784,9 @@ extern "C" {
extern "C" {
pub fn SteamAPI_ISteamNetworkingSockets_ConnectP2PCustomSignaling(
self_: *mut ISteamNetworkingSockets,
- pSignaling: *mut ISteamNetworkingConnectionCustomSignaling,
+ pSignaling: *mut ISteamNetworkingConnectionSignaling,
pPeerIdentity: *const SteamNetworkingIdentity,
+ nRemoteVirtualPort: ::std::os::raw::c_int,
nOptions: ::std::os::raw::c_int,
pOptions: *const SteamNetworkingConfigValue_t,
) -> HSteamNetConnection;
@@ -28012,7 +28796,7 @@ extern "C" {
self_: *mut ISteamNetworkingSockets,
pMsg: *const ::std::os::raw::c_void,
cbMsg: ::std::os::raw::c_int,
- pContext: *mut ISteamNetworkingCustomSignalingRecvContext,
+ pContext: *mut ISteamNetworkingSignalingRecvContext,
) -> bool;
}
extern "C" {
@@ -28032,36 +28816,10 @@ extern "C" {
) -> bool;
}
extern "C" {
- pub fn SteamAPI_ISteamNetworkingConnectionCustomSignaling_SendSignal(
- self_: *mut ISteamNetworkingConnectionCustomSignaling,
- hConn: HSteamNetConnection,
- info: *const SteamNetConnectionInfo_t,
- pMsg: *const ::std::os::raw::c_void,
- cbMsg: ::std::os::raw::c_int,
- ) -> bool;
-}
-extern "C" {
- pub fn SteamAPI_ISteamNetworkingConnectionCustomSignaling_Release(
- self_: *mut ISteamNetworkingConnectionCustomSignaling,
- );
-}
-extern "C" {
- pub fn SteamAPI_ISteamNetworkingCustomSignalingRecvContext_OnConnectRequest(
- self_: *mut ISteamNetworkingCustomSignalingRecvContext,
- hConn: HSteamNetConnection,
- identityPeer: *const SteamNetworkingIdentity,
- ) -> *mut ISteamNetworkingConnectionCustomSignaling;
-}
-extern "C" {
- pub fn SteamAPI_ISteamNetworkingCustomSignalingRecvContext_SendRejectionSignal(
- self_: *mut ISteamNetworkingCustomSignalingRecvContext,
- identityPeer: *const SteamNetworkingIdentity,
- pMsg: *const ::std::os::raw::c_void,
- cbMsg: ::std::os::raw::c_int,
- );
+ pub fn SteamAPI_ISteamNetworkingSockets_RunCallbacks(self_: *mut ISteamNetworkingSockets);
}
extern "C" {
- pub fn SteamAPI_SteamNetworkingUtils_v003() -> *mut ISteamNetworkingUtils;
+ pub fn SteamAPI_SteamNetworkingUtils_SteamAPI_v003() -> *mut ISteamNetworkingUtils;
}
extern "C" {
pub fn SteamAPI_ISteamNetworkingUtils_AllocateMessage(
@@ -28177,6 +28935,13 @@ extern "C" {
) -> bool;
}
extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValuePtr(
+ self_: *mut ISteamNetworkingUtils,
+ eValue: ESteamNetworkingConfigValue,
+ val: *mut ::std::os::raw::c_void,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueInt32(
self_: *mut ISteamNetworkingUtils,
hConn: HSteamNetConnection,
@@ -28201,6 +28966,36 @@ extern "C" {
) -> bool;
}
extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetConnectionStatusChanged(
+ self_: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetConnectionStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetAuthenticationStatusChanged(
+ self_: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetAuthenticationStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamRelayNetworkStatusChanged(
+ self_: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamRelayNetworkStatusChanged,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionRequest(
+ self_: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetworkingMessagesSessionRequest,
+ ) -> bool;
+}
+extern "C" {
+ pub fn SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionFailed(
+ self_: *mut ISteamNetworkingUtils,
+ fnCallback: FnSteamNetworkingMessagesSessionFailed,
+ ) -> bool;
+}
+extern "C" {
pub fn SteamAPI_ISteamNetworkingUtils_SetConfigValue(
self_: *mut ISteamNetworkingUtils,
eValue: ESteamNetworkingConfigValue,
@@ -28761,6 +29556,27 @@ extern "C" {
) -> *const ::std::os::raw::c_char;
}
extern "C" {
+ pub fn SteamAPI_SteamNetworkingIdentity_SetPSNID(
+ self_: *mut SteamNetworkingIdentity,
+ id: uint64,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingIdentity_GetPSNID(self_: *mut SteamNetworkingIdentity)
+ -> uint64;
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingIdentity_SetStadiaID(
+ self_: *mut SteamNetworkingIdentity,
+ id: uint64,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingIdentity_GetStadiaID(
+ self_: *mut SteamNetworkingIdentity,
+ ) -> uint64;
+}
+extern "C" {
pub fn SteamAPI_SteamNetworkingIdentity_SetIPAddr(
self_: *mut SteamNetworkingIdentity,
addr: *const SteamNetworkingIPAddr,
@@ -28826,6 +29642,56 @@ extern "C" {
pub fn SteamAPI_SteamNetworkingMessage_t_Release(self_: *mut SteamNetworkingMessage_t);
}
extern "C" {
+ pub fn SteamAPI_SteamNetworkingConfigValue_t_SetInt32(
+ self_: *mut SteamNetworkingConfigValue_t,
+ eVal: ESteamNetworkingConfigValue,
+ data: i32,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingConfigValue_t_SetInt64(
+ self_: *mut SteamNetworkingConfigValue_t,
+ eVal: ESteamNetworkingConfigValue,
+ data: i64,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingConfigValue_t_SetFloat(
+ self_: *mut SteamNetworkingConfigValue_t,
+ eVal: ESteamNetworkingConfigValue,
+ data: f32,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingConfigValue_t_SetPtr(
+ self_: *mut SteamNetworkingConfigValue_t,
+ eVal: ESteamNetworkingConfigValue,
+ data: *mut ::std::os::raw::c_void,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingConfigValue_t_SetString(
+ self_: *mut SteamNetworkingConfigValue_t,
+ eVal: ESteamNetworkingConfigValue,
+ data: *const ::std::os::raw::c_char,
+ );
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingPOPIDRender_c_str(
+ self_: *mut SteamNetworkingPOPIDRender,
+ ) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingIdentityRender_c_str(
+ self_: *mut SteamNetworkingIdentityRender,
+ ) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
+ pub fn SteamAPI_SteamNetworkingIPAddrRender_c_str(
+ self_: *mut SteamNetworkingIPAddrRender,
+ ) -> *const ::std::os::raw::c_char;
+}
+extern "C" {
pub fn SteamAPI_SteamDatagramHostedAddress_Clear(self_: *mut SteamDatagramHostedAddress);
}
extern "C" {
@@ -28843,7 +29709,7 @@ extern "C" {
}
#[repr(u32)]
#[non_exhaustive]
-#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum EServerMode {
eServerModeInvalid = 0,
eServerModeNoAuthentication = 1,
@@ -28862,7 +29728,7 @@ extern "C" {
extern "C" {
pub fn SteamInternal_GameServer_Init(
unIP: uint32,
- usPort: uint16,
+ usLegacySteamPort: uint16,
usGamePort: uint16,
usQueryPort: uint16,
eServerMode: EServerMode,
diff --git a/steamworks-sys/src/lib.rs b/steamworks-sys/src/lib.rs
index 35908a2..9e52a0f 100644
--- a/steamworks-sys/src/lib.rs
+++ b/steamworks-sys/src/lib.rs
@@ -4,4 +4,8 @@
extern crate libc;
-include!(concat!(env!("OUT_DIR"), "/bindings.rs")); \ No newline at end of file
+#[cfg(not(feature = "docs-only"))]
+include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
+
+#[cfg(feature = "docs-only")]
+include!("bindings.rs"); \ No newline at end of file