@plugify-plugins/s2sdk-types 2.3.18 → 2.3.20
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 +53 -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.
|
|
@@ -10009,6 +10009,32 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
10009
10009
|
*/
|
|
10010
10010
|
export function SetEntSchemaFloat2(entity: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
|
|
10011
10011
|
|
|
10012
|
+
/**
|
|
10013
|
+
* @description Retrieves a color value from an entity's schema.
|
|
10014
|
+
*
|
|
10015
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntSchemaColor2|Docs}
|
|
10016
|
+
*
|
|
10017
|
+
* @param entity Pointer to the instance of the class where the value is to be set.
|
|
10018
|
+
* @param className The name of the class.
|
|
10019
|
+
* @param memberName The name of the schema member.
|
|
10020
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10021
|
+
*/
|
|
10022
|
+
export function GetEntSchemaColor2(entity: number, className: string, memberName: string, element: number): vec4;
|
|
10023
|
+
|
|
10024
|
+
/**
|
|
10025
|
+
* @description Sets a color value in an entity's schema.
|
|
10026
|
+
*
|
|
10027
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntSchemaColor2|Docs}
|
|
10028
|
+
*
|
|
10029
|
+
* @param entity Pointer to the instance of the class where the value is to be set.
|
|
10030
|
+
* @param className The name of the class.
|
|
10031
|
+
* @param memberName The name of the schema member.
|
|
10032
|
+
* @param value The color value to set.
|
|
10033
|
+
* @param changeState If true, change will be sent over the network.
|
|
10034
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10035
|
+
*/
|
|
10036
|
+
export function SetEntSchemaColor2(entity: number, className: string, memberName: string, value: vec4, changeState: boolean, element: number): void;
|
|
10037
|
+
|
|
10012
10038
|
/**
|
|
10013
10039
|
* @description Retrieves a string value from an entity's schema.
|
|
10014
10040
|
*
|
|
@@ -10213,6 +10239,32 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
10213
10239
|
*/
|
|
10214
10240
|
export function SetEntSchemaFloat(entityHandle: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
|
|
10215
10241
|
|
|
10242
|
+
/**
|
|
10243
|
+
* @description Retrieves a color value from an entity's schema.
|
|
10244
|
+
*
|
|
10245
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntSchemaColor|Docs}
|
|
10246
|
+
*
|
|
10247
|
+
* @param entityHandle The handle of the entity from which the value is to be retrieved.
|
|
10248
|
+
* @param className The name of the class.
|
|
10249
|
+
* @param memberName The name of the schema member.
|
|
10250
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10251
|
+
*/
|
|
10252
|
+
export function GetEntSchemaColor(entityHandle: number, className: string, memberName: string, element: number): vec4;
|
|
10253
|
+
|
|
10254
|
+
/**
|
|
10255
|
+
* @description Sets a color value in an entity's schema.
|
|
10256
|
+
*
|
|
10257
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntSchemaColor|Docs}
|
|
10258
|
+
*
|
|
10259
|
+
* @param entityHandle The handle of the entity from which the value is to be retrieved.
|
|
10260
|
+
* @param className The name of the class.
|
|
10261
|
+
* @param memberName The name of the schema member.
|
|
10262
|
+
* @param value The color value to set.
|
|
10263
|
+
* @param changeState If true, change will be sent over the network.
|
|
10264
|
+
* @param element Element # (starting from 0) if schema is an array.
|
|
10265
|
+
*/
|
|
10266
|
+
export function SetEntSchemaColor(entityHandle: number, className: string, memberName: string, value: vec4, changeState: boolean, element: number): void;
|
|
10267
|
+
|
|
10216
10268
|
/**
|
|
10217
10269
|
* @description Retrieves a string value from an entity's schema.
|
|
10218
10270
|
*
|