Skip to content

Commit

Permalink
ALTV-469 fixed "h" to "H"
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Trofimov committed Oct 30, 2024
1 parent bd0644a commit 7feaa39
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions c-api/cache/CachedPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace cache
_socialID(base->GetSocialID()),
_hwidHash(base->GetHwidHash()),
_hwidExHash(base->GetHwidExHash()),
_hwid3(base->Gethwid3()),
_Hwid3(base->GetHwid3()),
_authToken(base->GetAuthToken()),
_discordId(base->GetDiscordId()),
_invincible(base->GetInvincible()),
Expand Down Expand Up @@ -329,7 +329,7 @@ namespace cache
}

std::string _hwidPtorHash;
std::string Gethwid3() const override { return _hwidPtorHash; }
std::string GetHwid3() const override { return _hwidPtorHash; }

std::string _authToken;
std::string GetAuthToken() const override {
Expand Down
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();
}

std::string ConnectionInfo_Gethwid3(alt::IConnectionInfo* connectionInfo) {
return connectionInfo->Gethwid3();
std::string ConnectionInfo_GetHwid3(alt::IConnectionInfo* connectionInfo) {
return connectionInfo->GetHwid3();
}

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);
EXPORT_SERVER const char* ConnectionInfo_GetHwid3(alt::IConnectionInfo* connectionInfo);
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
4 changes: 2 additions & 2 deletions c-api/entities/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ uint64_t Player_GetHwidExHash(alt::IPlayer* player) {
return player->GetHwidExHash();
}

std::string Player_Gethwid3(alt::IPlayer* player) {
return player->Gethwid3();
std::string Player_GetHwid3(alt::IPlayer* player) {
return player->GetHwid3();
}

const char* Player_GetAuthToken(alt::IPlayer* player, int32_t& size) {
Expand Down
2 changes: 1 addition & 1 deletion c-api/entities/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +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_Gethwid3(alt::IPlayer* player);
EXPORT_SERVER const char* Player_GetHwid3(alt::IPlayer* player);
EXPORT_SERVER const char* Player_GetAuthToken(alt::IPlayer* player, int32_t& size);

EXPORT_SERVER void Player_SetHealth(alt::IPlayer* player, uint16_t health);
Expand Down
4 changes: 2 additions & 2 deletions c-api/func_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ inline void* capiPointers[] = {
(void*) ConnectionInfo_GetCloudID,
(void*) ConnectionInfo_GetDiscordUserID,
(void*) ConnectionInfo_GetHwIdExHash,
(void*) ConnectionInfo_Gethwid3,
(void*) ConnectionInfo_GetHwid3,
(void*) ConnectionInfo_GetHwIdHash,
(void*) ConnectionInfo_GetID,
(void*) ConnectionInfo_GetIp,
Expand Down Expand Up @@ -3284,7 +3284,7 @@ inline void* capiPointers[] = {
(void*) Player_GetHeadBlendPaletteColor,
(void*) Player_GetHeadOverlay,
(void*) Player_GetHwidExHash,
(void*) Player_Gethwid3,
(void*) Player_GetHwid3,
(void*) Player_GetHwidHash,
(void*) Player_GetInteriorLocation,
(void*) Player_GetInvincible,
Expand Down
2 changes: 1 addition & 1 deletion cpp-sdk

0 comments on commit 7feaa39

Please sign in to comment.