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

Keeps at most twenty recently seen owners, each with the time it was recorded. More...

#include <LatelyJcfListManager.h>

Inheritance diagram for LatelyJcfListManager:
Collaboration diagram for LatelyJcfListManager:

Instance Methods

(void) - addJcfOwner:
 Records an owner, evicting an existing entry once the list is full.
(void) - removeJcfOwner:
 Removes every entry naming an owner.
(nullable NSMutableArray *) - getJcfOwnerList
 The list itself, not a copy.

Class Methods

(instancetype) + sharedManager
 The shared list.

Detailed Description

Keeps at most twenty recently seen owners, each with the time it was recorded.

Method Documentation

◆ addJcfOwner:

- (void) addJcfOwner: (nullable NSString *) owner

Records an owner, evicting an existing entry once the list is full.

Two things here do not do what the name suggests, both recorded in TYPES_PENDING.md: the entry evicted when the list is full is the one with the latest date rather than the earliest, and the duplicate check runs only on the full path and skips the first entry.

Parameters
ownerThe owner's name.
Ghidra address:
0x1e2b14

◆ getJcfOwnerList

- (NSMutableArray *) getJcfOwnerList

The list itself, not a copy.

Returns
The backing array, whose elements are two-element arrays.
Ghidra address:
0x1e2e94
Ghidra address:
0x1e2e94

◆ removeJcfOwner:

- (void) removeJcfOwner: (nullable NSString *) owner

Removes every entry naming an owner.

Parameters
ownerThe owner's name.
Ghidra address:
0x1e2d7c

◆ sharedManager

+ (instancetype) sharedManager
Initial value:
{
NSMutableArray *list

The shared list.

Returns
The singleton.
Ghidra address:
0x1e2a08
Ghidra address:
0x1e2a08
Ghidra address:
0x1e2a4c

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