DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RegisterSurface()

static int ImpactMaterials::RegisterSurface ( string surface)
inlinestaticprivate

См. определение в файле ImpactEffects.c строка 84

85 {
86 if (!m_ImpactEffect)
87 m_ImpactEffect = new map<string, typename>;
88
89 m_ImpactEffect.Insert(surface, surface.ToType());
90
92 }
static ref map< string, typename > m_ImpactEffect
Определения ImpactEffects.c:30
static int m_LastRegisteredMaterial
Определения ImpactEffects.c:31
proto native ToType()
Returns internal type representation. Can be used in runtime, or cached in variables and used for fas...

Перекрестные ссылки m_ImpactEffect, m_LastRegisteredMaterial и string::ToType().

Используется в EvaluateImpactEffect().