@plugify-plugins/s2sdk-types 2.3.13 → 2.3.15
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 +27 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6382,6 +6382,24 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
6382
6382
|
*/
|
|
6383
6383
|
export function FakeClientCommand(playerSlot: number, command: string): void;
|
|
6384
6384
|
|
|
6385
|
+
/**
|
|
6386
|
+
* @description Returns the names of all registered console commands and cvars.
|
|
6387
|
+
*
|
|
6388
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetAllConCommands|Docs}
|
|
6389
|
+
*
|
|
6390
|
+
* @param flags Additional flags for the console variable.
|
|
6391
|
+
*/
|
|
6392
|
+
export function GetAllConCommands(flags: ConVarFlag): string[];
|
|
6393
|
+
|
|
6394
|
+
/**
|
|
6395
|
+
* @description Returns all console commands registered by this plugin.
|
|
6396
|
+
*
|
|
6397
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetAllCommands|Docs}
|
|
6398
|
+
*
|
|
6399
|
+
*
|
|
6400
|
+
*/
|
|
6401
|
+
export function GetAllCommands(): string[];
|
|
6402
|
+
|
|
6385
6403
|
/**
|
|
6386
6404
|
* @description Sends a message to the server console.
|
|
6387
6405
|
*
|
|
@@ -7307,6 +7325,15 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
7307
7325
|
*/
|
|
7308
7326
|
export function GetServerLanguage(): string;
|
|
7309
7327
|
|
|
7328
|
+
/**
|
|
7329
|
+
* @description Returns all console variables registered by this plugin
|
|
7330
|
+
*
|
|
7331
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetAllConVars|Docs}
|
|
7332
|
+
*
|
|
7333
|
+
*
|
|
7334
|
+
*/
|
|
7335
|
+
export function GetAllConVars(): string[];
|
|
7336
|
+
|
|
7310
7337
|
/**
|
|
7311
7338
|
* @description Finds a module by name.
|
|
7312
7339
|
*
|