Implements dataloading
This commit is contained in:
@@ -20,14 +20,14 @@ public interface ISecondaryEffect
|
||||
/// <summary>
|
||||
/// Parameters for the effect.
|
||||
/// </summary>
|
||||
public IReadOnlyDictionary<StringKey, object> Parameters { get; }
|
||||
public IReadOnlyDictionary<StringKey, object?> Parameters { get; }
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public class SecondaryEffectImpl : ISecondaryEffect
|
||||
{
|
||||
/// <inheritdoc cref="SecondaryEffectImpl" />
|
||||
public SecondaryEffectImpl(float chance, StringKey name, IReadOnlyDictionary<StringKey, object> parameters)
|
||||
public SecondaryEffectImpl(float chance, StringKey name, IReadOnlyDictionary<StringKey, object?> parameters)
|
||||
{
|
||||
Chance = chance;
|
||||
Name = name;
|
||||
@@ -41,5 +41,5 @@ public class SecondaryEffectImpl : ISecondaryEffect
|
||||
public StringKey Name { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public IReadOnlyDictionary<StringKey, object> Parameters { get; }
|
||||
public IReadOnlyDictionary<StringKey, object?> Parameters { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user