xray16 1.6.1 → 1.6.2

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/package.json +1 -1
  2. package/xray16.d.ts +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray16",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "author": "Neloreck",
5
5
  "repository": "https://github.com/xray-forge/xray-16-types",
6
6
  "homepage": "https://xray-forge.github.io/xray-16-types/index.html",
package/xray16.d.ts CHANGED
@@ -22810,9 +22810,14 @@ declare module "xray16" {
22810
22810
  /**
22811
22811
  * Get parent object.
22812
22812
  *
22813
- * @returns Parent object.
22813
+ * @source `src/xrGame/script_game_object_use.cpp`, `CScriptGameObject::Parent`.
22814
+ *
22815
+ * @remarks
22816
+ * Returns `null` when the object has no parent game object.
22817
+ *
22818
+ * @returns Parent object, or `null` when no parent exists.
22814
22819
  */
22815
- public parent(): game_object;
22820
+ public parent(): Nullable<game_object>;
22816
22821
 
22817
22822
  /**
22818
22823
  * Get current world position.