Skip to content

Commit

Permalink
ALTV-469 update sdk and connection_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Dec 26, 2024
1 parent 9f567fe commit 21278f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions c-api/entities/connection_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ uint64_t ConnectionInfo_GetHwIdExHash(alt::IConnectionInfo* connectionInfo) {
return connectionInfo->GetHwIdExHash();
}

const char* ConnectionInfo_GetHwId3(alt::IConnectionInfo* connectionInfo, int32_t& size) {
return AllocateString(connectionInfo->GetHwId3(), size);
const char* ConnectionInfo_GetHwid3(alt::IConnectionInfo* connectionInfo, int32_t& size) {
return AllocateString(connectionInfo->GetHwid3(), size);
}

const char* ConnectionInfo_GetAuthToken(alt::IConnectionInfo* connectionInfo, int32_t& size) {
Expand Down
2 changes: 1 addition & 1 deletion c-api/entities/connection_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXPORT_SERVER uint64_t ConnectionInfo_GetSocialId(alt::IConnectionInfo* connecti
EXPORT_SERVER const char* ConnectionInfo_GetSocialName(alt::IConnectionInfo* connectionInfo, int32_t& size);
EXPORT_SERVER uint64_t ConnectionInfo_GetHwIdHash(alt::IConnectionInfo* connectionInfo);
EXPORT_SERVER uint64_t ConnectionInfo_GetHwIdExHash(alt::IConnectionInfo* connectionInfo);
EXPORT_SERVER const char* ConnectionInfo_GetHwId3(alt::IConnectionInfo* connectionInfo, int32_t& size);
EXPORT_SERVER const char* ConnectionInfo_GetHwid3(alt::IConnectionInfo* connectionInfo, int32_t& size);
EXPORT_SERVER const char* ConnectionInfo_GetAuthToken(alt::IConnectionInfo* connectionInfo, int32_t& size);
EXPORT_SERVER uint8_t ConnectionInfo_GetIsDebug(alt::IConnectionInfo* connectionInfo);
EXPORT_SERVER const char* ConnectionInfo_GetBranch(alt::IConnectionInfo* connectionInfo, int32_t& size);
Expand Down
8 changes: 4 additions & 4 deletions c-api/func_table.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "func_table.h"

inline uint64_t capiHash = 17036908327259488488UL;
inline uint64_t capiHash = 2737407539021183714UL;
inline uint64_t capiHashes[] = {
0,
#ifdef ALT_CLIENT_API
Expand Down Expand Up @@ -1366,7 +1366,7 @@ inline uint64_t capiHashes[] = {
7415605567391116903UL,
7998061229071288348UL,
4175744399917476392UL,
11277934694982627403UL,
3230557606089997547UL,
3151831504154255688UL,
11409383581668438027UL,
8080268107975854795UL,
Expand Down Expand Up @@ -1526,7 +1526,7 @@ inline uint64_t capiHashes[] = {
12996031514192232278UL,
6875264309357036667UL,
18242810182906526031UL,
12439246743379924111UL,
13686597780873033455UL,
424368865670330442UL,
9546723288515311389UL,
16961931856292652951UL,
Expand Down Expand Up @@ -3185,7 +3185,7 @@ inline void* capiPointers[] = {
(void*) ConnectionInfo_GetCloudAuthResult,
(void*) ConnectionInfo_GetCloudID,
(void*) ConnectionInfo_GetDiscordUserID,
(void*) ConnectionInfo_GetHwId3,
(void*) ConnectionInfo_GetHwid3,
(void*) ConnectionInfo_GetHwIdExHash,
(void*) ConnectionInfo_GetHwIdHash,
(void*) ConnectionInfo_GetID,
Expand Down
2 changes: 1 addition & 1 deletion cpp-sdk
Submodule cpp-sdk updated 0 files

0 comments on commit 21278f1

Please sign in to comment.