Table of Contents

Class FlexibleCharacterGroup

Namespace
BlazerTech.CharacterManagement.Characters
Assembly
Assembly-CSharp.dll
[Serializable]
public sealed class FlexibleCharacterGroup : CharacterGroupBase
Inheritance
FlexibleCharacterGroup
Inherited Members

Constructors

FlexibleCharacterGroup(FlexibleCharacterGroup_DTO, LayeredCharacterTypeSO)

public FlexibleCharacterGroup(FlexibleCharacterGroup.FlexibleCharacterGroup_DTO DTO, LayeredCharacterTypeSO characterType)

Parameters

DTO FlexibleCharacterGroup.FlexibleCharacterGroup_DTO
characterType LayeredCharacterTypeSO

FlexibleCharacterGroup(LayeredCharacterTypeSO, string)

public FlexibleCharacterGroup(LayeredCharacterTypeSO characterType, string groupName)

Parameters

characterType LayeredCharacterTypeSO
groupName string

Properties

Characters

public IReadOnlyList<LayeredCharacter> Characters { get; }

Property Value

IReadOnlyList<LayeredCharacter>

Methods

AddCharacter(LayeredCharacter)

public override bool AddCharacter(LayeredCharacter character)

Parameters

character LayeredCharacter

Returns

bool

ContainsCharacter(LayeredCharacter)

public override bool ContainsCharacter(LayeredCharacter character)

Parameters

character LayeredCharacter

Returns

bool

ContainsCharacterWithGUID(Guid)

public override bool ContainsCharacterWithGUID(Guid guid)

Parameters

guid Guid

Returns

bool

ContainsCharacterWithName(string)

public override bool ContainsCharacterWithName(string name)

Parameters

name string

Returns

bool

RemoveCharacter(LayeredCharacter)

public bool RemoveCharacter(LayeredCharacter character)

Parameters

character LayeredCharacter

Returns

bool

SwapCharacters(int, int)

Swaps two characters at the specified indexes.

public void SwapCharacters(int indexA, int indexB)

Parameters

indexA int

The index of the first character to swap.

indexB int

The index of the second character to swap.

Exceptions

ArgumentOutOfRangeException

Thrown if indexA or indexB is outside the bounds of the list.