См. определение в файле VehicleLightsComponent.c строка 83
84 {
86 if (data)
87 {
88 if (!data.m_Light)
89 {
90 VehicleLightBase light = VehicleLightBase.Cast(ScriptedLightBase.CreateLight(VehicleLightBase));
92
93 data.m_Light = light;
94 }
95 #ifdef DIAG_DEVELOPER
96 else
98 #endif
99 }
100 #ifdef DIAG_DEVELOPER
101 else
102 ErrorEx(
string.Format(
"'%1' is not registered light key",
name));
103 #endif
104 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void VehicleLightData(VehicleLightProfileBase profile)
void SetLightProfile(notnull VehicleLightProfileBase profile)
ref map< string, ref VehicleLightData > m_LightMap
Перекрестные ссылки ErrorEx, m_LightMap, m_Parent, name, VehicleLightBase::SetLightProfile() и VehicleLightData().