Skip to main content

ILinkProvider

An interface in Root.Township, Alta.Networking.Internal.

Hands out and tracks network entity links (identifier slots). EntityManager is the main implementation; LocalLinkProvider is another.

Methods​

MemberWhat it is
void Empty(NetworkEntityLink link)Clears a link so its slot can be reused.
void Fill(NetworkEntityLink link, NetworkEntity entity)Puts an entity into a link.
NetworkEntity GetEntity(uint identifier)The entity with this identifier, or null.
NetworkEntityLink GetLink(uint identifier)The link for an identifier.
NetworkEntityLink GetNextLink()The next free link for a new entity.

Used in​

Members of other types that take, return or hold a ILinkProvider: