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
characterLayeredCharacterThe LayeredCharacter to create a snapshot of.
notestring
Properties
CharacterDisplayName
public string CharacterDisplayName { get; }
Property Value
CharacterType
public LayeredCharacterTypeSO CharacterType { get; }
Property Value
LayerOptions
public IReadOnlyList<CharacterLayerOption> LayerOptions { get; }
Property Value
Note
A note often containing what was changed. Used when displaying snapshot history in the Character Creator.
public string Note { get; }
Property Value
Methods
IsIdentical(LayeredCharacter)
Returns true if all layer options match, otherwise false.
public bool IsIdentical(LayeredCharacter character)
Parameters
characterLayeredCharacter
Returns
IsIdentical(LayeredCharacterSnapshot)
Returns true if all layer options match, otherwise false.
public bool IsIdentical(LayeredCharacterSnapshot characterSnapshot)
Parameters
characterSnapshotLayeredCharacterSnapshot