-
Notifications
You must be signed in to change notification settings - Fork 14
/
ItemInfoList.cs
62 lines (55 loc) · 1.43 KB
/
ItemInfoList.cs
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
56
57
58
59
60
61
62
using System;
using EVE.ISXEVE.Extensions;
using EVE.ISXEVE.Interfaces;
using LavishScriptAPI;
namespace EVE.ISXEVE
{
/// <summary>
/// Wrapper for the iteminfolist datatype.
/// </summary>
public class ItemInfoList : ItemInfo, IItemInfoList
{
public ItemInfoList(LavishScriptObject Copy) : base(Copy)
{
}
private int? _id;
/// <summary>
/// Wrapper for the ID member of the ItemInfoList datatype.
/// </summary>
new public int ID
{
get
{
if (_id == null)
_id = this.GetInt("ID");
return _id.Value;
}
}
private int? _typeId;
/// <summary>
/// Wrapper for the TypeID member of the ItemInfoList datatype.
/// </summary>
new public int TypeID
{
get
{
if (_typeId == null)
_typeId = this.GetInt("TypeID");
return _typeId.Value;
}
}
private Int64? _quantity;
/// <summary>
/// Wrapper for the Quantity member of the ItemInfoList datatype.
/// </summary>
public Int64 Quantity
{
get
{
if (_quantity == null)
_quantity = this.GetInt64("Quantity");
return _quantity.Value;
}
}
}
}