Table of Contents

Interface INestedIdentifiableTrySearch<TIdentifiable>

Namespace
MonkeyLoader.Meta
Assembly
MonkeyLoader.dll

Defines the interface for a try-search of an INestedIdentifiable item.

public interface INestedIdentifiableTrySearch<TIdentifiable> where TIdentifiable : INestedIdentifiable

Type Parameters

TIdentifiable

The type of the INestedIdentifiable items.

Methods

ByFullId(string, out TIdentifiable?)

Tries searching for an item by its given FullId.

bool ByFullId(string fullId, out TIdentifiable? item)

Parameters

fullId string

The FullId of the item to search for.

item TIdentifiable

The item if found; otherwise, default(TIdentifiable).

Returns

bool

true if an item was found; otherwise, false.