@plugify-plugins/s2sdk-types 2.3.23 → 2.3.25
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 +69 -35
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -11765,40 +11765,6 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
11765
11765
|
*/
|
|
11766
11766
|
export function UserMessageSetRecipientMask(userMessage: number, mask: number): void;
|
|
11767
11767
|
|
|
11768
|
-
/**
|
|
11769
|
-
* @description Gets a nested message from a field in the UserMessage.
|
|
11770
|
-
*
|
|
11771
|
-
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-UserMessageGetMessage|Docs}
|
|
11772
|
-
*
|
|
11773
|
-
* @param userMessage The UserMessage instance.
|
|
11774
|
-
* @param fieldName The name of the field.
|
|
11775
|
-
* @param message A pointer to store the retrieved message.
|
|
11776
|
-
*/
|
|
11777
|
-
export function UserMessageGetMessage(userMessage: number, fieldName: string, message: number): boolean;
|
|
11778
|
-
|
|
11779
|
-
/**
|
|
11780
|
-
* @description Gets a repeated nested message from a field in the UserMessage.
|
|
11781
|
-
*
|
|
11782
|
-
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-UserMessageGetRepeatedMessage|Docs}
|
|
11783
|
-
*
|
|
11784
|
-
* @param userMessage The UserMessage instance.
|
|
11785
|
-
* @param fieldName The name of the field.
|
|
11786
|
-
* @param index The index of the repeated field.
|
|
11787
|
-
* @param message A pointer to store the retrieved message.
|
|
11788
|
-
*/
|
|
11789
|
-
export function UserMessageGetRepeatedMessage(userMessage: number, fieldName: string, index: number, message: number): boolean;
|
|
11790
|
-
|
|
11791
|
-
/**
|
|
11792
|
-
* @description Adds a nested message to a repeated field in the UserMessage.
|
|
11793
|
-
*
|
|
11794
|
-
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-UserMessageAddMessage|Docs}
|
|
11795
|
-
*
|
|
11796
|
-
* @param userMessage The UserMessage instance.
|
|
11797
|
-
* @param fieldName The name of the field.
|
|
11798
|
-
* @param message A pointer to the message to add.
|
|
11799
|
-
*/
|
|
11800
|
-
export function UserMessageAddMessage(userMessage: number, fieldName: string, message: number): boolean;
|
|
11801
|
-
|
|
11802
11768
|
/**
|
|
11803
11769
|
* @description Gets the count of repeated fields in a field of the UserMessage.
|
|
11804
11770
|
*
|
|
@@ -11983,6 +11949,17 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
11983
11949
|
*/
|
|
11984
11950
|
export function PbReadQAngle(userMessage: number, fieldName: string, index: number): vec3;
|
|
11985
11951
|
|
|
11952
|
+
/**
|
|
11953
|
+
* @description Reads a Message from a UserMessage.
|
|
11954
|
+
*
|
|
11955
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbReadMessage|Docs}
|
|
11956
|
+
*
|
|
11957
|
+
* @param userMessage Pointer to the UserMessage object.
|
|
11958
|
+
* @param fieldName Name of the field to read.
|
|
11959
|
+
* @param index Index of the repeated field (use -1 for non-repeated fields).
|
|
11960
|
+
*/
|
|
11961
|
+
export function PbReadMessage(userMessage: number, fieldName: string, index: number): number;
|
|
11962
|
+
|
|
11986
11963
|
/**
|
|
11987
11964
|
* @description Gets a enum value from a field in the UserMessage.
|
|
11988
11965
|
*
|
|
@@ -12276,7 +12253,7 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
12276
12253
|
*
|
|
12277
12254
|
* @param userMessage The UserMessage instance.
|
|
12278
12255
|
* @param fieldName The name of the field.
|
|
12279
|
-
* @param out The output
|
|
12256
|
+
* @param out The output vector.
|
|
12280
12257
|
*/
|
|
12281
12258
|
export function PbGetQAngle(userMessage: number, fieldName: string, out: vec3): boolean;
|
|
12282
12259
|
|
|
@@ -12291,6 +12268,28 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
12291
12268
|
*/
|
|
12292
12269
|
export function PbSetQAngle(userMessage: number, fieldName: string, value: vec3): boolean;
|
|
12293
12270
|
|
|
12271
|
+
/**
|
|
12272
|
+
* @description Gets a Message value from a field in the UserMessage.
|
|
12273
|
+
*
|
|
12274
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbGetMessage|Docs}
|
|
12275
|
+
*
|
|
12276
|
+
* @param userMessage The UserMessage instance.
|
|
12277
|
+
* @param fieldName The name of the field.
|
|
12278
|
+
* @param out The output message.
|
|
12279
|
+
*/
|
|
12280
|
+
export function PbGetMessage(userMessage: number, fieldName: string, out: number): boolean;
|
|
12281
|
+
|
|
12282
|
+
/**
|
|
12283
|
+
* @description Sets a Message value for a field in the UserMessage.
|
|
12284
|
+
*
|
|
12285
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbSetMessage|Docs}
|
|
12286
|
+
*
|
|
12287
|
+
* @param userMessage The UserMessage instance.
|
|
12288
|
+
* @param fieldName The name of the field.
|
|
12289
|
+
* @param value The value to set.
|
|
12290
|
+
*/
|
|
12291
|
+
export function PbSetMessage(userMessage: number, fieldName: string, value: number): boolean;
|
|
12292
|
+
|
|
12294
12293
|
/**
|
|
12295
12294
|
* @description Gets a repeated enum value from a field in the UserMessage.
|
|
12296
12295
|
*
|
|
@@ -12781,6 +12780,41 @@ declare module ":plugify-plugin-s2sdk" {
|
|
|
12781
12780
|
*/
|
|
12782
12781
|
export function PbAddQAngle(userMessage: number, fieldName: string, value: vec3): boolean;
|
|
12783
12782
|
|
|
12783
|
+
/**
|
|
12784
|
+
* @description Gets a repeated Message value from a field in the UserMessage.
|
|
12785
|
+
*
|
|
12786
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbGetRepeatedMessage|Docs}
|
|
12787
|
+
*
|
|
12788
|
+
* @param userMessage The UserMessage instance.
|
|
12789
|
+
* @param fieldName The name of the field.
|
|
12790
|
+
* @param index The index of the repeated field.
|
|
12791
|
+
* @param out The output message.
|
|
12792
|
+
*/
|
|
12793
|
+
export function PbGetRepeatedMessage(userMessage: number, fieldName: string, index: number, out: number): boolean;
|
|
12794
|
+
|
|
12795
|
+
/**
|
|
12796
|
+
* @description Sets a repeated Message value for a field in the UserMessage.
|
|
12797
|
+
*
|
|
12798
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbSetRepeatedMessage|Docs}
|
|
12799
|
+
*
|
|
12800
|
+
* @param userMessage The UserMessage instance.
|
|
12801
|
+
* @param fieldName The name of the field.
|
|
12802
|
+
* @param index The index of the repeated field.
|
|
12803
|
+
* @param value The value to set.
|
|
12804
|
+
*/
|
|
12805
|
+
export function PbSetRepeatedMessage(userMessage: number, fieldName: string, index: number, value: number): boolean;
|
|
12806
|
+
|
|
12807
|
+
/**
|
|
12808
|
+
* @description Adds a Message value to a repeated field in the UserMessage.
|
|
12809
|
+
*
|
|
12810
|
+
* {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbAddMessage|Docs}
|
|
12811
|
+
*
|
|
12812
|
+
* @param userMessage The UserMessage instance.
|
|
12813
|
+
* @param fieldName The name of the field.
|
|
12814
|
+
* @param value The value to add.
|
|
12815
|
+
*/
|
|
12816
|
+
export function PbAddMessage(userMessage: number, fieldName: string, value: number): boolean;
|
|
12817
|
+
|
|
12784
12818
|
/**
|
|
12785
12819
|
* @description Retrieves the weapon VData for a given weapon name.
|
|
12786
12820
|
*
|