Show / Hide Table of Contents

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.
Inheritance
object
CustomEntity
CustomStatusEffect
Inherited Members
CustomEntity.SourceMod
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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.

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾