Table of Contents

Class LayeredCharacterSnapshot

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

A snapshot of a character that can later be applied to any character using the same LayeredCharacterTypeSO.

[Serializable]
public class LayeredCharacterSnapshot
Inheritance
LayeredCharacterSnapshot

Constructors

LayeredCharacterSnapshot(LayeredCharacter, string)

Create a new snapshot from A LayeredCharacter.

public LayeredCharacterSnapshot(LayeredCharacter character, string note = "")

Parameters

character LayeredCharacter

The LayeredCharacter to create a snapshot of.

note string

Properties

CharacterDisplayName

public string CharacterDisplayName { get; }

Property Value

string

CharacterType

public LayeredCharacterTypeSO CharacterType { get; }

Property Value

LayeredCharacterTypeSO

LayerOptions

public IReadOnlyList<CharacterLayerOption> LayerOptions { get; }

Property Value

IReadOnlyList<CharacterLayerOption>

Note

A note often containing what was changed. Used when displaying snapshot history in the Character Creator.

public string Note { get; }

Property Value

string

Methods

IsIdentical(LayeredCharacter)

Returns true if all layer options match, otherwise false.

public bool IsIdentical(LayeredCharacter character)

Parameters

character LayeredCharacter

Returns

bool

IsIdentical(LayeredCharacterSnapshot)

Returns true if all layer options match, otherwise false.

public bool IsIdentical(LayeredCharacterSnapshot characterSnapshot)

Parameters

characterSnapshot LayeredCharacterSnapshot

Returns

bool