Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Sep 16, 2024
2 parents 2200c07 + 3f22777 commit cc760fc
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 218 deletions.
11 changes: 11 additions & 0 deletions client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomBaseObjectMeta>>(key: K, value: ICustomBaseObjectMeta[K]): void;
/** @deprecated See {@link ICustomBaseObjectMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomBaseObjectMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomBaseObjectMeta>): void;
}

/** [Documentation](https://docs.altv.mp/articles/virtualentity.html) */
Expand Down Expand Up @@ -739,6 +740,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomAudioMeta>>(key: K, value: ICustomAudioMeta[K]): void;
/** @deprecated See {@link ICustomAudioMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomAudioMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomAudioMeta>): void;
}

export class AudioOutput extends BaseObject {
Expand Down Expand Up @@ -847,6 +849,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomCheckpointMeta>>(key: K, value: ICustomCheckpointMeta[K]): void;
/** @deprecated See {@link ICustomCheckpointMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomCheckpointMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomCheckpointMeta>): void;
}

export class Entity extends WorldObject {
Expand Down Expand Up @@ -916,6 +919,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomEntityMeta>>(key: K, value: ICustomEntityMeta[K]): void;
/** @deprecated See {@link ICustomEntityMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomEntityMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomEntityMeta>): void;

public deleteMeta(key: string): void;
public deleteMeta<K extends shared.ExtractStringKeys<ICustomEntityMeta>>(key: K): void;
Expand Down Expand Up @@ -1202,6 +1206,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomPlayerMeta>>(key: K, value: ICustomPlayerMeta[K]): void;
/** @deprecated See {@link ICustomPlayerMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomPlayerMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomPlayerMeta>): void;

public deleteMeta(key: string): void;
public deleteMeta<K extends shared.ExtractStringKeys<ICustomPlayerMeta>>(key: K): void;
Expand Down Expand Up @@ -1282,6 +1287,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomLocalPlayerMeta>>(key: K, value: ICustomLocalPlayerMeta[K]): void;
/** @deprecated See {@link ICustomLocalPlayerMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomLocalPlayerMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomLocalPlayerMeta>): void;
}

export class Vehicle extends Entity {
Expand Down Expand Up @@ -1734,6 +1740,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomVehicleMeta>>(key: K, value: ICustomVehicleMeta[K]): void;
/** @deprecated See {@link ICustomVehicleMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomVehicleMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomVehicleMeta>): void;

public deleteMeta(key: string): void;
public deleteMeta<K extends shared.ExtractStringKeys<ICustomVehicleMeta>>(key: K): void;
Expand Down Expand Up @@ -1998,6 +2005,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomWebViewMeta>>(key: K, value: ICustomWebViewMeta[K]): void;
/** @deprecated See {@link ICustomWebViewMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomWebViewMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomWebViewMeta>): void;
}

/** @deprecated */
Expand Down Expand Up @@ -2249,6 +2257,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomBlipMeta>>(key: K, value: ICustomBlipMeta[K]): void;
/** @deprecated See {@link ICustomBlipMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomBlipMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomBlipMeta>): void;
}

export class AreaBlip extends Blip {
Expand Down Expand Up @@ -3987,6 +3996,7 @@ declare module "alt-client" {

public setMeta<K extends string>(key: K, value: shared.InterfaceValueByKey<ICustomPedMeta, K>): void;
public setMeta<K extends shared.ExtractStringKeys<ICustomPedMeta>>(key: K, value: ICustomPedMeta[K]): void;
public setMeta(values: shared.MetaValues<ICustomPedMeta>): void;

public deleteMeta(key: string): void;
public deleteMeta<K extends shared.ExtractStringKeys<ICustomPedMeta>>(key: K): void;
Expand Down Expand Up @@ -4168,6 +4178,7 @@ declare module "alt-client" {
public setMeta<K extends shared.ExtractStringKeys<ICustomColshapeMeta>>(key: K, value: ICustomColshapeMeta[K]): void;
/** @deprecated See {@link ICustomColshapeMeta} */
public setMeta<V extends any, K extends string = string>(key: K, value: shared.InterfaceValueByKey<ICustomColshapeMeta, K, V>): void;
public setMeta(values: shared.MetaValues<ICustomColshapeMeta>): void;
}

export class ColshapeCylinder extends Colshape {
Expand Down
2 changes: 0 additions & 2 deletions docs/articles/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,5 @@
items:
- name: Train API
href: vehicle/train-api.md
- name: Workers
href: workers.md
- name: Debugging server code
href: debugging-server-code.md
208 changes: 0 additions & 208 deletions docs/articles/workers.md

This file was deleted.

Loading

0 comments on commit cc760fc

Please sign in to comment.