-
Notifications
You must be signed in to change notification settings - Fork 14
/
Scanners.cs
65 lines (58 loc) · 2.1 KB
/
Scanners.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
63
64
65
using System;
using System.Globalization;
using LavishScriptAPI;
namespace EVE.ISXEVE
{
/// <summary>
/// Wrapper for the Scanners datatype.
/// </summary>
public class Scanners : LavishScriptObject
{
public Scanners(LavishScriptObject Copy) : base(Copy)
{
}
private DirectionalScanner _directional;
/// <summary>
/// Wraps the Directional member of the Scanners datatype.
/// </summary>
public DirectionalScanner Directional
{
get { return _directional ?? (_directional = new DirectionalScanner(GetMember("Directional"))); }
}
private SystemScanner _system;
/// <summary>
/// Wraps the System member of the Scanners datatype.
/// </summary>
public SystemScanner System
{
get { return _system ?? (_system = new SystemScanner(GetMember("System"))); }
}
/// <summary>
/// Wraps the Survey member of the Scanners datatype.
/// </summary>
/// <param name="moduleId">ID of the module to use for survey scanning.</param>
/// <returns></returns>
public SurveyScanner Survey(Int64 moduleId)
{
return new SurveyScanner(GetMember("Survey", moduleId.ToString(CultureInfo.CurrentCulture)));
}
/// <summary>
/// Wraps the Ship member of the Scanners datatype.
/// </summary>
/// <param name="moduleId">ID of the module to use for ship scanning.</param>
/// <returns></returns>
public ShipScanner Ship(Int64 moduleId)
{
return new ShipScanner(GetMember("Ship", moduleId.ToString(CultureInfo.CurrentCulture)));
}
/// <summary>
/// Wraps the Cargo member of the Scanners datatype.
/// </summary>
/// <param name="moduleId">ID of the module to use for ship scanning.</param>
/// <returns></returns>
public CargoScanner Cargo(Int64 moduleId)
{
return new CargoScanner(GetMember("Cargo", moduleId.ToString(CultureInfo.CurrentCulture)));
}
}
}