Milestone Eligibility Check
Check Player Milestone Metric Eligibility.
const {eligible, completed, toComplete, error, errorMessage } = await newDispatch.playerMilestoneEligibilityCheck(
"0x0106",
1,
1,
factoryQuestData);/* Player's profile address. */
playerProfile: `0x${string}`;
/* Quest Id. */
questId: number;
/* Milestone Id. */
milestone: number;
/* Kinora Quest Data Address. */
kinoraQuestDataAddress: `0x${string}`;/* A boolean for if the player is eligible or not. */
eligible?: boolean;
/* An array including all completed activity for each video. */
completed?: PlayerVideoActivity[];
/* An array including all to be completed activity for each video. */
toComplete?: PlayerVideoActivity[];
/* Boolean to indicate whether an error was encountered during joining. */
error: boolean;
/* Message of the encountered error. */
errorMessage?: string;Last updated