-
Notifications
You must be signed in to change notification settings - Fork 0
/
xr_hit.d.ts
41 lines (36 loc) · 1015 Bytes
/
xr_hit.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
38
39
40
41
declare module "xray16" {
/**
* @source C++ class hit
* @customConstructor hit
* @group xr_hit
*/
export class hit {
public static readonly burn = 0;
public static readonly chemical_burn = 2;
public static readonly dummy = 12;
public static readonly explosion = 7;
public static readonly fire_wound = 8;
public static readonly light_burn = 11;
public static readonly radiation = 3;
public static readonly shock = 1;
public static readonly strike = 5;
public static readonly telepatic = 4;
public static readonly wound = 6;
public direction: vector;
public draftsman: game_object | null;
public impulse: f32;
public power: f32;
public type: TXR_hit_type;
public constructor();
public constructor(hit: hit);
public bone(bone: string): void;
}
/**
* @group xr_hit
*/
export type TXR_hit_types = typeof hit;
/**
* @group xr_hit
*/
export type TXR_hit_type = EnumeratedStaticsValues<TXR_hit_types>;
}