Skip to content

Commit

Permalink
client: add vehicle steeringAngle setter
Browse files Browse the repository at this point in the history
  • Loading branch information
vadzz-dev committed Sep 9, 2023
1 parent 449188b commit e2f7ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/bindings/Vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ extern V8Class v8Vehicle("Vehicle",

V8Helpers::SetMethod(isolate, tpl, "getWheelSurfaceMaterial", GetWheelSurfaceMaterial);

V8Helpers::SetAccessor<IVehicle, float, &IVehicle::GetSteeringAngle>(isolate, tpl, "steeringAngle");
V8Helpers::SetAccessor<IVehicle, float, &IVehicle::GetSteeringAngle, &IVehicle::SetSteeringAngle>(isolate, tpl, "steeringAngle");
V8Helpers::SetAccessor<IVehicle, float, &IVehicle::GetSuspensionHeight, &IVehicle::SetSuspensionHeight>(isolate, tpl, "suspensionHeight");

/*GETTERS BELOW ARE UNIMPLEMENTED
Expand Down

0 comments on commit e2f7ae1

Please sign in to comment.