Başvuru
Bu sayfa İngilizce gösteriliyor.
advancement
Advancement descriptions and progress records.
Declarations from the script contract strawberry:plugin, version 0.2.0, without source comments.
WIT declarations
use text.{text-component};
enum frame-type {
task,
challenge,
goal,
}
record advancement-display {
title: text-component,
description: text-component,
frame: frame-type,
show-toast: bool,
hidden: bool,
announce-to-chat: bool,
background: option<string>,
x: f32,
y: f32,
}
record advancement-info {
id: string,
parent-id: option<string>,
criteria: list<string>,
display: option<advancement-display>,
}
record advancement-progress {
advancement-id: string,
done: bool,
awarded-criteria: list<string>,
remaining-criteria: list<string>,
}