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
SavedCharactersFilename
public const string SavedCharactersFilename = "Saved Characters"
Field Value
groupsByType
public static readonly Dictionary<LayeredCharacterTypeSO, CharacterGroupRegistry> groupsByType
Field Value
Methods
GetGroupRegistryForType(LayeredCharacterTypeSO)
public static CharacterGroupRegistry GetGroupRegistryForType(LayeredCharacterTypeSO type)
Parameters
typeLayeredCharacterTypeSOThe 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()