10 [
Attribute(
"-1", uiwidget: UIWidgets.ComboBox, enums: {ParamEnum(
"Either",
"-1"), ParamEnum(
"Left",
"0"), ParamEnum(
"Right",
"1")})]
11 protected int m_iLightSide;
21 VehicleControllerComponent controller = VehicleControllerComponent.Cast(
data.GetCurrentVehicleController());
25 BaseLightManagerComponent lightManager = controller.GetLightManager();
29 bool result = lightManager.GetLightsState(m_eLightType, m_iLightSide);
30 return GetReturnResult(result);
34 VehicleControllerComponent_SA controller = VehicleControllerComponent_SA.Cast(
data.GetCurrentVehicleController());
38 BaseLightManagerComponent lightManager = controller.GetLightManager();
42 bool result = lightManager.GetLightsState(m_eLightType, m_iLightSide);
43 return GetReturnResult(result);