617 {
618 super.OnStoreSave(ctx);
619
620
621 int current_muzzle = GetCurrentMuzzle();
622 ctx.
Write(current_muzzle);
623
624
625 int mode_count = GetMuzzleCount();
626 ctx.
Write(mode_count);
627 for (int m = 0; m < mode_count; ++m)
628 ctx.
Write(GetCurrentMode(m));
629
631
633 m_fsm.OnStoreSave(ctx);
634 else
635 {
636 int dummy = 0;
638 }
639 }
proto bool Write(void value_out)
bool m_isJammed
weapon state machine
ref WeaponFSM m_fsm
weapon abilities