Table of Contents

Class SingleSlotCharacterGroup

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

Constructors

SingleSlotCharacterGroup(LayeredCharacterTypeSO, string)

public SingleSlotCharacterGroup(LayeredCharacterTypeSO characterType, string groupName = "Single")

Parameters

characterType LayeredCharacterTypeSO
groupName string

SingleSlotCharacterGroup(SingleSlotCharacterGroup_DTO, LayeredCharacterTypeSO)

public SingleSlotCharacterGroup(SingleSlotCharacterGroup.SingleSlotCharacterGroup_DTO DTO, LayeredCharacterTypeSO characterType)

Parameters

DTO SingleSlotCharacterGroup.SingleSlotCharacterGroup_DTO
characterType LayeredCharacterTypeSO

Properties

Character

public LayeredCharacter Character { get; }

Property Value

LayeredCharacter

Methods

AddCharacter(LayeredCharacter)

Set or replace the character in the Single Group.

public override bool AddCharacter(LayeredCharacter character)

Parameters

character LayeredCharacter

Returns

bool

True if the new character is successfully added/replaced. False if the new character is null.

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()

Remove the singlular character in the group if there is one.

public bool RemoveCharacter()

Returns

bool

True if there was a character in the group to remove. Otherwise False.