mirror of
https://github.com/rlabrecque/SteamworksSDK.git
synced 2026-10-10 01:23:04 +08:00
v1.65 (a)
https://steamcommunity.com/groups/steamworks/eventcomments/589558792744779145/#c589559342036946156
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+97
-13
@@ -1778,7 +1778,7 @@
|
|||||||
{ "constname":"k_UGCQueryHandleInvalid", "consttype":"UGCQueryHandle_t", "constval":"0xffffffffffffffffull" },
|
{ "constname":"k_UGCQueryHandleInvalid", "consttype":"UGCQueryHandle_t", "constval":"0xffffffffffffffffull" },
|
||||||
{ "constname":"k_UGCUpdateHandleInvalid", "consttype":"UGCUpdateHandle_t", "constval":"0xffffffffffffffffull" },
|
{ "constname":"k_UGCUpdateHandleInvalid", "consttype":"UGCUpdateHandle_t", "constval":"0xffffffffffffffffull" },
|
||||||
{ "constname":"kNumUGCResultsPerPage", "consttype":"uint32", "constval":"50" },
|
{ "constname":"kNumUGCResultsPerPage", "consttype":"uint32", "constval":"50" },
|
||||||
{ "constname":"k_cchDeveloperMetadataMax", "consttype":"uint32", "constval":"5000" },
|
{ "constname":"k_cchDeveloperMetadataMax", "consttype":"uint32", "constval":"10000" },
|
||||||
{ "constname":"INVALID_HTMLBROWSER", "consttype":"uint32", "constval":"0" },
|
{ "constname":"INVALID_HTMLBROWSER", "consttype":"uint32", "constval":"0" },
|
||||||
{ "constname":"k_SteamItemInstanceIDInvalid", "consttype":"SteamItemInstanceID_t", "constval":"( SteamItemInstanceID_t ) ~ 0" },
|
{ "constname":"k_SteamItemInstanceIDInvalid", "consttype":"SteamItemInstanceID_t", "constval":"( SteamItemInstanceID_t ) ~ 0" },
|
||||||
{ "constname":"k_SteamInventoryResultInvalid", "consttype":"SteamInventoryResult_t", "constval":"- 1" },
|
{ "constname":"k_SteamInventoryResultInvalid", "consttype":"SteamInventoryResult_t", "constval":"- 1" },
|
||||||
@@ -2385,6 +2385,28 @@
|
|||||||
{ "name":"k_ETextFilteringContextName", "value":"3" }
|
{ "name":"k_ETextFilteringContextName", "value":"3" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"enumname": "ESteamHardwareType",
|
||||||
|
"values": [
|
||||||
|
{ "name":"k_ESteamHardwareTypeNone", "value":"0" },
|
||||||
|
{ "name":"k_ESteamHardwareTypeSteamDeck", "value":"1" },
|
||||||
|
{ "name":"k_ESteamHardwareTypeSteamMachine", "value":"2" },
|
||||||
|
{ "name":"k_ESteamHardwareTypeSteamFrame", "value":"3" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"enumname": "ESteamHardwareDefaultConfig",
|
||||||
|
"values": [
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigNone", "value":"0" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigLow", "value":"1" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigMedium", "value":"2" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigHigh", "value":"3" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigMax", "value":"4" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigSteamDeck", "value":"5" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigSteamMachine", "value":"6" },
|
||||||
|
{ "name":"k_ESteamHardwareDefaultConfigSteamFrame", "value":"7" }
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"enumname": "ECheckFileSignature",
|
"enumname": "ECheckFileSignature",
|
||||||
"values": [
|
"values": [
|
||||||
@@ -6194,12 +6216,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "user",
|
"kind": "user",
|
||||||
"name": "SteamUtils",
|
"name": "SteamUtils",
|
||||||
"name_flat": "SteamAPI_SteamUtils_v010"
|
"name_flat": "SteamAPI_SteamUtils_v011"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kind": "gameserver",
|
"kind": "gameserver",
|
||||||
"name": "SteamGameServerUtils",
|
"name": "SteamGameServerUtils",
|
||||||
"name_flat": "SteamAPI_SteamGameServerUtils_v010"
|
"name_flat": "SteamAPI_SteamGameServerUtils_v011"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"classname": "ISteamUtils",
|
"classname": "ISteamUtils",
|
||||||
@@ -6447,12 +6469,6 @@
|
|||||||
],
|
],
|
||||||
"returntype": "ESteamIPv6ConnectivityState"
|
"returntype": "ESteamIPv6ConnectivityState"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"methodname": "IsSteamRunningOnSteamDeck",
|
|
||||||
"methodname_flat": "SteamAPI_ISteamUtils_IsSteamRunningOnSteamDeck",
|
|
||||||
"params": [],
|
|
||||||
"returntype": "bool"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"methodname": "ShowFloatingGamepadTextInput",
|
"methodname": "ShowFloatingGamepadTextInput",
|
||||||
"methodname_flat": "SteamAPI_ISteamUtils_ShowFloatingGamepadTextInput",
|
"methodname_flat": "SteamAPI_ISteamUtils_ShowFloatingGamepadTextInput",
|
||||||
@@ -6485,6 +6501,18 @@
|
|||||||
"params": [],
|
"params": [],
|
||||||
"returntype": "bool"
|
"returntype": "bool"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"methodname": "IsRunningOnSteamHardware",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamUtils_IsRunningOnSteamHardware",
|
||||||
|
"params": [],
|
||||||
|
"returntype": "ESteamHardwareType"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodname": "GetSteamHardwareDefaultConfig",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamUtils_GetSteamHardwareDefaultConfig",
|
||||||
|
"params": [],
|
||||||
|
"returntype": "ESteamHardwareDefaultConfig"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"methodname": "IsRunningUnderProton",
|
"methodname": "IsRunningUnderProton",
|
||||||
"methodname_flat": "SteamAPI_ISteamUtils_IsRunningUnderProton",
|
"methodname_flat": "SteamAPI_ISteamUtils_IsRunningUnderProton",
|
||||||
@@ -6492,7 +6520,7 @@
|
|||||||
"returntype": "bool"
|
"returntype": "bool"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version_string": "SteamUtils010"
|
"version_string": "SteamUtils011"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessors": [
|
"accessors": [
|
||||||
@@ -6984,12 +7012,40 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"classname": "ISteamMatchmakingServerFriendsResponse",
|
||||||
|
"fields": [],
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"methodname": "AddFriendToList",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamMatchmakingServerFriendsResponse_AddFriendToList",
|
||||||
|
"params": [
|
||||||
|
{ "paramname":"steamID", "paramtype":"CSteamID", "paramtype_flat":"uint64_steamid" },
|
||||||
|
{ "paramname":"pchName", "paramtype":"const char *" },
|
||||||
|
{ "paramname":"bCurrentlyConnected", "paramtype":"bool" }
|
||||||
|
],
|
||||||
|
"returntype": "void"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodname": "FriendsFailedToRespond",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamMatchmakingServerFriendsResponse_FriendsFailedToRespond",
|
||||||
|
"params": [],
|
||||||
|
"returntype": "void"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodname": "FriendsRefreshComplete",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamMatchmakingServerFriendsResponse_FriendsRefreshComplete",
|
||||||
|
"params": [],
|
||||||
|
"returntype": "void"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"accessors": [
|
"accessors": [
|
||||||
{
|
{
|
||||||
"kind": "user",
|
"kind": "user",
|
||||||
"name": "SteamMatchmakingServers",
|
"name": "SteamMatchmakingServers",
|
||||||
"name_flat": "SteamAPI_SteamMatchmakingServers_v002"
|
"name_flat": "SteamAPI_SteamMatchmakingServers_v003"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"classname": "ISteamMatchmakingServers",
|
"classname": "ISteamMatchmakingServers",
|
||||||
@@ -7167,6 +7223,16 @@
|
|||||||
],
|
],
|
||||||
"returntype": "HServerQuery"
|
"returntype": "HServerQuery"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"methodname": "ServerFriends",
|
||||||
|
"methodname_flat": "SteamAPI_ISteamMatchmakingServers_ServerFriends",
|
||||||
|
"params": [
|
||||||
|
{ "paramname":"unIP", "paramtype":"uint32" },
|
||||||
|
{ "paramname":"usPort", "paramtype":"uint16" },
|
||||||
|
{ "paramname":"pRequestServersResponse", "paramtype":"ISteamMatchmakingServerFriendsResponse *" }
|
||||||
|
],
|
||||||
|
"returntype": "HServerQuery"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"methodname": "CancelServerQuery",
|
"methodname": "CancelServerQuery",
|
||||||
"methodname_flat": "SteamAPI_ISteamMatchmakingServers_CancelServerQuery",
|
"methodname_flat": "SteamAPI_ISteamMatchmakingServers_CancelServerQuery",
|
||||||
@@ -7176,7 +7242,7 @@
|
|||||||
"returntype": "void"
|
"returntype": "void"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version_string": "SteamMatchMakingServers002"
|
"version_string": "SteamMatchMakingServers003"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessors": [
|
"accessors": [
|
||||||
@@ -13993,6 +14059,14 @@
|
|||||||
{ "paramname":"that", "paramtype":"const servernetadr_t &" }
|
{ "paramname":"that", "paramtype":"const servernetadr_t &" }
|
||||||
],
|
],
|
||||||
"returntype": "void"
|
"returntype": "void"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodname": "operator==",
|
||||||
|
"methodname_flat": "SteamAPI_servernetadr_t_IsEqualTo",
|
||||||
|
"params": [
|
||||||
|
{ "paramname":"rhs", "paramtype":"const servernetadr_t &" }
|
||||||
|
],
|
||||||
|
"returntype": "bool"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"struct": "servernetadr_t"
|
"struct": "servernetadr_t"
|
||||||
@@ -14020,7 +14094,9 @@
|
|||||||
"private": true
|
"private": true
|
||||||
},
|
},
|
||||||
{ "fieldname":"m_szGameTags", "fieldtype":"char [128]" },
|
{ "fieldname":"m_szGameTags", "fieldtype":"char [128]" },
|
||||||
{ "fieldname":"m_steamID", "fieldtype":"CSteamID" }
|
{ "fieldname":"m_steamID", "fieldtype":"CSteamID" },
|
||||||
|
{ "fieldname":"m_nCurrentFriendCount", "fieldtype":"int" },
|
||||||
|
{ "fieldname":"m_nTotalFriendCount", "fieldtype":"int" }
|
||||||
],
|
],
|
||||||
"methods": [
|
"methods": [
|
||||||
{
|
{
|
||||||
@@ -14042,6 +14118,14 @@
|
|||||||
{ "paramname":"pName", "paramtype":"const char *" }
|
{ "paramname":"pName", "paramtype":"const char *" }
|
||||||
],
|
],
|
||||||
"returntype": "void"
|
"returntype": "void"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"methodname": "operator==",
|
||||||
|
"methodname_flat": "SteamAPI_gameserveritem_t_IsEqualTo",
|
||||||
|
"params": [
|
||||||
|
{ "paramname":"rhs", "paramtype":"const gameserveritem_t &" }
|
||||||
|
],
|
||||||
|
"returntype": "bool"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"struct": "gameserveritem_t"
|
"struct": "gameserveritem_t"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,94 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# verbose
|
||||||
|
#set -x
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
shopt -s failglob
|
||||||
|
set -u
|
||||||
|
|
||||||
|
log () {
|
||||||
|
echo "steamcmd.sh[$$]: $*" >&2 || :
|
||||||
|
}
|
||||||
|
|
||||||
|
STEAMROOT="$(cd "$(dirname "$0")" && echo "$PWD")"
|
||||||
|
if [ -z "${STEAMROOT}" ]; then
|
||||||
|
log "Couldn't find Steam root directory from $0, exiting!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
STEAMCMD=$(basename "$0" .sh)
|
||||||
|
|
||||||
|
UNAME=$(uname)
|
||||||
|
if [ "$UNAME" == "Linux" ]; then
|
||||||
|
if [ "$(uname -m)" == "aarch64" ]; then
|
||||||
|
: "${STEAM_PLATFORM:=linuxarm64}"
|
||||||
|
else
|
||||||
|
: "${STEAM_PLATFORM:=linux32}"
|
||||||
|
fi
|
||||||
|
export LD_LIBRARY_PATH="$STEAMROOT/$STEAM_PLATFORM:${LD_LIBRARY_PATH-}"
|
||||||
|
|
||||||
|
STEAMEXE="${STEAMROOT}/$STEAM_PLATFORM/${STEAMCMD}"
|
||||||
|
elif [ "$UNAME" == "Darwin" ]; then
|
||||||
|
export DYLD_LIBRARY_PATH="$STEAMROOT:${DYLD_LIBRARY_PATH-}"
|
||||||
|
export DYLD_FRAMEWORK_PATH="$STEAMROOT:${DYLD_FRAMEWORK_PATH-}"
|
||||||
|
|
||||||
|
STEAMEXE="${STEAMROOT}/${STEAMCMD}"
|
||||||
|
if [ ! -x "${STEAMEXE}" ]; then
|
||||||
|
STEAMEXE="${STEAMROOT}/Steam.AppBundle/Steam/Contents/MacOS/${STEAMCMD}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
log "Unknown system type $UNAME, exiting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -e "$STEAMEXE" ]; then
|
||||||
|
log "Couldn't find steamcmd at $STEAMEXE, exiting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
MAGIC_RESTART_EXITCODE=42
|
||||||
|
|
||||||
|
: "${DEBUGGER=}"
|
||||||
|
if [ "$DEBUGGER" == "gdb" ] || [ "$DEBUGGER" == "cgdb" ]; then
|
||||||
|
ARGSFILE=$(mktemp "$USER.steam.gdb.XXXX")
|
||||||
|
|
||||||
|
# Set the LD_PRELOAD varname in the debugger, and unset the global version.
|
||||||
|
: "${LD_PRELOAD=}"
|
||||||
|
if [ "$LD_PRELOAD" ]; then
|
||||||
|
echo "set env LD_PRELOAD=$LD_PRELOAD" >> "$ARGSFILE"
|
||||||
|
echo "show env LD_PRELOAD" >> "$ARGSFILE"
|
||||||
|
unset LD_PRELOAD
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ditto with LD_LIBRARY_PATH, avoids this below:
|
||||||
|
# gdb: /home/plagman/src/valve/Steam/main/client/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libdebuginfod.so.1)
|
||||||
|
: "${LD_LIBRARY_PATH=}"
|
||||||
|
if [ "$LD_LIBRARY_PATH" ]; then
|
||||||
|
echo "set env LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> "$ARGSFILE"
|
||||||
|
echo "show env LD_LIBRARY_PATH" >> "$ARGSFILE"
|
||||||
|
unset LD_LIBRARY_PATH
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable index file caching for reasonable launch time under gdb
|
||||||
|
echo set index-cache enabled on >> "$ARGSFILE"
|
||||||
|
echo show index-cache stats >> "$ARGSFILE"
|
||||||
|
|
||||||
|
: "${DEBUGGER_ARGS=}"
|
||||||
|
log "gdb/cgdb launch with ARGSFILE: $ARGSFILE"
|
||||||
|
|
||||||
|
log Starting "$DEBUGGER" -x "$ARGSFILE" "$DEBUGGER_ARGS" --args "$STEAMEXE" "$@"
|
||||||
|
$DEBUGGER -x "$ARGSFILE" "$DEBUGGER_ARGS" --args "$STEAMEXE" "$@"
|
||||||
|
|
||||||
|
rm "$ARGSFILE"
|
||||||
|
else
|
||||||
|
log Starting "$DEBUGGER" "$STEAMEXE"
|
||||||
|
$DEBUGGER "$STEAMEXE" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
STATUS=$?
|
||||||
|
|
||||||
|
if [ $STATUS -eq $MAGIC_RESTART_EXITCODE ]; then
|
||||||
|
log "Restarting steamcmd by request..."
|
||||||
|
exec "$0" "$@"
|
||||||
|
fi
|
||||||
|
exit $STATUS
|
||||||
Reference in New Issue
Block a user