Skip to Main Content

BTD_Mod_Helper​.Api​.ModByteLoader_T_


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api

ModByteLoader Class

A class that can be generated by your mod in order to statically load a big complex Model object in your mod, like
Ninja Kiwi does with the whole GameModel

public abstract class ModByteLoader<T> : BTD_Mod_Helper.Api.ModByteLoader
    where T : Object

Type parameters

T

Inheritance System.ObjectModContentModByteLoader  ModByteLoader

Methods

ModByteLoader.Dispose() Method

Perform additional memory clean up for the results

public void Dispose();

ModByteLoader.Load(byte[]) Method

The NinjaKiwi generated method that loads the bytes

protected abstract T Load(byte[] bytes);

Parameters

bytes System.Byte[]

Returns

T

ModByteLoader.LoadResult() Method

Gets the result of the loader. Waits for loading to finish if need be.

public T LoadResult();

Returns

T

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