DIFF

class Mag_MP18_Drum32Rnd

Mag_MP18_Drum32Rnd › MagazineStorage › Magazine

Members 7

protected float m_AnimStart = 1.0

at 1.0 the magazine is at max bullets

Referenced by UpdateAnimation()
protected float m_AnimEnd = 0.0

at 0.0 the magazine is at 12 bullets and anim stops there as requested by designers

Referenced by UpdateAnimation()
protected float m_LastAnimPhase = 0.0
protected float m_AmmoOffset = 12

the number of bullets at which the animation reaches m_AnimEnd (e.g. animation finishes at 12 bullets)

Referenced by UpdateAnimation()
protected float m_MaxAmmoPercentage = 1.0 /(GetAmmoMax() - m_AmmoOffset)
Referenced by UpdateAnimation()
protected string m_AnimationSource = "drum"
Referenced by OnStoreLoad(), and UpdateAnimation()
protected string m_DrumLeverSoundset = "wpn_mp18_drum_mag_SoundSet"
Referenced by UpdateAnimation()

Methods 3

override void OnStoreSave(ParamsWriteContext ctx)
override bool OnStoreLoad(ParamsReadContext ctx, int version)