magicrealmsshared 0.6.30 → 0.6.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/charcter.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export type GameCharacter<IDFormat, DateFormat> = ObjectWithId<IDFormat> & {
|
|
|
13
13
|
portrait: string;
|
|
14
14
|
equipment: Equipment<IDFormat, DateFormat>;
|
|
15
15
|
inventory: GameItem<IDFormat, DateFormat>[];
|
|
16
|
+
lastUpdate: DateFormat;
|
|
16
17
|
};
|
|
17
18
|
export declare const GenderSchema: z.ZodEnum<["f", "m"]>;
|
|
18
19
|
export type Gender = z.infer<typeof GenderSchema>;
|
package/dist/types/items.d.ts
CHANGED
|
@@ -12,11 +12,17 @@ type GameItemCommon<IDFormat, DateFormat> = ObjectWithId<IDFormat> & {
|
|
|
12
12
|
export type ManaCrytal<IDFormat, DateFormat> = GameItemCommon<IDFormat, DateFormat> & {
|
|
13
13
|
type: EGameItemType.ManaCrytal;
|
|
14
14
|
color: number;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
maxSoft: number;
|
|
16
|
+
maxHard: number;
|
|
17
|
+
current: number;
|
|
18
|
+
currentGain: number;
|
|
17
19
|
};
|
|
18
20
|
export type HeadGear<IDFormat, DateFormat> = GameItemCommon<IDFormat, DateFormat> & {
|
|
19
21
|
type: EGameItemType.HeadGear;
|
|
20
22
|
};
|
|
21
23
|
export type GameItem<IDFormat, DateFormat> = HeadGear<IDFormat, DateFormat> | ManaCrytal<IDFormat, DateFormat>;
|
|
24
|
+
export type GameItemTemplate<IDFormat> = ObjectWithId<IDFormat> & {
|
|
25
|
+
name: string;
|
|
26
|
+
template: Record<string, any>;
|
|
27
|
+
};
|
|
22
28
|
export {};
|