Inherits ILoadable.
Inherited by ITree, and ModCactus.
|
abstract Asset< Texture2D > | GetTexture () |
|
void ILoadable. | Load (Mod mod) |
| Called when loading the type. More...
|
|
abstract void | SetStaticDefaults () |
|
void ILoadable. | Unload () |
| Called during unloading when needed. More...
|
|
virtual bool | IsLoadingEnabled (Mod mod) |
| Whether or not this type should be loaded when it's told to. Returning false disables Mod.AddContent from actually loading this type. More...
|
|
abstract void | Load (Mod mod) |
| Called when loading the type. More...
|
|
abstract void | Unload () |
| Called during unloading when needed. More...
|
|
|
int[] | GrowsOnTileId [get, set] |
|
int | PlantTileId [get] |
|
int | VanillaCount [get] |
|
◆ Load()
void ILoadable. IPlant.Load |
( |
Mod |
mod | ) |
|
|
virtual |
Called when loading the type.
- Parameters
-
mod | The mod instance associated with this type. |
Implements ILoadable.
◆ Unload()
void ILoadable. IPlant.Unload |
( |
| ) |
|
|
virtual |
Called during unloading when needed.
Implements ILoadable.
◆ PlantTileId