Table of Contents

Class TutorialState

Namespace
Root
Assembly
SPZGameAssembly.dll
public class TutorialState : ITutorialState, ITutorialStateReadAccess, ITutorialStateWriteAccess
Inheritance
object
TutorialState
Implements
Extension Methods

Constructors

TutorialState()

public TutorialState()

Properties

CompletedEntryIds

public IEnumerable<TutorialEntryId> CompletedEntryIds { get; }

Property Value

IEnumerable<TutorialEntryId>

CompletedFlags

public IEnumerable<TutorialFlag> CompletedFlags { get; }

Property Value

IEnumerable<TutorialFlag>

CurrentPlacement

public BuiltinPlacementOfInterest CurrentPlacement { get; }

Property Value

BuiltinPlacementOfInterest

InteractedPlacers

public IEnumerable<SerializedPlacerId> InteractedPlacers { get; }

Property Value

IEnumerable<SerializedPlacerId>

InteractionStateChanged

public IEvent InteractionStateChanged { get; }

Property Value

IEvent

OnCompletionStateChanged

public IEvent OnCompletionStateChanged { get; }

Property Value

IEvent

Methods

Deserialize(TutorialStateSerializedData)

public void Deserialize(TutorialStateSerializedData data)

Parameters

data TutorialStateSerializedData

IsEntryCompleted(TutorialEntryId)

public bool IsEntryCompleted(TutorialEntryId id)

Parameters

id TutorialEntryId

Returns

bool

IsFlagCompleted(TutorialFlag)

public bool IsFlagCompleted(TutorialFlag flag)

Parameters

flag TutorialFlag

Returns

bool

MarkPlacerAsInteracted(SerializedPlacerId)

public void MarkPlacerAsInteracted(SerializedPlacerId interactedPlacer)

Parameters

interactedPlacer SerializedPlacerId

Reset()

public void Reset()

Serialize()

public TutorialStateSerializedData Serialize()

Returns

TutorialStateSerializedData

TryCompleteEntry(TutorialEntryId)

public bool TryCompleteEntry(TutorialEntryId id)

Parameters

id TutorialEntryId

Returns

bool

TryCompleteFlag(TutorialFlag)

public bool TryCompleteFlag(TutorialFlag flag)

Parameters

flag TutorialFlag

Returns

bool

TryUncompleteEntry(TutorialEntryId)

public bool TryUncompleteEntry(TutorialEntryId id)

Parameters

id TutorialEntryId

Returns

bool

TryUncompleteFlag(TutorialFlag)

public bool TryUncompleteFlag(TutorialFlag flag)

Parameters

flag TutorialFlag

Returns

bool

UpdateCurrentPlacement(BuiltinPlacementOfInterest)

public void UpdateCurrentPlacement(BuiltinPlacementOfInterest placementOfInterest)

Parameters

placementOfInterest BuiltinPlacementOfInterest