コード例 #1
0
 private void OnRemoveTrackingProjectile(TrackingProjectileRemovedEventArgs args)
 {
     try
     {
         this.projectiles.Remove(args.TrackingProjectile);
     }
     catch (Exception e)
     {
         Logger.Error(e);
     }
 }
コード例 #2
0
        private void ProjectileManager_TrackingProjectileRemoved(TrackingProjectileRemovedEventArgs e)
        {
            var trackingProjectile = e.TrackingProjectile;

            Console.WriteLine("TrackingProjectileRemoved: " + trackingProjectile.Source + "  " + trackingProjectile.Target + "  " + trackingProjectile.Position + "  " + trackingProjectile.Handle);
        }