added prepared statut and it's sync
This commit is contained in:
@@ -353,6 +353,17 @@ export class HelpersL5r5e {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a refresh to socket, and on local windows app
|
||||
* @param {String} appId Application name
|
||||
*/
|
||||
static refreshLocalAndSocket(appId) {
|
||||
game.l5r5e.sockets.refreshAppId(appId);
|
||||
Object.values(ui.windows)
|
||||
.find((e) => e.id === appId)
|
||||
?.refresh();
|
||||
}
|
||||
|
||||
/**
|
||||
* Compute the Xp cost for cursus and total
|
||||
* @param {ItemL5r5e|ItemL5r5e[]} itemsList Item Data
|
||||
|
||||
Reference in New Issue
Block a user