Show / Hide Table of Contents

Interface IGraphNodeEntity

Namespace: Content.Shared.Construction
Assembly: Content.Shared.dll
Syntax
public interface IGraphNodeEntity

Methods

| Improve this Doc View Source

GetId(Nullable<EntityUid>, Nullable<EntityUid>, GraphNodeEntityArgs)

Gets the Robust.Shared.Prototypes.EntityPrototype ID for a node, given the of both the construction entity and the user entity. If the construction entity is null, then we are dealing with a "start construction" for an entity that does not exist yet. If the user entity is null, this node was reached through means other some sort of "user interaction".

Declaration
string? GetId(EntityUid? uid, EntityUid? userUid, GraphNodeEntityArgs args)
Parameters
Type Name Description
System.Nullable<EntityUid> uid

Uid of the construction entity.

System.Nullable<EntityUid> userUid

Uid of the user that caused the transition to the node.

GraphNodeEntityArgs args

Arguments with useful instances, etc.

Returns
Type Description
System.Nullable<System.String>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾