Skip to content

Commit 433e71c

Browse files
authored
ALTV-643: add isInWater getter (#345)
* ALTV-643: add isInWater getter * ALTV-643 - update sdk
1 parent e1c30d5 commit 433e71c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/src/bindings/Player.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ extern V8Class v8Player("Player",
268268
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInMelee>(isolate, tpl, "isInMelee");
269269
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInCover>(isolate, tpl, "isInCover");
270270
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsParachuting>(isolate, tpl, "isParachuting");
271+
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsInWater>(isolate, tpl, "isInWater");
271272

272273
// V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsSuperJumpEnabled>(isolate, tpl, "isSuperJumpEnabled");
273274
V8Helpers::SetAccessor<IPlayer, bool, &IPlayer::IsCrouching>(isolate, tpl, "isCrouching");

shared/deps/cpp-sdk

0 commit comments

Comments
 (0)