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

Защищенные члены

void WeaponManager (PlayerBase player)
 
bool CanFire (Weapon_Base wpn)
 
bool CanAttachMagazine (Weapon_Base wpn, Magazine mag, bool reservationCheck=true)
 
bool CanSwapMagazine (Weapon_Base wpn, Magazine mag, bool reservationCheck=true)
 
bool CanDetachMagazine (Weapon_Base wpn, Magazine mag, bool reservationCheck=true)
 
bool CanLoadBullet (Weapon_Base wpn, Magazine mag, bool reservationCheck=true)
 
bool CanLoadMultipleBullet (Weapon_Base wpn, Magazine mag, bool reservationCheck=true)
 
bool CanUnjam (Weapon_Base wpn, bool reservationCheck=true)
 
bool CanEjectBullet (Weapon_Base wpn, bool reservationCheck=true)
 
void SetEjectBulletTryTimestamp ()
 
bool InventoryReservation (Magazine mag, InventoryLocation invLoc)
 
bool AttachMagazine (Magazine mag, ActionBase control_action=NULL)
 
bool DetachMagazine (InventoryLocation invLoc, ActionBase control_action=NULL)
 
bool SwapMagazine (Magazine mag, ActionBase control_action=NULL)
 
bool SwapMagazineEx (Magazine mag, InventoryLocation invLoc, ActionBase control_action=NULL)
 
bool LoadBullet (Magazine mag, ActionBase control_action=NULL)
 
bool LoadMultiBullet (Magazine mag, ActionBase control_action=NULL)
 
void LoadMultiBulletStop ()
 
bool Unjam (ActionBase control_action=NULL)
 
bool EjectBullet (ActionBase control_action=NULL)
 
bool CanEjectBulletVerified ()
 
bool EjectBulletVerified (ActionBase control_action=NULL)
 
bool SetNextMuzzleMode ()
 
void Fire (Weapon_Base wpn)
 

Защищенные данные

PlayerBase m_player
 
int m_LastAcknowledgmentID
 
int m_PendingWeaponActionAcknowledgmentID
 
Magazine m_PendingTargetMagazine
 
ref InventoryLocation m_TargetInventoryLocation
 
int m_PendingWeaponAction
 
ref InventoryLocation m_PendingInventoryLocation
 
bool m_canEnd
 
bool m_justStart
 
bool m_InProgress
 
bool m_IsEventSended
 
bool m_WantContinue
 
bool m_InIronSight
 
bool m_InOptic
 
bool m_readyToStart
 
Weapon_Base m_WeaponInHand
 
MagazineStorage m_MagazineInHand
 
ActionBase m_ControlAction
 
int m_ForceEjectBulletTimestamp
 
const int FORCE_EJECT_BULLET_TIMEOUT = 2000
 
ref array< Magazine > m_MagazinePilesInInventory
 
ref array< MagazineStorage > m_MagazineStorageInInventory
 
ref array< Magazine > m_SuitableMagazines
 
Magazine m_PreparedMagazine
 
float m_NewJamChance
 
bool m_WaitToSyncJamChance
 
int m_AnimationRefreshCooldown
 

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

void Synchronize ()
 
void OnSyncJuncture (int pJunctureID, ParamsReadContext pCtx)
 
bool OnInputUserDataProcess (int userDataType, ParamsReadContext ctx)
 
bool StartAction (int action, Magazine mag, InventoryLocation il, ActionBase control_action=NULL)
 
void StartPendingAction ()
 
bool IsRunning ()
 
void SetRunning (bool value)
 
void Refresh ()
 
void Update (float deltaT)
 
void OnWeaponActionEnd ()
 
void DelayedRefreshAnimationState (int delay)
 
void RefreshAnimationState ()
 
bool WantContinue ()
 
Magazine GetPreparedMagazine ()
 
Magazine GetNextPreparedMagazine (out int startIdx)
 
void OnMagazineInventoryEnter (Magazine mag)
 
void OnMagazineInventoryExit (Magazine mag)
 
void OnMagazineAttach (Magazine mag)
 
void OnMagazineDetach (Magazine mag)
 
int CompareMagazinesSuitability (Magazine mag1, Magazine mag2)
 
void SortMagazineAfterLoad ()
 
void SetSutableMagazines ()
 
void OnLiftWeapon ()
 
string GetCurrentModeName ()
 
bool PrepareInventoryLocationForMagazineSwap (notnull Weapon_Base wpn, notnull Magazine new_mag, out InventoryLocation new_il)
 

Закрытые данные

const float MAX_DROP_MAGAZINE_DISTANCE_SQ = 4
 

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

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