@plugify-plugins/s2sdk-types 2.5.1 → 2.6.0

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 +52 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -10829,6 +10829,32 @@ declare module ":plugify-plugin-s2sdk" {
10829
10829
  */
10830
10830
  export function SetEntSchemaEnt2(entity: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
10831
10831
 
10832
+ /**
10833
+ * @description Pushes an entity handle into an entity's schema collection.
10834
+ *
10835
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PushEntSchemaEnt2|Docs}
10836
+ *
10837
+ * @param entity Pointer to the instance of the class where the value is to be pushed.
10838
+ * @param className The name of the class.
10839
+ * @param memberName The name of the schema member.
10840
+ * @param value The entity handle to push.
10841
+ * @param changeState If true, change will be sent over the network.
10842
+ */
10843
+ export function PushEntSchemaEnt2(entity: number, className: string, memberName: string, value: number, changeState: boolean): void;
10844
+
10845
+ /**
10846
+ * @description Erases an entity handle from an entity's schema collection by index.
10847
+ *
10848
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-EraseEntSchemaEnt2|Docs}
10849
+ *
10850
+ * @param entity Pointer to the instance of the class where the value is to be erased.
10851
+ * @param className The name of the class.
10852
+ * @param memberName The name of the schema member.
10853
+ * @param element Element index to erase (starting from 0).
10854
+ * @param changeState If true, change will be sent over the network.
10855
+ */
10856
+ export function EraseEntSchemaEnt2(entity: number, className: string, memberName: string, element: number, changeState: boolean): void;
10857
+
10832
10858
  /**
10833
10859
  * @description Updates the networked state of a schema field for a given entity pointer.
10834
10860
  *
@@ -11059,6 +11085,32 @@ declare module ":plugify-plugin-s2sdk" {
11059
11085
  */
11060
11086
  export function SetEntSchemaEnt(entityHandle: number, className: string, memberName: string, value: number, changeState: boolean, element: number): void;
11061
11087
 
11088
+ /**
11089
+ * @description Pushes an entity handle into an entity's schema collection.
11090
+ *
11091
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-PushEntSchemaEnt|Docs}
11092
+ *
11093
+ * @param entityHandle The handle of the entity whose schema collection is modified.
11094
+ * @param className The name of the class.
11095
+ * @param memberName The name of the schema member.
11096
+ * @param value The entity handle to push.
11097
+ * @param changeState If true, change will be sent over the network.
11098
+ */
11099
+ export function PushEntSchemaEnt(entityHandle: number, className: string, memberName: string, value: number, changeState: boolean): void;
11100
+
11101
+ /**
11102
+ * @description Erases an entity handle from an entity's schema collection by index.
11103
+ *
11104
+ * {@link https://untrustedmodders.github.io/plugify-generator/?file=undefined/blob/main/plugify-plugin-s2sdk.pplugin.in#item-EraseEntSchemaEnt|Docs}
11105
+ *
11106
+ * @param entityHandle The handle of the entity whose schema collection is modified.
11107
+ * @param className The name of the class.
11108
+ * @param memberName The name of the schema member.
11109
+ * @param element Element index to erase (starting from 0).
11110
+ * @param changeState If true, change will be sent over the network.
11111
+ */
11112
+ export function EraseEntSchemaEnt(entityHandle: number, className: string, memberName: string, element: number, changeState: boolean): void;
11113
+
11062
11114
  /**
11063
11115
  * @description Updates the networked state of a schema field for a given entity handle.
11064
11116
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plugify-plugins/s2sdk-types",
3
- "version": "2.5.1",
3
+ "version": "2.6.0",
4
4
  "description": "generated typescript types to write plugins on plugify",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {},