StonehearthEditor.GameMasterDataManager.TryAddEdge C# (CSharp) Method

TryAddEdge() public method

public TryAddEdge ( string sourceId, string destinationId ) : bool
sourceId string
destinationId string
return bool
        public bool TryAddEdge(string sourceId, string destinationId)
        {
            GameMasterNode source = GetGameMasterNode(sourceId);
            GameMasterNode destination = GetGameMasterNode(destinationId);
            return source.NodeData.AddOutEdge(destination);
        }