import { Character, Score, Unlocked } from '@gecogvidanto/shared'; declare type UnlockedScore = { [K in keyof Score]: K extends 'values' | 'money' ? Unlocked : Score[K]; }; /** * A character coming from server. */ export default interface ServerCharacter extends Character { /** * The score for the current character at the current round. This will create an empty score if it does * not exist. Only the current score may be modifiable. * * Plugins should only modify NPC scores, as player scores are managed by the server. */ readonly currentScore: UnlockedScore; /** * Total score may be modified by plugins. During the set, total score is the count of low money, so take * care of the {@link EconomicSystem#valueCost}. */ totalScore: number; } export {};