Skip to content

Commit 61076ff

Browse files
committed
feat: add get-set property bind to drunkHandling and drunkVisuals
1 parent 982c90e commit 61076ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

VCMP-LUA/vcmpWrap/Classes/Player.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ void Player::Init(sol::state* L) {
635635
userdata["vehicle"] = sol::property(&Player::getVehicle, &Player::setVehicle);
636636
userdata["weaponSlot"] = sol::property(&Player::getWeaponSlot, &Player::setWeaponSlot);
637637
userdata["spectateTarget"] = sol::property(&Player::getSpectateTarget, &Player::setSpectateTarget);
638+
userdata["drunkHandling"] = sol::property(&Player::getDrunkHandling, &Player::setDrunkHandling);
639+
userdata["drunkVisuals"] = sol::property(&Player::getDrunkVisuals, &Player::setDrunkVisuals);
638640

639641
userdata["id"] = sol::property(&Player::getID);
640642
userdata["online"] = sol::property(&Player::isOnline);

0 commit comments

Comments
 (0)