@hylithiumjs.com/core 1.3.1 → 1.3.3
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/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -0
- package/dist/types.d.ts +1377 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,32 @@ import type { EventHandler, EventType, EventTitleUtil as EventTitleUtilType, MyS
|
|
|
4
4
|
export declare const EventTitleUtil: EventTitleUtilType;
|
|
5
5
|
export declare const MySQL: MySQLManagerType;
|
|
6
6
|
export declare const TableBuilder: TableBuilderConstructor;
|
|
7
|
+
import { NPCPluginStatics, BuilderManager as BuilderManagerType, ObjectivePlugin as ObjectivePluginType, ReputationPlugin as ReputationPluginType, ShopPlugin as ShopPluginType } from "./types";
|
|
8
|
+
export declare const NPCPlugin: NPCPluginStatics;
|
|
9
|
+
export declare const BuilderManager: BuilderManagerType;
|
|
10
|
+
export declare const ObjectivePlugin: {
|
|
11
|
+
get(): ObjectivePluginType;
|
|
12
|
+
};
|
|
13
|
+
export declare const ReputationPlugin: {
|
|
14
|
+
get(): ReputationPluginType;
|
|
15
|
+
};
|
|
16
|
+
export declare const ShopPlugin: {
|
|
17
|
+
get(): ShopPluginType;
|
|
18
|
+
};
|
|
19
|
+
export declare const NPCObjectivesPlugin: any;
|
|
20
|
+
export declare const NPCReputationPlugin: any;
|
|
21
|
+
export declare const NPCShopPlugin: any;
|
|
22
|
+
export declare const ObjectiveShopPlugin: any;
|
|
23
|
+
export declare const ObjectiveReputationPlugin: any;
|
|
24
|
+
export declare const ShopReputationPlugin: any;
|
|
25
|
+
export declare const ShopAsset: any;
|
|
26
|
+
export declare const BarterShopAsset: any;
|
|
27
|
+
export declare const BarterShopState: any;
|
|
28
|
+
export declare const ReputationCommand: any;
|
|
29
|
+
export declare const ReputationRank: any;
|
|
30
|
+
export declare const ReputationGroup: any;
|
|
31
|
+
export declare const ReputationRequirement: any;
|
|
32
|
+
export declare const ReputationDataResource: any;
|
|
7
33
|
export declare const handlers: EventHandler[];
|
|
8
34
|
export declare function EventListener(eventType: EventType): (target: unknown, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
9
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,IAAI,kBAAkB,EACpC,YAAY,IAAI,gBAAgB,EAChC,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,cAAc,EAAyC,kBAAkB,CAAC;AAGvF,eAAO,MAAM,KAAK,EAAuC,gBAAgB,CAAC;AAC1E,eAAO,MAAM,YAAY,EAAuC,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,IAAI,kBAAkB,EACpC,YAAY,IAAI,gBAAgB,EAChC,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,cAAc,EAAyC,kBAAkB,CAAC;AAGvF,eAAO,MAAM,KAAK,EAAuC,gBAAgB,CAAC;AAC1E,eAAO,MAAM,YAAY,EAAuC,uBAAuB,CAAC;AAGxF,OAAO,EAAE,gBAAgB,EAAE,cAAc,IAAI,kBAAkB,EAAE,eAAe,IAAI,mBAAmB,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,SAAS,CAAC;AACjM,eAAO,MAAM,SAAS,EAAoC,gBAAgB,CAAC;AAC3E,eAAO,MAAM,cAAc,EAAyC,kBAAkB,CAAC;AAGvF,eAAO,MAAM,eAAe,EAA0C;IAAE,GAAG,IAAI,mBAAmB,CAAA;CAAE,CAAC;AACrG,eAAO,MAAM,gBAAgB,EAA2C;IAAE,GAAG,IAAI,oBAAoB,CAAA;CAAE,CAAC;AACxG,eAAO,MAAM,UAAU,EAAqC;IAAE,GAAG,IAAI,cAAc,CAAA;CAAE,CAAC;AAGtF,eAAO,MAAM,mBAAmB,KAA0C,CAAC;AAC3E,eAAO,MAAM,mBAAmB,KAA0C,CAAC;AAC3E,eAAO,MAAM,aAAa,KAAoC,CAAC;AAC/D,eAAO,MAAM,mBAAmB,KAA0C,CAAC;AAC3E,eAAO,MAAM,yBAAyB,KAAgD,CAAC;AACvF,eAAO,MAAM,oBAAoB,KAA2C,CAAC;AAG7E,eAAO,MAAM,SAAS,KAAgC,CAAC;AACvD,eAAO,MAAM,eAAe,KAAsC,CAAC;AACnE,eAAO,MAAM,eAAe,KAAsC,CAAC;AAGnE,eAAO,MAAM,iBAAiB,KAAwC,CAAC;AACvE,eAAO,MAAM,cAAc,KAAqC,CAAC;AACjE,eAAO,MAAM,eAAe,KAAsC,CAAC;AACnE,eAAO,MAAM,qBAAqB,KAA4C,CAAC;AAC/E,eAAO,MAAM,sBAAsB,KAA6C,CAAC;AAGjF,eAAO,MAAM,QAAQ,EAAE,YAAY,EAAwE,CAAC;AAE5G,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,IAC/B,QAAQ,OAAO,EAAE,aAAa,MAAM,EAAE,YAAY,kBAAkB,wBAOtF"}
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,29 @@ export const EventTitleUtil = globalThis.EventTitleUtil;
|
|
|
5
5
|
// MySQL exports (injetado pelo Java runtime)
|
|
6
6
|
export const MySQL = globalThis.MySQLManager;
|
|
7
7
|
export const TableBuilder = globalThis.TableBuilder;
|
|
8
|
+
export const NPCPlugin = globalThis.NPCPlugin;
|
|
9
|
+
export const BuilderManager = globalThis.BuilderManager;
|
|
10
|
+
// Builtin Adventure Modules
|
|
11
|
+
export const ObjectivePlugin = globalThis.ObjectivePlugin;
|
|
12
|
+
export const ReputationPlugin = globalThis.ReputationPlugin;
|
|
13
|
+
export const ShopPlugin = globalThis.ShopPlugin;
|
|
14
|
+
// Bridge Plugins
|
|
15
|
+
export const NPCObjectivesPlugin = globalThis.NPCObjectivesPlugin;
|
|
16
|
+
export const NPCReputationPlugin = globalThis.NPCReputationPlugin;
|
|
17
|
+
export const NPCShopPlugin = globalThis.NPCShopPlugin;
|
|
18
|
+
export const ObjectiveShopPlugin = globalThis.ObjectiveShopPlugin;
|
|
19
|
+
export const ObjectiveReputationPlugin = globalThis.ObjectiveReputationPlugin;
|
|
20
|
+
export const ShopReputationPlugin = globalThis.ShopReputationPlugin;
|
|
21
|
+
// Additional Shop Globals
|
|
22
|
+
export const ShopAsset = globalThis.ShopAsset;
|
|
23
|
+
export const BarterShopAsset = globalThis.BarterShopAsset;
|
|
24
|
+
export const BarterShopState = globalThis.BarterShopState;
|
|
25
|
+
// Additional Reputation Globals
|
|
26
|
+
export const ReputationCommand = globalThis.ReputationCommand;
|
|
27
|
+
export const ReputationRank = globalThis.ReputationRank;
|
|
28
|
+
export const ReputationGroup = globalThis.ReputationGroup;
|
|
29
|
+
export const ReputationRequirement = globalThis.ReputationRequirement;
|
|
30
|
+
export const ReputationDataResource = globalThis.ReputationDataResource;
|
|
8
31
|
// Usar array global existente ou criar novo (evita sobrescrever handlers de outros plugins)
|
|
9
32
|
export const handlers = globalThis.handlers || (globalThis.handlers = []);
|
|
10
33
|
export function EventListener(eventType) {
|