-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGroupMember.cs
132 lines (113 loc) · 4.46 KB
/
GroupMember.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
using System;
using LavishScriptAPI;
namespace Vanguard.ISXVG
{
/// <summary>
/// This DataType includes all of the data available to ISXVG that is related to groups.
/// </summary>
public class GroupMember : LavishScriptObject
{
/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
public GroupMember() : base(LavishScript.Objects.GetObject("GroupMember")) {}
/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="Copy">The copy.</param>
public GroupMember(LavishScriptObject Copy) : base(Copy) {}
/// <summary>
/// Gets the ID of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The ID.</value>
public Int64 ID { get { return GetMember<Int64>("ID"); } }
/// <summary>
/// Gets the name of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The name.</value>
public string Name { get { return GetMember<string>("Name"); } }
/// <summary>
/// Gets the X of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The X.</value>
public float X { get { return GetMember<float>("X"); } }
/// <summary>
/// Gets the Y of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The Y.</value>
public float Y { get { return GetMember<float>("Y"); } }
/// <summary>
/// Gets the Z of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The Z.</value>
public float Z { get { return GetMember<float>("Z"); } }
/// <summary>
/// Gets the health of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The health.</value>
public float Health { get { return GetMember<float>("Health"); } }
/// <summary>
/// Gets the energy of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The energy.</value>
public float Energy { get { return GetMember<float>("Energy"); } }
/// <summary>
/// Gets the endurance of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The endurance.</value>
public float Endurance { get { return GetMember<float>("Endurance"); } }
/// <summary>
/// Gets the chunk X of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The chunk X.</value>
public int ChunkX { get { return GetMember<int>("ChunkX"); } }
public int ChunkY { get { return GetMember<int>("ChunkY"); } }
/// <summary>
/// Gets the race of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The race.</value>
public string Race { get { return GetMember<string>("Race"); } }
/// <summary>
/// Gets the class of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The class.</value>
public string Class { get { return GetMember<string>("Class"); } }
/// <summary>
/// Gets the heading to of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The heading to.</value>
public int HeadingTo { get { return GetMember<int>("HeadingTo"); } }
/// <summary>
/// Gets the distance of this <see cref="GroupMember"/>.
/// </summary>
/// <value>The distance.</value>
public float Distance { get { return GetMember<float>("Distance"); } }
/// <summary>
/// Only for group members within your 'pawn visible radius', otherwise it will return the ID# of the group member
/// </summary>
public Pawn ToPawn
{
get
{
LavishScriptObject Obj = GetMember("ToPawn");
return new Pawn(Obj);
}
}
/// <summary>
/// Remove from the group if you're the group leader
/// </summary>
/// <returns></returns>
public bool Boot()
{
return ExecuteMethod("Boot");
}
/// <summary>
/// Makes the master looter.
/// </summary>
/// <returns></returns>
public bool MakeMasterLooter()
{
return ExecuteMethod("MakeMasterLooter");
}
}
}