Make bonus rules visible: highlighted BONUS line on the alerts overlay, streamgoals_bonus action
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e2ca96eed
commit
c7f2dcffeb
9 files changed
+187
-3
No files matched your search
@@ -28,4 +28,13 @@ interface OverlayDataSource {
|
||||
* @return array<int,array<string,mixed>>
|
||||
*/
|
||||
public function donations( ?int $sinceId, int $limit ): array;
|
||||
|
||||
/**
|
||||
* Bonus event names that fired (and were not reversed) per donation, in firing order. One lookup
|
||||
* for the whole page. Raw stored strings; Payloads sanitizes them. Donations without bonuses may be omitted.
|
||||
*
|
||||
* @param int[] $donationIds
|
||||
* @return array<int,string[]> donation id => event names
|
||||
*/
|
||||
public function bonusesFor( array $donationIds ): array;
|
||||
}
|
||||
Reference in new issue
Block a user