Projectile Comps - SmArtKar/AthenaFramework GitHub Wiki

Athena offers a centralized projectile comp system that saves modders' time writing their own patches

public class ProjectileComp : ThingComp
    {
        protected Projectile Projectile => parent as Projectile;

        public virtual void Launch(Thing launcher, Vector3 origin, LocalTargetInfo usedTarget, LocalTargetInfo intendedTarget, ProjectileHitFlags hitFlags, bool preventFriendlyFire, Thing equipment, ThingDef targetCoverDef) { }

        public virtual void Impact(Thing hitThing, ref bool blockedByShield) { }
    }