Skip to content

Commit

Permalink
ALTV-643: add isInWater getter (#345)
Browse files Browse the repository at this point in the history
* ALTV-643: add isInWater getter

* ALTV-643 - update sdk
  • Loading branch information
Doxoh authored Jan 14, 2025
1 parent e1c30d5 commit 433e71c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/src/bindings/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ extern V8Class v8Player("Player",
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInMelee>(isolate, tpl, "isInMelee");
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInCover>(isolate, tpl, "isInCover");
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsParachuting>(isolate, tpl, "isParachuting");
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInWater>(isolate, tpl, "isInWater");

// V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsSuperJumpEnabled>(isolate, tpl, "isSuperJumpEnabled");
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsCrouching>(isolate, tpl, "isCrouching");
Expand Down
2 changes: 1 addition & 1 deletion shared/deps/cpp-sdk
Submodule cpp-sdk updated 1 files
+1 −0 objects/IPlayer.h

0 comments on commit 433e71c

Please sign in to comment.