@citizenfx/server 2.0.13165-1 → 2.0.13177-1

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.
@@ -622,6 +622,13 @@ enum ePopulationType
622
622
  */
623
623
  declare function GetEntityPopulationType(entity: number): number;
624
624
 
625
+ /**
626
+ * GET_ENTITY_REMOTE_SYNCED_SCENES_ALLOWED
627
+ * @param entity The entity to get the flag for.
628
+ * @return Returns if the entity is allowed to participate in network-synchronized scenes initiated by clients that do not own the entity.
629
+ */
630
+ declare function GetEntityRemoteSyncedScenesAllowed(entity: number): boolean;
631
+
625
632
  /**
626
633
  * GET_ENTITY_ROTATION
627
634
  */
@@ -2107,6 +2114,14 @@ declare function SetEntityIgnoreRequestControlFilter(entity: number, ignore: boo
2107
2114
  */
2108
2115
  declare function SetEntityOrphanMode(entity: number, orphanMode: number): void;
2109
2116
 
2117
+ /**
2118
+ * Enables or disables the owner check for the specified entity in network-synchronized scenes. When set to `false`, the entity cannot participate in synced scenes initiated by clients that do not own the entity.
2119
+ * By default, this is `false` for all entities, meaning only the entity's owner can include it in networked synchronized scenes.
2120
+ * @param entity The entity to set the flag for.
2121
+ * @param allow Whether to allow remote synced scenes for the entity.
2122
+ */
2123
+ declare function SetEntityRemoteSyncedScenesAllowed(entity: number, allow: boolean): void;
2124
+
2110
2125
  /**
2111
2126
  * Sets the rotation of a specified entity in the game world.
2112
2127
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/server",
3
- "version": "2.0.13165-1",
3
+ "version": "2.0.13177-1",
4
4
  "description": "Typings for the CitizenFX server JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {