Struct DropResult
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
HasError
Indicates whether there were any errors or warnings during the loot drop operation.
public bool HasError { get; }
Property Value
HasWarning
Indicates whether there were any warnings during the loot drop operation.
public bool HasWarning { get; }
Property Value
Messages
List of messages logged during the loot drop operation, including errors and warnings.
public List<(LogLevel, string)> Messages { get; }
Property Value
Methods
LogErrors(Logger)
Logs all messages from the loot drop operation to the provided logger.
public void LogErrors(Logger log)
Parameters
log
Logger