Skip to content

Commit

Permalink
server: Rename Player.socialId
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Oct 14, 2023
1 parent 43b4a65 commit f9e262d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/classes/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ extern js::Class playerClass("Player", &sharedPlayerClass, nullptr, [](js::Class
tpl.BindToType(alt::IBaseObject::Type::PLAYER);

tpl.LazyProperty<&alt::IPlayer::GetIP>("ip");
tpl.LazyProperty<&alt::IPlayer::GetSocialID>("socialId");
tpl.LazyProperty<&alt::IPlayer::GetSocialID>("socialID");
tpl.LazyProperty<&alt::IPlayer::GetSocialClubName>("socialClubName");
tpl.LazyProperty<&alt::IPlayer::GetHwidHash>("hwidHash");
tpl.LazyProperty<&alt::IPlayer::GetHwidExHash>("hwidExHash");
Expand Down
2 changes: 1 addition & 1 deletion types/server/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ declare module "@altv/server" {
readonly name: string;

readonly ip: string;
readonly socialId: number;
readonly socialID: number;
readonly socialClubName: string;
readonly hwidHash: number;
readonly hwidExHash: number;
Expand Down

0 comments on commit f9e262d

Please sign in to comment.