Table of Contents

Struct DropResult

Namespace
RisingV.BossDrops.Systems
Assembly
RisingV.BossDrops.dll

Result of a loot drop operation, containing messages and error handling.

public readonly struct DropResult
Inherited Members
Extension Methods

Constructors

DropResult()

Result of a loot drop operation, containing messages and error handling.

public DropResult()

Properties

Errors

List of error messages logged during the loot drop operation, filtered by LogLevel.Error.

public List<(LogLevel, string)> Errors { get; }

Property Value

List<(LogLevel, string)>

HasError

Indicates whether there were any errors or warnings during the loot drop operation.

public bool HasError { get; }

Property Value

bool

HasWarning

Indicates whether there were any warnings during the loot drop operation.

public bool HasWarning { get; }

Property Value

bool

Messages

List of messages logged during the loot drop operation, including errors and warnings.

public List<(LogLevel, string)> Messages { get; }

Property Value

List<(LogLevel, string)>

Methods

LogErrors(Logger)

Logs all messages from the loot drop operation to the provided logger.

public void LogErrors(Logger log)

Parameters

log Logger