Skip to content

Commit

Permalink
fix(server): virtual entity description (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady authored Mar 14, 2024
1 parent f3e4ae0 commit 8599d0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/index.d.ts
Original file line number Diff line number Diff line change
@@ -727,14 +727,18 @@ declare module "alt-server" {
public pos: shared.Vector3;
}

/** https://docs.altv.mp/articles/virtualentity.html */
export class VirtualEntityGroup extends BaseObject {
/** Creates a new Virtual Entity Group */
public constructor(maxEntitiesInStream: number);

/** Returns all Virtual Entity Group instances */
public static readonly all: readonly VirtualEntityGroup[];

/** Maximum streaming range inside the Virtual Entity Group */
/**
* Max number of entities per player stream.
* More info: https://docs.altv.mp/articles/virtualentity.html#what-is-max-number-of-entities-per-player-stream
*/
public readonly maxEntitiesInStream: number;
}

0 comments on commit 8599d0b

Please sign in to comment.