From 3714637f084a25940ec5b880dceece91abdeb900 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 30 Oct 2018 07:53:49 -0500 Subject: [PATCH] lsteamclient: Don't convert structs with identical layouts --- lsteamclient/gen_wrapper.py | 51 ++- lsteamclient/struct_converters_100.cpp | 120 ------- lsteamclient/struct_converters_100.h | 9 - lsteamclient/struct_converters_101.cpp | 127 ------- lsteamclient/struct_converters_101.h | 9 - lsteamclient/struct_converters_102.cpp | 120 ------- lsteamclient/struct_converters_102.h | 9 - lsteamclient/struct_converters_103.cpp | 158 --------- lsteamclient/struct_converters_103.h | 12 - lsteamclient/struct_converters_104.cpp | 179 ---------- lsteamclient/struct_converters_104.h | 15 - lsteamclient/struct_converters_105.cpp | 229 ------------ lsteamclient/struct_converters_105.h | 18 - lsteamclient/struct_converters_106.cpp | 229 ------------ lsteamclient/struct_converters_106.h | 18 - lsteamclient/struct_converters_107.cpp | 229 ------------ lsteamclient/struct_converters_107.h | 18 - lsteamclient/struct_converters_108.cpp | 230 ------------ lsteamclient/struct_converters_108.h | 18 - lsteamclient/struct_converters_109.cpp | 231 ------------ lsteamclient/struct_converters_109.h | 18 - lsteamclient/struct_converters_110.cpp | 231 ------------ lsteamclient/struct_converters_110.h | 18 - lsteamclient/struct_converters_111.cpp | 222 ------------ lsteamclient/struct_converters_111.h | 18 - lsteamclient/struct_converters_112.cpp | 194 ----------- lsteamclient/struct_converters_112.h | 15 - lsteamclient/struct_converters_113.cpp | 194 ----------- lsteamclient/struct_converters_113.h | 15 - lsteamclient/struct_converters_114.cpp | 194 ----------- lsteamclient/struct_converters_114.h | 15 - lsteamclient/struct_converters_115.cpp | 194 ----------- lsteamclient/struct_converters_115.h | 15 - lsteamclient/struct_converters_116.cpp | 194 ----------- lsteamclient/struct_converters_116.h | 15 - lsteamclient/struct_converters_117.cpp | 271 --------------- lsteamclient/struct_converters_117.h | 21 -- lsteamclient/struct_converters_118.cpp | 238 ------------- lsteamclient/struct_converters_118.h | 21 -- lsteamclient/struct_converters_119.cpp | 238 ------------- lsteamclient/struct_converters_119.h | 21 -- lsteamclient/struct_converters_120.cpp | 238 ------------- lsteamclient/struct_converters_120.h | 21 -- lsteamclient/struct_converters_121.cpp | 238 ------------- lsteamclient/struct_converters_121.h | 21 -- lsteamclient/struct_converters_122.cpp | 238 ------------- lsteamclient/struct_converters_122.h | 21 -- lsteamclient/struct_converters_123.cpp | 238 ------------- lsteamclient/struct_converters_123.h | 21 -- lsteamclient/struct_converters_123a.cpp | 238 ------------- lsteamclient/struct_converters_123a.h | 21 -- lsteamclient/struct_converters_124.cpp | 238 ------------- lsteamclient/struct_converters_124.h | 21 -- lsteamclient/struct_converters_125.cpp | 238 ------------- lsteamclient/struct_converters_125.h | 21 -- lsteamclient/struct_converters_126.cpp | 238 ------------- lsteamclient/struct_converters_126.h | 21 -- lsteamclient/struct_converters_126a.cpp | 238 ------------- lsteamclient/struct_converters_126a.h | 21 -- lsteamclient/struct_converters_127.cpp | 238 ------------- lsteamclient/struct_converters_127.h | 21 -- lsteamclient/struct_converters_128.cpp | 238 ------------- lsteamclient/struct_converters_128.h | 21 -- lsteamclient/struct_converters_129.cpp | 238 ------------- lsteamclient/struct_converters_129.h | 21 -- lsteamclient/struct_converters_129a.cpp | 238 ------------- lsteamclient/struct_converters_129a.h | 21 -- lsteamclient/struct_converters_130.cpp | 238 ------------- lsteamclient/struct_converters_130.h | 21 -- lsteamclient/struct_converters_131.cpp | 238 ------------- lsteamclient/struct_converters_131.h | 21 -- lsteamclient/struct_converters_132.cpp | 300 ---------------- lsteamclient/struct_converters_132.h | 27 -- lsteamclient/struct_converters_133.cpp | 300 ---------------- lsteamclient/struct_converters_133.h | 27 -- lsteamclient/struct_converters_133a.cpp | 300 ---------------- lsteamclient/struct_converters_133a.h | 27 -- lsteamclient/struct_converters_133b.cpp | 300 ---------------- lsteamclient/struct_converters_133b.h | 27 -- lsteamclient/struct_converters_134.cpp | 300 ---------------- lsteamclient/struct_converters_134.h | 27 -- lsteamclient/struct_converters_135.cpp | 316 ----------------- lsteamclient/struct_converters_135.h | 30 -- lsteamclient/struct_converters_135a.cpp | 316 ----------------- lsteamclient/struct_converters_135a.h | 30 -- lsteamclient/struct_converters_136.cpp | 316 ----------------- lsteamclient/struct_converters_136.h | 30 -- lsteamclient/struct_converters_137.cpp | 395 --------------------- lsteamclient/struct_converters_137.h | 33 -- lsteamclient/struct_converters_138.cpp | 441 ----------------------- lsteamclient/struct_converters_138.h | 36 -- lsteamclient/struct_converters_138a.cpp | 441 ----------------------- lsteamclient/struct_converters_138a.h | 36 -- lsteamclient/struct_converters_139.cpp | 441 ----------------------- lsteamclient/struct_converters_139.h | 36 -- lsteamclient/struct_converters_140.cpp | 441 ----------------------- lsteamclient/struct_converters_140.h | 36 -- lsteamclient/struct_converters_141.cpp | 444 ------------------------ lsteamclient/struct_converters_141.h | 36 -- lsteamclient/struct_converters_142.cpp | 441 ----------------------- lsteamclient/struct_converters_142.h | 36 -- 101 files changed, 40 insertions(+), 14202 deletions(-) delete mode 100644 lsteamclient/struct_converters_101.cpp delete mode 100644 lsteamclient/struct_converters_103.cpp delete mode 100644 lsteamclient/struct_converters_105.cpp delete mode 100644 lsteamclient/struct_converters_106.cpp delete mode 100644 lsteamclient/struct_converters_107.cpp delete mode 100644 lsteamclient/struct_converters_108.cpp delete mode 100644 lsteamclient/struct_converters_109.cpp delete mode 100644 lsteamclient/struct_converters_110.cpp diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index d8550188..476ad07b 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -446,6 +446,24 @@ generated_cb_ids = [] cpp_files_need_close_brace = [] cb_table = {} +def needs_conversion(struct): + windows_struct = None + sys.stdout.write("looking for " + struct.spelling + "\n") + for child in list(windows_build.cursor.get_children()): + if struct.spelling == child.spelling: + windows_struct = child.type + break + assert(not windows_struct is None) #must find windows_struct + for field in struct.get_fields(): + if struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): + return True + if field.type.kind == clang.cindex.TypeKind.RECORD and \ + not field.type.spelling in exempt_structs and \ + needs_conversion(field.type): + return True + return False + + #because of struct packing differences between win32 and linux, we #need to convert these structs from their linux layout to the win32 #layout. @@ -477,6 +495,11 @@ def handle_struct(sdkver, struct): l2w_handler_name = "lin_to_win_struct_%s" % struct_name; hfile = open("struct_converters_%s.h" % sdkver, "a") + + #quit here so the .h is always created + if not needs_conversion(struct.type): + return + hfile.write("extern void %s(const void *w, void *l);\n" % w2l_handler_name) hfile.write("extern void %s(const void *l, void *w);\n\n" % l2w_handler_name) @@ -602,22 +625,28 @@ for sdkver in sdk_versions: if not os.path.isfile(input_name): continue index = clang.cindex.Index.create() - tu = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I/usr/lib/clang/7.0.0/include/']) + linux_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I/usr/lib/clang/7.0.0/include/']) - diagnostics = list(tu.diagnostics) + diagnostics = list(linux_build.diagnostics) if len(diagnostics) > 0: print('There were parse errors') pprint.pprint(diagnostics) else: - children = list(tu.cursor.get_children()) - for child in children: - if child.kind == clang.cindex.CursorKind.CLASS_DECL and child.displayname in classes: - handle_class(sdkver, child) - if child.kind == clang.cindex.CursorKind.STRUCT_DECL or \ - child.kind == clang.cindex.CursorKind.CLASS_DECL: - handle_struct(sdkver, child) - if child.displayname in print_sizes: - sys.stdout.write("size of %s is %u\n" % (child.displayname, child.type.get_size())) + windows_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I/usr/lib/clang/7.0.0/include/', '-mms-bitfields', '-U__linux__', '-Wno-incompatible-ms-struct']) + diagnostics = list(windows_build.diagnostics) + if len(diagnostics) > 0: + print('There were parse errors (windows build)') + pprint.pprint(diagnostics) + else: + children = list(linux_build.cursor.get_children()) + for child in children: + if child.kind == clang.cindex.CursorKind.CLASS_DECL and child.displayname in classes: + handle_class(sdkver, child) + if child.kind == clang.cindex.CursorKind.STRUCT_DECL or \ + child.kind == clang.cindex.CursorKind.CLASS_DECL: + handle_struct(sdkver, child) + if child.displayname in print_sizes: + sys.stdout.write("size of %s is %u\n" % (child.displayname, child.type.get_size())) for f in cpp_files_need_close_brace: m = open(f, "a") diff --git a/lsteamclient/struct_converters_100.cpp b/lsteamclient/struct_converters_100.cpp index a3771045..5acbfbe1 100644 --- a/lsteamclient/struct_converters_100.cpp +++ b/lsteamclient/struct_converters_100.cpp @@ -3,126 +3,6 @@ #include "steamworks_sdk_100/steam_api.h" #include "steamworks_sdk_100/isteamgameserver.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_100 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_100(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_100 *win = (struct winCallbackMsg_t_100 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_100(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_100 *win = (struct winCallbackMsg_t_100 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_100 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_100(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_100 *win = (struct winservernetadr_t_100 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_100(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_100 *win = (struct winservernetadr_t_100 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_100 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_100(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_100 *win = (struct wingameserveritem_t_100 *)w; - win_to_lin_struct_servernetadr_t_100(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); -} - -void lin_to_win_struct_gameserveritem_t_100(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_100 *win = (struct wingameserveritem_t_100 *)w; - lin_to_win_struct_servernetadr_t_100(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); -} - #pragma pack( push, 8 ) struct winAppDataChanged_t_8 { uint32 m_nAppID; diff --git a/lsteamclient/struct_converters_100.h b/lsteamclient/struct_converters_100.h index a5b54274..e69de29b 100644 --- a/lsteamclient/struct_converters_100.h +++ b/lsteamclient/struct_converters_100.h @@ -1,9 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_100(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_100(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_100(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_100(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_100(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_100(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_101.cpp b/lsteamclient/struct_converters_101.cpp deleted file mode 100644 index 02b55e7d..00000000 --- a/lsteamclient/struct_converters_101.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_101/steam_api.h" -#include "steamworks_sdk_101/isteamgameserver.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_101 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_101(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_101 *win = (struct winCallbackMsg_t_101 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_101(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_101 *win = (struct winCallbackMsg_t_101 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_101 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_101(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_101 *win = (struct winservernetadr_t_101 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_101(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_101 *win = (struct winservernetadr_t_101 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_101 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_101(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_101 *win = (struct wingameserveritem_t_101 *)w; - win_to_lin_struct_servernetadr_t_101(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); -} - -void lin_to_win_struct_gameserveritem_t_101(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_101 *win = (struct wingameserveritem_t_101 *)w; - lin_to_win_struct_servernetadr_t_101(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); -} - - -} diff --git a/lsteamclient/struct_converters_101.h b/lsteamclient/struct_converters_101.h index 2ad7bc16..e69de29b 100644 --- a/lsteamclient/struct_converters_101.h +++ b/lsteamclient/struct_converters_101.h @@ -1,9 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_101(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_101(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_101(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_101(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_101(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_101(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_102.cpp b/lsteamclient/struct_converters_102.cpp index 998da60e..b12c3401 100644 --- a/lsteamclient/struct_converters_102.cpp +++ b/lsteamclient/struct_converters_102.cpp @@ -3,126 +3,6 @@ #include "steamworks_sdk_102/steam_api.h" #include "steamworks_sdk_102/isteamgameserver.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_102 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_102(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_102 *win = (struct winCallbackMsg_t_102 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_102(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_102 *win = (struct winCallbackMsg_t_102 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_102 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_102(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_102 *win = (struct winservernetadr_t_102 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_102(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_102 *win = (struct winservernetadr_t_102 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_102 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_102(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_102 *win = (struct wingameserveritem_t_102 *)w; - win_to_lin_struct_servernetadr_t_102(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); -} - -void lin_to_win_struct_gameserveritem_t_102(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_102 *win = (struct wingameserveritem_t_102 *)w; - lin_to_win_struct_servernetadr_t_102(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); -} - #pragma pack( push, 8 ) struct winRequestFriendsLobbiesResponse_t_24 { uint64 m_ulSteamIDFriend; diff --git a/lsteamclient/struct_converters_102.h b/lsteamclient/struct_converters_102.h index b750f034..e69de29b 100644 --- a/lsteamclient/struct_converters_102.h +++ b/lsteamclient/struct_converters_102.h @@ -1,9 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_102(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_102(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_102(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_102(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_102(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_102(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_103.cpp b/lsteamclient/struct_converters_103.cpp deleted file mode 100644 index 189e699e..00000000 --- a/lsteamclient/struct_converters_103.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_103/steam_api.h" -#include "steamworks_sdk_103/isteamgameserver.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_103 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_103(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_103 *win = (struct winCallbackMsg_t_103 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_103(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_103 *win = (struct winCallbackMsg_t_103 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_103 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_103(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_103 *win = (struct winFriendGameInfo_t_103 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_103(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_103 *win = (struct winFriendGameInfo_t_103 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_103 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_103(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_103 *win = (struct winservernetadr_t_103 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_103(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_103 *win = (struct winservernetadr_t_103 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_103 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_103(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_103 *win = (struct wingameserveritem_t_103 *)w; - win_to_lin_struct_servernetadr_t_103(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); -} - -void lin_to_win_struct_gameserveritem_t_103(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_103 *win = (struct wingameserveritem_t_103 *)w; - lin_to_win_struct_servernetadr_t_103(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); -} - - -} diff --git a/lsteamclient/struct_converters_103.h b/lsteamclient/struct_converters_103.h index 469ece09..e69de29b 100644 --- a/lsteamclient/struct_converters_103.h +++ b/lsteamclient/struct_converters_103.h @@ -1,12 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_103(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_103(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_103(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_103(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_103(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_103(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_103(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_103(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_104.cpp b/lsteamclient/struct_converters_104.cpp index 42b37f35..0ae99f37 100644 --- a/lsteamclient/struct_converters_104.cpp +++ b/lsteamclient/struct_converters_104.cpp @@ -3,157 +3,6 @@ #include "steamworks_sdk_104/steam_api.h" #include "steamworks_sdk_104/isteamgameserver.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_104 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_104(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_104 *win = (struct winCallbackMsg_t_104 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_104(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_104 *win = (struct winCallbackMsg_t_104 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_104 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_104(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_104 *win = (struct winFriendGameInfo_t_104 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_104(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_104 *win = (struct winFriendGameInfo_t_104 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_104 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_104(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_104 *win = (struct winservernetadr_t_104 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_104(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_104 *win = (struct winservernetadr_t_104 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_104 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_104(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_104 *win = (struct wingameserveritem_t_104 *)w; - win_to_lin_struct_servernetadr_t_104(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); -} - -void lin_to_win_struct_gameserveritem_t_104(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_104 *win = (struct wingameserveritem_t_104 *)w; - lin_to_win_struct_servernetadr_t_104(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); -} - #pragma pack( push, 8 ) struct winLobbyClosing_t_8 { uint64 m_ulSteamIDLobby; @@ -180,33 +29,5 @@ void cb_LobbyKicked_t_16(const void *l, void *w) win->m_ulSteamIDAdmin = lin->m_ulSteamIDAdmin; } -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_104 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_104(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_104 *win = (struct winLeaderboardEntry_t_104 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_104(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_104 *win = (struct winLeaderboardEntry_t_104 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - } diff --git a/lsteamclient/struct_converters_104.h b/lsteamclient/struct_converters_104.h index bc76a3ae..e69de29b 100644 --- a/lsteamclient/struct_converters_104.h +++ b/lsteamclient/struct_converters_104.h @@ -1,15 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_104(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_104(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_104(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_104(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_104(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_104(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_104(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_104(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_104(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_104(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_105.cpp b/lsteamclient/struct_converters_105.cpp deleted file mode 100644 index cc5bc1a8..00000000 --- a/lsteamclient/struct_converters_105.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_105/steam_api.h" -#include "steamworks_sdk_105/isteamgameserver.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_105 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_105(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_105 *win = (struct winCallbackMsg_t_105 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_105(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_105 *win = (struct winCallbackMsg_t_105 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_105 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_105(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_105 *win = (struct winFriendGameInfo_t_105 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_105(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_105 *win = (struct winFriendGameInfo_t_105 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_105 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_105(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_105 *win = (struct winservernetadr_t_105 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_105(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_105 *win = (struct winservernetadr_t_105 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_105 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_105(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_105 *win = (struct wingameserveritem_t_105 *)w; - win_to_lin_struct_servernetadr_t_105(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_105(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_105 *win = (struct wingameserveritem_t_105 *)w; - lin_to_win_struct_servernetadr_t_105(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_105 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_105(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_105 *win = (struct winLeaderboardEntry_t_105 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_105(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_105 *win = (struct winLeaderboardEntry_t_105 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_105 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_105(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_105 *win = (struct winP2PSessionState_t_105 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_105(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_105 *win = (struct winP2PSessionState_t_105 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_105.h b/lsteamclient/struct_converters_105.h index 3fe388c0..e69de29b 100644 --- a/lsteamclient/struct_converters_105.h +++ b/lsteamclient/struct_converters_105.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_105(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_105(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_105(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_105(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_105(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_105(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_105(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_105(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_105(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_105(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_105(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_105(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_106.cpp b/lsteamclient/struct_converters_106.cpp deleted file mode 100644 index 0b74b86c..00000000 --- a/lsteamclient/struct_converters_106.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_106/steam_api.h" -#include "steamworks_sdk_106/isteamgameserver.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_106 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_106(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_106 *win = (struct winCallbackMsg_t_106 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_106(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_106 *win = (struct winCallbackMsg_t_106 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_106 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_106(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_106 *win = (struct winFriendGameInfo_t_106 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_106(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_106 *win = (struct winFriendGameInfo_t_106 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_106 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_106(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_106 *win = (struct winservernetadr_t_106 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_106(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_106 *win = (struct winservernetadr_t_106 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_106 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_106(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_106 *win = (struct wingameserveritem_t_106 *)w; - win_to_lin_struct_servernetadr_t_106(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_106(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_106 *win = (struct wingameserveritem_t_106 *)w; - lin_to_win_struct_servernetadr_t_106(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_106 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_106(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_106 *win = (struct winLeaderboardEntry_t_106 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_106(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_106 *win = (struct winLeaderboardEntry_t_106 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_106 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_106(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_106 *win = (struct winP2PSessionState_t_106 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_106(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_106 *win = (struct winP2PSessionState_t_106 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_106.h b/lsteamclient/struct_converters_106.h index 83714c2e..e69de29b 100644 --- a/lsteamclient/struct_converters_106.h +++ b/lsteamclient/struct_converters_106.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_106(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_106(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_106(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_106(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_106(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_106(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_106(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_106(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_106(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_106(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_106(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_106(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_107.cpp b/lsteamclient/struct_converters_107.cpp deleted file mode 100644 index 4fda4510..00000000 --- a/lsteamclient/struct_converters_107.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_107/steam_api.h" -#include "steamworks_sdk_107/isteamgameserver.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_107 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_107(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_107 *win = (struct winCallbackMsg_t_107 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_107(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_107 *win = (struct winCallbackMsg_t_107 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_107 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_107(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_107 *win = (struct winFriendGameInfo_t_107 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_107(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_107 *win = (struct winFriendGameInfo_t_107 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_107 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_107(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_107 *win = (struct winservernetadr_t_107 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_107(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_107 *win = (struct winservernetadr_t_107 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_107 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - int m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_107(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_107 *win = (struct wingameserveritem_t_107 *)w; - win_to_lin_struct_servernetadr_t_107(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_107(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_107 *win = (struct wingameserveritem_t_107 *)w; - lin_to_win_struct_servernetadr_t_107(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_107 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_107(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_107 *win = (struct winLeaderboardEntry_t_107 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_107(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_107 *win = (struct winLeaderboardEntry_t_107 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_107 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_107(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_107 *win = (struct winP2PSessionState_t_107 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_107(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_107 *win = (struct winP2PSessionState_t_107 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_107.h b/lsteamclient/struct_converters_107.h index 55c4b272..e69de29b 100644 --- a/lsteamclient/struct_converters_107.h +++ b/lsteamclient/struct_converters_107.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_107(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_107(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_107(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_107(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_107(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_107(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_107(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_107(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_107(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_107(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_107(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_107(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_108.cpp b/lsteamclient/struct_converters_108.cpp deleted file mode 100644 index ce20d0f8..00000000 --- a/lsteamclient/struct_converters_108.cpp +++ /dev/null @@ -1,230 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_108/steam_api.h" -#include "steamworks_sdk_108/isteamgameserver.h" -#include "steamworks_sdk_108/isteamgameserverstats.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_108 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_108(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_108 *win = (struct winCallbackMsg_t_108 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_108(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_108 *win = (struct winCallbackMsg_t_108 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_108 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_108(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_108 *win = (struct winFriendGameInfo_t_108 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_108(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_108 *win = (struct winFriendGameInfo_t_108 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_108 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_108(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_108 *win = (struct winservernetadr_t_108 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_108(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_108 *win = (struct winservernetadr_t_108 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_108 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_108(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_108 *win = (struct wingameserveritem_t_108 *)w; - win_to_lin_struct_servernetadr_t_108(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_108(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_108 *win = (struct wingameserveritem_t_108 *)w; - lin_to_win_struct_servernetadr_t_108(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_108 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_108(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_108 *win = (struct winLeaderboardEntry_t_108 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_108(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_108 *win = (struct winLeaderboardEntry_t_108 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_108 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_108(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_108 *win = (struct winP2PSessionState_t_108 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_108(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_108 *win = (struct winP2PSessionState_t_108 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_108.h b/lsteamclient/struct_converters_108.h index 9f4e97e8..e69de29b 100644 --- a/lsteamclient/struct_converters_108.h +++ b/lsteamclient/struct_converters_108.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_108(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_108(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_108(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_108(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_108(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_108(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_108(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_108(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_108(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_108(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_108(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_108(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_109.cpp b/lsteamclient/struct_converters_109.cpp deleted file mode 100644 index d65ad81c..00000000 --- a/lsteamclient/struct_converters_109.cpp +++ /dev/null @@ -1,231 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_109/steam_api.h" -#include "steamworks_sdk_109/isteamgameserver.h" -#include "steamworks_sdk_109/isteamgameserverstats.h" -#include "steamworks_sdk_109/isteamgamecoordinator.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_109 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_109(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_109 *win = (struct winCallbackMsg_t_109 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_109(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_109 *win = (struct winCallbackMsg_t_109 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_109 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_109(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_109 *win = (struct winFriendGameInfo_t_109 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_109(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_109 *win = (struct winFriendGameInfo_t_109 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_109 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_109(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_109 *win = (struct winservernetadr_t_109 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_109(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_109 *win = (struct winservernetadr_t_109 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_109 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_109(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_109 *win = (struct wingameserveritem_t_109 *)w; - win_to_lin_struct_servernetadr_t_109(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_109(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_109 *win = (struct wingameserveritem_t_109 *)w; - lin_to_win_struct_servernetadr_t_109(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_109 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_109(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_109 *win = (struct winLeaderboardEntry_t_109 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_109(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_109 *win = (struct winLeaderboardEntry_t_109 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_109 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_109(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_109 *win = (struct winP2PSessionState_t_109 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_109(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_109 *win = (struct winP2PSessionState_t_109 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_109.h b/lsteamclient/struct_converters_109.h index 46d4c6e5..e69de29b 100644 --- a/lsteamclient/struct_converters_109.h +++ b/lsteamclient/struct_converters_109.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_109(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_109(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_109(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_109(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_109(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_109(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_109(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_109(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_109(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_109(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_109(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_109(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_110.cpp b/lsteamclient/struct_converters_110.cpp deleted file mode 100644 index 10596640..00000000 --- a/lsteamclient/struct_converters_110.cpp +++ /dev/null @@ -1,231 +0,0 @@ -#include "steamclient_private.h" -#include "steam_defs.h" -#include "steamworks_sdk_110/steam_api.h" -#include "steamworks_sdk_110/isteamgameserver.h" -#include "steamworks_sdk_110/isteamgameserverstats.h" -#include "steamworks_sdk_110/isteamgamecoordinator.h" -extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_110 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_110(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_110 *win = (struct winCallbackMsg_t_110 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_110(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_110 *win = (struct winCallbackMsg_t_110 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_110 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_110(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_110 *win = (struct winFriendGameInfo_t_110 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_110(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_110 *win = (struct winFriendGameInfo_t_110 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_110 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_110(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_110 *win = (struct winservernetadr_t_110 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_110(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_110 *win = (struct winservernetadr_t_110 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_110 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_110(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_110 *win = (struct wingameserveritem_t_110 *)w; - win_to_lin_struct_servernetadr_t_110(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_110(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_110 *win = (struct wingameserveritem_t_110 *)w; - lin_to_win_struct_servernetadr_t_110(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_110 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_110(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_110 *win = (struct winLeaderboardEntry_t_110 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_110(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_110 *win = (struct winLeaderboardEntry_t_110 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_110 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_110(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_110 *win = (struct winP2PSessionState_t_110 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_110(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_110 *win = (struct winP2PSessionState_t_110 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - - -} diff --git a/lsteamclient/struct_converters_110.h b/lsteamclient/struct_converters_110.h index a2174a23..e69de29b 100644 --- a/lsteamclient/struct_converters_110.h +++ b/lsteamclient/struct_converters_110.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_110(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_110(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_110(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_110(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_110(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_110(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_110(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_110(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_110(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_110(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_110(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_110(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_111.cpp b/lsteamclient/struct_converters_111.cpp index 6bfa9786..3d2536d9 100644 --- a/lsteamclient/struct_converters_111.cpp +++ b/lsteamclient/struct_converters_111.cpp @@ -5,160 +5,6 @@ #include "steamworks_sdk_111/isteamgameserverstats.h" #include "steamworks_sdk_111/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_111 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_111(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_111 *win = (struct winCallbackMsg_t_111 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_111(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_111 *win = (struct winCallbackMsg_t_111 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_111 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_111(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_111 *win = (struct winFriendGameInfo_t_111 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_111(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_111 *win = (struct winFriendGameInfo_t_111 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_111 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_111(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_111 *win = (struct winservernetadr_t_111 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_111(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_111 *win = (struct winservernetadr_t_111 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_111 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_111(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_111 *win = (struct wingameserveritem_t_111 *)w; - win_to_lin_struct_servernetadr_t_111(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_111(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_111 *win = (struct wingameserveritem_t_111 *)w; - lin_to_win_struct_servernetadr_t_111(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winLobbyDataUpdate_t_16 { uint64 m_ulSteamIDLobby; @@ -173,73 +19,5 @@ void cb_LobbyDataUpdate_t_16(const void *l, void *w) win->m_ulSteamIDMember = lin->m_ulSteamIDMember; } -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_111 { - CSteamID m_steamIDUser; - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_LeaderboardEntry_t_111(const void *w, void *l) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_111 *win = (struct winLeaderboardEntry_t_111 *)w; - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; -} - -void lin_to_win_struct_LeaderboardEntry_t_111(const void *l, void *w) -{ - LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l; - struct winLeaderboardEntry_t_111 *win = (struct winLeaderboardEntry_t_111 *)w; - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; -} - -#pragma pack( push, 8 ) -struct winP2PSessionState_t_111 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_111(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_111 *win = (struct winP2PSessionState_t_111 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_111(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_111 *win = (struct winP2PSessionState_t_111 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_111.h b/lsteamclient/struct_converters_111.h index 14a71f6f..e69de29b 100644 --- a/lsteamclient/struct_converters_111.h +++ b/lsteamclient/struct_converters_111.h @@ -1,18 +0,0 @@ -extern void win_to_lin_struct_CallbackMsg_t_111(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_111(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_111(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_111(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_111(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_111(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_111(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_111(const void *l, void *w); - -extern void win_to_lin_struct_LeaderboardEntry_t_111(const void *w, void *l); -extern void lin_to_win_struct_LeaderboardEntry_t_111(const void *l, void *w); - -extern void win_to_lin_struct_P2PSessionState_t_111(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_111(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_112.cpp b/lsteamclient/struct_converters_112.cpp index 5d48ab88..d3da9700 100644 --- a/lsteamclient/struct_converters_112.cpp +++ b/lsteamclient/struct_converters_112.cpp @@ -5,160 +5,6 @@ #include "steamworks_sdk_112/isteamgameserverstats.h" #include "steamworks_sdk_112/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_112 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_112(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_112 *win = (struct winCallbackMsg_t_112 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_112(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_112 *win = (struct winCallbackMsg_t_112 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_112 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_112(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_112 *win = (struct winFriendGameInfo_t_112 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_112(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_112 *win = (struct winFriendGameInfo_t_112 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_112 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_112(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_112 *win = (struct winservernetadr_t_112 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_112(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_112 *win = (struct winservernetadr_t_112 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_112 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_112(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_112 *win = (struct wingameserveritem_t_112 *)w; - win_to_lin_struct_servernetadr_t_112(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_112(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_112 *win = (struct wingameserveritem_t_112 *)w; - lin_to_win_struct_servernetadr_t_112(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winLobbyInvite_t_16 { uint64 m_ulSteamIDUser; @@ -204,45 +50,5 @@ void lin_to_win_struct_LeaderboardEntry_t_112(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_112 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_112(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_112 *win = (struct winP2PSessionState_t_112 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_112(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_112 *win = (struct winP2PSessionState_t_112 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_112.h b/lsteamclient/struct_converters_112.h index b7884482..553bec84 100644 --- a/lsteamclient/struct_converters_112.h +++ b/lsteamclient/struct_converters_112.h @@ -1,18 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_112(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_112(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_112(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_112(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_112(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_112(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_112(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_112(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_112(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_112(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_112(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_112(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_113.cpp b/lsteamclient/struct_converters_113.cpp index 754c492f..e6482652 100644 --- a/lsteamclient/struct_converters_113.cpp +++ b/lsteamclient/struct_converters_113.cpp @@ -5,160 +5,6 @@ #include "steamworks_sdk_113/isteamgameserverstats.h" #include "steamworks_sdk_113/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_113 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_113(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_113 *win = (struct winCallbackMsg_t_113 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_113(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_113 *win = (struct winCallbackMsg_t_113 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_113 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_113(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_113(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_113 *win = (struct winFriendGameInfo_t_113 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_113 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_113(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_113 *win = (struct winservernetadr_t_113 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_113(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_113 *win = (struct winservernetadr_t_113 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_113 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_113(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_113 *win = (struct wingameserveritem_t_113 *)w; - win_to_lin_struct_servernetadr_t_113(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_113(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_113 *win = (struct wingameserveritem_t_113 *)w; - lin_to_win_struct_servernetadr_t_113(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_113 { CSteamID m_steamIDUser; @@ -190,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_113(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_113 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_113(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_113 *win = (struct winP2PSessionState_t_113 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_113(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_113 *win = (struct winP2PSessionState_t_113 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_113.h b/lsteamclient/struct_converters_113.h index 818d2434..5672bce1 100644 --- a/lsteamclient/struct_converters_113.h +++ b/lsteamclient/struct_converters_113.h @@ -1,18 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_113(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_113(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_113(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_113(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_113(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_113(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_113(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_113(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_113(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_113(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_113(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_113(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_114.cpp b/lsteamclient/struct_converters_114.cpp index d8c5b590..9cf3505a 100644 --- a/lsteamclient/struct_converters_114.cpp +++ b/lsteamclient/struct_converters_114.cpp @@ -5,160 +5,6 @@ #include "steamworks_sdk_114/isteamgameserverstats.h" #include "steamworks_sdk_114/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_114 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_114(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_114 *win = (struct winCallbackMsg_t_114 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_114(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_114 *win = (struct winCallbackMsg_t_114 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_114 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_114(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_114 *win = (struct winFriendGameInfo_t_114 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_114(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_114 *win = (struct winFriendGameInfo_t_114 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_114 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_114(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_114 *win = (struct winservernetadr_t_114 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_114(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_114 *win = (struct winservernetadr_t_114 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_114 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_114(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_114 *win = (struct wingameserveritem_t_114 *)w; - win_to_lin_struct_servernetadr_t_114(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_114(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_114 *win = (struct wingameserveritem_t_114 *)w; - lin_to_win_struct_servernetadr_t_114(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_114 { CSteamID m_steamIDUser; @@ -190,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_114(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_114 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_114(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_114 *win = (struct winP2PSessionState_t_114 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_114(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_114 *win = (struct winP2PSessionState_t_114 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_114.h b/lsteamclient/struct_converters_114.h index 8310aa80..b25fa3d3 100644 --- a/lsteamclient/struct_converters_114.h +++ b/lsteamclient/struct_converters_114.h @@ -1,18 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_114(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_114(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_114(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_114(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_114(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_114(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_114(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_114(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_114(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_114(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_114(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_114(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_115.cpp b/lsteamclient/struct_converters_115.cpp index e57fea5e..07fd6ae6 100644 --- a/lsteamclient/struct_converters_115.cpp +++ b/lsteamclient/struct_converters_115.cpp @@ -5,160 +5,6 @@ #include "steamworks_sdk_115/isteamgameserverstats.h" #include "steamworks_sdk_115/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_115 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_115(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_115 *win = (struct winCallbackMsg_t_115 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_115(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_115 *win = (struct winCallbackMsg_t_115 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_115 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_115(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_115 *win = (struct winFriendGameInfo_t_115 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_115(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_115 *win = (struct winFriendGameInfo_t_115 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_115 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_115(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_115 *win = (struct winservernetadr_t_115 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_115(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_115 *win = (struct winservernetadr_t_115 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_115 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_115(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_115 *win = (struct wingameserveritem_t_115 *)w; - win_to_lin_struct_servernetadr_t_115(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_115(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_115 *win = (struct wingameserveritem_t_115 *)w; - lin_to_win_struct_servernetadr_t_115(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_115 { CSteamID m_steamIDUser; @@ -190,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_115(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_115 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_115(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_115 *win = (struct winP2PSessionState_t_115 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_115(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_115 *win = (struct winP2PSessionState_t_115 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_115.h b/lsteamclient/struct_converters_115.h index 7e0dc9a8..ed51a59e 100644 --- a/lsteamclient/struct_converters_115.h +++ b/lsteamclient/struct_converters_115.h @@ -1,18 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_115(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_115(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_115(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_115(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_115(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_115(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_115(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_115(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_115(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_115(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_115(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_115(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_116.cpp b/lsteamclient/struct_converters_116.cpp index f669ac0c..e2405465 100644 --- a/lsteamclient/struct_converters_116.cpp +++ b/lsteamclient/struct_converters_116.cpp @@ -5,65 +5,6 @@ #include "steamworks_sdk_116/isteamgameserverstats.h" #include "steamworks_sdk_116/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_116 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_116(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_116(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_116 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_116(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_116(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - #pragma pack( push, 8 ) struct winNameHistoryResponse_t_8 { int m_cSuccessfulLookups; @@ -78,101 +19,6 @@ void cb_NameHistoryResponse_t_8(const void *l, void *w) win->m_cFailedLookups = lin->m_cFailedLookups; } -#pragma pack( push, 8 ) -struct winservernetadr_t_116 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_116(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_116(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_116 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_116(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w; - win_to_lin_struct_servernetadr_t_116(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_116(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w; - lin_to_win_struct_servernetadr_t_116(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winRemoteStorageDownloadUGCResult_t_32 { EResult m_eResult; @@ -226,45 +72,5 @@ void lin_to_win_struct_LeaderboardEntry_t_116(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_116 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_116(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_116(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_116.h b/lsteamclient/struct_converters_116.h index 9d315d3f..11cc3d9d 100644 --- a/lsteamclient/struct_converters_116.h +++ b/lsteamclient/struct_converters_116.h @@ -1,18 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_116(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_116(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_116(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_116(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_116(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_116(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_116(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_116(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_116(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_116(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_116(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_116(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_117.cpp b/lsteamclient/struct_converters_117.cpp index 54394a6c..a22b770f 100644 --- a/lsteamclient/struct_converters_117.cpp +++ b/lsteamclient/struct_converters_117.cpp @@ -5,237 +5,6 @@ #include "steamworks_sdk_117/isteamgameserverstats.h" #include "steamworks_sdk_117/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_117 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_117(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_117 *win = (struct winCallbackMsg_t_117 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_117(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_117 *win = (struct winCallbackMsg_t_117 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_117 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_117(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_117 *win = (struct winFriendGameInfo_t_117 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_117(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_117 *win = (struct winFriendGameInfo_t_117 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_117 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_117(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_117 *win = (struct winservernetadr_t_117 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_117(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_117 *win = (struct winservernetadr_t_117 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_117 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_117(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_117 *win = (struct wingameserveritem_t_117 *)w; - win_to_lin_struct_servernetadr_t_117(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_117(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_117 *win = (struct wingameserveritem_t_117 *)w; - lin_to_win_struct_servernetadr_t_117(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_117 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_117(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_117 *win = (struct winSteamParamStringArray_t_117 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_117(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_117 *win = (struct winSteamParamStringArray_t_117 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdatePublishedFileRequest_t_117 { - PublishedFileId_t m_unPublishedFileId; - const char * m_pchFile; - const char * m_pchPreviewFile; - const char * m_pchTitle; - const char * m_pchDescription; - ERemoteStoragePublishedFileVisibility m_eVisibility; - SteamParamStringArray_t * m_pTags; - bool m_bUpdateFile; - bool m_bUpdatePreviewFile; - bool m_bUpdateTitle; - bool m_bUpdateDescription; - bool m_bUpdateVisibility; - bool m_bUpdateTags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *w, void *l) -{ - RemoteStorageUpdatePublishedFileRequest_t *lin = (RemoteStorageUpdatePublishedFileRequest_t *)l; - struct winRemoteStorageUpdatePublishedFileRequest_t_117 *win = (struct winRemoteStorageUpdatePublishedFileRequest_t_117 *)w; - lin->m_unPublishedFileId = win->m_unPublishedFileId; - lin->m_pchFile = win->m_pchFile; - lin->m_pchPreviewFile = win->m_pchPreviewFile; - lin->m_pchTitle = win->m_pchTitle; - lin->m_pchDescription = win->m_pchDescription; - lin->m_eVisibility = win->m_eVisibility; - lin->m_pTags = win->m_pTags; - lin->m_bUpdateFile = win->m_bUpdateFile; - lin->m_bUpdatePreviewFile = win->m_bUpdatePreviewFile; - lin->m_bUpdateTitle = win->m_bUpdateTitle; - lin->m_bUpdateDescription = win->m_bUpdateDescription; - lin->m_bUpdateVisibility = win->m_bUpdateVisibility; - lin->m_bUpdateTags = win->m_bUpdateTags; -} - -void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *l, void *w) -{ - RemoteStorageUpdatePublishedFileRequest_t *lin = (RemoteStorageUpdatePublishedFileRequest_t *)l; - struct winRemoteStorageUpdatePublishedFileRequest_t_117 *win = (struct winRemoteStorageUpdatePublishedFileRequest_t_117 *)w; - win->m_unPublishedFileId = lin->m_unPublishedFileId; - win->m_pchFile = lin->m_pchFile; - win->m_pchPreviewFile = lin->m_pchPreviewFile; - win->m_pchTitle = lin->m_pchTitle; - win->m_pchDescription = lin->m_pchDescription; - win->m_eVisibility = lin->m_eVisibility; - win->m_pTags = lin->m_pTags; - win->m_bUpdateFile = lin->m_bUpdateFile; - win->m_bUpdatePreviewFile = lin->m_bUpdatePreviewFile; - win->m_bUpdateTitle = lin->m_bUpdateTitle; - win->m_bUpdateDescription = lin->m_bUpdateDescription; - win->m_bUpdateVisibility = lin->m_bUpdateVisibility; - win->m_bUpdateTags = lin->m_bUpdateTags; -} - #pragma pack( push, 8 ) struct winRemoteStorageGetPublishedFileDetailsResult_t_1732 { EResult m_eResult; @@ -309,45 +78,5 @@ void lin_to_win_struct_LeaderboardEntry_t_117(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_117 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_117(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_117 *win = (struct winP2PSessionState_t_117 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_117(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_117 *win = (struct winP2PSessionState_t_117 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_117.h b/lsteamclient/struct_converters_117.h index 90c09f45..48298cb7 100644 --- a/lsteamclient/struct_converters_117.h +++ b/lsteamclient/struct_converters_117.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_117(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_117(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_117(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_117(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_117(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_117(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_117(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_117(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_117(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_117(const void *l, void *w); - -extern void win_to_lin_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *w, void *l); -extern void lin_to_win_struct_RemoteStorageUpdatePublishedFileRequest_t_117(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_117(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_117(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_117(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_117(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_118.cpp b/lsteamclient/struct_converters_118.cpp index 5a44a4f7..7a829d13 100644 --- a/lsteamclient/struct_converters_118.cpp +++ b/lsteamclient/struct_converters_118.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_118/isteamgameserverstats.h" #include "steamworks_sdk_118/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_118 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_118(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_118 *win = (struct winCallbackMsg_t_118 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_118(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_118 *win = (struct winCallbackMsg_t_118 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_118 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_118(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_118 *win = (struct winFriendGameInfo_t_118 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_118(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_118 *win = (struct winFriendGameInfo_t_118 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_118 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_118(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_118 *win = (struct winFriendSessionStateInfo_t_118 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_118(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_118 *win = (struct winFriendSessionStateInfo_t_118 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_118 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_118(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_118 *win = (struct winservernetadr_t_118 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_118(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_118 *win = (struct winservernetadr_t_118 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_118 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_118(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_118 *win = (struct wingameserveritem_t_118 *)w; - win_to_lin_struct_servernetadr_t_118(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_118(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_118 *win = (struct wingameserveritem_t_118 *)w; - lin_to_win_struct_servernetadr_t_118(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_118 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_118(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_118 *win = (struct winSteamParamStringArray_t_118 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_118(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_118 *win = (struct winSteamParamStringArray_t_118 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageGetPublishedFileDetailsResult_t_9484 { EResult m_eResult; @@ -280,46 +82,6 @@ void lin_to_win_struct_LeaderboardEntry_t_118(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_118 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_118(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_118 *win = (struct winP2PSessionState_t_118 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_118(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_118 *win = (struct winP2PSessionState_t_118 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winComputeNewPlayerCompatibilityResult_t_16 { EResult m_eResult; diff --git a/lsteamclient/struct_converters_118.h b/lsteamclient/struct_converters_118.h index ff20715e..714a08da 100644 --- a/lsteamclient/struct_converters_118.h +++ b/lsteamclient/struct_converters_118.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_118(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_118(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_118(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_118(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_118(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_118(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_118(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_118(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_118(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_118(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_118(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_118(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_118(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_118(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_118(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_118(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_119.cpp b/lsteamclient/struct_converters_119.cpp index 938fb3e2..29b84898 100644 --- a/lsteamclient/struct_converters_119.cpp +++ b/lsteamclient/struct_converters_119.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_119/isteamgameserverstats.h" #include "steamworks_sdk_119/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_119 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_119(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_119 *win = (struct winCallbackMsg_t_119 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_119(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_119 *win = (struct winCallbackMsg_t_119 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_119 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_119(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_119 *win = (struct winFriendGameInfo_t_119 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_119(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_119 *win = (struct winFriendGameInfo_t_119 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_119 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_119(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_119 *win = (struct winFriendSessionStateInfo_t_119 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_119(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_119 *win = (struct winFriendSessionStateInfo_t_119 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_119 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_119(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_119 *win = (struct winservernetadr_t_119 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_119(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_119 *win = (struct winservernetadr_t_119 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_119 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_119(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_119 *win = (struct wingameserveritem_t_119 *)w; - win_to_lin_struct_servernetadr_t_119(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_119(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_119 *win = (struct wingameserveritem_t_119 *)w; - lin_to_win_struct_servernetadr_t_119(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_119 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_119(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_119 *win = (struct winSteamParamStringArray_t_119 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_119(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_119 *win = (struct winSteamParamStringArray_t_119 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_119 { CSteamID m_steamIDUser; @@ -234,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_119(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_119 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_119(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_119 *win = (struct winP2PSessionState_t_119 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_119(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_119 *win = (struct winP2PSessionState_t_119 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_119.h b/lsteamclient/struct_converters_119.h index dff0e9a7..43ad9275 100644 --- a/lsteamclient/struct_converters_119.h +++ b/lsteamclient/struct_converters_119.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_119(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_119(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_119(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_119(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_119(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_119(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_119(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_119(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_119(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_119(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_119(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_119(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_119(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_119(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_119(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_119(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_120.cpp b/lsteamclient/struct_converters_120.cpp index e94dd57b..29d6e14a 100644 --- a/lsteamclient/struct_converters_120.cpp +++ b/lsteamclient/struct_converters_120.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_120/isteamgameserverstats.h" #include "steamworks_sdk_120/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_120 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_120(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_120 *win = (struct winCallbackMsg_t_120 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_120(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_120 *win = (struct winCallbackMsg_t_120 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_120 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_120(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_120 *win = (struct winFriendGameInfo_t_120 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_120(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_120 *win = (struct winFriendGameInfo_t_120 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_120 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_120(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_120 *win = (struct winFriendSessionStateInfo_t_120 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_120(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_120 *win = (struct winFriendSessionStateInfo_t_120 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_120 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_120(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_120 *win = (struct winservernetadr_t_120 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_120(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_120 *win = (struct winservernetadr_t_120 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_120 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_120(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_120 *win = (struct wingameserveritem_t_120 *)w; - win_to_lin_struct_servernetadr_t_120(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_120(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_120 *win = (struct wingameserveritem_t_120 *)w; - lin_to_win_struct_servernetadr_t_120(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_120 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_120(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_120 *win = (struct winSteamParamStringArray_t_120 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_120(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_120 *win = (struct winSteamParamStringArray_t_120 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_120 { CSteamID m_steamIDUser; @@ -234,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_120(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_120 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_120(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_120 *win = (struct winP2PSessionState_t_120 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_120(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_120 *win = (struct winP2PSessionState_t_120 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_120.h b/lsteamclient/struct_converters_120.h index fa6d9de3..b4e6d4a5 100644 --- a/lsteamclient/struct_converters_120.h +++ b/lsteamclient/struct_converters_120.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_120(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_120(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_120(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_120(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_120(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_120(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_120(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_120(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_120(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_120(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_120(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_120(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_120(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_120(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_120(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_120(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_121.cpp b/lsteamclient/struct_converters_121.cpp index a1c5cba0..b88eb877 100644 --- a/lsteamclient/struct_converters_121.cpp +++ b/lsteamclient/struct_converters_121.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_121/isteamgameserverstats.h" #include "steamworks_sdk_121/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_121 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_121(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_121 *win = (struct winCallbackMsg_t_121 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_121(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_121 *win = (struct winCallbackMsg_t_121 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_121 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_121(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_121 *win = (struct winFriendGameInfo_t_121 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_121(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_121 *win = (struct winFriendGameInfo_t_121 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_121 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_121(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_121 *win = (struct winFriendSessionStateInfo_t_121 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_121(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_121 *win = (struct winFriendSessionStateInfo_t_121 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_121 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_121(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_121 *win = (struct winservernetadr_t_121 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_121(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_121 *win = (struct winservernetadr_t_121 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_121 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_121(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_121 *win = (struct wingameserveritem_t_121 *)w; - win_to_lin_struct_servernetadr_t_121(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_121(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_121 *win = (struct wingameserveritem_t_121 *)w; - lin_to_win_struct_servernetadr_t_121(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_121 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_121(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_121 *win = (struct winSteamParamStringArray_t_121 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_121(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_121 *win = (struct winSteamParamStringArray_t_121 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_121 { CSteamID m_steamIDUser; @@ -234,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_121(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_121 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_121(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_121 *win = (struct winP2PSessionState_t_121 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_121(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_121 *win = (struct winP2PSessionState_t_121 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_121.h b/lsteamclient/struct_converters_121.h index 7ede79b3..b67b1aff 100644 --- a/lsteamclient/struct_converters_121.h +++ b/lsteamclient/struct_converters_121.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_121(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_121(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_121(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_121(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_121(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_121(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_121(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_121(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_121(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_121(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_121(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_121(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_121(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_121(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_121(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_121(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_122.cpp b/lsteamclient/struct_converters_122.cpp index 419aecd0..235a123d 100644 --- a/lsteamclient/struct_converters_122.cpp +++ b/lsteamclient/struct_converters_122.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_122/isteamgameserverstats.h" #include "steamworks_sdk_122/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_122 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_122(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_122 *win = (struct winCallbackMsg_t_122 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_122(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_122 *win = (struct winCallbackMsg_t_122 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_122 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_122(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_122 *win = (struct winFriendGameInfo_t_122 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_122(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_122 *win = (struct winFriendGameInfo_t_122 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_122 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_122(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_122 *win = (struct winFriendSessionStateInfo_t_122 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_122(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_122 *win = (struct winFriendSessionStateInfo_t_122 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_122 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_122(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_122 *win = (struct winservernetadr_t_122 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_122(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_122 *win = (struct winservernetadr_t_122 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_122 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_122(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_122 *win = (struct wingameserveritem_t_122 *)w; - win_to_lin_struct_servernetadr_t_122(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_122(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_122 *win = (struct wingameserveritem_t_122 *)w; - lin_to_win_struct_servernetadr_t_122(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_122 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_122(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_122 *win = (struct winSteamParamStringArray_t_122 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_122(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_122 *win = (struct winSteamParamStringArray_t_122 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageSubscribePublishedFileResult_t_4 { EResult m_eResult; @@ -258,45 +60,5 @@ void lin_to_win_struct_LeaderboardEntry_t_122(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_122 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_122(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_122 *win = (struct winP2PSessionState_t_122 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_122(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_122 *win = (struct winP2PSessionState_t_122 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_122.h b/lsteamclient/struct_converters_122.h index 6c4fdad0..5eb3d1bf 100644 --- a/lsteamclient/struct_converters_122.h +++ b/lsteamclient/struct_converters_122.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_122(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_122(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_122(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_122(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_122(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_122(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_122(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_122(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_122(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_122(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_122(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_122(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_122(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_122(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_122(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_122(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_123.cpp b/lsteamclient/struct_converters_123.cpp index b9a910a7..e8ba1945 100644 --- a/lsteamclient/struct_converters_123.cpp +++ b/lsteamclient/struct_converters_123.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_123/isteamgameserverstats.h" #include "steamworks_sdk_123/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_123 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_123(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_123 *win = (struct winCallbackMsg_t_123 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_123(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_123 *win = (struct winCallbackMsg_t_123 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_123 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_123(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_123 *win = (struct winFriendGameInfo_t_123 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_123(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_123 *win = (struct winFriendGameInfo_t_123 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_123 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_123(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_123 *win = (struct winFriendSessionStateInfo_t_123 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_123(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_123 *win = (struct winFriendSessionStateInfo_t_123 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_123 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_123(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_123 *win = (struct winservernetadr_t_123 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_123(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_123 *win = (struct winservernetadr_t_123 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_123 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_123(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_123 *win = (struct wingameserveritem_t_123 *)w; - win_to_lin_struct_servernetadr_t_123(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_123(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_123 *win = (struct wingameserveritem_t_123 *)w; - lin_to_win_struct_servernetadr_t_123(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_123 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_123(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_123 *win = (struct winSteamParamStringArray_t_123 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_123(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_123 *win = (struct winSteamParamStringArray_t_123 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_123 { CSteamID m_steamIDUser; @@ -234,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_123(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_123 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_123(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_123 *win = (struct winP2PSessionState_t_123 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_123(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_123 *win = (struct winP2PSessionState_t_123 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_123.h b/lsteamclient/struct_converters_123.h index c26c9dc7..caafe527 100644 --- a/lsteamclient/struct_converters_123.h +++ b/lsteamclient/struct_converters_123.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_123(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_123(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_123(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_123(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_123(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_123(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_123(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_123(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_123(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_123(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_123(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_123(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_123(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_123(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_123(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_123(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_123a.cpp b/lsteamclient/struct_converters_123a.cpp index 5940e70e..d831993a 100644 --- a/lsteamclient/struct_converters_123a.cpp +++ b/lsteamclient/struct_converters_123a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_123a/isteamgameserverstats.h" #include "steamworks_sdk_123a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_123a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_123a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_123a *win = (struct winCallbackMsg_t_123a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_123a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_123a *win = (struct winCallbackMsg_t_123a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_123a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_123a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_123a *win = (struct winFriendGameInfo_t_123a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_123a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_123a *win = (struct winFriendGameInfo_t_123a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_123a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_123a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_123a *win = (struct winFriendSessionStateInfo_t_123a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_123a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_123a *win = (struct winFriendSessionStateInfo_t_123a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_123a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_123a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_123a *win = (struct winservernetadr_t_123a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_123a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_123a *win = (struct winservernetadr_t_123a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_123a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_123a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_123a *win = (struct wingameserveritem_t_123a *)w; - win_to_lin_struct_servernetadr_t_123a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_123a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_123a *win = (struct wingameserveritem_t_123a *)w; - lin_to_win_struct_servernetadr_t_123a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_123a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_123a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_123a *win = (struct winSteamParamStringArray_t_123a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_123a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_123a *win = (struct winSteamParamStringArray_t_123a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_123a { CSteamID m_steamIDUser; @@ -234,45 +36,5 @@ void lin_to_win_struct_LeaderboardEntry_t_123a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_123a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_123a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_123a *win = (struct winP2PSessionState_t_123a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_123a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_123a *win = (struct winP2PSessionState_t_123a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_123a.h b/lsteamclient/struct_converters_123a.h index e441e4db..a2961476 100644 --- a/lsteamclient/struct_converters_123a.h +++ b/lsteamclient/struct_converters_123a.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_123a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_123a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_123a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_123a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_123a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_123a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_123a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_123a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_123a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_123a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_123a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_123a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_123a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_123a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_123a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_123a(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_124.cpp b/lsteamclient/struct_converters_124.cpp index e41e681a..7324748c 100644 --- a/lsteamclient/struct_converters_124.cpp +++ b/lsteamclient/struct_converters_124.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_124/isteamgameserverstats.h" #include "steamworks_sdk_124/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_124 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_124(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_124 *win = (struct winCallbackMsg_t_124 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_124(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_124 *win = (struct winCallbackMsg_t_124 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_124 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_124(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_124 *win = (struct winFriendGameInfo_t_124 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_124(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_124 *win = (struct winFriendGameInfo_t_124 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_124 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_124(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_124 *win = (struct winFriendSessionStateInfo_t_124 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_124(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_124 *win = (struct winFriendSessionStateInfo_t_124 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_124 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_124(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_124 *win = (struct winservernetadr_t_124 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_124(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_124 *win = (struct winservernetadr_t_124 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_124 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_124(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_124 *win = (struct wingameserveritem_t_124 *)w; - win_to_lin_struct_servernetadr_t_124(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_124(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_124 *win = (struct wingameserveritem_t_124 *)w; - lin_to_win_struct_servernetadr_t_124(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_124 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_124(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_124 *win = (struct winSteamParamStringArray_t_124 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_124(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_124 *win = (struct winSteamParamStringArray_t_124 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStoragePublishFileResult_t_12 { EResult m_eResult; @@ -282,45 +84,5 @@ void lin_to_win_struct_LeaderboardEntry_t_124(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_124 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_124(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_124 *win = (struct winP2PSessionState_t_124 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_124(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_124 *win = (struct winP2PSessionState_t_124 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - } diff --git a/lsteamclient/struct_converters_124.h b/lsteamclient/struct_converters_124.h index ad4d31d1..f00dbcdf 100644 --- a/lsteamclient/struct_converters_124.h +++ b/lsteamclient/struct_converters_124.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_124(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_124(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_124(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_124(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_124(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_124(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_124(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_124(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_124(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_124(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_124(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_124(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_124(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_124(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_124(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_124(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_125.cpp b/lsteamclient/struct_converters_125.cpp index a0fac882..184fc536 100644 --- a/lsteamclient/struct_converters_125.cpp +++ b/lsteamclient/struct_converters_125.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_125/isteamgameserverstats.h" #include "steamworks_sdk_125/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_125 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_125(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_125 *win = (struct winCallbackMsg_t_125 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_125(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_125 *win = (struct winCallbackMsg_t_125 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - #pragma pack( push, 8 ) struct winValidateAuthTicketResponse_t_12 { CSteamID m_SteamID; @@ -47,176 +19,6 @@ void cb_ValidateAuthTicketResponse_t_12(const void *l, void *w) win->m_eAuthSessionResponse = lin->m_eAuthSessionResponse; } -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_125 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_125(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_125 *win = (struct winFriendGameInfo_t_125 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_125(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_125 *win = (struct winFriendGameInfo_t_125 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_125 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_125(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_125 *win = (struct winFriendSessionStateInfo_t_125 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_125(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_125 *win = (struct winFriendSessionStateInfo_t_125 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_125 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_125(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_125 *win = (struct winservernetadr_t_125 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_125(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_125 *win = (struct winservernetadr_t_125 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_125 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_125(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_125 *win = (struct wingameserveritem_t_125 *)w; - win_to_lin_struct_servernetadr_t_125(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_125(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_125 *win = (struct wingameserveritem_t_125 *)w; - lin_to_win_struct_servernetadr_t_125(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_125 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_125(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_125 *win = (struct winSteamParamStringArray_t_125 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_125(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_125 *win = (struct winSteamParamStringArray_t_125 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageGetPublishedFileDetailsResult_t_9744 { EResult m_eResult; @@ -298,46 +100,6 @@ void lin_to_win_struct_LeaderboardEntry_t_125(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_125 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_125(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_125 *win = (struct winP2PSessionState_t_125 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_125(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_125 *win = (struct winP2PSessionState_t_125 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winGSClientApprove_t_8 { CSteamID m_SteamID; diff --git a/lsteamclient/struct_converters_125.h b/lsteamclient/struct_converters_125.h index 6f98f5d1..1cf0f1f8 100644 --- a/lsteamclient/struct_converters_125.h +++ b/lsteamclient/struct_converters_125.h @@ -1,24 +1,3 @@ -extern void win_to_lin_struct_CallbackMsg_t_125(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_125(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_125(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_125(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_125(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_125(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_125(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_125(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_125(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_125(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_125(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_125(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_125(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_125(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_125(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_125(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_126.cpp b/lsteamclient/struct_converters_126.cpp index 46aafd72..8959412f 100644 --- a/lsteamclient/struct_converters_126.cpp +++ b/lsteamclient/struct_converters_126.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_126/isteamgameserverstats.h" #include "steamworks_sdk_126/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_126 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_126(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_126 *win = (struct winCallbackMsg_t_126 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_126(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_126 *win = (struct winCallbackMsg_t_126 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_126 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_126(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_126 *win = (struct winFriendGameInfo_t_126 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_126(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_126 *win = (struct winFriendGameInfo_t_126 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_126 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_126(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_126 *win = (struct winFriendSessionStateInfo_t_126 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_126(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_126 *win = (struct winFriendSessionStateInfo_t_126 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_126 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_126(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_126 *win = (struct winservernetadr_t_126 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_126(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_126 *win = (struct winservernetadr_t_126 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_126 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_126(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_126 *win = (struct wingameserveritem_t_126 *)w; - win_to_lin_struct_servernetadr_t_126(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_126(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_126 *win = (struct wingameserveritem_t_126 *)w; - lin_to_win_struct_servernetadr_t_126(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_126 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_126(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_126 *win = (struct winSteamParamStringArray_t_126 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_126(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_126 *win = (struct winSteamParamStringArray_t_126 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_126 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_126(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_126 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_126(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_126 *win = (struct winP2PSessionState_t_126 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_126(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_126 *win = (struct winP2PSessionState_t_126 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_126 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_126.h b/lsteamclient/struct_converters_126.h index ed2e7e00..160f5c48 100644 --- a/lsteamclient/struct_converters_126.h +++ b/lsteamclient/struct_converters_126.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_126(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_126(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_126(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_126(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_126(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_126(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_126(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_126(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_126(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_126(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_126(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_126(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_126(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_126(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_126(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_126(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_126(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_126(const void *l, void *w); diff --git a/lsteamclient/struct_converters_126a.cpp b/lsteamclient/struct_converters_126a.cpp index b619454b..4dadda26 100644 --- a/lsteamclient/struct_converters_126a.cpp +++ b/lsteamclient/struct_converters_126a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_126a/isteamgameserverstats.h" #include "steamworks_sdk_126a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_126a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_126a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_126a *win = (struct winCallbackMsg_t_126a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_126a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_126a *win = (struct winCallbackMsg_t_126a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_126a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_126a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_126a *win = (struct winFriendGameInfo_t_126a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_126a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_126a *win = (struct winFriendGameInfo_t_126a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_126a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_126a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_126a *win = (struct winFriendSessionStateInfo_t_126a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_126a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_126a *win = (struct winFriendSessionStateInfo_t_126a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_126a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_126a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_126a *win = (struct winservernetadr_t_126a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_126a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_126a *win = (struct winservernetadr_t_126a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_126a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_126a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_126a *win = (struct wingameserveritem_t_126a *)w; - win_to_lin_struct_servernetadr_t_126a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_126a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_126a *win = (struct wingameserveritem_t_126a *)w; - lin_to_win_struct_servernetadr_t_126a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_126a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_126a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_126a *win = (struct winSteamParamStringArray_t_126a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_126a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_126a *win = (struct winSteamParamStringArray_t_126a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_126a { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_126a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_126a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_126a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_126a *win = (struct winP2PSessionState_t_126a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_126a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_126a *win = (struct winP2PSessionState_t_126a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_126a { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_126a.h b/lsteamclient/struct_converters_126a.h index 1b4a0654..c6694af3 100644 --- a/lsteamclient/struct_converters_126a.h +++ b/lsteamclient/struct_converters_126a.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_126a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_126a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_126a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_126a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_126a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_126a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_126a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_126a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_126a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_126a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_126a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_126a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_126a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_126a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_126a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_126a(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_126a(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_126a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_127.cpp b/lsteamclient/struct_converters_127.cpp index cca02181..06c65561 100644 --- a/lsteamclient/struct_converters_127.cpp +++ b/lsteamclient/struct_converters_127.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_127/isteamgameserverstats.h" #include "steamworks_sdk_127/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_127 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_127(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_127 *win = (struct winCallbackMsg_t_127 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_127(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_127 *win = (struct winCallbackMsg_t_127 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_127 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_127(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_127 *win = (struct winFriendGameInfo_t_127 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_127(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_127 *win = (struct winFriendGameInfo_t_127 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_127 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_127(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_127 *win = (struct winFriendSessionStateInfo_t_127 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_127(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_127 *win = (struct winFriendSessionStateInfo_t_127 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_127 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_127(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_127 *win = (struct winservernetadr_t_127 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_127(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_127 *win = (struct winservernetadr_t_127 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_127 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_127(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_127 *win = (struct wingameserveritem_t_127 *)w; - win_to_lin_struct_servernetadr_t_127(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_127(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_127 *win = (struct wingameserveritem_t_127 *)w; - lin_to_win_struct_servernetadr_t_127(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_127 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_127(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_127 *win = (struct winSteamParamStringArray_t_127 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_127(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_127 *win = (struct winSteamParamStringArray_t_127 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_127 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_127(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_127 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_127(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_127 *win = (struct winP2PSessionState_t_127 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_127(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_127 *win = (struct winP2PSessionState_t_127 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_127 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_127.h b/lsteamclient/struct_converters_127.h index 4eb88a7f..7c48ff2b 100644 --- a/lsteamclient/struct_converters_127.h +++ b/lsteamclient/struct_converters_127.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_127(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_127(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_127(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_127(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_127(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_127(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_127(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_127(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_127(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_127(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_127(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_127(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_127(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_127(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_127(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_127(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_127(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_127(const void *l, void *w); diff --git a/lsteamclient/struct_converters_128.cpp b/lsteamclient/struct_converters_128.cpp index 6e10e215..2e87d8d9 100644 --- a/lsteamclient/struct_converters_128.cpp +++ b/lsteamclient/struct_converters_128.cpp @@ -5,182 +5,6 @@ #include "steamworks_sdk_128/isteamgameserverstats.h" #include "steamworks_sdk_128/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_128 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_128(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_128 *win = (struct winCallbackMsg_t_128 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_128(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_128 *win = (struct winCallbackMsg_t_128 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_128 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_128(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_128 *win = (struct winFriendGameInfo_t_128 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_128(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_128 *win = (struct winFriendGameInfo_t_128 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_128 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_128(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_128 *win = (struct winFriendSessionStateInfo_t_128 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_128(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_128 *win = (struct winFriendSessionStateInfo_t_128 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_128 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_128(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_128 *win = (struct winservernetadr_t_128 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_128(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_128 *win = (struct winservernetadr_t_128 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_128 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_128(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_128 *win = (struct wingameserveritem_t_128 *)w; - win_to_lin_struct_servernetadr_t_128(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_128(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_128 *win = (struct wingameserveritem_t_128 *)w; - lin_to_win_struct_servernetadr_t_128(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winFavoritesListChanged_t_24 { uint32 m_nIP; @@ -203,28 +27,6 @@ void cb_FavoritesListChanged_t_24(const void *l, void *w) win->m_bAdd = lin->m_bAdd; } -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_128 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_128(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_128 *win = (struct winSteamParamStringArray_t_128 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_128(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_128 *win = (struct winSteamParamStringArray_t_128 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageFileShareResult_t_12 { EResult m_eResult; @@ -270,46 +72,6 @@ void lin_to_win_struct_LeaderboardEntry_t_128(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_128 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_128(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_128 *win = (struct winP2PSessionState_t_128 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_128(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_128 *win = (struct winP2PSessionState_t_128 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_128 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_128.h b/lsteamclient/struct_converters_128.h index 95602005..f6783244 100644 --- a/lsteamclient/struct_converters_128.h +++ b/lsteamclient/struct_converters_128.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_128(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_128(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_128(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_128(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_128(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_128(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_128(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_128(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_128(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_128(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_128(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_128(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_128(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_128(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_128(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_128(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_128(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_128(const void *l, void *w); diff --git a/lsteamclient/struct_converters_129.cpp b/lsteamclient/struct_converters_129.cpp index aa81705f..7111bbc1 100644 --- a/lsteamclient/struct_converters_129.cpp +++ b/lsteamclient/struct_converters_129.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_129/isteamgameserverstats.h" #include "steamworks_sdk_129/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_129 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_129(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_129 *win = (struct winCallbackMsg_t_129 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_129(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_129 *win = (struct winCallbackMsg_t_129 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_129 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_129(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_129 *win = (struct winFriendGameInfo_t_129 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_129(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_129 *win = (struct winFriendGameInfo_t_129 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_129 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_129(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_129 *win = (struct winFriendSessionStateInfo_t_129 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_129(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_129 *win = (struct winFriendSessionStateInfo_t_129 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_129 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_129(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_129 *win = (struct winservernetadr_t_129 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_129(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_129 *win = (struct winservernetadr_t_129 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_129 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_129(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_129 *win = (struct wingameserveritem_t_129 *)w; - win_to_lin_struct_servernetadr_t_129(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_129(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_129 *win = (struct wingameserveritem_t_129 *)w; - lin_to_win_struct_servernetadr_t_129(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_129 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_129(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_129 *win = (struct winSteamParamStringArray_t_129 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_129(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_129 *win = (struct winSteamParamStringArray_t_129 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_129 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_129(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_129 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_129(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_129 *win = (struct winP2PSessionState_t_129 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_129(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_129 *win = (struct winP2PSessionState_t_129 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_129 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_129.h b/lsteamclient/struct_converters_129.h index 697cb808..8ac53af2 100644 --- a/lsteamclient/struct_converters_129.h +++ b/lsteamclient/struct_converters_129.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_129(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_129(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_129(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_129(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_129(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_129(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_129(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_129(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_129(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_129(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_129(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_129(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_129(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_129(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_129(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_129(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_129(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_129(const void *l, void *w); diff --git a/lsteamclient/struct_converters_129a.cpp b/lsteamclient/struct_converters_129a.cpp index 15cb154d..74beabd6 100644 --- a/lsteamclient/struct_converters_129a.cpp +++ b/lsteamclient/struct_converters_129a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_129a/isteamgameserverstats.h" #include "steamworks_sdk_129a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_129a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_129a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_129a *win = (struct winCallbackMsg_t_129a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_129a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_129a *win = (struct winCallbackMsg_t_129a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_129a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_129a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_129a *win = (struct winFriendGameInfo_t_129a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_129a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_129a *win = (struct winFriendGameInfo_t_129a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_129a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_129a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_129a *win = (struct winFriendSessionStateInfo_t_129a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_129a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_129a *win = (struct winFriendSessionStateInfo_t_129a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_129a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_129a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_129a *win = (struct winservernetadr_t_129a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_129a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_129a *win = (struct winservernetadr_t_129a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_129a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_129a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_129a *win = (struct wingameserveritem_t_129a *)w; - win_to_lin_struct_servernetadr_t_129a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_129a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_129a *win = (struct wingameserveritem_t_129a *)w; - lin_to_win_struct_servernetadr_t_129a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_129a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_129a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_129a *win = (struct winSteamParamStringArray_t_129a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_129a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_129a *win = (struct winSteamParamStringArray_t_129a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_129a { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_129a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_129a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_129a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_129a *win = (struct winP2PSessionState_t_129a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_129a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_129a *win = (struct winP2PSessionState_t_129a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_129a { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_129a.h b/lsteamclient/struct_converters_129a.h index f2a130d8..7b29c5d1 100644 --- a/lsteamclient/struct_converters_129a.h +++ b/lsteamclient/struct_converters_129a.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_129a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_129a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_129a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_129a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_129a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_129a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_129a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_129a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_129a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_129a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_129a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_129a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_129a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_129a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_129a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_129a(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_129a(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_129a(const void *l, void *w); diff --git a/lsteamclient/struct_converters_130.cpp b/lsteamclient/struct_converters_130.cpp index 438d0ae1..88afee32 100644 --- a/lsteamclient/struct_converters_130.cpp +++ b/lsteamclient/struct_converters_130.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_130/isteamgameserverstats.h" #include "steamworks_sdk_130/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_130 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_130(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_130 *win = (struct winCallbackMsg_t_130 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_130(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_130 *win = (struct winCallbackMsg_t_130 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_130 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_130(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_130 *win = (struct winFriendGameInfo_t_130 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_130(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_130 *win = (struct winFriendGameInfo_t_130 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_130 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_130(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_130 *win = (struct winFriendSessionStateInfo_t_130 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_130(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_130 *win = (struct winFriendSessionStateInfo_t_130 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_130 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_130(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_130 *win = (struct winservernetadr_t_130 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_130(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_130 *win = (struct winservernetadr_t_130 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_130 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_130(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_130 *win = (struct wingameserveritem_t_130 *)w; - win_to_lin_struct_servernetadr_t_130(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_130(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_130 *win = (struct wingameserveritem_t_130 *)w; - lin_to_win_struct_servernetadr_t_130(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_130 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_130(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_130 *win = (struct winSteamParamStringArray_t_130 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_130(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_130 *win = (struct winSteamParamStringArray_t_130 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_130 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_130(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_130 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_130(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_130 *win = (struct winP2PSessionState_t_130 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_130(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_130 *win = (struct winP2PSessionState_t_130 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_130 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_130.h b/lsteamclient/struct_converters_130.h index e2c434fd..6da1b6dc 100644 --- a/lsteamclient/struct_converters_130.h +++ b/lsteamclient/struct_converters_130.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_130(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_130(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_130(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_130(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_130(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_130(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_130(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_130(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_130(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_130(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_130(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_130(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_130(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_130(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_130(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_130(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_130(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_130(const void *l, void *w); diff --git a/lsteamclient/struct_converters_131.cpp b/lsteamclient/struct_converters_131.cpp index c9f558a9..6d3b4ca7 100644 --- a/lsteamclient/struct_converters_131.cpp +++ b/lsteamclient/struct_converters_131.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_131/isteamgameserverstats.h" #include "steamworks_sdk_131/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_131 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_131(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_131 *win = (struct winCallbackMsg_t_131 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_131(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_131 *win = (struct winCallbackMsg_t_131 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_131 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_131(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_131 *win = (struct winFriendGameInfo_t_131 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_131(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_131 *win = (struct winFriendGameInfo_t_131 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_131 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_131(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_131 *win = (struct winFriendSessionStateInfo_t_131 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_131(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_131 *win = (struct winFriendSessionStateInfo_t_131 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_131 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_131(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_131 *win = (struct winservernetadr_t_131 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_131(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_131 *win = (struct winservernetadr_t_131 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_131 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_131(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_131 *win = (struct wingameserveritem_t_131 *)w; - win_to_lin_struct_servernetadr_t_131(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_131(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_131 *win = (struct wingameserveritem_t_131 *)w; - lin_to_win_struct_servernetadr_t_131(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_131 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_131(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_131 *win = (struct winSteamParamStringArray_t_131 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_131(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_131 *win = (struct winSteamParamStringArray_t_131 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_131 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_131(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_131 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_131(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_131 *win = (struct winP2PSessionState_t_131 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_131(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_131 *win = (struct winP2PSessionState_t_131 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_131 { PublishedFileId_t m_nPublishedFileId; diff --git a/lsteamclient/struct_converters_131.h b/lsteamclient/struct_converters_131.h index 168c23d4..f51eae1e 100644 --- a/lsteamclient/struct_converters_131.h +++ b/lsteamclient/struct_converters_131.h @@ -1,27 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_131(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_131(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_131(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_131(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_131(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_131(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_131(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_131(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_131(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_131(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_131(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_131(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_131(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_131(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_131(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_131(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_131(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_131(const void *l, void *w); diff --git a/lsteamclient/struct_converters_132.cpp b/lsteamclient/struct_converters_132.cpp index f26c9da0..dccb63b1 100644 --- a/lsteamclient/struct_converters_132.cpp +++ b/lsteamclient/struct_converters_132.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_132/isteamgameserverstats.h" #include "steamworks_sdk_132/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_132 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_132(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_132 *win = (struct winCallbackMsg_t_132 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_132(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_132 *win = (struct winCallbackMsg_t_132 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_132 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_132(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_132 *win = (struct winFriendGameInfo_t_132 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_132(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_132 *win = (struct winFriendGameInfo_t_132 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_132 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_132(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_132 *win = (struct winFriendSessionStateInfo_t_132 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_132(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_132 *win = (struct winFriendSessionStateInfo_t_132 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_132 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_132(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_132 *win = (struct winservernetadr_t_132 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_132(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_132 *win = (struct winservernetadr_t_132 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_132 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_132(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_132 *win = (struct wingameserveritem_t_132 *)w; - win_to_lin_struct_servernetadr_t_132(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_132(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_132 *win = (struct wingameserveritem_t_132 *)w; - lin_to_win_struct_servernetadr_t_132(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_132 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_132(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_132 *win = (struct winSteamParamStringArray_t_132 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_132(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_132 *win = (struct winSteamParamStringArray_t_132 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_132 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_132(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_132 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_132(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_132 *win = (struct winP2PSessionState_t_132 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_132(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_132 *win = (struct winP2PSessionState_t_132 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winHTTPRequestCompleted_t_20 { HTTPRequestHandle m_hRequest; @@ -292,40 +54,6 @@ void cb_HTTPRequestCompleted_t_20(const void *l, void *w) win->m_eStatusCode = lin->m_eStatusCode; } -#pragma pack( push, 8 ) -struct winSteamControllerState_t_132 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamControllerState_t_132(const void *w, void *l) -{ - SteamControllerState_t *lin = (SteamControllerState_t *)l; - struct winSteamControllerState_t_132 *win = (struct winSteamControllerState_t_132 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct_SteamControllerState_t_132(const void *l, void *w) -{ - SteamControllerState_t *lin = (SteamControllerState_t *)l; - struct winSteamControllerState_t_132 *win = (struct winSteamControllerState_t_132 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_132 { PublishedFileId_t m_nPublishedFileId; @@ -504,33 +232,5 @@ void cb_HTML_NewWindow_t_24(const void *l, void *w) win->unTall = lin->unTall; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_132 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_132(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_132 *win = (struct winSteamItemDetails_t_132 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_132(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_132 *win = (struct winSteamItemDetails_t_132 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_132.h b/lsteamclient/struct_converters_132.h index 082040e0..868d1a9c 100644 --- a/lsteamclient/struct_converters_132.h +++ b/lsteamclient/struct_converters_132.h @@ -1,33 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_132(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_132(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_132(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_132(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_132(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_132(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_132(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_132(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_132(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_132(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_132(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_132(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_132(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_132(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_132(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_132(const void *l, void *w); - -extern void win_to_lin_struct_SteamControllerState_t_132(const void *w, void *l); -extern void lin_to_win_struct_SteamControllerState_t_132(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_132(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_132(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_132(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_132(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_133.cpp b/lsteamclient/struct_converters_133.cpp index 59ad10db..f566e214 100644 --- a/lsteamclient/struct_converters_133.cpp +++ b/lsteamclient/struct_converters_133.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_133/isteamgameserverstats.h" #include "steamworks_sdk_133/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_133 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133 *win = (struct winCallbackMsg_t_133 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_133(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133 *win = (struct winCallbackMsg_t_133 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_133 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133 *win = (struct winFriendGameInfo_t_133 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_133(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133 *win = (struct winFriendGameInfo_t_133 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_133 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133 *win = (struct winFriendSessionStateInfo_t_133 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_133(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133 *win = (struct winFriendSessionStateInfo_t_133 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_133 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133 *win = (struct winservernetadr_t_133 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_133(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133 *win = (struct winservernetadr_t_133 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_133 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133 *win = (struct wingameserveritem_t_133 *)w; - win_to_lin_struct_servernetadr_t_133(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_133(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133 *win = (struct wingameserveritem_t_133 *)w; - lin_to_win_struct_servernetadr_t_133(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_133 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133 *win = (struct winSteamParamStringArray_t_133 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_133(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133 *win = (struct winSteamParamStringArray_t_133 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_133 { CSteamID m_steamIDUser; @@ -234,80 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_133(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_133 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133 *win = (struct winP2PSessionState_t_133 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_133(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133 *win = (struct winP2PSessionState_t_133 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winSteamControllerState001_t_133 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133(const void *w, void *l) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133 *win = (struct winSteamControllerState001_t_133 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct_SteamControllerState001_t_133(const void *l, void *w) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133 *win = (struct winSteamControllerState001_t_133 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_133 { PublishedFileId_t m_nPublishedFileId; @@ -402,33 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_133(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_133 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133 *win = (struct winSteamItemDetails_t_133 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_133(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133 *win = (struct winSteamItemDetails_t_133 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_133.h b/lsteamclient/struct_converters_133.h index 55ce21b3..40f1a032 100644 --- a/lsteamclient/struct_converters_133.h +++ b/lsteamclient/struct_converters_133.h @@ -1,33 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_133(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_133(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_133(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_133(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_133(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_133(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_133(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_133(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133(const void *l, void *w); - -extern void win_to_lin_struct_SteamControllerState001_t_133(const void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_133(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_133(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_133(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_133a.cpp b/lsteamclient/struct_converters_133a.cpp index 9767041d..a8de794a 100644 --- a/lsteamclient/struct_converters_133a.cpp +++ b/lsteamclient/struct_converters_133a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_133a/isteamgameserverstats.h" #include "steamworks_sdk_133a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_133a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133a *win = (struct winCallbackMsg_t_133a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_133a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133a *win = (struct winCallbackMsg_t_133a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_133a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133a *win = (struct winFriendGameInfo_t_133a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_133a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133a *win = (struct winFriendGameInfo_t_133a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_133a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133a *win = (struct winFriendSessionStateInfo_t_133a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_133a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133a *win = (struct winFriendSessionStateInfo_t_133a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_133a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133a *win = (struct winservernetadr_t_133a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_133a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133a *win = (struct winservernetadr_t_133a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_133a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133a *win = (struct wingameserveritem_t_133a *)w; - win_to_lin_struct_servernetadr_t_133a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_133a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133a *win = (struct wingameserveritem_t_133a *)w; - lin_to_win_struct_servernetadr_t_133a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_133a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133a *win = (struct winSteamParamStringArray_t_133a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_133a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133a *win = (struct winSteamParamStringArray_t_133a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_133a { CSteamID m_steamIDUser; @@ -234,80 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_133a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_133a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133a *win = (struct winP2PSessionState_t_133a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_133a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133a *win = (struct winP2PSessionState_t_133a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winSteamControllerState001_t_133a { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133a(const void *w, void *l) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133a *win = (struct winSteamControllerState001_t_133a *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct_SteamControllerState001_t_133a(const void *l, void *w) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133a *win = (struct winSteamControllerState001_t_133a *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_133a { PublishedFileId_t m_nPublishedFileId; @@ -402,33 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_133a(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_133a { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133a(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133a *win = (struct winSteamItemDetails_t_133a *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_133a(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133a *win = (struct winSteamItemDetails_t_133a *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_133a.h b/lsteamclient/struct_converters_133a.h index d3518678..4876e439 100644 --- a/lsteamclient/struct_converters_133a.h +++ b/lsteamclient/struct_converters_133a.h @@ -1,33 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_133a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_133a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_133a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_133a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_133a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_133a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_133a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_133a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133a(const void *l, void *w); - -extern void win_to_lin_struct_SteamControllerState001_t_133a(const void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133a(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_133a(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_133a(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_133a(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133a(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_133b.cpp b/lsteamclient/struct_converters_133b.cpp index 3528dc25..233fce1f 100644 --- a/lsteamclient/struct_converters_133b.cpp +++ b/lsteamclient/struct_converters_133b.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_133b/isteamgameserverstats.h" #include "steamworks_sdk_133b/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_133b { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_133b(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133b *win = (struct winCallbackMsg_t_133b *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_133b(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_133b *win = (struct winCallbackMsg_t_133b *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_133b { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_133b(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133b *win = (struct winFriendGameInfo_t_133b *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_133b(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_133b *win = (struct winFriendGameInfo_t_133b *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_133b { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_133b(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133b *win = (struct winFriendSessionStateInfo_t_133b *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_133b(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_133b *win = (struct winFriendSessionStateInfo_t_133b *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_133b { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_133b(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133b *win = (struct winservernetadr_t_133b *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_133b(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_133b *win = (struct winservernetadr_t_133b *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_133b { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_133b(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133b *win = (struct wingameserveritem_t_133b *)w; - win_to_lin_struct_servernetadr_t_133b(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_133b(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_133b *win = (struct wingameserveritem_t_133b *)w; - lin_to_win_struct_servernetadr_t_133b(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_133b { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_133b(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133b *win = (struct winSteamParamStringArray_t_133b *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_133b(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_133b *win = (struct winSteamParamStringArray_t_133b *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_133b { CSteamID m_steamIDUser; @@ -234,80 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_133b(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_133b { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_133b(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133b *win = (struct winP2PSessionState_t_133b *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_133b(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_133b *win = (struct winP2PSessionState_t_133b *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winSteamControllerState001_t_133b { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_133b(const void *w, void *l) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133b *win = (struct winSteamControllerState001_t_133b *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct_SteamControllerState001_t_133b(const void *l, void *w) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_133b *win = (struct winSteamControllerState001_t_133b *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_133b { PublishedFileId_t m_nPublishedFileId; @@ -402,33 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_133b(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_133b { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_133b(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133b *win = (struct winSteamItemDetails_t_133b *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_133b(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_133b *win = (struct winSteamItemDetails_t_133b *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_133b.h b/lsteamclient/struct_converters_133b.h index 5670c3d5..df5923e4 100644 --- a/lsteamclient/struct_converters_133b.h +++ b/lsteamclient/struct_converters_133b.h @@ -1,33 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_133b(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_133b(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_133b(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_133b(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_133b(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_133b(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_133b(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_133b(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_133b(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_133b(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_133b(const void *l, void *w); - -extern void win_to_lin_struct_SteamControllerState001_t_133b(const void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_133b(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_133b(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_133b(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_133b(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_133b(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_134.cpp b/lsteamclient/struct_converters_134.cpp index f4384c8e..6398d17b 100644 --- a/lsteamclient/struct_converters_134.cpp +++ b/lsteamclient/struct_converters_134.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_134/isteamgameserverstats.h" #include "steamworks_sdk_134/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_134 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_134(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_134 *win = (struct winCallbackMsg_t_134 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_134(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_134 *win = (struct winCallbackMsg_t_134 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - #pragma pack( push, 8 ) struct winSteamServerConnectFailure_t_4 { EResult m_eResult; @@ -45,176 +17,6 @@ void cb_SteamServerConnectFailure_t_4(const void *l, void *w) win->m_eResult = lin->m_eResult; } -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_134 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_134(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_134 *win = (struct winFriendGameInfo_t_134 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_134(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_134 *win = (struct winFriendGameInfo_t_134 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_134 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_134(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_134 *win = (struct winFriendSessionStateInfo_t_134 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_134(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_134 *win = (struct winFriendSessionStateInfo_t_134 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_134 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_134(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_134 *win = (struct winservernetadr_t_134 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_134(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_134 *win = (struct winservernetadr_t_134 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_134 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_134(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_134 *win = (struct wingameserveritem_t_134 *)w; - win_to_lin_struct_servernetadr_t_134(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_134(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_134 *win = (struct wingameserveritem_t_134 *)w; - lin_to_win_struct_servernetadr_t_134(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_134 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_134(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_134 *win = (struct winSteamParamStringArray_t_134 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_134(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_134 *win = (struct winSteamParamStringArray_t_134 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_134 { CSteamID m_steamIDUser; @@ -246,80 +48,6 @@ void lin_to_win_struct_LeaderboardEntry_t_134(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_134 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_134(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_134 *win = (struct winP2PSessionState_t_134 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_134(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_134 *win = (struct winP2PSessionState_t_134 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winSteamControllerState001_t_134 { - uint32 unPacketNum; - uint64 ulButtons; - short sLeftPadX; - short sLeftPadY; - short sRightPadX; - short sRightPadY; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamControllerState001_t_134(const void *w, void *l) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_134 *win = (struct winSteamControllerState001_t_134 *)w; - lin->unPacketNum = win->unPacketNum; - lin->ulButtons = win->ulButtons; - lin->sLeftPadX = win->sLeftPadX; - lin->sLeftPadY = win->sLeftPadY; - lin->sRightPadX = win->sRightPadX; - lin->sRightPadY = win->sRightPadY; -} - -void lin_to_win_struct_SteamControllerState001_t_134(const void *l, void *w) -{ - SteamControllerState001_t *lin = (SteamControllerState001_t *)l; - struct winSteamControllerState001_t_134 *win = (struct winSteamControllerState001_t_134 *)w; - win->unPacketNum = lin->unPacketNum; - win->ulButtons = lin->ulButtons; - win->sLeftPadX = lin->sLeftPadX; - win->sLeftPadY = lin->sLeftPadY; - win->sRightPadX = lin->sRightPadX; - win->sRightPadY = lin->sRightPadY; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_134 { PublishedFileId_t m_nPublishedFileId; @@ -414,33 +142,5 @@ void lin_to_win_struct_SteamUGCDetails_t_134(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_134 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_134(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_134 *win = (struct winSteamItemDetails_t_134 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_134(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_134 *win = (struct winSteamItemDetails_t_134 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_134.h b/lsteamclient/struct_converters_134.h index 11cefe62..230c4b9f 100644 --- a/lsteamclient/struct_converters_134.h +++ b/lsteamclient/struct_converters_134.h @@ -1,33 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_134(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_134(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_134(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_134(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_134(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_134(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_134(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_134(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_134(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_134(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_134(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_134(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_134(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_134(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_134(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_134(const void *l, void *w); - -extern void win_to_lin_struct_SteamControllerState001_t_134(const void *w, void *l); -extern void lin_to_win_struct_SteamControllerState001_t_134(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_134(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_134(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_134(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_134(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_135.cpp b/lsteamclient/struct_converters_135.cpp index ef95bd37..81ef904a 100644 --- a/lsteamclient/struct_converters_135.cpp +++ b/lsteamclient/struct_converters_135.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_135/isteamgameserverstats.h" #include "steamworks_sdk_135/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_135 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_135(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_135 *win = (struct winCallbackMsg_t_135 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_135(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_135 *win = (struct winCallbackMsg_t_135 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_135 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_135(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_135 *win = (struct winFriendGameInfo_t_135 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_135(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_135 *win = (struct winFriendGameInfo_t_135 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_135 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_135(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_135 *win = (struct winFriendSessionStateInfo_t_135 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_135(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_135 *win = (struct winFriendSessionStateInfo_t_135 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_135 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_135(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_135 *win = (struct winservernetadr_t_135 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_135(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_135 *win = (struct winservernetadr_t_135 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_135 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_135(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_135 *win = (struct wingameserveritem_t_135 *)w; - win_to_lin_struct_servernetadr_t_135(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_135(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_135 *win = (struct wingameserveritem_t_135 *)w; - lin_to_win_struct_servernetadr_t_135(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_135 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_135(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_135 *win = (struct winSteamParamStringArray_t_135 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_135(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_135 *win = (struct winSteamParamStringArray_t_135 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_135 { CSteamID m_steamIDUser; @@ -234,96 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_135(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_135 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_135(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_135 *win = (struct winP2PSessionState_t_135 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_135(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_135 *win = (struct winP2PSessionState_t_135 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_135 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_135(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_135 *win = (struct winControllerAnalogActionData_t_135 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_135(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_135 *win = (struct winControllerAnalogActionData_t_135 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_135 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_135(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_135 *win = (struct winControllerDigitalActionData_t_135 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_135(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_135 *win = (struct winControllerDigitalActionData_t_135 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_135 { PublishedFileId_t m_nPublishedFileId; @@ -418,33 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_135(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_135 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_135(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_135 *win = (struct winSteamItemDetails_t_135 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_135(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_135 *win = (struct winSteamItemDetails_t_135 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_135.h b/lsteamclient/struct_converters_135.h index af3de6bc..eaed2f8c 100644 --- a/lsteamclient/struct_converters_135.h +++ b/lsteamclient/struct_converters_135.h @@ -1,36 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_135(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_135(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_135(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_135(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_135(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_135(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_135(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_135(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_135(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_135(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_135(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_135(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_135(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_135(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_135(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_135(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_135(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_135(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_135(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_135(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_135(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_135(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_135(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_135(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_135a.cpp b/lsteamclient/struct_converters_135a.cpp index 6997dafe..ebe40fbe 100644 --- a/lsteamclient/struct_converters_135a.cpp +++ b/lsteamclient/struct_converters_135a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_135a/isteamgameserverstats.h" #include "steamworks_sdk_135a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_135a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_135a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_135a *win = (struct winCallbackMsg_t_135a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_135a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_135a *win = (struct winCallbackMsg_t_135a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_135a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_135a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_135a *win = (struct winFriendGameInfo_t_135a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_135a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_135a *win = (struct winFriendGameInfo_t_135a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_135a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_135a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_135a *win = (struct winFriendSessionStateInfo_t_135a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_135a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_135a *win = (struct winFriendSessionStateInfo_t_135a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_135a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_135a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_135a *win = (struct winservernetadr_t_135a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_135a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_135a *win = (struct winservernetadr_t_135a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_135a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_135a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_135a *win = (struct wingameserveritem_t_135a *)w; - win_to_lin_struct_servernetadr_t_135a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_135a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_135a *win = (struct wingameserveritem_t_135a *)w; - lin_to_win_struct_servernetadr_t_135a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_135a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_135a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_135a *win = (struct winSteamParamStringArray_t_135a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_135a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_135a *win = (struct winSteamParamStringArray_t_135a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_135a { CSteamID m_steamIDUser; @@ -234,96 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_135a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_135a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_135a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_135a *win = (struct winP2PSessionState_t_135a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_135a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_135a *win = (struct winP2PSessionState_t_135a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_135a { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_135a(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_135a *win = (struct winControllerAnalogActionData_t_135a *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_135a(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_135a *win = (struct winControllerAnalogActionData_t_135a *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_135a { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_135a(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_135a *win = (struct winControllerDigitalActionData_t_135a *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_135a(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_135a *win = (struct winControllerDigitalActionData_t_135a *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_135a { PublishedFileId_t m_nPublishedFileId; @@ -418,33 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_135a(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_135a { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_135a(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_135a *win = (struct winSteamItemDetails_t_135a *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_135a(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_135a *win = (struct winSteamItemDetails_t_135a *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_135a.h b/lsteamclient/struct_converters_135a.h index a064cb48..e042863b 100644 --- a/lsteamclient/struct_converters_135a.h +++ b/lsteamclient/struct_converters_135a.h @@ -1,36 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_135a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_135a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_135a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_135a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_135a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_135a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_135a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_135a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_135a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_135a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_135a(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_135a(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_135a(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_135a(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_135a(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_135a(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_135a(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_135a(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_136.cpp b/lsteamclient/struct_converters_136.cpp index 2a83a536..fcfceb55 100644 --- a/lsteamclient/struct_converters_136.cpp +++ b/lsteamclient/struct_converters_136.cpp @@ -5,87 +5,6 @@ #include "steamworks_sdk_136/isteamgameserverstats.h" #include "steamworks_sdk_136/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_136 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_136(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_136 *win = (struct winCallbackMsg_t_136 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_136(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_136 *win = (struct winCallbackMsg_t_136 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_136 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_136(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_136 *win = (struct winFriendGameInfo_t_136 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_136(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_136 *win = (struct winFriendGameInfo_t_136 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_136 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_136(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_136 *win = (struct winFriendSessionStateInfo_t_136 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_136(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_136 *win = (struct winFriendSessionStateInfo_t_136 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - #pragma pack( push, 8 ) struct winSteamAPICallCompleted_t_8 { SteamAPICall_t m_hAsyncCall; @@ -98,123 +17,6 @@ void cb_SteamAPICallCompleted_t_8(const void *l, void *w) win->m_hAsyncCall = lin->m_hAsyncCall; } -#pragma pack( push, 8 ) -struct winservernetadr_t_136 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_136(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_136 *win = (struct winservernetadr_t_136 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_136(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_136 *win = (struct winservernetadr_t_136 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_136 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_136(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_136 *win = (struct wingameserveritem_t_136 *)w; - win_to_lin_struct_servernetadr_t_136(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_136(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_136 *win = (struct wingameserveritem_t_136 *)w; - lin_to_win_struct_servernetadr_t_136(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_136 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_136(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_136 *win = (struct winSteamParamStringArray_t_136 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_136(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_136 *win = (struct winSteamParamStringArray_t_136 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_136 { CSteamID m_steamIDUser; @@ -262,96 +64,6 @@ void cb_AppProofOfPurchaseKeyResponse_t_72(const void *l, void *w) memcpy(win->m_rgchKey, lin->m_rgchKey, sizeof(win->m_rgchKey)); } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_136 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_136(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_136 *win = (struct winP2PSessionState_t_136 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_136(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_136 *win = (struct winP2PSessionState_t_136 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_136 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_136(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_136 *win = (struct winControllerAnalogActionData_t_136 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_136(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_136 *win = (struct winControllerAnalogActionData_t_136 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_136 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_136(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_136 *win = (struct winControllerDigitalActionData_t_136 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_136(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_136 *win = (struct winControllerDigitalActionData_t_136 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_136 { PublishedFileId_t m_nPublishedFileId; @@ -446,33 +158,5 @@ void lin_to_win_struct_SteamUGCDetails_t_136(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_136 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_136(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_136 *win = (struct winSteamItemDetails_t_136 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_136(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_136 *win = (struct winSteamItemDetails_t_136 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - } diff --git a/lsteamclient/struct_converters_136.h b/lsteamclient/struct_converters_136.h index 8c8de25a..6a4600ba 100644 --- a/lsteamclient/struct_converters_136.h +++ b/lsteamclient/struct_converters_136.h @@ -1,36 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_136(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_136(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_136(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_136(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_136(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_136(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_136(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_136(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_136(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_136(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_136(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_136(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_136(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_136(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_136(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_136(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_136(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_136(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_136(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_136(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_136(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_136(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_136(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_136(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_137.cpp b/lsteamclient/struct_converters_137.cpp index 312f1cee..5098608d 100644 --- a/lsteamclient/struct_converters_137.cpp +++ b/lsteamclient/struct_converters_137.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_137/isteamgameserverstats.h" #include "steamworks_sdk_137/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_137 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_137(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_137 *win = (struct winCallbackMsg_t_137 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_137(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_137 *win = (struct winCallbackMsg_t_137 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_137 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_137(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_137 *win = (struct winFriendGameInfo_t_137 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_137(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_137 *win = (struct winFriendGameInfo_t_137 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_137 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_137(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_137 *win = (struct winFriendSessionStateInfo_t_137 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_137(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_137 *win = (struct winFriendSessionStateInfo_t_137 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_137 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_137(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_137 *win = (struct winservernetadr_t_137 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_137(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_137 *win = (struct winservernetadr_t_137 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_137 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_137(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_137 *win = (struct wingameserveritem_t_137 *)w; - win_to_lin_struct_servernetadr_t_137(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_137(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_137 *win = (struct wingameserveritem_t_137 *)w; - lin_to_win_struct_servernetadr_t_137(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_137 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_137(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_137 *win = (struct winSteamParamStringArray_t_137 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_137(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_137 *win = (struct winSteamParamStringArray_t_137 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageConflictResolution_t_8 { AppId_t m_nAppID; @@ -248,96 +50,6 @@ void lin_to_win_struct_LeaderboardEntry_t_137(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_137 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_137(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_137 *win = (struct winP2PSessionState_t_137 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_137(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_137 *win = (struct winP2PSessionState_t_137 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_137 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_137(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_137 *win = (struct winControllerAnalogActionData_t_137 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_137(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_137 *win = (struct winControllerAnalogActionData_t_137 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_137 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_137(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_137 *win = (struct winControllerDigitalActionData_t_137 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_137(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_137 *win = (struct winControllerDigitalActionData_t_137 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_137 { PublishedFileId_t m_nPublishedFileId; @@ -432,112 +144,5 @@ void lin_to_win_struct_SteamUGCDetails_t_137(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_137 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_137(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_137 *win = (struct winSteamItemDetails_t_137 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_137(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_137 *win = (struct winSteamItemDetails_t_137 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_137 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_137(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_137 *win = (struct winCSteamAPIContext_137 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; -} - -void lin_to_win_struct_CSteamAPIContext_137(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_137 *win = (struct winCSteamAPIContext_137 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; -} - } diff --git a/lsteamclient/struct_converters_137.h b/lsteamclient/struct_converters_137.h index d7bbdda1..63c275a5 100644 --- a/lsteamclient/struct_converters_137.h +++ b/lsteamclient/struct_converters_137.h @@ -1,39 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_137(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_137(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_137(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_137(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_137(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_137(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_137(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_137(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_137(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_137(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_137(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_137(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_137(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_137(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_137(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_137(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_137(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_137(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_137(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_137(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_137(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_137(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_137(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_137(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_137(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_137(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_138.cpp b/lsteamclient/struct_converters_138.cpp index 31c6020e..a646ef3d 100644 --- a/lsteamclient/struct_converters_138.cpp +++ b/lsteamclient/struct_converters_138.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_138/isteamgameserverstats.h" #include "steamworks_sdk_138/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_138 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_138(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_138 *win = (struct winCallbackMsg_t_138 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_138(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_138 *win = (struct winCallbackMsg_t_138 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_138 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_138(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_138 *win = (struct winFriendGameInfo_t_138 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_138(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_138 *win = (struct winFriendGameInfo_t_138 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_138 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_138(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_138 *win = (struct winFriendSessionStateInfo_t_138 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_138(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_138 *win = (struct winFriendSessionStateInfo_t_138 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_138 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_138(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_138 *win = (struct winservernetadr_t_138 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_138(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_138 *win = (struct winservernetadr_t_138 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_138 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_138(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_138 *win = (struct wingameserveritem_t_138 *)w; - win_to_lin_struct_servernetadr_t_138(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_138(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_138 *win = (struct wingameserveritem_t_138 *)w; - lin_to_win_struct_servernetadr_t_138(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_138 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_138(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_138 *win = (struct winSteamParamStringArray_t_138 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_138(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_138 *win = (struct winSteamParamStringArray_t_138 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_138 { CSteamID m_steamIDUser; @@ -234,142 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_138(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_138 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_138(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_138 *win = (struct winP2PSessionState_t_138 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_138(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_138 *win = (struct winP2PSessionState_t_138 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_138 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_138(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_138 *win = (struct winControllerAnalogActionData_t_138 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_138(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_138 *win = (struct winControllerAnalogActionData_t_138 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_138 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_138(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_138 *win = (struct winControllerDigitalActionData_t_138 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_138(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_138 *win = (struct winControllerDigitalActionData_t_138 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_138 { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_138(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_138 *win = (struct winControllerMotionData_t_138 *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_138(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_138 *win = (struct winControllerMotionData_t_138 *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_138 { PublishedFileId_t m_nPublishedFileId; @@ -464,112 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_138(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_138 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_138(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_138 *win = (struct winSteamItemDetails_t_138 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_138(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_138 *win = (struct winSteamItemDetails_t_138 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_138 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_138(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_138 *win = (struct winCSteamAPIContext_138 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; -} - -void lin_to_win_struct_CSteamAPIContext_138(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_138 *win = (struct winCSteamAPIContext_138 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; -} - } diff --git a/lsteamclient/struct_converters_138.h b/lsteamclient/struct_converters_138.h index 75f29596..de321584 100644 --- a/lsteamclient/struct_converters_138.h +++ b/lsteamclient/struct_converters_138.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_138(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_138(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_138(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_138(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_138(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_138(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_138(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_138(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_138(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_138(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_138(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_138(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_138(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_138(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_138(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_138(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_138(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_138(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_138(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_138(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_138(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_138(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_138(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_138(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_138(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_138(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_138(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_138(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_138a.cpp b/lsteamclient/struct_converters_138a.cpp index cee1b872..7cbe106a 100644 --- a/lsteamclient/struct_converters_138a.cpp +++ b/lsteamclient/struct_converters_138a.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_138a/isteamgameserverstats.h" #include "steamworks_sdk_138a/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_138a { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_138a(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_138a *win = (struct winCallbackMsg_t_138a *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_138a(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_138a *win = (struct winCallbackMsg_t_138a *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_138a { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_138a(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_138a *win = (struct winFriendGameInfo_t_138a *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_138a(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_138a *win = (struct winFriendGameInfo_t_138a *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_138a { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_138a(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_138a *win = (struct winFriendSessionStateInfo_t_138a *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_138a(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_138a *win = (struct winFriendSessionStateInfo_t_138a *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_138a { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_138a(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_138a *win = (struct winservernetadr_t_138a *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_138a(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_138a *win = (struct winservernetadr_t_138a *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_138a { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_138a(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_138a *win = (struct wingameserveritem_t_138a *)w; - win_to_lin_struct_servernetadr_t_138a(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_138a(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_138a *win = (struct wingameserveritem_t_138a *)w; - lin_to_win_struct_servernetadr_t_138a(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_138a { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_138a(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_138a *win = (struct winSteamParamStringArray_t_138a *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_138a(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_138a *win = (struct winSteamParamStringArray_t_138a *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_138a { CSteamID m_steamIDUser; @@ -234,142 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_138a(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_138a { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_138a(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_138a *win = (struct winP2PSessionState_t_138a *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_138a(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_138a *win = (struct winP2PSessionState_t_138a *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_138a { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_138a(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_138a *win = (struct winControllerAnalogActionData_t_138a *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_138a(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_138a *win = (struct winControllerAnalogActionData_t_138a *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_138a { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_138a(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_138a *win = (struct winControllerDigitalActionData_t_138a *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_138a(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_138a *win = (struct winControllerDigitalActionData_t_138a *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_138a { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_138a(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_138a *win = (struct winControllerMotionData_t_138a *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_138a(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_138a *win = (struct winControllerMotionData_t_138a *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_138a { PublishedFileId_t m_nPublishedFileId; @@ -464,112 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_138a(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_138a { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_138a(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_138a *win = (struct winSteamItemDetails_t_138a *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_138a(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_138a *win = (struct winSteamItemDetails_t_138a *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_138a { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_138a(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_138a *win = (struct winCSteamAPIContext_138a *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; -} - -void lin_to_win_struct_CSteamAPIContext_138a(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_138a *win = (struct winCSteamAPIContext_138a *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; -} - } diff --git a/lsteamclient/struct_converters_138a.h b/lsteamclient/struct_converters_138a.h index b6e72836..fdc4fb49 100644 --- a/lsteamclient/struct_converters_138a.h +++ b/lsteamclient/struct_converters_138a.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_138a(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_138a(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_138a(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_138a(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_138a(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_138a(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_138a(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_138a(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_138a(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_138a(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_138a(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_138a(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_138a(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_138a(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_138a(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_138a(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_138a(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_138a(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_138a(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_138a(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_139.cpp b/lsteamclient/struct_converters_139.cpp index 31b0d9bc..32c2255a 100644 --- a/lsteamclient/struct_converters_139.cpp +++ b/lsteamclient/struct_converters_139.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_139/isteamgameserverstats.h" #include "steamworks_sdk_139/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_139 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_139(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_139 *win = (struct winCallbackMsg_t_139 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_139(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_139 *win = (struct winCallbackMsg_t_139 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_139 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_139(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_139 *win = (struct winFriendGameInfo_t_139 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_139(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_139 *win = (struct winFriendGameInfo_t_139 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_139 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_139(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_139 *win = (struct winFriendSessionStateInfo_t_139 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_139(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_139 *win = (struct winFriendSessionStateInfo_t_139 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_139 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_139(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_139 *win = (struct winservernetadr_t_139 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_139(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_139 *win = (struct winservernetadr_t_139 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_139 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_139(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_139 *win = (struct wingameserveritem_t_139 *)w; - win_to_lin_struct_servernetadr_t_139(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_139(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_139 *win = (struct wingameserveritem_t_139 *)w; - lin_to_win_struct_servernetadr_t_139(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_139 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_139(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_139 *win = (struct winSteamParamStringArray_t_139 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_139(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_139 *win = (struct winSteamParamStringArray_t_139 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_139 { CSteamID m_steamIDUser; @@ -234,142 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_139(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_139 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_139(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_139 *win = (struct winP2PSessionState_t_139 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_139(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_139 *win = (struct winP2PSessionState_t_139 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_139 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_139(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_139 *win = (struct winControllerAnalogActionData_t_139 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_139(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_139 *win = (struct winControllerAnalogActionData_t_139 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_139 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_139(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_139 *win = (struct winControllerDigitalActionData_t_139 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_139(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_139 *win = (struct winControllerDigitalActionData_t_139 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_139 { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_139(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_139 *win = (struct winControllerMotionData_t_139 *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_139(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_139 *win = (struct winControllerMotionData_t_139 *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_139 { PublishedFileId_t m_nPublishedFileId; @@ -464,112 +130,5 @@ void lin_to_win_struct_SteamUGCDetails_t_139(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_139 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_139(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_139 *win = (struct winSteamItemDetails_t_139 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_139(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_139 *win = (struct winSteamItemDetails_t_139 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_139 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_139(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_139 *win = (struct winCSteamAPIContext_139 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; -} - -void lin_to_win_struct_CSteamAPIContext_139(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_139 *win = (struct winCSteamAPIContext_139 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; -} - } diff --git a/lsteamclient/struct_converters_139.h b/lsteamclient/struct_converters_139.h index e092a27f..d0f42dbf 100644 --- a/lsteamclient/struct_converters_139.h +++ b/lsteamclient/struct_converters_139.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_139(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_139(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_139(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_139(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_139(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_139(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_139(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_139(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_139(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_139(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_139(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_139(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_139(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_139(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_139(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_139(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_139(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_139(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_139(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_139(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_139(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_139(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_139(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_139(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_139(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_139(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_139(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_139(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_140.cpp b/lsteamclient/struct_converters_140.cpp index 740d41e9..f854b8f1 100644 --- a/lsteamclient/struct_converters_140.cpp +++ b/lsteamclient/struct_converters_140.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_140/isteamgameserverstats.h" #include "steamworks_sdk_140/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_140 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_140(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_140 *win = (struct winCallbackMsg_t_140 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_140(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_140 *win = (struct winCallbackMsg_t_140 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_140 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_140(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_140 *win = (struct winFriendGameInfo_t_140 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_140(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_140 *win = (struct winFriendGameInfo_t_140 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_140 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_140(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_140 *win = (struct winFriendSessionStateInfo_t_140 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_140(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_140 *win = (struct winFriendSessionStateInfo_t_140 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_140 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_140(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_140 *win = (struct winservernetadr_t_140 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_140(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_140 *win = (struct winservernetadr_t_140 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_140 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_140(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_140 *win = (struct wingameserveritem_t_140 *)w; - win_to_lin_struct_servernetadr_t_140(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_140(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_140 *win = (struct wingameserveritem_t_140 *)w; - lin_to_win_struct_servernetadr_t_140(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_140 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_140(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_140 *win = (struct winSteamParamStringArray_t_140 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_140(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_140 *win = (struct winSteamParamStringArray_t_140 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_140 { CSteamID m_steamIDUser; @@ -234,142 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_140(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_140 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_140(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_140 *win = (struct winP2PSessionState_t_140 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_140(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_140 *win = (struct winP2PSessionState_t_140 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_140 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_140(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_140 *win = (struct winControllerAnalogActionData_t_140 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_140(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_140 *win = (struct winControllerAnalogActionData_t_140 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_140 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_140(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_140 *win = (struct winControllerDigitalActionData_t_140 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_140(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_140 *win = (struct winControllerDigitalActionData_t_140 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_140 { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_140(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_140 *win = (struct winControllerMotionData_t_140 *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_140(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_140 *win = (struct winControllerMotionData_t_140 *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_140 { PublishedFileId_t m_nPublishedFileId; @@ -478,112 +144,5 @@ void cb_SubmitItemUpdateResult_t_8(const void *l, void *w) win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_140 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_140(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_140 *win = (struct winSteamItemDetails_t_140 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_140(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_140 *win = (struct winSteamItemDetails_t_140 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_140 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_140(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_140 *win = (struct winCSteamAPIContext_140 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; -} - -void lin_to_win_struct_CSteamAPIContext_140(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_140 *win = (struct winCSteamAPIContext_140 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; -} - } diff --git a/lsteamclient/struct_converters_140.h b/lsteamclient/struct_converters_140.h index fe0e456e..5f8535af 100644 --- a/lsteamclient/struct_converters_140.h +++ b/lsteamclient/struct_converters_140.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_140(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_140(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_140(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_140(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_140(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_140(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_140(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_140(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_140(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_140(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_140(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_140(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_140(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_140(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_140(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_140(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_140(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_140(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_140(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_140(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_140(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_140(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_140(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_140(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_140(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_140(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_140(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_140(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_141.cpp b/lsteamclient/struct_converters_141.cpp index 5760b5b6..c0de5e91 100644 --- a/lsteamclient/struct_converters_141.cpp +++ b/lsteamclient/struct_converters_141.cpp @@ -5,204 +5,6 @@ #include "steamworks_sdk_141/isteamgameserverstats.h" #include "steamworks_sdk_141/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_141 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_141(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_141 *win = (struct winCallbackMsg_t_141 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_141(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_141 *win = (struct winCallbackMsg_t_141 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_141 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_141(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_141 *win = (struct winFriendGameInfo_t_141 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_141(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_141 *win = (struct winFriendGameInfo_t_141 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_141 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_141(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_141 *win = (struct winFriendSessionStateInfo_t_141 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_141(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_141 *win = (struct winFriendSessionStateInfo_t_141 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - -#pragma pack( push, 8 ) -struct winservernetadr_t_141 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_141(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_141 *win = (struct winservernetadr_t_141 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_141(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_141 *win = (struct winservernetadr_t_141 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_141 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_141(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_141 *win = (struct wingameserveritem_t_141 *)w; - win_to_lin_struct_servernetadr_t_141(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_141(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_141 *win = (struct wingameserveritem_t_141 *)w; - lin_to_win_struct_servernetadr_t_141(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_141 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_141(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_141 *win = (struct winSteamParamStringArray_t_141 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_141(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_141 *win = (struct winSteamParamStringArray_t_141 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winLeaderboardEntry_t_141 { CSteamID m_steamIDUser; @@ -234,46 +36,6 @@ void lin_to_win_struct_LeaderboardEntry_t_141(const void *l, void *w) win->m_hUGC = lin->m_hUGC; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_141 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_141(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_141 *win = (struct winP2PSessionState_t_141 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_141(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_141 *win = (struct winP2PSessionState_t_141 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winSteamUnifiedMessagesSendMethodResult_t_24 { ClientUnifiedMessageHandle m_hHandle; @@ -292,102 +54,6 @@ void cb_SteamUnifiedMessagesSendMethodResult_t_24(const void *l, void *w) win->m_unResponseSize = lin->m_unResponseSize; } -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_141 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_141(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_141 *win = (struct winControllerAnalogActionData_t_141 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_141(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_141 *win = (struct winControllerAnalogActionData_t_141 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_141 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_141(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_141 *win = (struct winControllerDigitalActionData_t_141 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_141(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_141 *win = (struct winControllerDigitalActionData_t_141 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_141 { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_141(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_141 *win = (struct winControllerMotionData_t_141 *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_141(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_141 *win = (struct winControllerMotionData_t_141 *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_141 { PublishedFileId_t m_nPublishedFileId; @@ -482,115 +148,5 @@ void lin_to_win_struct_SteamUGCDetails_t_141(const void *l, void *w) win->m_unNumChildren = lin->m_unNumChildren; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_141 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_141(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_141 *win = (struct winSteamItemDetails_t_141 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_141(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_141 *win = (struct winSteamItemDetails_t_141 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winCSteamAPIContext_141 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamUnifiedMessages * m_pSteamUnifiedMessages; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; - ISteamParentalSettings * m_pSteamParentalSettings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_141(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_141 *win = (struct winCSteamAPIContext_141 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pSteamUnifiedMessages = win->m_pSteamUnifiedMessages; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; - lin->m_pSteamParentalSettings = win->m_pSteamParentalSettings; -} - -void lin_to_win_struct_CSteamAPIContext_141(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_141 *win = (struct winCSteamAPIContext_141 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pSteamUnifiedMessages = lin->m_pSteamUnifiedMessages; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; - win->m_pSteamParentalSettings = lin->m_pSteamParentalSettings; -} - } diff --git a/lsteamclient/struct_converters_141.h b/lsteamclient/struct_converters_141.h index 4ad67646..a768396c 100644 --- a/lsteamclient/struct_converters_141.h +++ b/lsteamclient/struct_converters_141.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_141(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_141(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_141(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_141(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_141(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_141(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_141(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_141(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_141(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_141(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_141(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_141(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_141(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_141(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_141(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_141(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_141(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_141(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_141(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_141(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_141(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_141(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_141(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_141(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_141(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_141(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_141(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_141(const void *l, void *w); - diff --git a/lsteamclient/struct_converters_142.cpp b/lsteamclient/struct_converters_142.cpp index 79a72dd0..dd70fc5d 100644 --- a/lsteamclient/struct_converters_142.cpp +++ b/lsteamclient/struct_converters_142.cpp @@ -5,34 +5,6 @@ #include "steamworks_sdk_142/isteamgameserverstats.h" #include "steamworks_sdk_142/isteamgamecoordinator.h" extern "C" { -#pragma pack( push, 8 ) -struct winCallbackMsg_t_142 { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 * m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CallbackMsg_t_142(const void *w, void *l) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_142 *win = (struct winCallbackMsg_t_142 *)w; - lin->m_hSteamUser = win->m_hSteamUser; - lin->m_iCallback = win->m_iCallback; - lin->m_pubParam = win->m_pubParam; - lin->m_cubParam = win->m_cubParam; -} - -void lin_to_win_struct_CallbackMsg_t_142(const void *l, void *w) -{ - CallbackMsg_t *lin = (CallbackMsg_t *)l; - struct winCallbackMsg_t_142 *win = (struct winCallbackMsg_t_142 *)w; - win->m_hSteamUser = lin->m_hSteamUser; - win->m_iCallback = lin->m_iCallback; - win->m_pubParam = lin->m_pubParam; - win->m_cubParam = lin->m_cubParam; -} - #pragma pack( push, 8 ) struct winSteamServersConnected_t_1 { } __attribute__ ((ms_struct)); @@ -193,59 +165,6 @@ void cb_StoreAuthURLResponse_t_512(const void *l, void *w) memcpy(win->m_szURL, lin->m_szURL, sizeof(win->m_szURL)); } -#pragma pack( push, 8 ) -struct winFriendGameInfo_t_142 { - CGameID m_gameID; - uint32 m_unGameIP; - uint16 m_usGamePort; - uint16 m_usQueryPort; - CSteamID m_steamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendGameInfo_t_142(const void *w, void *l) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_142 *win = (struct winFriendGameInfo_t_142 *)w; - lin->m_gameID = win->m_gameID; - lin->m_unGameIP = win->m_unGameIP; - lin->m_usGamePort = win->m_usGamePort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_steamIDLobby = win->m_steamIDLobby; -} - -void lin_to_win_struct_FriendGameInfo_t_142(const void *l, void *w) -{ - FriendGameInfo_t *lin = (FriendGameInfo_t *)l; - struct winFriendGameInfo_t_142 *win = (struct winFriendGameInfo_t_142 *)w; - win->m_gameID = lin->m_gameID; - win->m_unGameIP = lin->m_unGameIP; - win->m_usGamePort = lin->m_usGamePort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_steamIDLobby = lin->m_steamIDLobby; -} - -#pragma pack( push, 8 ) -struct winFriendSessionStateInfo_t_142 { - uint32 m_uiOnlineSessionInstances; - uint8 m_uiPublishedToFriendsSessionInstance; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_FriendSessionStateInfo_t_142(const void *w, void *l) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_142 *win = (struct winFriendSessionStateInfo_t_142 *)w; - lin->m_uiOnlineSessionInstances = win->m_uiOnlineSessionInstances; - lin->m_uiPublishedToFriendsSessionInstance = win->m_uiPublishedToFriendsSessionInstance; -} - -void lin_to_win_struct_FriendSessionStateInfo_t_142(const void *l, void *w) -{ - FriendSessionStateInfo_t *lin = (FriendSessionStateInfo_t *)l; - struct winFriendSessionStateInfo_t_142 *win = (struct winFriendSessionStateInfo_t_142 *)w; - win->m_uiOnlineSessionInstances = lin->m_uiOnlineSessionInstances; - win->m_uiPublishedToFriendsSessionInstance = lin->m_uiPublishedToFriendsSessionInstance; -} - #pragma pack( push, 8 ) struct winPersonaStateChange_t_12 { uint64 m_ulSteamID; @@ -590,101 +509,6 @@ void cb_GamepadTextInputDismissed_t_8(const void *l, void *w) win->m_unSubmittedText = lin->m_unSubmittedText; } -#pragma pack( push, 8 ) -struct winservernetadr_t_142 { - uint16 m_usConnectionPort; - uint16 m_usQueryPort; - uint32 m_unIP; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_servernetadr_t_142(const void *w, void *l) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_142 *win = (struct winservernetadr_t_142 *)w; - lin->m_usConnectionPort = win->m_usConnectionPort; - lin->m_usQueryPort = win->m_usQueryPort; - lin->m_unIP = win->m_unIP; -} - -void lin_to_win_struct_servernetadr_t_142(const void *l, void *w) -{ - servernetadr_t *lin = (servernetadr_t *)l; - struct winservernetadr_t_142 *win = (struct winservernetadr_t_142 *)w; - win->m_usConnectionPort = lin->m_usConnectionPort; - win->m_usQueryPort = lin->m_usQueryPort; - win->m_unIP = lin->m_unIP; -} - -#pragma pack( push, 8 ) -struct wingameserveritem_t_142 { - servernetadr_t m_NetAdr; - int m_nPing; - bool m_bHadSuccessfulResponse; - bool m_bDoNotRefresh; - char m_szGameDir[32]; - char m_szMap[32]; - char m_szGameDescription[64]; - uint32 m_nAppID; - int m_nPlayers; - int m_nMaxPlayers; - int m_nBotPlayers; - bool m_bPassword; - bool m_bSecure; - uint32 m_ulTimeLastPlayed; - int m_nServerVersion; - char m_szServerName[64]; - char m_szGameTags[128]; - CSteamID m_steamID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_gameserveritem_t_142(const void *w, void *l) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_142 *win = (struct wingameserveritem_t_142 *)w; - win_to_lin_struct_servernetadr_t_142(&win->m_NetAdr, &lin->m_NetAdr); - lin->m_nPing = win->m_nPing; - lin->m_bHadSuccessfulResponse = win->m_bHadSuccessfulResponse; - lin->m_bDoNotRefresh = win->m_bDoNotRefresh; - memcpy(lin->m_szGameDir, win->m_szGameDir, sizeof(lin->m_szGameDir)); - memcpy(lin->m_szMap, win->m_szMap, sizeof(lin->m_szMap)); - memcpy(lin->m_szGameDescription, win->m_szGameDescription, sizeof(lin->m_szGameDescription)); - lin->m_nAppID = win->m_nAppID; - lin->m_nPlayers = win->m_nPlayers; - lin->m_nMaxPlayers = win->m_nMaxPlayers; - lin->m_nBotPlayers = win->m_nBotPlayers; - lin->m_bPassword = win->m_bPassword; - lin->m_bSecure = win->m_bSecure; - lin->m_ulTimeLastPlayed = win->m_ulTimeLastPlayed; - lin->m_nServerVersion = win->m_nServerVersion; - memcpy(lin->m_szServerName, win->m_szServerName, sizeof(lin->m_szServerName)); - memcpy(lin->m_szGameTags, win->m_szGameTags, sizeof(lin->m_szGameTags)); - lin->m_steamID = win->m_steamID; -} - -void lin_to_win_struct_gameserveritem_t_142(const void *l, void *w) -{ - gameserveritem_t *lin = (gameserveritem_t *)l; - struct wingameserveritem_t_142 *win = (struct wingameserveritem_t_142 *)w; - lin_to_win_struct_servernetadr_t_142(&lin->m_NetAdr, &win->m_NetAdr); - win->m_nPing = lin->m_nPing; - win->m_bHadSuccessfulResponse = lin->m_bHadSuccessfulResponse; - win->m_bDoNotRefresh = lin->m_bDoNotRefresh; - memcpy(win->m_szGameDir, lin->m_szGameDir, sizeof(win->m_szGameDir)); - memcpy(win->m_szMap, lin->m_szMap, sizeof(win->m_szMap)); - memcpy(win->m_szGameDescription, lin->m_szGameDescription, sizeof(win->m_szGameDescription)); - win->m_nAppID = lin->m_nAppID; - win->m_nPlayers = lin->m_nPlayers; - win->m_nMaxPlayers = lin->m_nMaxPlayers; - win->m_nBotPlayers = lin->m_nBotPlayers; - win->m_bPassword = lin->m_bPassword; - win->m_bSecure = lin->m_bSecure; - win->m_ulTimeLastPlayed = lin->m_ulTimeLastPlayed; - win->m_nServerVersion = lin->m_nServerVersion; - memcpy(win->m_szServerName, lin->m_szServerName, sizeof(win->m_szServerName)); - memcpy(win->m_szGameTags, lin->m_szGameTags, sizeof(win->m_szGameTags)); - win->m_steamID = lin->m_steamID; -} - #pragma pack( push, 8 ) struct winFavoritesListChanged_t_28 { uint32 m_nIP; @@ -881,28 +705,6 @@ void cb_FavoritesListAccountsUpdated_t_4(const void *l, void *w) win->m_eResult = lin->m_eResult; } -#pragma pack( push, 8 ) -struct winSteamParamStringArray_t_142 { - const char ** m_ppStrings; - int32 m_nNumStrings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamParamStringArray_t_142(const void *w, void *l) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_142 *win = (struct winSteamParamStringArray_t_142 *)w; - lin->m_ppStrings = win->m_ppStrings; - lin->m_nNumStrings = win->m_nNumStrings; -} - -void lin_to_win_struct_SteamParamStringArray_t_142(const void *l, void *w) -{ - SteamParamStringArray_t *lin = (SteamParamStringArray_t *)l; - struct winSteamParamStringArray_t_142 *win = (struct winSteamParamStringArray_t_142 *)w; - win->m_ppStrings = lin->m_ppStrings; - win->m_nNumStrings = lin->m_nNumStrings; -} - #pragma pack( push, 8 ) struct winRemoteStorageAppSyncedClient_t_12 { AppId_t m_nAppID; @@ -1712,46 +1514,6 @@ void cb_FileDetailsResult_t_36(const void *l, void *w) win->m_unFlags = lin->m_unFlags; } -#pragma pack( push, 8 ) -struct winP2PSessionState_t_142 { - uint8 m_bConnectionActive; - uint8 m_bConnecting; - uint8 m_eP2PSessionError; - uint8 m_bUsingRelay; - int32 m_nBytesQueuedForSend; - int32 m_nPacketsQueuedForSend; - uint32 m_nRemoteIP; - uint16 m_nRemotePort; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_P2PSessionState_t_142(const void *w, void *l) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_142 *win = (struct winP2PSessionState_t_142 *)w; - lin->m_bConnectionActive = win->m_bConnectionActive; - lin->m_bConnecting = win->m_bConnecting; - lin->m_eP2PSessionError = win->m_eP2PSessionError; - lin->m_bUsingRelay = win->m_bUsingRelay; - lin->m_nBytesQueuedForSend = win->m_nBytesQueuedForSend; - lin->m_nPacketsQueuedForSend = win->m_nPacketsQueuedForSend; - lin->m_nRemoteIP = win->m_nRemoteIP; - lin->m_nRemotePort = win->m_nRemotePort; -} - -void lin_to_win_struct_P2PSessionState_t_142(const void *l, void *w) -{ - P2PSessionState_t *lin = (P2PSessionState_t *)l; - struct winP2PSessionState_t_142 *win = (struct winP2PSessionState_t_142 *)w; - win->m_bConnectionActive = lin->m_bConnectionActive; - win->m_bConnecting = lin->m_bConnecting; - win->m_eP2PSessionError = lin->m_eP2PSessionError; - win->m_bUsingRelay = lin->m_bUsingRelay; - win->m_nBytesQueuedForSend = lin->m_nBytesQueuedForSend; - win->m_nPacketsQueuedForSend = lin->m_nPacketsQueuedForSend; - win->m_nRemoteIP = lin->m_nRemoteIP; - win->m_nRemotePort = lin->m_nRemotePort; -} - #pragma pack( push, 8 ) struct winP2PSessionRequest_t_8 { CSteamID m_steamIDRemote; @@ -2046,102 +1808,6 @@ void cb_HTTPRequestDataReceived_t_20(const void *l, void *w) win->m_cBytesReceived = lin->m_cBytesReceived; } -#pragma pack( push, 8 ) -struct winControllerAnalogActionData_t_142 { - EControllerSourceMode eMode; - float x; - float y; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerAnalogActionData_t_142(const void *w, void *l) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_142 *win = (struct winControllerAnalogActionData_t_142 *)w; - lin->eMode = win->eMode; - lin->x = win->x; - lin->y = win->y; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerAnalogActionData_t_142(const void *l, void *w) -{ - ControllerAnalogActionData_t *lin = (ControllerAnalogActionData_t *)l; - struct winControllerAnalogActionData_t_142 *win = (struct winControllerAnalogActionData_t_142 *)w; - win->eMode = lin->eMode; - win->x = lin->x; - win->y = lin->y; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerDigitalActionData_t_142 { - bool bState; - bool bActive; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerDigitalActionData_t_142(const void *w, void *l) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_142 *win = (struct winControllerDigitalActionData_t_142 *)w; - lin->bState = win->bState; - lin->bActive = win->bActive; -} - -void lin_to_win_struct_ControllerDigitalActionData_t_142(const void *l, void *w) -{ - ControllerDigitalActionData_t *lin = (ControllerDigitalActionData_t *)l; - struct winControllerDigitalActionData_t_142 *win = (struct winControllerDigitalActionData_t_142 *)w; - win->bState = lin->bState; - win->bActive = lin->bActive; -} - -#pragma pack( push, 8 ) -struct winControllerMotionData_t_142 { - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - float posAccelX; - float posAccelY; - float posAccelZ; - float rotVelX; - float rotVelY; - float rotVelZ; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_ControllerMotionData_t_142(const void *w, void *l) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_142 *win = (struct winControllerMotionData_t_142 *)w; - lin->rotQuatX = win->rotQuatX; - lin->rotQuatY = win->rotQuatY; - lin->rotQuatZ = win->rotQuatZ; - lin->rotQuatW = win->rotQuatW; - lin->posAccelX = win->posAccelX; - lin->posAccelY = win->posAccelY; - lin->posAccelZ = win->posAccelZ; - lin->rotVelX = win->rotVelX; - lin->rotVelY = win->rotVelY; - lin->rotVelZ = win->rotVelZ; -} - -void lin_to_win_struct_ControllerMotionData_t_142(const void *l, void *w) -{ - ControllerMotionData_t *lin = (ControllerMotionData_t *)l; - struct winControllerMotionData_t_142 *win = (struct winControllerMotionData_t_142 *)w; - win->rotQuatX = lin->rotQuatX; - win->rotQuatY = lin->rotQuatY; - win->rotQuatZ = lin->rotQuatZ; - win->rotQuatW = lin->rotQuatW; - win->posAccelX = lin->posAccelX; - win->posAccelY = lin->posAccelY; - win->posAccelZ = lin->posAccelZ; - win->rotVelX = lin->rotVelX; - win->rotVelY = lin->rotVelY; - win->rotVelZ = lin->rotVelZ; -} - #pragma pack( push, 8 ) struct winSteamUGCDetails_t_142 { PublishedFileId_t m_nPublishedFileId; @@ -2922,34 +2588,6 @@ void cb_HTML_BrowserRestarted_t_8(const void *l, void *w) win->unOldBrowserHandle = lin->unOldBrowserHandle; } -#pragma pack( push, 8 ) -struct winSteamItemDetails_t_142 { - SteamItemInstanceID_t m_itemId; - SteamItemDef_t m_iDefinition; - uint16 m_unQuantity; - uint16 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_SteamItemDetails_t_142(const void *w, void *l) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_142 *win = (struct winSteamItemDetails_t_142 *)w; - lin->m_itemId = win->m_itemId; - lin->m_iDefinition = win->m_iDefinition; - lin->m_unQuantity = win->m_unQuantity; - lin->m_unFlags = win->m_unFlags; -} - -void lin_to_win_struct_SteamItemDetails_t_142(const void *l, void *w) -{ - SteamItemDetails_t *lin = (SteamItemDetails_t *)l; - struct winSteamItemDetails_t_142 *win = (struct winSteamItemDetails_t_142 *)w; - win->m_itemId = lin->m_itemId; - win->m_iDefinition = lin->m_iDefinition; - win->m_unQuantity = lin->m_unQuantity; - win->m_unFlags = lin->m_unFlags; -} - #pragma pack( push, 8 ) struct winSteamInventoryResultReady_t_8 { SteamInventoryResult_t m_handle; @@ -3096,85 +2734,6 @@ void cb_SteamParentalSettingsChanged_t_1(const void *l, void *w) struct winSteamParentalSettingsChanged_t_1 *win = (struct winSteamParentalSettingsChanged_t_1 *)w; } -#pragma pack( push, 8 ) -struct winCSteamAPIContext_142 { - ISteamClient * m_pSteamClient; - ISteamUser * m_pSteamUser; - ISteamFriends * m_pSteamFriends; - ISteamUtils * m_pSteamUtils; - ISteamMatchmaking * m_pSteamMatchmaking; - ISteamUserStats * m_pSteamUserStats; - ISteamApps * m_pSteamApps; - ISteamMatchmakingServers * m_pSteamMatchmakingServers; - ISteamNetworking * m_pSteamNetworking; - ISteamRemoteStorage * m_pSteamRemoteStorage; - ISteamScreenshots * m_pSteamScreenshots; - ISteamHTTP * m_pSteamHTTP; - ISteamController * m_pController; - ISteamUGC * m_pSteamUGC; - ISteamAppList * m_pSteamAppList; - ISteamMusic * m_pSteamMusic; - ISteamMusicRemote * m_pSteamMusicRemote; - ISteamHTMLSurface * m_pSteamHTMLSurface; - ISteamInventory * m_pSteamInventory; - ISteamVideo * m_pSteamVideo; - ISteamParentalSettings * m_pSteamParentalSettings; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void win_to_lin_struct_CSteamAPIContext_142(const void *w, void *l) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_142 *win = (struct winCSteamAPIContext_142 *)w; - lin->m_pSteamClient = win->m_pSteamClient; - lin->m_pSteamUser = win->m_pSteamUser; - lin->m_pSteamFriends = win->m_pSteamFriends; - lin->m_pSteamUtils = win->m_pSteamUtils; - lin->m_pSteamMatchmaking = win->m_pSteamMatchmaking; - lin->m_pSteamUserStats = win->m_pSteamUserStats; - lin->m_pSteamApps = win->m_pSteamApps; - lin->m_pSteamMatchmakingServers = win->m_pSteamMatchmakingServers; - lin->m_pSteamNetworking = win->m_pSteamNetworking; - lin->m_pSteamRemoteStorage = win->m_pSteamRemoteStorage; - lin->m_pSteamScreenshots = win->m_pSteamScreenshots; - lin->m_pSteamHTTP = win->m_pSteamHTTP; - lin->m_pController = win->m_pController; - lin->m_pSteamUGC = win->m_pSteamUGC; - lin->m_pSteamAppList = win->m_pSteamAppList; - lin->m_pSteamMusic = win->m_pSteamMusic; - lin->m_pSteamMusicRemote = win->m_pSteamMusicRemote; - lin->m_pSteamHTMLSurface = win->m_pSteamHTMLSurface; - lin->m_pSteamInventory = win->m_pSteamInventory; - lin->m_pSteamVideo = win->m_pSteamVideo; - lin->m_pSteamParentalSettings = win->m_pSteamParentalSettings; -} - -void lin_to_win_struct_CSteamAPIContext_142(const void *l, void *w) -{ - CSteamAPIContext *lin = (CSteamAPIContext *)l; - struct winCSteamAPIContext_142 *win = (struct winCSteamAPIContext_142 *)w; - win->m_pSteamClient = lin->m_pSteamClient; - win->m_pSteamUser = lin->m_pSteamUser; - win->m_pSteamFriends = lin->m_pSteamFriends; - win->m_pSteamUtils = lin->m_pSteamUtils; - win->m_pSteamMatchmaking = lin->m_pSteamMatchmaking; - win->m_pSteamUserStats = lin->m_pSteamUserStats; - win->m_pSteamApps = lin->m_pSteamApps; - win->m_pSteamMatchmakingServers = lin->m_pSteamMatchmakingServers; - win->m_pSteamNetworking = lin->m_pSteamNetworking; - win->m_pSteamRemoteStorage = lin->m_pSteamRemoteStorage; - win->m_pSteamScreenshots = lin->m_pSteamScreenshots; - win->m_pSteamHTTP = lin->m_pSteamHTTP; - win->m_pController = lin->m_pController; - win->m_pSteamUGC = lin->m_pSteamUGC; - win->m_pSteamAppList = lin->m_pSteamAppList; - win->m_pSteamMusic = lin->m_pSteamMusic; - win->m_pSteamMusicRemote = lin->m_pSteamMusicRemote; - win->m_pSteamHTMLSurface = lin->m_pSteamHTMLSurface; - win->m_pSteamInventory = lin->m_pSteamInventory; - win->m_pSteamVideo = lin->m_pSteamVideo; - win->m_pSteamParentalSettings = lin->m_pSteamParentalSettings; -} - #pragma pack( push, 8 ) struct winGSClientApprove_t_16 { CSteamID m_SteamID; diff --git a/lsteamclient/struct_converters_142.h b/lsteamclient/struct_converters_142.h index 955a90e2..bc4e5a02 100644 --- a/lsteamclient/struct_converters_142.h +++ b/lsteamclient/struct_converters_142.h @@ -1,42 +1,6 @@ -extern void win_to_lin_struct_CallbackMsg_t_142(const void *w, void *l); -extern void lin_to_win_struct_CallbackMsg_t_142(const void *l, void *w); - -extern void win_to_lin_struct_FriendGameInfo_t_142(const void *w, void *l); -extern void lin_to_win_struct_FriendGameInfo_t_142(const void *l, void *w); - -extern void win_to_lin_struct_FriendSessionStateInfo_t_142(const void *w, void *l); -extern void lin_to_win_struct_FriendSessionStateInfo_t_142(const void *l, void *w); - -extern void win_to_lin_struct_servernetadr_t_142(const void *w, void *l); -extern void lin_to_win_struct_servernetadr_t_142(const void *l, void *w); - -extern void win_to_lin_struct_gameserveritem_t_142(const void *w, void *l); -extern void lin_to_win_struct_gameserveritem_t_142(const void *l, void *w); - -extern void win_to_lin_struct_SteamParamStringArray_t_142(const void *w, void *l); -extern void lin_to_win_struct_SteamParamStringArray_t_142(const void *l, void *w); - extern void win_to_lin_struct_LeaderboardEntry_t_142(const void *w, void *l); extern void lin_to_win_struct_LeaderboardEntry_t_142(const void *l, void *w); -extern void win_to_lin_struct_P2PSessionState_t_142(const void *w, void *l); -extern void lin_to_win_struct_P2PSessionState_t_142(const void *l, void *w); - -extern void win_to_lin_struct_ControllerAnalogActionData_t_142(const void *w, void *l); -extern void lin_to_win_struct_ControllerAnalogActionData_t_142(const void *l, void *w); - -extern void win_to_lin_struct_ControllerDigitalActionData_t_142(const void *w, void *l); -extern void lin_to_win_struct_ControllerDigitalActionData_t_142(const void *l, void *w); - -extern void win_to_lin_struct_ControllerMotionData_t_142(const void *w, void *l); -extern void lin_to_win_struct_ControllerMotionData_t_142(const void *l, void *w); - extern void win_to_lin_struct_SteamUGCDetails_t_142(const void *w, void *l); extern void lin_to_win_struct_SteamUGCDetails_t_142(const void *l, void *w); -extern void win_to_lin_struct_SteamItemDetails_t_142(const void *w, void *l); -extern void lin_to_win_struct_SteamItemDetails_t_142(const void *l, void *w); - -extern void win_to_lin_struct_CSteamAPIContext_142(const void *w, void *l); -extern void lin_to_win_struct_CSteamAPIContext_142(const void *l, void *w); -