Class LogicChain
Represents a logic chain set up on an entity.
Assembly: Assembly-CSharp.dll
Syntax
Properties
Entity
The entity this logic chain belongs to.
Declaration
public Entity Entity { get; }
Property Value
Events
The events that are part of this logic chain.
Declaration
public ReadOnlyCollection<LogicEvent> Events { get; }
Property Value
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
TriggerIdentifier
The unique identifier of the trigger of this chain.
Declaration
public string TriggerIdentifier { get; }
Property Value
TriggerName
The display name of the trigger of this chain.
Declaration
public string TriggerName { get; }
Property Value
Methods
Equals(LogicChain)
Declaration
protected bool Equals(LogicChain other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
From(EntityLogic)
Create a LogicChain from its internal representation.
Declaration
public static LogicChain From(EntityLogic logic)
Parameters
Type |
Name |
Description |
EntityLogic |
logic |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(LogicChain, LogicChain)
Declaration
public static bool operator ==(LogicChain left, LogicChain right)
Parameters
Returns
Inequality(LogicChain, LogicChain)
Declaration
public static bool operator !=(LogicChain left, LogicChain right)
Parameters
Returns