Show / Hide Table of Contents

Class CustomLocation

Main interface for adding custom locations to the game.
All custom locations have to be wrapped inside this class to add it to Jötunns ZoneManager.
Inheritance
object
CustomEntity
CustomLocation
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 CustomLocation : CustomEntity

Constructors

Name Description
CustomLocation(GameObject, GameObject, bool, LocationConfig) Custom location from a prefab with a LocationConfig attached.
CustomLocation(GameObject, bool, LocationConfig) Custom location from a prefab with a LocationConfig attached.

Properties

Name Description
FixReference Indicator if references from Mock<T>s will be replaced at runtime.
Location Associated Location component
Name Name of this custom location
Prefab The exterior prefab for this custom location.
ZoneLocation Associated ZoneSystem.ZoneLocation component

Methods

Name Description
IsCustomLocation(string) Helper method to determine if a location prefab with a given name is a custom location created with Jötunn.
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
☀
☾