mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-19 05:46:27 +01:00
20 lines
674 B
TypeScript
20 lines
674 B
TypeScript
import { CategoryData } from './CategoryData';
|
|
|
|
export interface IAvatarEditorCategoryModel
|
|
{
|
|
init(): void;
|
|
dispose(): void;
|
|
reset(): void;
|
|
getCategoryData(category: string): CategoryData;
|
|
selectPart(category: string, partIndex: number): void;
|
|
selectColor(category: string, colorIndex: number, paletteId: number): void;
|
|
hasClubSelectionsOverLevel(level: number): boolean;
|
|
hasInvalidSelectedItems(ownedItems: number[]): boolean;
|
|
stripClubItemsOverLevel(level: number): boolean;
|
|
stripInvalidSellableItems(): boolean;
|
|
categories: Map<string, CategoryData>;
|
|
canSetGender: boolean;
|
|
maxPaletteCount: number;
|
|
name: string;
|
|
}
|