Class PopulationManager
Manages a pool of civilian mobiles (wandering NPCs) for the local town environment.
Attached to the same GameObject as DaggerfallLocation and CityNavigation by environment layout process in StreamingWorld.
Inheritance
PopulationManager
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(DaggerfallLocation))]
[RequireComponent(typeof(CityNavigation))]
public class PopulationManager : MonoBehaviour
Properties
|
Improve this Doc
View Source
MaxPopulation
Gets max population calculated for this location.
Declaration
public int MaxPopulation { get; }
Property Value
|
Improve this Doc
View Source
PopulationPool
Declaration
public List<PopulationManager.PoolItem> PopulationPool { get; }
Property Value
Events
|
Improve this Doc
View Source
OnMobileNPCCreate
Declaration
public static event PopulationManager.OnMobileNPCCreateHandler OnMobileNPCCreate
Event Type
|
Improve this Doc
View Source
OnMobileNPCDisable
Declaration
public static event PopulationManager.OnMobileNPCDisableHandler OnMobileNPCDisable
Event Type
|
Improve this Doc
View Source
OnMobileNPCEnable
Declaration
public static event PopulationManager.OnMobileNPCEnableHandler OnMobileNPCEnable
Event Type
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)