Table of Contents

Class LayeredCharacterGroupManager

Namespace
BlazerTech.CharacterManagement.Characters
Assembly
Assembly-CSharp.dll
public static class LayeredCharacterGroupManager
Inheritance
LayeredCharacterGroupManager

Fields

SavedCharactersDirectory

public const string SavedCharactersDirectory = "BlazerTech Character Management System"

Field Value

string

SavedCharactersFilename

public const string SavedCharactersFilename = "Saved Characters"

Field Value

string

groupsByType

public static readonly Dictionary<LayeredCharacterTypeSO, CharacterGroupRegistry> groupsByType

Field Value

Dictionary<LayeredCharacterTypeSO, CharacterGroupRegistry>

Methods

GetGroupRegistryForType(LayeredCharacterTypeSO)

public static CharacterGroupRegistry GetGroupRegistryForType(LayeredCharacterTypeSO type)

Parameters

type LayeredCharacterTypeSO

The LayeredCharacterTypeSO used to retrieve the CharacterGroupRegistry

Returns

CharacterGroupRegistry

Returns the CharacterGroupRegistry for the LayeredCharacterTypeSO supplied. Creates a new CharacterGroupRegistry if one does not already exist.

Initialize()

public static void Initialize()

LoadCharacterGroups()

Load previously saved character groups.

public static void LoadCharacterGroups()

SaveCharacterGroupsImmediate()

Saves all character groups to json files. Separated by Character Type.

public static void SaveCharacterGroupsImmediate()

ScheduleSaveCharacterGroups()

calls SaveCharacterGroupsImmediate() on the next frame.

public static Task ScheduleSaveCharacterGroups()

Returns

Task