mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-16 14:42:53 +08:00
262ee38ded
these files are NOT directly compatible with Grasscutter, and require additional modifications to the codebase to work.
18 lines
538 B
Java
18 lines
538 B
Java
package emu.grasscutter.data.custom;
|
|
|
|
import emu.grasscutter.data.common.BaseTrialActivityData;
|
|
import lombok.*;
|
|
import java.util.List;
|
|
|
|
@Data
|
|
public class TrialAvatarActivityCustomData implements BaseTrialActivityData {
|
|
private int ScheduleId;
|
|
private List<Integer> AvatarIndexIdList;
|
|
private List<Integer> RewardIdList;
|
|
|
|
public void onLoad() {
|
|
this.AvatarIndexIdList = AvatarIndexIdList.stream().filter(x -> x > 0).toList();
|
|
this.RewardIdList = RewardIdList.stream().filter(x -> x > 0).toList();
|
|
}
|
|
}
|