Class CustomStatusEffect
Main interface for adding custom status effects to the game.
All custom status effects have to be wrapped inside this class to add it to Jötunns ItemManager.
All custom status effects have to be wrapped inside this class to add it to Jötunns ItemManager.
Inherited Members
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomStatusEffect : CustomEntity
Constructors
Name | Description |
---|---|
CustomStatusEffect(StatusEffect, bool) | Custom status effect from a StatusEffect. Can fix references for Mock<T>s. |
Properties
Name | Description |
---|---|
FixReference | Indicator if references from Mock<T>s will be replaced at runtime. |
StatusEffect | The StatusEffect for this custom status effect. |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
IsValid() | Checks if a custom status effect is valid (i.e. has a StatusEffect). |
ToString() | Returns a string that represents the current object. |