Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс Ammo_40mm_Explosive
+ Граф наследования:Ammo_40mm_Explosive:

Закрытые члены

override bool ShootsExplosiveAmmo ()
 
override void OnActivatedByItem (notnull ItemBase item)
 
override void EEKilled (Object killer)
 
override void OnDamageDestroyed (int oldLevel)
 

Подробное описание

Методы

◆ EEKilled()

override void EEKilled ( Object killer)
inlineprivate
208 {
209 super.EEKilled(killer);
210 DamageSystem.ExplosionDamage(this, null, "Explosion_40mm_Ammo", GetPosition(), DamageType.EXPLOSION);
211 GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( DeleteSafe, 1000, false);
212 }
DamageType
exposed from C++ (do not change)
Definition DamageSystem.c:11
class JsonUndergroundAreaTriggerData GetPosition
Definition UndergroundAreaLoader.c:9
Definition EntityAI.c:95
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, GetGame() и GetPosition.

◆ OnActivatedByItem()

override void OnActivatedByItem ( notnull ItemBase item)
inlineprivate
200 {
201 if (GetGame().IsServer())
202 {
203 DamageSystem.ExplosionDamage(this, null, "Explosion_40mm_Ammo", item.GetPosition(), DamageType.EXPLOSION);
204 }
205 }

Перекрестные ссылки GetGame().

◆ OnDamageDestroyed()

override void OnDamageDestroyed ( int oldLevel)
inlineprivate
215 {
216 super.OnDamageDestroyed(oldLevel);
217 #ifndef SERVER
218 ClearFlags(EntityFlags.VISIBLE, false);
219 #endif
220 }
EntityFlags
Entity flags.
Definition EnEntity.c:115
proto native int ClearFlags(int flags, bool immedUpdate=true)

Перекрестные ссылки ClearFlags().

◆ ShootsExplosiveAmmo()

override bool ShootsExplosiveAmmo ( )
inlineprivate
195 {
196 return true;
197 }

Объявления и описания членов класса находятся в файле: