@plugify-plugins/s2sdk-types 2.3.18 → 2.3.21
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 +74 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5327,7 +5327,7 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
5327
5327
|
*
|
|
5328
5328
|
* @param playerSlot The index of the player's slot whose render color is to be retrieved.
|
|
5329
5329
|
*/
|
|
5330
|
-
export function GetClientRenderColor(playerSlot: number):
|
|
5330
|
+
export function GetClientRenderColor(playerSlot: number): vec4;
|
|
5331
5331
|
|
|
5332
5332
|
/**
|
|
5333
5333
|
* @description Sets the render color of an client.
|
|
@@ -8816,6 +8816,16 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
8816
8816
|
*/
|
|
8817
8817
|
export function GetEventPlayerIndex(event: number, key: string): number;
|
|
8818
8818
|
|
|
8819
|
+
/**
|
|
8820
|
+
* @description Retrieves the player slot of a game event's key.
|
|
8821
|
+
*
|
|
8822
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventPlayerSlot|Docs}
|
|
8823
|
+
*
|
|
8824
|
+
* @param event A pointer to the IGameEvent object containing event data.
|
|
8825
|
+
* @param key The key for which to retrieve the player index.
|
|
8826
|
+
*/
|
|
8827
|
+
export function GetEventPlayerSlot(event: number, key: string): number;
|
|
8828
|
+
|
|
8819
8829
|
/**
|
|
8820
8830
|
* @description Retrieves the player pawn address of a game event's key.
|
|
8821
8831
|
*
|
|
@@ -8953,6 +8963,17 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
8953
8963
|
*/
|
|
8954
8964
|
export function SetEventPlayerIndex(event: number, key: string, value: number): void;
|
|
8955
8965
|
|
|
8966
|
+
/**
|
|
8967
|
+
* @description Sets the player slot value of a game event's key.
|
|
8968
|
+
*
|
|
8969
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventPlayerSlot|Docs}
|
|
8970
|
+
*
|
|
8971
|
+
* @param event A pointer to the IGameEvent object containing event data.
|
|
8972
|
+
* @param key The key for which to set the player slot value.
|
|
8973
|
+
* @param value The player slot value to set.
|
|
8974
|
+
*/
|
|
8975
|
+
export function SetEventPlayerSlot(event: number, key: string, value: number): void;
|
|
8976
|
+
|
|
8956
8977
|
/**
|
|
8957
8978
|
* @description Sets the entity address of a game event's key.
|
|
8958
8979
|
*
|
|
@@ -10009,6 +10030,32 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
10009
10030
|
*/
|
|
10010
10031
|
export function SetEntSchemaFloat2(entity: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
|
|
10011
10032
|
|
|
10033
|
+
/**
|
|
10034
|
+
* @description Retrieves a color value from an entity's schema.
|
|
10035
|
+
*
|
|
10036
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntSchemaColor2|Docs}
|
|
10037
|
+
*
|
|
10038
|
+
* @param entity Pointer to the instance of the class where the value is to be set.
|
|
10039
|
+
* @param className The name of the class.
|
|
10040
|
+
* @param memberName The name of the schema member.
|
|
10041
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10042
|
+
*/
|
|
10043
|
+
export function GetEntSchemaColor2(entity: number, className: string, memberName: string, element: number): vec4;
|
|
10044
|
+
|
|
10045
|
+
/**
|
|
10046
|
+
* @description Sets a color value in an entity's schema.
|
|
10047
|
+
*
|
|
10048
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntSchemaColor2|Docs}
|
|
10049
|
+
*
|
|
10050
|
+
* @param entity Pointer to the instance of the class where the value is to be set.
|
|
10051
|
+
* @param className The name of the class.
|
|
10052
|
+
* @param memberName The name of the schema member.
|
|
10053
|
+
* @param value The color value to set.
|
|
10054
|
+
* @param changeState If true, change will be sent over the network.
|
|
10055
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10056
|
+
*/
|
|
10057
|
+
export function SetEntSchemaColor2(entity: number, className: string, memberName: string, value: vec4, changeState: boolean, element: number): void;
|
|
10058
|
+
|
|
10012
10059
|
/**
|
|
10013
10060
|
* @description Retrieves a string value from an entity's schema.
|
|
10014
10061
|
*
|
|
@@ -10213,6 +10260,32 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
10213
10260
|
*/
|
|
10214
10261
|
export function SetEntSchemaFloat(entityHandle: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
|
|
10215
10262
|
|
|
10263
|
+
/**
|
|
10264
|
+
* @description Retrieves a color value from an entity's schema.
|
|
10265
|
+
*
|
|
10266
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntSchemaColor|Docs}
|
|
10267
|
+
*
|
|
10268
|
+
* @param entityHandle The handle of the entity from which the value is to be retrieved.
|
|
10269
|
+
* @param className The name of the class.
|
|
10270
|
+
* @param memberName The name of the schema member.
|
|
10271
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10272
|
+
*/
|
|
10273
|
+
export function GetEntSchemaColor(entityHandle: number, className: string, memberName: string, element: number): vec4;
|
|
10274
|
+
|
|
10275
|
+
/**
|
|
10276
|
+
* @description Sets a color value in an entity's schema.
|
|
10277
|
+
*
|
|
10278
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntSchemaColor|Docs}
|
|
10279
|
+
*
|
|
10280
|
+
* @param entityHandle The handle of the entity from which the value is to be retrieved.
|
|
10281
|
+
* @param className The name of the class.
|
|
10282
|
+
* @param memberName The name of the schema member.
|
|
10283
|
+
* @param value The color value to set.
|
|
10284
|
+
* @param changeState If true, change will be sent over the network.
|
|
10285
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10286
|
+
*/
|
|
10287
|
+
export function SetEntSchemaColor(entityHandle: number, className: string, memberName: string, value: vec4, changeState: boolean, element: number): void;
|
|
10288
|
+
|
|
10216
10289
|
/**
|
|
10217
10290
|
* @description Retrieves a string value from an entity's schema.
|
|
10218
10291
|
*
|