18 lines
511 B
C#
18 lines
511 B
C#
using System;
|
|
|
|
namespace T3.Core.Operator.Slots;
|
|
|
|
public interface ISlot
|
|
{
|
|
Guid Id { get; set; }
|
|
Type ValueType { get; }
|
|
Instance Parent { get; set; }
|
|
DirtyFlag DirtyFlag { get; }
|
|
int InvalidateGraph();
|
|
void Update(EvaluationContext context);
|
|
bool IsDisabled { set; }
|
|
void AddConnection(ISlot source, int index = 0);
|
|
void RemoveConnection(int index = 0);
|
|
bool HasInputConnections { get; }
|
|
public bool TryGetFirstConnection(out ISlot connectedSlot);
|
|
} |