@plugify-plugins/s2sdk-types 2.3.17 → 2.3.18

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.
Files changed (2) hide show
  1. package/index.d.ts +207 -38
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2234,7 +2234,7 @@ declare module ":plugify-plugin-s2sdk" {
2234
2234
  * @param keyName The name of the key to retrieve the color from
2235
2235
  * @param defaultValue The default color value to return if the key is not found
2236
2236
  */
2237
- export function Kv1GetColor(kv: number, keyName: string, defaultValue: number): number;
2237
+ export function Kv1GetColor(kv: number, keyName: string, defaultValue: vec4): vec4;
2238
2238
 
2239
2239
  /**
2240
2240
  * @description Sets a color value for a key
@@ -2245,7 +2245,7 @@ declare module ":plugify-plugin-s2sdk" {
2245
2245
  * @param keyName The name of the key to set the color for
2246
2246
  * @param value The color value as a 32-bit integer (RGBA)
2247
2247
  */
2248
- export function Kv1SetColor(kv: number, keyName: string, value: number): void;
2248
+ export function Kv1SetColor(kv: number, keyName: string, value: vec4): void;
2249
2249
 
2250
2250
  /**
2251
2251
  * @description Gets an integer value from a key
@@ -3040,7 +3040,7 @@ declare module ":plugify-plugin-s2sdk" {
3040
3040
  * @param kv Pointer to the KeyValues3 object
3041
3041
  * @param defaultValue Default color value to return if kv is null
3042
3042
  */
3043
- export function Kv3GetColor(kv: number, defaultValue: number): number;
3043
+ export function Kv3GetColor(kv: number, defaultValue: vec4): vec4;
3044
3044
 
3045
3045
  /**
3046
3046
  * @description Sets the KeyValues3 object to a color value
@@ -3048,9 +3048,9 @@ declare module ":plugify-plugin-s2sdk" {
3048
3048
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-Kv3SetColor|Docs}
3049
3049
  *
3050
3050
  * @param kv Pointer to the KeyValues3 object
3051
- * @param color Color value as int32_t to set
3051
+ * @param color Color value as vec4 to set
3052
3052
  */
3053
- export function Kv3SetColor(kv: number, color: number): void;
3053
+ export function Kv3SetColor(kv: number, color: vec4): void;
3054
3054
 
3055
3055
  /**
3056
3056
  * @description Gets the 3D vector value from the KeyValues3 object
@@ -3536,7 +3536,7 @@ declare module ":plugify-plugin-s2sdk" {
3536
3536
  * @param name Name of the member
3537
3537
  * @param defaultValue Default color value to return if member not found
3538
3538
  */
3539
- export function Kv3GetMemberColor(kv: number, name: string, defaultValue: number): number;
3539
+ export function Kv3GetMemberColor(kv: number, name: string, defaultValue: vec4): vec4;
3540
3540
 
3541
3541
  /**
3542
3542
  * @description Gets a 3D vector value from a table member
@@ -3875,9 +3875,9 @@ declare module ":plugify-plugin-s2sdk" {
3875
3875
  *
3876
3876
  * @param kv Pointer to the KeyValues3 object
3877
3877
  * @param name Name of the member
3878
- * @param color Color value as int32_t to set
3878
+ * @param color Color value as vec4 to set
3879
3879
  */
3880
- export function Kv3SetMemberColor(kv: number, name: string, color: number): void;
3880
+ export function Kv3SetMemberColor(kv: number, name: string, color: vec4): void;
3881
3881
 
3882
3882
  /**
3883
3883
  * @description Sets a table member to a 3D vector value
@@ -5337,7 +5337,7 @@ declare module ":plugify-plugin-s2sdk" {
5337
5337
  * @param playerSlot The index of the player's slot whose render color is to be set.
5338
5338
  * @param color The new raw color value to set for the client's render color.
5339
5339
  */
5340
- export function SetClientRenderColor(playerSlot: number, color: number): void;
5340
+ export function SetClientRenderColor(playerSlot: number, color: vec4): void;
5341
5341
 
5342
5342
  /**
5343
5343
  * @description Retrieves the render mode of an client.
@@ -6706,7 +6706,7 @@ declare module ":plugify-plugin-s2sdk" {
6706
6706
  * @param hasMax Indicates if a maximum value is provided.
6707
6707
  * @param max The maximum color value if hasMax is true.
6708
6708
  */
6709
- export function CreateConVarColor(name: string, defaultValue: number, description: string, flags: ConVarFlag, hasMin: boolean, min: number, hasMax: boolean, max: number): number;
6709
+ export function CreateConVarColor(name: string, defaultValue: vec4, description: string, flags: ConVarFlag, hasMin: boolean, min: vec4, hasMax: boolean, max: vec4): number;
6710
6710
 
6711
6711
  /**
6712
6712
  * @description Creates a new 2D vector console variable.
@@ -7007,7 +7007,7 @@ declare module ":plugify-plugin-s2sdk" {
7007
7007
  *
7008
7008
  * @param conVarHandle The handle to the console variable data.
7009
7009
  */
7010
- export function GetConVarColor(conVarHandle: number): number;
7010
+ export function GetConVarColor(conVarHandle: number): vec4;
7011
7011
 
7012
7012
  /**
7013
7013
  * @description Retrieves the current value of a Vector2D console variable.
@@ -7199,7 +7199,7 @@ declare module ":plugify-plugin-s2sdk" {
7199
7199
  * @param replicate If set to true, the new convar value will be set on all clients. This will only work if the convar has the FCVAR_REPLICATED flag and actually exists on clients.
7200
7200
  * @param notify If set to true, clients will be notified that the convar has changed. This will only work if the convar has the FCVAR_NOTIFY flag.
7201
7201
  */
7202
- export function SetConVarColor(conVarHandle: number, value: number, replicate: boolean, notify: boolean): void;
7202
+ export function SetConVarColor(conVarHandle: number, value: vec4, replicate: boolean, notify: boolean): void;
7203
7203
 
7204
7204
  /**
7205
7205
  * @description Sets the value of a 2D vector console variable.
@@ -7907,7 +7907,7 @@ declare module ":plugify-plugin-s2sdk" {
7907
7907
  *
7908
7908
  * @param entityHandle The handle of the entity whose render color is to be retrieved.
7909
7909
  */
7910
- export function GetEntityRenderColor(entityHandle: number): number;
7910
+ export function GetEntityRenderColor(entityHandle: number): vec4;
7911
7911
 
7912
7912
  /**
7913
7913
  * @description Sets the render color of an entity.
@@ -7917,7 +7917,7 @@ declare module ":plugify-plugin-s2sdk" {
7917
7917
  * @param entityHandle The handle of the entity whose render color is to be set.
7918
7918
  * @param color The new raw color value to set for the entity's render color.
7919
7919
  */
7920
- export function SetEntityRenderColor(entityHandle: number, color: number): void;
7920
+ export function SetEntityRenderColor(entityHandle: number, color: vec4): void;
7921
7921
 
7922
7922
  /**
7923
7923
  * @description Retrieves the render mode of an entity.
@@ -8067,10 +8067,20 @@ declare module ":plugify-plugin-s2sdk" {
8067
8067
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntityParent|Docs}
8068
8068
  *
8069
8069
  * @param entityHandle The handle of the entity whose parent is to be set.
8070
+ * @param parentHandle The handle of the new parent entity. (Can be invalid to clean parent)
8071
+ */
8072
+ export function SetEntityParent(entityHandle: number, parentHandle: number): void;
8073
+
8074
+ /**
8075
+ * @description Sets the parent of an entity to attachment by name.
8076
+ *
8077
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntityParentAttachment|Docs}
8078
+ *
8079
+ * @param entityHandle The handle of the entity whose parent is to be set.
8070
8080
  * @param parentHandle The handle of the new parent entity.
8071
8081
  * @param attachmentName The name of the entity's attachment.
8072
8082
  */
8073
- export function SetEntityParent(entityHandle: number, parentHandle: number, attachmentName: string): void;
8083
+ export function SetEntityParentAttachment(entityHandle: number, parentHandle: number, attachmentName: string): void;
8074
8084
 
8075
8085
  /**
8076
8086
  * @description Retrieves the absolute origin of an entity.
@@ -9064,17 +9074,62 @@ declare module ":plugify-plugin-s2sdk" {
9064
9074
  */
9065
9075
  export function GetGameConfigSignature(id: number, name: string): number;
9066
9076
 
9077
+ /**
9078
+ * @description Retrieves a patch by scanning all loaded game configurations.
9079
+ *
9080
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetGameConfigPatchAll|Docs}
9081
+ *
9082
+ * @param name The name of the patch to be retrieved.
9083
+ */
9084
+ export function GetGameConfigPatchAll(name: string): string;
9085
+
9086
+ /**
9087
+ * @description Retrieves an offset by scanning all loaded game configurations.
9088
+ *
9089
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetGameConfigOffsetAll|Docs}
9090
+ *
9091
+ * @param name The name whose offset is to be retrieved.
9092
+ */
9093
+ export function GetGameConfigOffsetAll(name: string): number;
9094
+
9095
+ /**
9096
+ * @description Retrieves an address by scanning all loaded game configurations.
9097
+ *
9098
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetGameConfigAddressAll|Docs}
9099
+ *
9100
+ * @param name The name whose address is to be retrieved.
9101
+ */
9102
+ export function GetGameConfigAddressAll(name: string): number;
9103
+
9104
+ /**
9105
+ * @description Retrieves a vtable by scanning all loaded game configurations.
9106
+ *
9107
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetGameConfigVTableAll|Docs}
9108
+ *
9109
+ * @param name The name of the vtable to be retrieved.
9110
+ */
9111
+ export function GetGameConfigVTableAll(name: string): number;
9112
+
9113
+ /**
9114
+ * @description Retrieves a signature by scanning all loaded game configurations.
9115
+ *
9116
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetGameConfigSignatureAll|Docs}
9117
+ *
9118
+ * @param name The name whose signature is to be resolved and retrieved.
9119
+ */
9120
+ export function GetGameConfigSignatureAll(name: string): number;
9121
+
9067
9122
  /**
9068
9123
  * @description Registers a new logging channel with specified properties.
9069
9124
  *
9070
9125
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-RegisterLoggingChannel|Docs}
9071
9126
  *
9072
9127
  * @param name The name of the logging channel.
9073
- * @param iFlags Flags associated with the logging channel.
9128
+ * @param flags Flags associated with the logging channel.
9074
9129
  * @param verbosity The verbosity level for the logging channel.
9075
9130
  * @param color The color for messages logged to this channel.
9076
9131
  */
9077
- export function RegisterLoggingChannel(name: string, iFlags: number, verbosity: LoggingVerbosity, color: number): number;
9132
+ export function RegisterLoggingChannel(name: string, flags: number, verbosity: LoggingVerbosity, color: vec4): number;
9078
9133
 
9079
9134
  /**
9080
9135
  * @description Adds a tag to a specified logging channel.
@@ -9164,7 +9219,7 @@ declare module ":plugify-plugin-s2sdk" {
9164
9219
  *
9165
9220
  * @param channelID The ID of the logging channel.
9166
9221
  */
9167
- export function GetLoggerChannelColor(channelID: number): number;
9222
+ export function GetLoggerChannelColor(channelID: number): vec4;
9168
9223
 
9169
9224
  /**
9170
9225
  * @description Sets the color setting of a logging channel.
@@ -9174,7 +9229,7 @@ declare module ":plugify-plugin-s2sdk" {
9174
9229
  * @param channelID The ID of the logging channel.
9175
9230
  * @param color The new color value to set for the channel.
9176
9231
  */
9177
- export function SetLoggerChannelColor(channelID: number, color: number): void;
9232
+ export function SetLoggerChannelColor(channelID: number, color: vec4): void;
9178
9233
 
9179
9234
  /**
9180
9235
  * @description Retrieves the flags of a logging channel.
@@ -9216,7 +9271,7 @@ declare module ":plugify-plugin-s2sdk" {
9216
9271
  * @param color The color for the log message.
9217
9272
  * @param message The message to log.
9218
9273
  */
9219
- export function LogColored(channelID: number, severity: LoggingSeverity, color: number, message: string): number;
9274
+ export function LogColored(channelID: number, severity: LoggingSeverity, color: vec4, message: string): number;
9220
9275
 
9221
9276
  /**
9222
9277
  * @description Logs a detailed message to a specified channel, including source code info.
@@ -9245,7 +9300,7 @@ declare module ":plugify-plugin-s2sdk" {
9245
9300
  * @param color The color for the log message.
9246
9301
  * @param message The message to log.
9247
9302
  */
9248
- export function LogFullColored(channelID: number, severity: LoggingSeverity, file: string, line: number, callback: string, color: number, message: string): number;
9303
+ export function LogFullColored(channelID: number, severity: LoggingSeverity, file: string, line: number, callback: string, color: vec4, message: string): number;
9249
9304
 
9250
9305
  /**
9251
9306
  * @description Retrieves the attachment angles of an entity.
@@ -9635,6 +9690,29 @@ declare module ":plugify-plugin-s2sdk" {
9635
9690
  */
9636
9691
  export function SetEntDataFloat2(entity: number, offset: number, value: number, size: number, changeState: boolean, chainOffset: number): void;
9637
9692
 
9693
+ /**
9694
+ * @description Peeks into an entity's object schema and retrieves the color value at the given offset.
9695
+ *
9696
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntDataColor2|Docs}
9697
+ *
9698
+ * @param entity Pointer to the instance of the class where the value is to be set.
9699
+ * @param offset The offset of the schema to use.
9700
+ */
9701
+ export function GetEntDataColor2(entity: number, offset: number): vec4;
9702
+
9703
+ /**
9704
+ * @description Peeks into an entity's object data and sets the color at the given offset.
9705
+ *
9706
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntDataColor2|Docs}
9707
+ *
9708
+ * @param entity Pointer to the instance of the class where the value is to be set.
9709
+ * @param offset The offset of the schema to use.
9710
+ * @param value The color value to set.
9711
+ * @param changeState If true, change will be sent over the network.
9712
+ * @param chainOffset The offset of the chain entity in the class (-1 for non-entity classes).
9713
+ */
9714
+ export function SetEntDataColor2(entity: number, offset: number, value: vec4, changeState: boolean, chainOffset: number): void;
9715
+
9638
9716
  /**
9639
9717
  * @description Peeks into an entity's object schema and retrieves the string value at the given offset.
9640
9718
  *
@@ -9765,6 +9843,29 @@ declare module ":plugify-plugin-s2sdk" {
9765
9843
  */
9766
9844
  export function SetEntDataFloat(entityHandle: number, offset: number, value: number, size: number, changeState: boolean, chainOffset: number): void;
9767
9845
 
9846
+ /**
9847
+ * @description Peeks into an entity's object schema and retrieves the color value at the given offset.
9848
+ *
9849
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEntDataColor|Docs}
9850
+ *
9851
+ * @param entityHandle The handle of the entity from which the value is to be retrieved.
9852
+ * @param offset The offset of the schema to use.
9853
+ */
9854
+ export function GetEntDataColor(entityHandle: number, offset: number): vec4;
9855
+
9856
+ /**
9857
+ * @description Peeks into an entity's object data and sets the color at the given offset.
9858
+ *
9859
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEntDataColor|Docs}
9860
+ *
9861
+ * @param entityHandle The handle of the entity from which the value is to be retrieved.
9862
+ * @param offset The offset of the schema to use.
9863
+ * @param value The color value to set.
9864
+ * @param changeState If true, change will be sent over the network.
9865
+ * @param chainOffset The offset of the chain entity in the class (-1 for non-entity classes).
9866
+ */
9867
+ export function SetEntDataColor(entityHandle: number, offset: number, value: vec4, changeState: boolean, chainOffset: number): void;
9868
+
9768
9869
  /**
9769
9870
  * @description Peeks into an entity's object schema and retrieves the string value at the given offset.
9770
9871
  *
@@ -11132,7 +11233,7 @@ declare module ":plugify-plugin-s2sdk" {
11132
11233
  * @param fieldName Name of the field to read.
11133
11234
  * @param index Index of the repeated field (use -1 for non-repeated fields).
11134
11235
  */
11135
- export function PbReadColor(userMessage: number, fieldName: string, index: number): number;
11236
+ export function PbReadColor(userMessage: number, fieldName: string, index: number): vec4;
11136
11237
 
11137
11238
  /**
11138
11239
  * @description Reads a 2D vector from a UserMessage.
@@ -11156,6 +11257,17 @@ declare module ":plugify-plugin-s2sdk" {
11156
11257
  */
11157
11258
  export function PbReadVector3(userMessage: number, fieldName: string, index: number): vec3;
11158
11259
 
11260
+ /**
11261
+ * @description Reads a 4D vector from a UserMessage.
11262
+ *
11263
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbReadVector4|Docs}
11264
+ *
11265
+ * @param userMessage Pointer to the UserMessage object.
11266
+ * @param fieldName Name of the field to read.
11267
+ * @param index Index of the repeated field (use -1 for non-repeated fields).
11268
+ */
11269
+ export function PbReadVector4(userMessage: number, fieldName: string, index: number): vec4;
11270
+
11159
11271
  /**
11160
11272
  * @description Reads a QAngle (rotation vector) from a UserMessage.
11161
11273
  *
@@ -11286,7 +11398,7 @@ declare module ":plugify-plugin-s2sdk" {
11286
11398
  * @param fieldName The name of the field.
11287
11399
  * @param out The output value.
11288
11400
  */
11289
- export function PbGetBool(userMessage: number, fieldName: string, out: number): boolean;
11401
+ export function PbGetBool(userMessage: number, fieldName: string, out: boolean): boolean;
11290
11402
 
11291
11403
  /**
11292
11404
  * @description Sets a bool value for a field in the UserMessage.
@@ -11374,7 +11486,7 @@ declare module ":plugify-plugin-s2sdk" {
11374
11486
  * @param fieldName The name of the field.
11375
11487
  * @param out The output string.
11376
11488
  */
11377
- export function PbGetColor(userMessage: number, fieldName: string, out: number): boolean;
11489
+ export function PbGetColor(userMessage: number, fieldName: string, out: vec4): boolean;
11378
11490
 
11379
11491
  /**
11380
11492
  * @description Sets a color value for a field in the UserMessage.
@@ -11385,7 +11497,7 @@ declare module ":plugify-plugin-s2sdk" {
11385
11497
  * @param fieldName The name of the field.
11386
11498
  * @param value The value to set.
11387
11499
  */
11388
- export function PbSetColor(userMessage: number, fieldName: string, value: number): boolean;
11500
+ export function PbSetColor(userMessage: number, fieldName: string, value: vec4): boolean;
11389
11501
 
11390
11502
  /**
11391
11503
  * @description Gets a Vector2 value from a field in the UserMessage.
@@ -11396,7 +11508,7 @@ declare module ":plugify-plugin-s2sdk" {
11396
11508
  * @param fieldName The name of the field.
11397
11509
  * @param out The output string.
11398
11510
  */
11399
- export function PbGetVector2(userMessage: number, fieldName: string, out: number): boolean;
11511
+ export function PbGetVector2(userMessage: number, fieldName: string, out: vec2): boolean;
11400
11512
 
11401
11513
  /**
11402
11514
  * @description Sets a Vector2 value for a field in the UserMessage.
@@ -11418,7 +11530,7 @@ declare module ":plugify-plugin-s2sdk" {
11418
11530
  * @param fieldName The name of the field.
11419
11531
  * @param out The output string.
11420
11532
  */
11421
- export function PbGetVector3(userMessage: number, fieldName: string, out: number): boolean;
11533
+ export function PbGetVector3(userMessage: number, fieldName: string, out: vec3): boolean;
11422
11534
 
11423
11535
  /**
11424
11536
  * @description Sets a Vector3 value for a field in the UserMessage.
@@ -11431,6 +11543,28 @@ declare module ":plugify-plugin-s2sdk" {
11431
11543
  */
11432
11544
  export function PbSetVector3(userMessage: number, fieldName: string, value: vec3): boolean;
11433
11545
 
11546
+ /**
11547
+ * @description Gets a Vector4 value from a field in the UserMessage.
11548
+ *
11549
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbGetVector4|Docs}
11550
+ *
11551
+ * @param userMessage The UserMessage instance.
11552
+ * @param fieldName The name of the field.
11553
+ * @param out The output string.
11554
+ */
11555
+ export function PbGetVector4(userMessage: number, fieldName: string, out: vec4): boolean;
11556
+
11557
+ /**
11558
+ * @description Sets a Vector3 value for a field in the UserMessage.
11559
+ *
11560
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbSetVector4|Docs}
11561
+ *
11562
+ * @param userMessage The UserMessage instance.
11563
+ * @param fieldName The name of the field.
11564
+ * @param value The value to set.
11565
+ */
11566
+ export function PbSetVector4(userMessage: number, fieldName: string, value: vec4): boolean;
11567
+
11434
11568
  /**
11435
11569
  * @description Gets a QAngle value from a field in the UserMessage.
11436
11570
  *
@@ -11440,7 +11574,7 @@ declare module ":plugify-plugin-s2sdk" {
11440
11574
  * @param fieldName The name of the field.
11441
11575
  * @param out The output string.
11442
11576
  */
11443
- export function PbGetQAngle(userMessage: number, fieldName: string, out: number): boolean;
11577
+ export function PbGetQAngle(userMessage: number, fieldName: string, out: vec3): boolean;
11444
11578
 
11445
11579
  /**
11446
11580
  * @description Sets a QAngle value for a field in the UserMessage.
@@ -11638,7 +11772,7 @@ declare module ":plugify-plugin-s2sdk" {
11638
11772
  * @param index The index of the repeated field.
11639
11773
  * @param out The output value.
11640
11774
  */
11641
- export function PbGetRepeatedBool(userMessage: number, fieldName: string, index: number, out: number): boolean;
11775
+ export function PbGetRepeatedBool(userMessage: number, fieldName: string, index: number, out: boolean): boolean;
11642
11776
 
11643
11777
  /**
11644
11778
  * @description Sets a repeated bool value for a field in the UserMessage.
@@ -11778,7 +11912,7 @@ declare module ":plugify-plugin-s2sdk" {
11778
11912
  * @param index The index of the repeated field.
11779
11913
  * @param out The output color.
11780
11914
  */
11781
- export function PbGetRepeatedColor(userMessage: number, fieldName: string, index: number, out: number): boolean;
11915
+ export function PbGetRepeatedColor(userMessage: number, fieldName: string, index: number, out: vec4): boolean;
11782
11916
 
11783
11917
  /**
11784
11918
  * @description Sets a repeated color value for a field in the UserMessage.
@@ -11790,7 +11924,7 @@ declare module ":plugify-plugin-s2sdk" {
11790
11924
  * @param index The index of the repeated field.
11791
11925
  * @param value The value to set.
11792
11926
  */
11793
- export function PbSetRepeatedColor(userMessage: number, fieldName: string, index: number, value: number): boolean;
11927
+ export function PbSetRepeatedColor(userMessage: number, fieldName: string, index: number, value: vec4): boolean;
11794
11928
 
11795
11929
  /**
11796
11930
  * @description Adds a color value to a repeated field in the UserMessage.
@@ -11801,7 +11935,7 @@ declare module ":plugify-plugin-s2sdk" {
11801
11935
  * @param fieldName The name of the field.
11802
11936
  * @param value The value to add.
11803
11937
  */
11804
- export function PbAddColor(userMessage: number, fieldName: string, value: number): boolean;
11938
+ export function PbAddColor(userMessage: number, fieldName: string, value: vec4): boolean;
11805
11939
 
11806
11940
  /**
11807
11941
  * @description Gets a repeated Vector2 value from a field in the UserMessage.
@@ -11811,9 +11945,9 @@ declare module ":plugify-plugin-s2sdk" {
11811
11945
  * @param userMessage The UserMessage instance.
11812
11946
  * @param fieldName The name of the field.
11813
11947
  * @param index The index of the repeated field.
11814
- * @param out The output vector2.
11948
+ * @param out The output vector.
11815
11949
  */
11816
- export function PbGetRepeatedVector2(userMessage: number, fieldName: string, index: number, out: number): boolean;
11950
+ export function PbGetRepeatedVector2(userMessage: number, fieldName: string, index: number, out: vec2): boolean;
11817
11951
 
11818
11952
  /**
11819
11953
  * @description Sets a repeated Vector2 value for a field in the UserMessage.
@@ -11846,9 +11980,9 @@ declare module ":plugify-plugin-s2sdk" {
11846
11980
  * @param userMessage The UserMessage instance.
11847
11981
  * @param fieldName The name of the field.
11848
11982
  * @param index The index of the repeated field.
11849
- * @param out The output vector2.
11983
+ * @param out The output vector.
11850
11984
  */
11851
- export function PbGetRepeatedVector3(userMessage: number, fieldName: string, index: number, out: number): boolean;
11985
+ export function PbGetRepeatedVector3(userMessage: number, fieldName: string, index: number, out: vec3): boolean;
11852
11986
 
11853
11987
  /**
11854
11988
  * @description Sets a repeated Vector3 value for a field in the UserMessage.
@@ -11873,6 +12007,41 @@ declare module ":plugify-plugin-s2sdk" {
11873
12007
  */
11874
12008
  export function PbAddVector3(userMessage: number, fieldName: string, value: vec3): boolean;
11875
12009
 
12010
+ /**
12011
+ * @description Gets a repeated Vector4 value from a field in the UserMessage.
12012
+ *
12013
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbGetRepeatedVector4|Docs}
12014
+ *
12015
+ * @param userMessage The UserMessage instance.
12016
+ * @param fieldName The name of the field.
12017
+ * @param index The index of the repeated field.
12018
+ * @param out The output vector.
12019
+ */
12020
+ export function PbGetRepeatedVector4(userMessage: number, fieldName: string, index: number, out: vec4): boolean;
12021
+
12022
+ /**
12023
+ * @description Sets a repeated Vector4 value for a field in the UserMessage.
12024
+ *
12025
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbSetRepeatedVector4|Docs}
12026
+ *
12027
+ * @param userMessage The UserMessage instance.
12028
+ * @param fieldName The name of the field.
12029
+ * @param index The index of the repeated field.
12030
+ * @param value The value to set.
12031
+ */
12032
+ export function PbSetRepeatedVector4(userMessage: number, fieldName: string, index: number, value: vec4): boolean;
12033
+
12034
+ /**
12035
+ * @description Adds a Vector4 value to a repeated field in the UserMessage.
12036
+ *
12037
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PbAddVector4|Docs}
12038
+ *
12039
+ * @param userMessage The UserMessage instance.
12040
+ * @param fieldName The name of the field.
12041
+ * @param value The value to add.
12042
+ */
12043
+ export function PbAddVector4(userMessage: number, fieldName: string, value: vec4): boolean;
12044
+
11876
12045
  /**
11877
12046
  * @description Gets a repeated QAngle value from a field in the UserMessage.
11878
12047
  *
@@ -11881,9 +12050,9 @@ declare module ":plugify-plugin-s2sdk" {
11881
12050
  * @param userMessage The UserMessage instance.
11882
12051
  * @param fieldName The name of the field.
11883
12052
  * @param index The index of the repeated field.
11884
- * @param out The output vector2.
12053
+ * @param out The output vector.
11885
12054
  */
11886
- export function PbGetRepeatedQAngle(userMessage: number, fieldName: string, index: number, out: number): boolean;
12055
+ export function PbGetRepeatedQAngle(userMessage: number, fieldName: string, index: number, out: vec3): boolean;
11887
12056
 
11888
12057
  /**
11889
12058
  * @description Sets a repeated QAngle value for a field in the UserMessage.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plugify-plugins/s2sdk-types",
3
- "version": "2.3.17",
3
+ "version": "2.3.18",
4
4
  "description": "generated typescript types to write plugins on plugify",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {},