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
System.Object
CustomEntity
CustomLocation
Inherited Members
CustomEntity.SourceMod
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomLocation : CustomEntity

Constructors

| Improve this Doc View Source

CustomLocation(GameObject, GameObject, LocationConfig)

Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, GameObject interiorPrefab, LocationConfig locationConfig)
Parameters
Type Name Description
GameObject exteriorPrefab The exterior prefab for this custom location.
GameObject interiorPrefab The interior prefab for this custom location.
LocationConfig locationConfig The LocationConfig for this custom location.
| Improve this Doc View Source

CustomLocation(GameObject, LocationConfig)

Custom location from a prefab with a LocationConfig attached.
Declaration
public CustomLocation(GameObject exteriorPrefab, LocationConfig locationConfig)
Parameters
Type Name Description
GameObject exteriorPrefab The exterior prefab for this custom location.
LocationConfig locationConfig The LocationConfig for this custom location.

Properties

| Improve this Doc View Source

Location

Associated Location component
Declaration
public Location Location { get; }
Property Value
Type Description
Location
| Improve this Doc View Source

Name

Name of this custom location
Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Prefab

The exterior prefab for this custom location.
Declaration
public GameObject Prefab { get; }
Property Value
Type Description
GameObject
| Improve this Doc View Source

ZoneLocation

Associated component
Declaration
public ZoneSystem.ZoneLocation ZoneLocation { get; }
Property Value
Type Description
ZoneSystem.ZoneLocation

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾