@citizenfx/server 2.0.7511-1 → 2.0.7512-1
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/index.d.ts +2 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -83,10 +83,12 @@ type CitizenImmediate = Omit<CitizenTimer, 'refresh'>;
|
|
|
83
83
|
declare var Citizen: CitizenInterface;
|
|
84
84
|
|
|
85
85
|
declare function addRawEventListener(eventName: string, callback: Function): void
|
|
86
|
+
declare function setMaxRawEventListeners(max: number): void
|
|
86
87
|
|
|
87
88
|
declare function addEventListener(eventName: string, callback: Function, netSafe?: boolean): void
|
|
88
89
|
declare function on(eventName: string, callback: Function): void
|
|
89
90
|
declare function AddEventHandler(eventName: string, callback: Function): void
|
|
91
|
+
declare function setMaxEventListeners(max: number): void
|
|
90
92
|
|
|
91
93
|
declare function addNetEventListener(eventName: string, callback: Function): void
|
|
92
94
|
declare function onNet(eventName: string, callback: Function): void
|