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

◆ Reset()

void Reset ( InventoryItem weapon,
EMeleeHitType hitMask,
bool wasHitEvent = false )
private

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

193 {
194 m_Weapon = weapon;
195 m_HitType = hitMask;
196 m_TargetType = EMeleeTargetType.ALIGNABLE;
197 m_SprintAttack = hitMask == EMeleeHitType.SPRINT;
200 m_WasHit = wasHitEvent;
201
202 #ifdef DIAG_DEVELOPER
203 m_AllPreviousTargetObjects = m_AllTargetObjects;
204 #endif
205 m_AllTargetObjects.Clear();
206 }
float GetWeaponRange(InventoryItem weapon, int weaponMode)
bool m_SprintAttack
If most recent attack was a sprint attack.
int m_WeaponMode
WeaponMode used during most recent Update.
bool m_WasHit
If most recent attack was.
ref array< Object > m_AllTargetObjects
All potential targets found during most recent TargetSelection.
EMeleeHitType
Определения DayZPlayerImplementMeleeCombat.c:2
int SelectWeaponMode(InventoryItem weapon)
float m_WeaponRange
WeaponRange used during most recent Update.
EMeleeHitType m_HitType
Hit type of the most recent attack.
EMeleeTargetType m_TargetType
DEPRECATED: Was added but never used..?
InventoryItem m_Weapon
Weapons - cache.
EMeleeTargetType
Определения EMeleeTargetType.c:2

Перекрестные ссылки GetWeaponRange(), m_AllTargetObjects, m_HitType, m_SprintAttack, m_TargetType, m_WasHit, m_Weapon, m_WeaponMode, m_WeaponRange и SelectWeaponMode().