C4 Engine
C4 Engine API Documentation


Defined in:  TSLink.h
Returns the first link that points to an object.

Link<type> *GetFirstLink(voidconst;

The GetFirstLink function returns a pointer to the first Link object that is currently pointing to a link target. The ListElement::GetNextListElement function can then be used to iterate through all links currently pointing to the same link target. If there are no links currently pointing to a link target, then GetFirstLink returns nullptr.