diff --git a/package/client/resource/index.ts b/package/client/resource/index.ts index 300fac493..307b1377c 100644 --- a/package/client/resource/index.ts +++ b/package/client/resource/index.ts @@ -6,6 +6,7 @@ export * from './interface/menu'; export * from './interface/notify'; export * from './interface/progress'; export * from './interface/textui'; +export * from './interface/skillcheck'; export * from './streaming'; diff --git a/package/client/resource/interface/skillcheck.ts b/package/client/resource/interface/skillcheck.ts new file mode 100644 index 000000000..8056354dc --- /dev/null +++ b/package/client/resource/interface/skillcheck.ts @@ -0,0 +1,4 @@ +type SkillCheckDifficulty = 'easy' | 'medium' | 'hard' | { areaSize: number; speedMultiplier: number }; + +export const skillCheck = (difficulty: SkillCheckDifficulty | SkillCheckDifficulty[]) => + exports.ox_lib.skillCheck(difficulty);