Skip to content

Get Sansar

Script API

GenericEnumerable<T>.GetItem

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delegate Namespace Sansar.Utility

Delegate which returns an item by index.

public delegate T GenericEnumerable<T>.GetItem(
uint index
) where T : class
ParameterTypeDescription
indexuintThe index of the item to retrieve. Items in the range [0..GenericEnumerable<T>.Count) exist, though they may be null.

Returns: T — The item or null.

Remarks

Indexing outside the bounds of the collection may return null or thow an exception.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.