Table of Contents

Class RandoMonitor

Namespace
RandomizerCore
Assembly
RandomizerCore.dll

Class which handles events for the Randomizer class.

public class RandoMonitor
Inheritance
RandoMonitor
Inherited Members

Properties

PreviousStage

public (int StageIndex, TempState State)? PreviousStage { get; }

Property Value

(int StageIndex, TempState State)?

Stage

public (int StageIndex, TempState State)? Stage { get; }

Property Value

(int StageIndex, TempState State)?

Methods

SendBeginStage(string, int, TempState)

public void SendBeginStage(string stageLabel, int stageIndex, TempState state)

Parameters

stageLabel string
stageIndex int
state TempState

SendError(Exception)

public void SendError(Exception e)

Parameters

e Exception

SendEvent(RandoEventType, string?)

public void SendEvent(RandoEventType type, string? message = null)

Parameters

type RandoEventType
message string

SendMessage(string)

public void SendMessage(string message)

Parameters

message string

Events

OnError

public event Action<Exception>? OnError

Event Type

Action<Exception>

OnNewAttempt

public event Action? OnNewAttempt

Event Type

Action

OnSendEvent

public event Action<RandoEventType, string?>? OnSendEvent

Event Type

Action<RandoEventType, string>