Table of Contents

Class CharacterDraft

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

Wrapper class used when editting characters in the Character Creation Menu

public abstract class CharacterDraft : IDisposable
Inheritance
CharacterDraft
Implements
Derived

Constructors

CharacterDraft(LayeredCharacter)

public CharacterDraft(LayeredCharacter character)

Parameters

character LayeredCharacter

Fields

BaseSnapshot

A snapshot of the Character captured when the CharacterDraft is first created.

public readonly LayeredCharacterSnapshot BaseSnapshot

Field Value

LayeredCharacterSnapshot

Character

public readonly LayeredCharacter Character

Field Value

LayeredCharacter

Properties

LastSaveSnapshot

A snapshot of the Character captured every time the SaveCharacter() is called.

public LayeredCharacterSnapshot LastSaveSnapshot { get; protected set; }

Property Value

LayeredCharacterSnapshot

Methods

Dispose()

public void Dispose()

ResetCharacter()

Resets the Character to the state it was in when CharacterDraft was first created.

public void ResetCharacter()

SaveCharacter()

public abstract LayeredCharacter SaveCharacter()

Returns

LayeredCharacter

Events

OnCharacterLayerOptionUpdated

Called when a layer of the character is updated.

public event EventHandler<CharacterLayer.LayerOptionUpdatedEventArgs> OnCharacterLayerOptionUpdated

Event Type

EventHandler<CharacterLayer.LayerOptionUpdatedEventArgs>

OnCharacterUpdated

Called when a layer of the character or the characters display name is updated.

public event EventHandler OnCharacterUpdated

Event Type

EventHandler