メインコンテンツへスキップ
Docs
›
list.field

list.field

List

リストにある項目のフィールドを読み取ります。

シグネチャ

list.field(ref: ElementRef, key: string, item: ContentRef, field: string): AbiValue

パラメーター

名前型必須説明
refElementRef必須対象のエレメント。通常は self です。
keystring必須リストの名前。
itemContentRef必須読み取る項目。プレイヤーの選択、または行のキーです。
fieldstring必須項目のフィールド名。

戻り値

AbiValue フィールドの値。リストに項目がないときは null。