Table of Contents

Class ObjectyAssemblyBuilderHistorian

Namespace
KSP.OAB
Assembly
Assembly-CSharp.dll
public class ObjectyAssemblyBuilderHistorian
Inheritance
ObjectyAssemblyBuilderHistorian
Inherited Members
Extension Methods

Constructors

ObjectyAssemblyBuilderHistorian(ObjectAssemblyBuilderEvents, ObjectAssemblyBuilderFileIO, ObjectAssemblyPartTracker)

public ObjectyAssemblyBuilderHistorian(ObjectAssemblyBuilderEvents events, ObjectAssemblyBuilderFileIO fileIO, ObjectAssemblyPartTracker partTracker)

Parameters

events ObjectAssemblyBuilderEvents
fileIO ObjectAssemblyBuilderFileIO
partTracker ObjectAssemblyPartTracker

Properties

History

public IReadOnlyCollection<OABHistoricalSnapshot> History { get; }

Property Value

IReadOnlyCollection<OABHistoricalSnapshot>

HistoryPosition

public int HistoryPosition { get; protected set; }

Property Value

int

Methods

ApplySnapshot(OABHistoricalSnapshot)

public void ApplySnapshot(OABHistoricalSnapshot snapshot)

Parameters

snapshot OABHistoricalSnapshot

GenerateSnapshot(OABActionType)

public OABHistoricalSnapshot GenerateSnapshot(OABActionType type = OABActionType.None)

Parameters

type OABActionType

Returns

OABHistoricalSnapshot

OnPostLateUpdate()

public void OnPostLateUpdate()

Redo()

public bool Redo()

Returns

bool

Undo()

public bool Undo()

Returns

bool