forked from gt5mp/types-gtmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
37 lines (28 loc) · 1.18 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/// <reference path="types/Definitions/index.d.ts" />
declare const API: GrandTheftMultiplayer.Client.Javascript.ScriptContext;
declare const host: Microsoft.ClearScript.HostFunctions;
import Keys = System.Windows.Forms.Keys;
import Point = System.Drawing.Point;
import PointF = System.Drawing.PointF;
import Size = System.Drawing.Size;
import LocalHandle = GrandTheftMultiplayer.Client.Models.LocalHandle;
import menuControl = NativeUI.UIMenu.MenuControls;
import Vector3 = GrandTheftMultiplayer.Shared.Math.Vector3;
declare var resource: any;
declare interface IConnectedEvent {
disconnect(): void;
}
declare interface IEvent<THandler> {
connect(handler: THandler): IConnectedEvent;
}
declare module Enums {
export const enum Controls { }
}
declare interface ListConstructor<T> extends System.Collections.Generic.List<T> {
new (type: any): System.Collections.Generic.List<T>;
}
declare var List: ListConstructor<any>;
declare interface DictionaryConstructor<TKey, TValue> extends System.Collections.Generic.Dictionary<TKey, TValue> {
new (keyType: any, valueType: any): System.Collections.Generic.Dictionary<TKey, TValue>;
}
declare var Dictionary: DictionaryConstructor<any, any>;