Show / Hide Table of Contents

Class CustomClutter

Main interface for adding custom clutter to the game.
Clutter are client side only objects scattered on the ground.
All custom clutter have to be wrapped inside this class to add it to Jötunns ZoneManager.
Inheritance
object
CustomEntity
CustomClutter
Inherited Members
CustomEntity.SourceMod
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomClutter : CustomEntity

Constructors

Name Description
CustomClutter(AssetBundle, string, bool, ClutterConfig) Custom clutter from a prefab loaded from an AssetBundle.
Can fix references for mocks.
CustomClutter(GameObject, bool, ClutterConfig) Custom clutter from a prefab.
Can fix references for mocks.

Properties

Name Description
Clutter Associated ClutterSystem.Clutter class.
FixReference Indicator if references from Mock<T>s will be replaced at runtime.
Name Name of this custom clutter.
Prefab The prefab for this custom clutter.

Methods

Name Description
IsValid() Checks if a custom clutter is valid (i.e. has a prefab).
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
☀
☾