Files
iamsub 7518cd2abc otoca: split the plugin into handlers, models and helpers
index.ts now only registers settings and routes. Handlers are grouped
by part of the game (version, card, key, print, play, item, gift), the
stored documents live in models/, and the closet, player creation, db
access, game data and helpers each have their own file. No behavior
change: the test flow gives the same results.
2026-09-29 15:32:48 +09:00

14 lines
379 B
TypeScript

export interface Doll {
collection: 'doll';
doll_seq: number;
user_seq: number;
doll_id: number;
doll_name: string;
doll_seed: number;
doll_level: number;
equip: number[][]; // 4 slots [equip_id, grade]: weapon, top, bottom, shoes
accessory: number[]; // 2 slots of accessory_seq, 0 = empty
makeup: number[]; // hair_color, eye_color
luck_offset: number;
}