Skip to content

Commit

Permalink
fix(server): virtual entity description
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady authored Mar 13, 2024
1 parent f3e4ae0 commit e4b68c5
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 e4b68c5

Please sign in to comment.