11#ifdef LIBCARLA_INCLUDED_FROM_UE4
20 #define SET_FLAG(flag, value) flag |= static_cast<flag_type>(value)
22 #define FLAG_ENABLED(flag, value) flag & static_cast<flag_type>(value)
55#ifdef LIBCARLA_INCLUDED_FROM_UE4
#define FLAG_ENABLED(flag, value)
#define SET_FLAG(flag, value)
VehicleLightState(const FVehicleLightState &InLightState)
LightState GetLightStateEnum() const
返回当前灯光状态作为枚举类型
VehicleLightState(flag_type light_state)
VehicleLightState()=default
flag_type GetLightStateAsValue() const
返回当前灯光状态作为值类型
VehicleLightState(LightState light_state)
flag_type light_state
灯光状态标志,默认情况下全部关闭