Table of Contents
A wrapper around ProjectileModels for making them easier to create
public class ProjectileHelper : BTD_Mod_Helper.Api.Helpers.ModelHelper<ProjectileModel>
Inheritance System.Object ModelHelper BTD_Mod_Helper.Api.Helpers.ModelHelper<Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel> ProjectileHelper
Begins construction of a new ProjectileModel with sensible default values
public ProjectileHelper(string name="");
name
System.String
The model name (don't need the ProjectileModel_ part)
public Model[] Behaviors { get; set; }
Il2CppAssets.Scripts.Models.Model[]
public bool CanCollisionBeBlockedByMapLos { get; set; }
public bool CanHitCamo { get; set; }
public int CheckCollisionFrames { get; set; }
public int CheckCollisionIntervalFrames { get; set; }
public int[] CollissionPasses { get; set; }
public string Display { get; set; }
This ProjectileModel's DisplayModel
public DisplayModel DisplayModel { get; }
Il2CppAssets.Scripts.Models.GenericBehaviors.DisplayModel
public PrefabReference DisplayReference { get; set; }
Il2CppNinjaKiwi.Common.ResourceUtils.PrefabReference
public bool DontUseCollisionChecker { get; set; }
This ProjectileModel's ProjectileFilterModel
public ProjectileFilterModel Filter { get; }
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.ProjectileFilterModel
public FilterModel[] Filters { get; set; }
Il2CppAssets.Scripts.Models.Towers.Filters.FilterModel[]
public bool IgnoreBlockers { get; set; }
public bool IgnoreNonTargetable { get; set; }
public bool IgnorePierceExhaustion { get; set; }
public float MaxPierce { get; set; }
public float Pierce { get; set; }
public float Radius { get; set; }
public string SaveId { get; set; }
public float Scale { get; set; }
public bool UsePointCollisionWithBloons { get; set; }
public float VsBlockerRadius { get; set; }
Wraps a model
public static BTD_Mod_Helper.Api.Helpers.ProjectileHelper implicit operator ProjectileHelper(ProjectileModel model);
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel
Unwraps the model (and updates collision passes)
public static ProjectileModel implicit operator ProjectileModel(BTD_Mod_Helper.Api.Helpers.ProjectileHelper helper);
helper
ProjectileHelper
Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel