Show / Hide Table of Contents

Class LogicChain

Represents a logic chain set up on an entity.

Inheritance
Object
LogicChain
Namespace: Modding.Levels
Assembly: Assembly-CSharp.dll
Syntax
public class LogicChain

Properties

Entity

The entity this logic chain belongs to.

Declaration
public Entity Entity { get; }
Property Value
Type Description
Entity

Events

The events that are part of this logic chain.

Declaration
public ReadOnlyCollection<LogicEvent> Events { get; }
Property Value
Type Description
ReadOnlyCollection<LogicEvent>

InternalObject

The internal representation of this logic chain.

WARNING: This is not part of the stable API and subject to change!

Declaration
public EntityLogic InternalObject { get; }
Property Value
Type Description
EntityLogic

IsModdedTrigger

Whether the trigger of this chain is added to the game by a mod.

Declaration
public bool IsModdedTrigger { get; }
Property Value
Type Description
Boolean

TriggerIdentifier

The unique identifier of the trigger of this chain.

Declaration
public string TriggerIdentifier { get; }
Property Value
Type Description
String

TriggerName

The display name of the trigger of this chain.

Declaration
public string TriggerName { get; }
Property Value
Type Description
String

Methods

Equals(LogicChain)

Declaration
protected bool Equals(LogicChain other)
Parameters
Type Name Description
LogicChain other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

From(EntityLogic)

Create a LogicChain from its internal representation.

Declaration
public static LogicChain From(EntityLogic logic)
Parameters
Type Name Description
EntityLogic logic
Returns
Type Description
LogicChain

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Operators

Equality(LogicChain, LogicChain)

Declaration
public static bool operator ==(LogicChain left, LogicChain right)
Parameters
Type Name Description
LogicChain left
LogicChain right
Returns
Type Description
Boolean

Inequality(LogicChain, LogicChain)

Declaration
public static bool operator !=(LogicChain left, LogicChain right)
Parameters
Type Name Description
LogicChain left
LogicChain right
Returns
Type Description
Boolean
Back to top Generated by DocFX