list.field
リストにある項目のフィールドを読み取ります。
シグネチャ
list.field(ref: ElementRef, key: string, item: ContentRef, field: string): AbiValue
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
ref | ElementRef | 必須 | 対象のエレメント。通常は self です。 |
key | string | 必須 | リストの名前。 |
item | ContentRef | 必須 | 読み取る項目。プレイヤーの選択、または行のキーです。 |
field | string | 必須 | 項目のフィールド名。 |
戻り値
AbiValue フィールドの値。リストに項目がないときは null。

