Skip to main content

CustomizationModule

class SoftKitty.MasterCharacterCreator.CharacterCustomizationModule : EntityModule

CharacterCustomizationModule is an EntityModule extension that provides Character Customization functionality to an Entity.

It manages the Character Customization data, allowing an entity to carry and modify its own CharacterAppearance data during gameplay. The module integrates with the Master Character Creator and handles all Character Customization related data associated with the entity.

Because it is implemented as an EntityModule, the Character Customization system is fully optional and modular. [Entitie]s only contain Character Customization functionality when this module is present, allowing projects to include or exclude the Character Customization system without affecting the core entity architecture.

The module also participates in the entity save/load process and runtime initialization, ensuring Character Customization data persists correctly across game sessions.

To retrieve the CharacterCustomizationModule from an Entity, use:

mEntity.GetModule<CharacterCustomizationModule>();

You can access the interface of this EntityModule in EntityManagerObject:


Properties

public bool Enable

Whether to enable CharacterCustomizationModule for this Entity.


public CharacterAppearance mCharacterAppearance

The CharacterAppearance data of this Entity.