Skip to Main Content

BTD_Mod_Helper​.Api​.Legends​.ModBoostArtifact


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Legends

ModBoostArtifact Class

Class for adding a custom Boost Artifact to the Rogue Legends mode

public abstract class ModBoostArtifact : BTD_Mod_Helper.Api.Legends.ModArtifact<BoostArtifactData, BoostArtifactModel>

Inheritance System.ObjectModContentNamedModContentModArtifactBTD_Mod_Helper.Api.Legends.ModArtifact<Il2CppAssets.Scripts.Data.Artifacts.BoostArtifactData,Il2CppAssets.Scripts.Models.Artifacts.BoostArtifactModel>  ModBoostArtifact

Methods

ModBoostArtifact.CreateArtifactModel(int, int) Method

Creates the ArtifactModelBase derived model for this Artifact

protected sealed override BoostArtifactModel CreateArtifactModel(int tier, int index);

Parameters

tier System.Int32

0 for Common, 1 for Rare, 2 for Legendary

index System.Int32

Artifact index

Returns

Il2CppAssets.Scripts.Models.Artifacts.BoostArtifactModel
Created Artifact Model

ModBoostArtifact.GetId(int) Method

Gets the id this should use for the given index

public sealed override string GetId(int index);

Parameters

index System.Int32

1, 2 or 3

Returns

System.String
The ID to use

To learn how to download BTD Mod Helper and install mods, click here