@plugify-plugins/s2sdk-types 2.3.9 → 2.3.11

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 +111 -69
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2171,12 +2171,12 @@ declare module ":plugify-plugin-s2sdk" {
2171
2171
  /**
2172
2172
  * @description Finds a key by name or creates it if it doesn't exist
2173
2173
  *
2174
- * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-Kv1FindKeyOrCreate|Docs}
2174
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-Kv1FindOrCreateKey|Docs}
2175
2175
  *
2176
2176
  * @param kv Pointer to the KeyValues object to search in
2177
2177
  * @param keyName The name of the key to find or create
2178
2178
  */
2179
- export function Kv1FindKeyOrCreate(kv: number, keyName: string): number;
2179
+ export function Kv1FindOrCreateKey(kv: number, keyName: string): number;
2180
2180
 
2181
2181
  /**
2182
2182
  * @description Creates a new subkey with the specified name
@@ -5843,9 +5843,9 @@ declare module ":plugify-plugin-s2sdk" {
5843
5843
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-TeleportClient|Docs}
5844
5844
  *
5845
5845
  * @param playerSlot The index of the player's slot to teleport.
5846
- * @param origin A pointer to a Vector representing the new absolute position. Can be nullptr.
5847
- * @param angles A pointer to a QAngle representing the new orientation. Can be nullptr.
5848
- * @param velocity A pointer to a Vector representing the new velocity. Can be nullptr.
5846
+ * @param origin A pointer to a Vector representing the new absolute position. Use nan vector to not set.
5847
+ * @param angles A pointer to a QAngle representing the new orientation. Use nan vector to not set.
5848
+ * @param velocity A pointer to a Vector representing the new velocity. Use nan vector to not set.
5849
5849
  */
5850
5850
  export function TeleportClient(playerSlot: number, origin: vec3, angles: vec3, velocity: vec3): void;
5851
5851
 
@@ -6800,10 +6800,10 @@ declare module ":plugify-plugin-s2sdk" {
6800
6800
  *
6801
6801
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-UnhookConVarChange|Docs}
6802
6802
  *
6803
- * @param uint64 The handle to the console variable data.
6803
+ * @param conVarHandle The handle to the console variable data.
6804
6804
  * @param callback The callback function to be removed.
6805
6805
  */
6806
- export function UnhookConVarChange(uint64: string, callback: typeof Callbacks.ChangeCallback): void;
6806
+ export function UnhookConVarChange(conVarHandle: number, callback: typeof Callbacks.ChangeCallback): void;
6807
6807
 
6808
6808
  /**
6809
6809
  * @description Checks if a specific flag is set for a console variable.
@@ -7242,6 +7242,17 @@ declare module ":plugify-plugin-s2sdk" {
7242
7242
  */
7243
7243
  export function SendConVarValue(playerSlot: number, conVarHandle: number, value: string): void;
7244
7244
 
7245
+ /**
7246
+ * @description Replicates a console variable value to a specific client. This does not change the actual console variable value.
7247
+ *
7248
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SendConVarValue2|Docs}
7249
+ *
7250
+ * @param conVarHandle The handle to the console variable data.
7251
+ * @param playerSlot The index of the client to replicate the value to.
7252
+ * @param value The value to send to the client.
7253
+ */
7254
+ export function SendConVarValue2(conVarHandle: number, playerSlot: number, value: string): void;
7255
+
7245
7256
  /**
7246
7257
  * @description Retrieves the value of a client's console variable and stores it in the output string.
7247
7258
  *
@@ -7583,13 +7594,22 @@ declare module ":plugify-plugin-s2sdk" {
7583
7594
  export function GetFirstActiveEntity(): number;
7584
7595
 
7585
7596
  /**
7586
- * @description Retrieves a pointer to the concrete entity list.
7597
+ * @description Retrieves the previous active entity.
7587
7598
  *
7588
- * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetConcreteEntityListPointer|Docs}
7599
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetPrevActiveEntity|Docs}
7589
7600
  *
7601
+ * @param entityHandle undefined
7602
+ */
7603
+ export function GetPrevActiveEntity(entityHandle: number): number;
7604
+
7605
+ /**
7606
+ * @description Retrieves the next active entity.
7607
+ *
7608
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetNextActiveEntity|Docs}
7590
7609
  *
7610
+ * @param entityHandle undefined
7591
7611
  */
7592
- export function GetConcreteEntityListPointer(): number;
7612
+ export function GetNextActiveEntity(entityHandle: number): number;
7593
7613
 
7594
7614
  /**
7595
7615
  * @description Adds an entity output hook on a specified entity class name.
@@ -7615,6 +7635,28 @@ declare module ":plugify-plugin-s2sdk" {
7615
7635
  */
7616
7636
  export function UnhookEntityOutput(classname: string, output: string, callback: typeof Callbacks.HookEntityOutputCallback, type: HookMode): boolean;
7617
7637
 
7638
+ /**
7639
+ * @description Finds an entity by classname with iteration.
7640
+ *
7641
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-FindEntityByClassname|Docs}
7642
+ *
7643
+ * @param startFrom The handle of the entity to start from, or INVALID_EHANDLE_INDEX to start fresh.
7644
+ * @param classname The class name to search for.
7645
+ */
7646
+ export function FindEntityByClassname(startFrom: number, classname: string): number;
7647
+
7648
+ /**
7649
+ * @description Finds the nearest entity by classname to a point.
7650
+ *
7651
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-FindEntityByClassnameNearest|Docs}
7652
+ *
7653
+ * @param startFrom The handle of the entity to start from, or INVALID_EHANDLE_INDEX to start fresh.
7654
+ * @param classname The class name to search for.
7655
+ * @param origin The center point to search around.
7656
+ * @param maxRadius Maximum search radius.
7657
+ */
7658
+ export function FindEntityByClassnameNearest(startFrom: number, classname: string, origin: vec3, maxRadius: number): number;
7659
+
7618
7660
  /**
7619
7661
  * @description Finds an entity by classname within a radius with iteration.
7620
7662
  *
@@ -8393,9 +8435,9 @@ declare module ":plugify-plugin-s2sdk" {
8393
8435
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-TeleportEntity|Docs}
8394
8436
  *
8395
8437
  * @param entityHandle The handle of the entity to teleport.
8396
- * @param origin A pointer to a Vector representing the new absolute position. Can be nullptr.
8397
- * @param angles A pointer to a QAngle representing the new orientation. Can be nullptr.
8398
- * @param velocity A pointer to a Vector representing the new velocity. Can be nullptr.
8438
+ * @param origin A pointer to a Vector representing the new absolute position. Use nan vector to not set.
8439
+ * @param angles A pointer to a QAngle representing the new orientation. Use nan vector to not set.
8440
+ * @param velocity A pointer to a Vector representing the new velocity. Use nan vector to not set.
8399
8441
  */
8400
8442
  export function TeleportEntity(entityHandle: number, origin: vec3, angles: vec3, velocity: vec3): void;
8401
8443
 
@@ -8633,289 +8675,289 @@ declare module ":plugify-plugin-s2sdk" {
8633
8675
  *
8634
8676
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-FireEvent|Docs}
8635
8677
  *
8636
- * @param info A pointer to the EventInfo structure containing event data.
8678
+ * @param event A pointer to the IGameEvent object containing event data.
8637
8679
  * @param dontBroadcast A boolean indicating whether to broadcast the event.
8638
8680
  */
8639
- export function FireEvent(info: number, dontBroadcast: boolean): void;
8681
+ export function FireEvent(event: number, dontBroadcast: boolean): void;
8640
8682
 
8641
8683
  /**
8642
8684
  * @description Fires a game event to a specific client.
8643
8685
  *
8644
8686
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-FireEventToClient|Docs}
8645
8687
  *
8646
- * @param info A pointer to the EventInfo structure containing event data.
8688
+ * @param event A pointer to the IGameEvent object containing event data.
8647
8689
  * @param playerSlot The index of the client to fire the event to.
8648
8690
  */
8649
- export function FireEventToClient(info: number, playerSlot: number): void;
8691
+ export function FireEventToClient(event: number, playerSlot: number): void;
8650
8692
 
8651
8693
  /**
8652
8694
  * @description Cancels a previously created game event that has not been fired.
8653
8695
  *
8654
8696
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-CancelCreatedEvent|Docs}
8655
8697
  *
8656
- * @param info A pointer to the EventInfo structure of the event to cancel.
8698
+ * @param event A pointer to the IGameEvent object of the event to cancel.
8657
8699
  */
8658
- export function CancelCreatedEvent(info: number): void;
8700
+ export function CancelCreatedEvent(event: number): void;
8659
8701
 
8660
8702
  /**
8661
8703
  * @description Retrieves the boolean value of a game event's key.
8662
8704
  *
8663
8705
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventBool|Docs}
8664
8706
  *
8665
- * @param info A pointer to the EventInfo structure containing event data.
8707
+ * @param event A pointer to the IGameEvent object containing event data.
8666
8708
  * @param key The key for which to retrieve the boolean value.
8667
8709
  */
8668
- export function GetEventBool(info: number, key: string): boolean;
8710
+ export function GetEventBool(event: number, key: string): boolean;
8669
8711
 
8670
8712
  /**
8671
8713
  * @description Retrieves the float value of a game event's key.
8672
8714
  *
8673
8715
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventFloat|Docs}
8674
8716
  *
8675
- * @param info A pointer to the EventInfo structure containing event data.
8717
+ * @param event A pointer to the IGameEvent object containing event data.
8676
8718
  * @param key The key for which to retrieve the float value.
8677
8719
  */
8678
- export function GetEventFloat(info: number, key: string): number;
8720
+ export function GetEventFloat(event: number, key: string): number;
8679
8721
 
8680
8722
  /**
8681
8723
  * @description Retrieves the integer value of a game event's key.
8682
8724
  *
8683
8725
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventInt|Docs}
8684
8726
  *
8685
- * @param info A pointer to the EventInfo structure containing event data.
8727
+ * @param event A pointer to the IGameEvent object containing event data.
8686
8728
  * @param key The key for which to retrieve the integer value.
8687
8729
  */
8688
- export function GetEventInt(info: number, key: string): number;
8730
+ export function GetEventInt(event: number, key: string): number;
8689
8731
 
8690
8732
  /**
8691
8733
  * @description Retrieves the long integer value of a game event's key.
8692
8734
  *
8693
8735
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventUInt64|Docs}
8694
8736
  *
8695
- * @param info A pointer to the EventInfo structure containing event data.
8737
+ * @param event A pointer to the IGameEvent object containing event data.
8696
8738
  * @param key The key for which to retrieve the long integer value.
8697
8739
  */
8698
- export function GetEventUInt64(info: number, key: string): number;
8740
+ export function GetEventUInt64(event: number, key: string): number;
8699
8741
 
8700
8742
  /**
8701
8743
  * @description Retrieves the string value of a game event's key.
8702
8744
  *
8703
8745
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventString|Docs}
8704
8746
  *
8705
- * @param info A pointer to the EventInfo structure containing event data.
8747
+ * @param event A pointer to the IGameEvent object containing event data.
8706
8748
  * @param key The key for which to retrieve the string value.
8707
8749
  */
8708
- export function GetEventString(info: number, key: string): string;
8750
+ export function GetEventString(event: number, key: string): string;
8709
8751
 
8710
8752
  /**
8711
8753
  * @description Retrieves the pointer value of a game event's key.
8712
8754
  *
8713
8755
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventPtr|Docs}
8714
8756
  *
8715
- * @param info A pointer to the EventInfo structure containing event data.
8757
+ * @param event A pointer to the IGameEvent object containing event data.
8716
8758
  * @param key The key for which to retrieve the pointer value.
8717
8759
  */
8718
- export function GetEventPtr(info: number, key: string): number;
8760
+ export function GetEventPtr(event: number, key: string): number;
8719
8761
 
8720
8762
  /**
8721
8763
  * @description Retrieves the player controller address of a game event's key.
8722
8764
  *
8723
8765
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventPlayerController|Docs}
8724
8766
  *
8725
- * @param info A pointer to the EventInfo structure containing event data.
8767
+ * @param event A pointer to the IGameEvent object containing event data.
8726
8768
  * @param key The key for which to retrieve the player controller address.
8727
8769
  */
8728
- export function GetEventPlayerController(info: number, key: string): number;
8770
+ export function GetEventPlayerController(event: number, key: string): number;
8729
8771
 
8730
8772
  /**
8731
8773
  * @description Retrieves the player index of a game event's key.
8732
8774
  *
8733
8775
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventPlayerIndex|Docs}
8734
8776
  *
8735
- * @param info A pointer to the EventInfo structure containing event data.
8777
+ * @param event A pointer to the IGameEvent object containing event data.
8736
8778
  * @param key The key for which to retrieve the player index.
8737
8779
  */
8738
- export function GetEventPlayerIndex(info: number, key: string): number;
8780
+ export function GetEventPlayerIndex(event: number, key: string): number;
8739
8781
 
8740
8782
  /**
8741
8783
  * @description Retrieves the player pawn address of a game event's key.
8742
8784
  *
8743
8785
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventPlayerPawn|Docs}
8744
8786
  *
8745
- * @param info A pointer to the EventInfo structure containing event data.
8787
+ * @param event A pointer to the IGameEvent object containing event data.
8746
8788
  * @param key The key for which to retrieve the player pawn address.
8747
8789
  */
8748
- export function GetEventPlayerPawn(info: number, key: string): number;
8790
+ export function GetEventPlayerPawn(event: number, key: string): number;
8749
8791
 
8750
8792
  /**
8751
8793
  * @description Retrieves the entity address of a game event's key.
8752
8794
  *
8753
8795
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventEntity|Docs}
8754
8796
  *
8755
- * @param info A pointer to the EventInfo structure containing event data.
8797
+ * @param event A pointer to the IGameEvent object containing event data.
8756
8798
  * @param key The key for which to retrieve the entity address.
8757
8799
  */
8758
- export function GetEventEntity(info: number, key: string): number;
8800
+ export function GetEventEntity(event: number, key: string): number;
8759
8801
 
8760
8802
  /**
8761
8803
  * @description Retrieves the entity index of a game event's key.
8762
8804
  *
8763
8805
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventEntityIndex|Docs}
8764
8806
  *
8765
- * @param info A pointer to the EventInfo structure containing event data.
8807
+ * @param event A pointer to the IGameEvent object containing event data.
8766
8808
  * @param key The key for which to retrieve the entity index.
8767
8809
  */
8768
- export function GetEventEntityIndex(info: number, key: string): number;
8810
+ export function GetEventEntityIndex(event: number, key: string): number;
8769
8811
 
8770
8812
  /**
8771
8813
  * @description Retrieves the entity handle of a game event's key.
8772
8814
  *
8773
8815
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventEntityHandle|Docs}
8774
8816
  *
8775
- * @param info A pointer to the EventInfo structure containing event data.
8817
+ * @param event A pointer to the IGameEvent object containing event data.
8776
8818
  * @param key The key for which to retrieve the entity handle.
8777
8819
  */
8778
- export function GetEventEntityHandle(info: number, key: string): number;
8820
+ export function GetEventEntityHandle(event: number, key: string): number;
8779
8821
 
8780
8822
  /**
8781
8823
  * @description Retrieves the name of a game event.
8782
8824
  *
8783
8825
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-GetEventName|Docs}
8784
8826
  *
8785
- * @param info A pointer to the EventInfo structure containing event data.
8827
+ * @param event A pointer to the IGameEvent object containing event data.
8786
8828
  */
8787
- export function GetEventName(info: number): string;
8829
+ export function GetEventName(event: number): string;
8788
8830
 
8789
8831
  /**
8790
8832
  * @description Sets the boolean value of a game event's key.
8791
8833
  *
8792
8834
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventBool|Docs}
8793
8835
  *
8794
- * @param info A pointer to the EventInfo structure containing event data.
8836
+ * @param event A pointer to the IGameEvent object containing event data.
8795
8837
  * @param key The key for which to set the boolean value.
8796
8838
  * @param value The boolean value to set.
8797
8839
  */
8798
- export function SetEventBool(info: number, key: string, value: boolean): void;
8840
+ export function SetEventBool(event: number, key: string, value: boolean): void;
8799
8841
 
8800
8842
  /**
8801
8843
  * @description Sets the floating point value of a game event's key.
8802
8844
  *
8803
8845
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventFloat|Docs}
8804
8846
  *
8805
- * @param info A pointer to the EventInfo structure containing event data.
8847
+ * @param event A pointer to the IGameEvent object containing event data.
8806
8848
  * @param key The key for which to set the float value.
8807
8849
  * @param value The float value to set.
8808
8850
  */
8809
- export function SetEventFloat(info: number, key: string, value: number): void;
8851
+ export function SetEventFloat(event: number, key: string, value: number): void;
8810
8852
 
8811
8853
  /**
8812
8854
  * @description Sets the integer value of a game event's key.
8813
8855
  *
8814
8856
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventInt|Docs}
8815
8857
  *
8816
- * @param info A pointer to the EventInfo structure containing event data.
8858
+ * @param event A pointer to the IGameEvent object containing event data.
8817
8859
  * @param key The key for which to set the integer value.
8818
8860
  * @param value The integer value to set.
8819
8861
  */
8820
- export function SetEventInt(info: number, key: string, value: number): void;
8862
+ export function SetEventInt(event: number, key: string, value: number): void;
8821
8863
 
8822
8864
  /**
8823
8865
  * @description Sets the long integer value of a game event's key.
8824
8866
  *
8825
8867
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventUInt64|Docs}
8826
8868
  *
8827
- * @param info A pointer to the EventInfo structure containing event data.
8869
+ * @param event A pointer to the IGameEvent object containing event data.
8828
8870
  * @param key The key for which to set the long integer value.
8829
8871
  * @param value The long integer value to set.
8830
8872
  */
8831
- export function SetEventUInt64(info: number, key: string, value: number): void;
8873
+ export function SetEventUInt64(event: number, key: string, value: number): void;
8832
8874
 
8833
8875
  /**
8834
8876
  * @description Sets the string value of a game event's key.
8835
8877
  *
8836
8878
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventString|Docs}
8837
8879
  *
8838
- * @param info A pointer to the EventInfo structure containing event data.
8880
+ * @param event A pointer to the IGameEvent object containing event data.
8839
8881
  * @param key The key for which to set the string value.
8840
8882
  * @param value The string value to set.
8841
8883
  */
8842
- export function SetEventString(info: number, key: string, value: string): void;
8884
+ export function SetEventString(event: number, key: string, value: string): void;
8843
8885
 
8844
8886
  /**
8845
8887
  * @description Sets the pointer value of a game event's key.
8846
8888
  *
8847
8889
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventPtr|Docs}
8848
8890
  *
8849
- * @param info A pointer to the EventInfo structure containing event data.
8891
+ * @param event A pointer to the IGameEvent object containing event data.
8850
8892
  * @param key The key for which to set the pointer value.
8851
8893
  * @param value The pointer value to set.
8852
8894
  */
8853
- export function SetEventPtr(info: number, key: string, value: number): void;
8895
+ export function SetEventPtr(event: number, key: string, value: number): void;
8854
8896
 
8855
8897
  /**
8856
8898
  * @description Sets the player controller address of a game event's key.
8857
8899
  *
8858
8900
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventPlayerController|Docs}
8859
8901
  *
8860
- * @param info A pointer to the EventInfo structure containing event data.
8902
+ * @param event A pointer to the IGameEvent object containing event data.
8861
8903
  * @param key The key for which to set the player controller address.
8862
8904
  * @param value A pointer to the player controller to set.
8863
8905
  */
8864
- export function SetEventPlayerController(info: number, key: string, value: number): void;
8906
+ export function SetEventPlayerController(event: number, key: string, value: number): void;
8865
8907
 
8866
8908
  /**
8867
8909
  * @description Sets the player index value of a game event's key.
8868
8910
  *
8869
8911
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventPlayerIndex|Docs}
8870
8912
  *
8871
- * @param info A pointer to the EventInfo structure containing event data.
8913
+ * @param event A pointer to the IGameEvent object containing event data.
8872
8914
  * @param key The key for which to set the player index value.
8873
8915
  * @param value The player index value to set.
8874
8916
  */
8875
- export function SetEventPlayerIndex(info: number, key: string, value: number): void;
8917
+ export function SetEventPlayerIndex(event: number, key: string, value: number): void;
8876
8918
 
8877
8919
  /**
8878
8920
  * @description Sets the entity address of a game event's key.
8879
8921
  *
8880
8922
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventEntity|Docs}
8881
8923
  *
8882
- * @param info A pointer to the EventInfo structure containing event data.
8924
+ * @param event A pointer to the IGameEvent object containing event data.
8883
8925
  * @param key The key for which to set the entity address.
8884
8926
  * @param value A pointer to the entity to set.
8885
8927
  */
8886
- export function SetEventEntity(info: number, key: string, value: number): void;
8928
+ export function SetEventEntity(event: number, key: string, value: number): void;
8887
8929
 
8888
8930
  /**
8889
8931
  * @description Sets the entity index of a game event's key.
8890
8932
  *
8891
8933
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventEntityIndex|Docs}
8892
8934
  *
8893
- * @param info A pointer to the EventInfo structure containing event data.
8935
+ * @param event A pointer to the IGameEvent object containing event data.
8894
8936
  * @param key The key for which to set the entity index.
8895
8937
  * @param value The entity index value to set.
8896
8938
  */
8897
- export function SetEventEntityIndex(info: number, key: string, value: number): void;
8939
+ export function SetEventEntityIndex(event: number, key: string, value: number): void;
8898
8940
 
8899
8941
  /**
8900
8942
  * @description Sets the entity handle of a game event's key.
8901
8943
  *
8902
8944
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventEntityHandle|Docs}
8903
8945
  *
8904
- * @param info A pointer to the EventInfo structure containing event data.
8946
+ * @param event A pointer to the IGameEvent object containing event data.
8905
8947
  * @param key The key for which to set the entity handle.
8906
8948
  * @param value The entity handle value to set.
8907
8949
  */
8908
- export function SetEventEntityHandle(info: number, key: string, value: number): void;
8950
+ export function SetEventEntityHandle(event: number, key: string, value: number): void;
8909
8951
 
8910
8952
  /**
8911
8953
  * @description Sets whether an event's broadcasting will be disabled or not.
8912
8954
  *
8913
8955
  * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-SetEventBroadcast|Docs}
8914
8956
  *
8915
- * @param info A pointer to the EventInfo structure containing event data.
8957
+ * @param event A pointer to the IGameEvent object containing event data.
8916
8958
  * @param dontBroadcast A boolean indicating whether to disable broadcasting.
8917
8959
  */
8918
- export function SetEventBroadcast(info: number, dontBroadcast: boolean): void;
8960
+ export function SetEventBroadcast(event: number, dontBroadcast: boolean): void;
8919
8961
 
8920
8962
  /**
8921
8963
  * @description Load game event descriptions from a file (e.g., "resource/gameevents.res").
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plugify-plugins/s2sdk-types",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "description": "generated typescript types to write plugins on plugify",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {},