From f807b59444eb9a8e4e045e159b4f3f626aad6fa2 Mon Sep 17 00:00:00 2001 From: OlegTrofimov Date: Thu, 26 Dec 2024 15:51:43 +0300 Subject: [PATCH] ALTV-469 Update cpp-sdk (#262) * ALTV-469 Set funct name to GetHwId3 ALTV-469 Update cpp-sdk Add HwidProtHash functions * ALTV-469 Update cpp-sdk * ALTV-469 Update cpp-sdk refs * ALTV-469 update cppsdk * ALTV-469 Update cpp-sdk * ALTV-469 fix methods naming --------- Co-authored-by: Oleg Trofimov Co-authored-by: OlegT Co-authored-by: Till Schreiber --- deps/cpp-sdk | 2 +- server/src/classes/ConnectionInfo.cpp | 1 + server/src/classes/Player.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/cpp-sdk b/deps/cpp-sdk index 30b5e35ab..550772723 160000 --- a/deps/cpp-sdk +++ b/deps/cpp-sdk @@ -1 +1 @@ -Subproject commit 30b5e35ab7081f7e8ff7ac2bc0568aa7cf38e6be +Subproject commit 5507727239d5665e75828a7bec3f44bff245f3c8 diff --git a/server/src/classes/ConnectionInfo.cpp b/server/src/classes/ConnectionInfo.cpp index 491f06b15..de5d82d5d 100644 --- a/server/src/classes/ConnectionInfo.cpp +++ b/server/src/classes/ConnectionInfo.cpp @@ -24,6 +24,7 @@ extern js::Class connectionInfoClass("ConnectionInfo", nullptr, nullptr, [](js:: tpl.LazyProperty<&alt::IConnectionInfo::GetSocialName>("socialClubName"); tpl.LazyProperty<&alt::IConnectionInfo::GetHwIdHash>("hwidHash"); tpl.LazyProperty<&alt::IConnectionInfo::GetHwIdExHash>("hwidExHash"); + tpl.LazyProperty<&alt::IConnectionInfo::GetHwid3>("hwid3"); tpl.LazyProperty<&alt::IConnectionInfo::GetAuthToken>("authToken"); tpl.LazyProperty<&alt::IConnectionInfo::GetIsDebug>("debug"); tpl.LazyProperty<&alt::IConnectionInfo::GetBranch>("branch"); diff --git a/server/src/classes/Player.cpp b/server/src/classes/Player.cpp index aa3e3771d..39bcca1c2 100644 --- a/server/src/classes/Player.cpp +++ b/server/src/classes/Player.cpp @@ -863,6 +863,7 @@ extern js::Class playerClass("Player", &sharedPlayerClass, nullptr, [](js::Class tpl.LazyProperty<&alt::IPlayer::GetSocialClubName>("socialClubName"); tpl.LazyProperty<&alt::IPlayer::GetHwidHash>("hwidHash"); tpl.LazyProperty<&alt::IPlayer::GetHwidExHash>("hwidExHash"); + tpl.LazyProperty<&alt::IPlayer::GetHwid3>("hwid3"); tpl.LazyProperty<&alt::IPlayer::GetCloudID>("cloudID"); tpl.LazyProperty<&alt::IPlayer::GetCloudAuthResult>("cloudAuthResult");