Wobbly Life Mod SDK
 
Loading...
Searching...
No Matches
ModWobblyLife.ModClothingManager Class Reference

A manager for registering and unregistering clothes. More...

Inheritance diagram for ModWobblyLife.ModClothingManager:

Public Member Functions

delegate void ModClothingCallback (ModClothingPiece clothingPiece)
 
void AddRegisterCallback (ModClothingCallback callback)
 Register a callback for when a clothing has been registered.
 
void RemoveRegisterCallback (ModClothingCallback callback)
 Unregister a callback for when a clothing has been registered.
 
void AddUnregisterCallback (ModClothingCallback callback)
 Register a callback for when a clothing has been unregistered.
 
void RemoveUnregisterCallback (ModClothingCallback callback)
 Unregister a callback for when a clothing has been unregistered.
 
void Register (ModClothingPiece[] clothingPieces)
 Register a bunch of clothing prefabs.
 
void Unregister (ModClothingPiece[] clothingPieces)
 Unregister a bunch of clothing prefab.
 
void Register (ModClothingPiece clothingPiece)
 Register a clothing prefab.
 
void Unregister (ModClothingPiece clothingPiece)
 Unregister a clothing prefab.
 

Properties

static ModClothingManager Instance [get]
 

Detailed Description

A manager for registering and unregistering clothes.

Member Function Documentation

◆ AddRegisterCallback()

void ModWobblyLife.ModClothingManager.AddRegisterCallback ( ModClothingCallback  callback)

Register a callback for when a clothing has been registered.

Parameters
callback

◆ AddUnregisterCallback()

void ModWobblyLife.ModClothingManager.AddUnregisterCallback ( ModClothingCallback  callback)

Register a callback for when a clothing has been unregistered.

Parameters
callback

◆ ModClothingCallback()

delegate void ModWobblyLife.ModClothingManager.ModClothingCallback ( ModClothingPiece  clothingPiece)

◆ Register() [1/2]

void ModWobblyLife.ModClothingManager.Register ( ModClothingPiece  clothingPiece)

Register a clothing prefab.

Parameters
clothingPiece

◆ Register() [2/2]

void ModWobblyLife.ModClothingManager.Register ( ModClothingPiece[]  clothingPieces)

Register a bunch of clothing prefabs.

Parameters
clothingPieces

◆ RemoveRegisterCallback()

void ModWobblyLife.ModClothingManager.RemoveRegisterCallback ( ModClothingCallback  callback)

Unregister a callback for when a clothing has been registered.

Parameters
callback

◆ RemoveUnregisterCallback()

void ModWobblyLife.ModClothingManager.RemoveUnregisterCallback ( ModClothingCallback  callback)

Unregister a callback for when a clothing has been unregistered.

Parameters
callback

◆ Unregister() [1/2]

void ModWobblyLife.ModClothingManager.Unregister ( ModClothingPiece  clothingPiece)

Unregister a clothing prefab.

Parameters
clothingPiece

◆ Unregister() [2/2]

void ModWobblyLife.ModClothingManager.Unregister ( ModClothingPiece[]  clothingPieces)

Unregister a bunch of clothing prefab.

Parameters
clothingPieces

Property Documentation

◆ Instance

ModClothingManager ModWobblyLife.ModClothingManager.Instance
staticget