Table of Contents

Class CharacterGroupRegistry

Namespace
BlazerTech.CharacterManagement.Characters
Assembly
Assembly-CSharp.dll

Holds a collection of three different types of groups. An instance of this class is used for each Layered Character Type.

public sealed class CharacterGroupRegistry
Inheritance
CharacterGroupRegistry

Constructors

CharacterGroupRegistry(CharacterTypeGroups_DTO, LayeredCharacterTypeSO)

public CharacterGroupRegistry(CharacterTypeGroups_DTO DTO, LayeredCharacterTypeSO characterType)

Parameters

DTO CharacterTypeGroups_DTO
characterType LayeredCharacterTypeSO

CharacterGroupRegistry(LayeredCharacterTypeSO)

public CharacterGroupRegistry(LayeredCharacterTypeSO type)

Parameters

type LayeredCharacterTypeSO

Fields

SuccessfullyInitialized

public readonly bool SuccessfullyInitialized

Field Value

bool

Properties

CharacterType

public LayeredCharacterTypeSO CharacterType { get; }

Property Value

LayeredCharacterTypeSO

FixedGroups

public Dictionary<string, FixedCharacterGroup> FixedGroups { get; }

Property Value

Dictionary<string, FixedCharacterGroup>

FlexibleGroups

public Dictionary<string, FlexibleCharacterGroup> FlexibleGroups { get; }

Property Value

Dictionary<string, FlexibleCharacterGroup>

PrimaryCharacterSlot

public SingleSlotCharacterGroup PrimaryCharacterSlot { get; }

Property Value

SingleSlotCharacterGroup

Methods

CreateFixedGroup(string, IList<LayeredCharacter>)

public FixedCharacterGroup CreateFixedGroup(string name, IList<LayeredCharacter> characters)

Parameters

name string
characters IList<LayeredCharacter>

Returns

FixedCharacterGroup

CreateFixedGroup(string, int)

public FixedCharacterGroup CreateFixedGroup(string name, int size)

Parameters

name string
size int

Returns

FixedCharacterGroup

CreateFlexibleGroup(string)

public FlexibleCharacterGroup CreateFlexibleGroup(string name)

Parameters

name string

Returns

FlexibleCharacterGroup

GetDataTransferObject()

public CharacterTypeGroups_DTO GetDataTransferObject()

Returns

CharacterTypeGroups_DTO

GetFixedGroup(string)

public FixedCharacterGroup GetFixedGroup(string name)

Parameters

name string

Returns

FixedCharacterGroup

GetFlexibleGroup(string)

public FlexibleCharacterGroup GetFlexibleGroup(string name)

Parameters

name string

Returns

FlexibleCharacterGroup

GetOrCreateFixedGroup(string, int)

public FixedCharacterGroup GetOrCreateFixedGroup(string name, int size)

Parameters

name string
size int

Returns

FixedCharacterGroup

GetOrCreateFlexibleGroup(string)

public FlexibleCharacterGroup GetOrCreateFlexibleGroup(string name)

Parameters

name string

Returns

FlexibleCharacterGroup