public override void clientClone(ModPlayer clientClone)
        {
            EngineerArmorPlayer engieplayer = clientClone as EngineerArmorPlayer;

            engieplayer.aimDir        = aimDir;
            engieplayer.AttackCheck   = AttackCheck;
            engieplayer.EngineerModes = EngineerModes;
        }
        public override void SendClientChanges(ModPlayer clientPlayer)
        {
            if (!EngieArmor())
            {
                return;
            }

            bool mismatch = false;
            EngineerArmorPlayer engieplayer = clientPlayer as EngineerArmorPlayer;

            if (engieplayer.aimDir != aimDir && engieplayer.AttackCheck != AttackCheck && engieplayer.EngineerModes != EngineerModes)
            {
                mismatch = true;
            }

            if (mismatch)
            {
                SendClientChangesPacket();
            }
        }
        public override bool CanUseItem(Player player)
        {
            EngineerArmorPlayer engiePlayer = player.GetModPlayer <EngineerArmorPlayer>();

            return(engiePlayer.EngineerTransform < 1);
        }
        private void PostMovementUpdate(SGAPlayer sgaplayer)
        {
            EngineerArmorPlayer SGAply = sgaplayer.player.GetModPlayer <EngineerArmorPlayer>();

            SGAply.HandleEngineerArmor();
        }