Skip to content

Commit

Permalink
chore: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Jan 9, 2024
1 parent efda0e7 commit f22341a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
18 changes: 17 additions & 1 deletion client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,20 @@ declare module "alt-client" {
readonly uuid: string | null;
}

export interface ISyncInfo {
readonly active: boolean;
readonly receivedTick: number;
readonly fullyReceivedTick: number;
readonly sendTick: number;
readonly ackedSendTick: number;
readonly propertyCount: number;
readonly componentCount: number;
/**
* 2D array of property update ticks grouped by component
*/
readonly propertyUpdateTicks: number[][];
}

export class BaseObject extends shared.BaseObject {
/**
* Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
Expand Down Expand Up @@ -946,6 +960,8 @@ declare module "alt-client" {

public getStreamSyncedMetaKeys(): readonly string[];

public getSyncInfo(): ISyncInfo;

public frozen: boolean;
}

Expand Down Expand Up @@ -4125,7 +4141,7 @@ declare module "alt-client" {
*/
public static getByID(id: number): TextLabel | null;

//public static readonly all: readonly TextLabel[];
public static readonly all: readonly TextLabel[];

public visible: boolean;

Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@altv/types-client",
"version": "16.1.3",
"version": "16.1.4",
"description": "This package contains types definitions for alt:V client-side module.",
"types": "index.d.ts",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion server/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ declare module "alt-server" {
}

export interface IVehicleModel {
readonly modelHash: number;
readonly title: string;
readonly type: shared.ModelType;
readonly wheelsCount: number;
Expand Down Expand Up @@ -1433,7 +1434,7 @@ declare module "alt-server" {

public getHairHighlightColor(): number;

public addDecoration(collection: string | number, overlay: string | number): void;
public addDecoration(collection: string | number, overlay: string | number, count?: number): void;
public removeDecoration(collection: string | number, overlay: string | number): void;
public clearDecorations(): void;
public getDecorations(): readonly IDecoration[];
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@altv/types-server",
"version": "16.1.1",
"version": "16.1.2",
"description": "This package contains types definitions for alt:V server-side module.",
"types": "index.d.ts",
"files": [
Expand Down

0 comments on commit f22341a

Please sign in to comment.