-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALTV-469 Add new method GetHwidProtHash #159
base: dev
Are you sure you want to change the base?
Conversation
c-api/func_table.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing generated hashes
c-api/entities/player.cpp
Outdated
@@ -246,6 +246,10 @@ uint64_t Player_GetHwidExHash(alt::IPlayer* player) { | |||
return player->GetHwidExHash(); | |||
} | |||
|
|||
std::string Player_GetHwidProtHash(alt::IPlayer* player) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing size paramter
c-api/entities/player.cpp
Outdated
@@ -246,6 +246,10 @@ uint64_t Player_GetHwidExHash(alt::IPlayer* player) { | |||
return player->GetHwidExHash(); | |||
} | |||
|
|||
std::string Player_GetHwidProtHash(alt::IPlayer* player) { | |||
return player->GetHwidProtHash(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing call AllocateString
c-api/entities/player.h
Outdated
@@ -77,6 +77,7 @@ EXPORT_SERVER void Player_SetModel(alt::IPlayer* player, uint32_t model); | |||
EXPORT_SERVER uint64_t Player_GetSocialID(alt::IPlayer* player); | |||
EXPORT_SERVER uint64_t Player_GetHwidHash(alt::IPlayer* player); | |||
EXPORT_SERVER uint64_t Player_GetHwidExHash(alt::IPlayer* player); | |||
EXPORT_SERVER const char* Player_GetHwidProtHash(alt::IPlayer* player); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing size paramter
c-api/entities/connection_info.h
Outdated
@@ -22,6 +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_GetHwIdProtHash(alt::IConnectionInfo* connectionInfo); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing size parameter
c-api/entities/connection_info.cpp
Outdated
@@ -37,6 +37,10 @@ uint64_t ConnectionInfo_GetHwIdExHash(alt::IConnectionInfo* connectionInfo) { | |||
return connectionInfo->GetHwIdExHash(); | |||
} | |||
|
|||
std::string ConnectionInfo_GetHwIdProtHash(alt::IConnectionInfo* connectionInfo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing size parameter
c-api/entities/connection_info.cpp
Outdated
@@ -37,6 +37,10 @@ uint64_t ConnectionInfo_GetHwIdExHash(alt::IConnectionInfo* connectionInfo) { | |||
return connectionInfo->GetHwIdExHash(); | |||
} | |||
|
|||
std::string ConnectionInfo_GetHwIdProtHash(alt::IConnectionInfo* connectionInfo) { | |||
return connectionInfo->GetHwIdProtHash(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing AllocateString
c-api/cache/CachedPlayer.h
Outdated
@@ -327,6 +328,9 @@ namespace cache | |||
return _hwidExHash; | |||
} | |||
|
|||
std::string _hwidPtorHash; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
No description provided.