JubeatPlus 3.9.11
Loading...
Searching...
No Matches
accessoryTableCell Class Reference

A cell showing an accessory's icon, name, unlock cost, and a lock overlay. More...

#include <accessoryTableCell.h>

Inheritance diagram for accessoryTableCell:
Collaboration diagram for accessoryTableCell:

Instance Methods

(instancetype) - initWithWidth:
 Builds the row's subviews, laid out against the table's width.
(void) - setInfo:
 Fills the row in from a four-element array.

Detailed Description

A cell showing an accessory's icon, name, unlock cost, and a lock overlay.

It has no properties: the four subviews are plain ivars, declared in the implementation.

Method Documentation

◆ initWithWidth:

- (instancetype) initWithWidth: (int) width

Builds the row's subviews, laid out against the table's width.

The width is not stored; it is only used to place the three right-hand subviews, so the layout is fixed at construction and does not follow a later resize.

Parameters
widthThe table's width in points.
Ghidra address:
0xe2dac
Ghidra address:
0xe2dac

◆ setInfo:

- (void) setInfo: (NSArray *) info

Fills the row in from a four-element array.

The array is positional, and only three of its four elements are read: element 1 is the name, element 2 the icon's base file name, and element 3 the cost. Element 0 is never touched.

Parameters
infoThe row's fields, in order.
Ghidra address:
0xe31b4
Ghidra address:
0xe31b4

The documentation for this class was generated from the following files: