Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger committed Jan 7, 2024
2 parents e5df04e + 5421379 commit a7a77fa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 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

0 comments on commit a7a77fa

Please sign in to comment.