/
Weapons.d.ts
55 lines (46 loc) · 1.07 KB
/
Weapons.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
interface Weapon {
/**
A localized name for the object, suitable for display to users. The text is title
cased.
*/
name: string;
/**
A localized description, suitable for display to users.
*/
description: string;
/**
The type of the vehicle. Options are:
- Grenade
- Turret
- Vehicle
- Standard
- Power
*/
type: string;
/**
A reference to a large image for icon use. This may be null if there is no image
defined.
*/
largeIconImageUrl: string;
/**
A reference to a small image for icon use. This may be null if there is no image
defined.
*/
smallIconImageUrl: string;
/**
Indicates whether the weapon is usable by a player.
*/
isUsableByPlayer: boolean;
/**
The ID that uniquely identifies the weapon.
*/
id: number;
/*
Internal use only. Do not use.
contentId: guid;
*/
}
/**
A listing of weapons supported in the title. There is no significance to the ordering.
*/
declare type Weapons = Weapon[];