625 {
626 super.OnStoreSave(ctx);
627
628
629 int current_muzzle = GetCurrentMuzzle();
630 ctx.
Write(current_muzzle);
631
632
633 int mode_count = GetMuzzleCount();
634 ctx.
Write(mode_count);
635 for (int m = 0; m < mode_count; ++m)
636 ctx.
Write(GetCurrentMode(m));
637
639
641 m_fsm.OnStoreSave(ctx);
642 else
643 {
644 int dummy = 0;
646 }
647 }
proto bool Write(void value_out)
bool m_isJammed
weapon state machine
ref WeaponFSM m_fsm
weapon abilities