Show / Hide Table of Contents

Class NewWorldLayerSync

Inheritance
System.Object
NewWorldLayerSync
Namespace: Eco.Simulation.WorldLayers
Assembly: Eco.Simulation.dll
Syntax
public class NewWorldLayerSync : AutoSingleton<NewWorldLayerSync>

Constructors

NewWorldLayerSync()

Declaration
public NewWorldLayerSync()

Properties

AllRelationships

Declaration
public IEnumerable<IWorldLayerRelationship> AllRelationships { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IWorldLayerRelationship>

Interactions

Declaration
public List<IWorldLayerInteraction> Interactions { get; }
Property Value
Type Description
System.Collections.Generic.List<IWorldLayerInteraction>

Methods

AddInteraction(IWorldLayerInteraction)

Declaration
public static void AddInteraction(IWorldLayerInteraction interaction)
Parameters
Type Name Description
IWorldLayerInteraction interaction

AddPuller(IWorldLayerPuller)

Declaration
public static void AddPuller(IWorldLayerPuller puller)
Parameters
Type Name Description
IWorldLayerPuller puller

AddPusher(IWorldLayerPusher)

Declaration
public static void AddPusher(IWorldLayerPusher pusher)
Parameters
Type Name Description
IWorldLayerPusher pusher

OnServerStart()

Callback for the server statup.

Declaration
public static void OnServerStart()

PostWorldGenInit()

Declaration
public static void PostWorldGenInit()

Pull()

Declaration
public static void Pull()

Push()

Declaration
public static void Push()

ReInitLayer(String)

Declaration
public static bool ReInitLayer(string layerName)
Parameters
Type Name Description
System.String layerName
Returns
Type Description
System.Boolean

SetLayer(String, Single, Single)

Declaration
public static bool SetLayer(string layerName, float min, float max = NaNF)
Parameters
Type Name Description
System.String layerName
System.Single min
System.Single max
Returns
Type Description
System.Boolean

Tick()

Declaration
public static void Tick()
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾