-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRefining.cs
298 lines (264 loc) · 9.59 KB
/
Refining.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
using LavishScriptAPI;
namespace Vanguard.ISXVG
{
/// <summary>
///
/// </summary>
public class Refining : LavishScriptObject
{
/// <summary>
/// Initializes a new instance of the <see cref="Refining"/> class.
/// </summary>
/// <param name="Obj">The obj.</param>
public Refining(LavishScriptObject Obj)
: base(Obj) {}
/// <summary>
/// Initializes a new instance of the <see cref="Refining"/> class.
/// </summary>
public Refining()
: base(LavishScript.Objects.GetObject("Refining")) {}
/// <summary>
/// Gets a value indicating whether [in recovery].
/// </summary>
/// <value><c>true</c> if [in recovery]; otherwise, <c>false</c>.</value>
public bool InRecovery { get { return GetMember<bool>("InRecovery"); } }
/// <summary>
/// Gets the recovery of this <see cref="Refining"/>.
/// </summary>
/// <value>The recovery.</value>
public float Recovery { get { return GetMember<float>("Recovery"); } }
/// <summary>
/// Gets the recipe count of this <see cref="Refining"/>.
/// </summary>
/// <value>The recipe count.</value>
public int RecipeCount { get { return GetMember<int>("RecipeCount"); } }
/// <summary>
/// Gets the state of this <see cref="Refining"/>.
/// </summary>
/// <value>The state.</value>
public int State { get { return GetMember<int>("State"); } }
/// <summary>
/// Gets the orig action points avail of this <see cref="Refining"/>.
/// </summary>
/// <value>The orig action points avail.</value>
public int OrigActionPointsAvail { get { return GetMember<int>("OrigActionPointsAvail"); } }
/// <summary>
/// Gets the action points used of this <see cref="Refining"/>.
/// </summary>
/// <value>The action points used.</value>
public int ActionPointsUsed { get { return GetMember<int>("ActionPointsUsed"); } }
/// <summary>
/// Gets the useable item count of this <see cref="Refining"/>.
/// </summary>
/// <value>The useable item count.</value>
public int UseableItemCount { get { return GetMember<int>("UseableItemCount"); } }
/// <summary>
/// Gets the total table space of this <see cref="Refining"/>.
/// </summary>
/// <value>The total table space.</value>
public int TotalTableSpace { get { return GetMember<int>("TotalTableSpace"); } }
/// <summary>
/// Gets the quality of this <see cref="Refining"/>.
/// </summary>
/// <value>The quality.</value>
public int Quality { get { return GetMember<int>("Quality"); } }
/// <summary>
/// Gets a value indicating whether this <seealso cref="Refining"/> is setup complete.
/// </summary>
/// <value>
/// <c>true</c> if this <seealso cref="Refining"/> is setup complete; otherwise, <c>false</c>.
/// </value>
public bool IsSetupComplete { get { return GetMember<bool>("IsSetupComplete"); } }
/// <summary>
/// Gets the complication count of this <see cref="Refining"/>.
/// </summary>
/// <value>The complication count.</value>
public int ComplicationCount { get { return GetMember<int>("ComplicationCount"); } }
/// <summary>
/// Gets the correction count of this <see cref="Refining"/>.
/// </summary>
/// <value>The correction count.</value>
public int CorrectionCount { get { return GetMember<int>("CorrectionCount"); } }
/// <summary>
/// Stages the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public CraftingStage Stage(int Arg)
{
LavishScriptObject Obj = GetMember("Stage", Arg.ToString());
return new CraftingStage(Obj);
}
/// <summary>
/// Stages this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public CraftingStage Stage()
{
LavishScriptObject Obj = GetMember("Stage");
return new CraftingStage(Obj);
}
/// <summary>
/// Currents the recipe.
/// </summary>
/// <returns></returns>
public RefiningRecipe CurrentRecipe()
{
LavishScriptObject Obj = GetMember("CurrentRecipe");
return new RefiningRecipe(Obj);
}
/// <summary>
/// Recipes the specified name.
/// </summary>
/// <param name="Name">The name.</param>
/// <returns></returns>
public RefiningRecipe Recipe(string Name)
{
LavishScriptObject Obj = GetMember("CurrentRecipe", Name);
return new RefiningRecipe(Obj);
}
/// <summary>
/// Recipes the specified index.
/// </summary>
/// <param name="Index">The index.</param>
/// <returns></returns>
public RefiningRecipe Recipe(int Index)
{
LavishScriptObject Obj = GetMember("CurrentRecipe", Index.ToString());
return new RefiningRecipe(Obj);
}
/// <summary>
/// Useables the item.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public Item UseableItem(int Arg)
{
LavishScriptObject Obj = GetMember("UseableItem", Arg.ToString());
return new Item(Obj);
}
/// <summary>
/// Useables the item.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public Item UseableItem(string Arg)
{
LavishScriptObject Obj = GetMember("UseableItem", Arg);
return new Item(Obj);
}
/// <summary>
/// Number of item stacks currently on the table
/// </summary>
public int Table()
{
return GetMember<int>("Table");
}
/// <summary>
/// Tables the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public CraftingTableItem Table(int Arg)
{
LavishScriptObject Obj = GetMember("Table", Arg.ToString());
return new CraftingTableItem(Obj);
}
/// <summary>
/// Tables the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public CraftingTableItem Table(string Arg)
{
LavishScriptObject Obj = GetMember("Table", Arg);
return new CraftingTableItem(Obj);
}
/// <summary>
/// Complications the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public Complication Complication(int Arg)
{
LavishScriptObject Obj = GetMember("Complication", Arg.ToString());
return new Complication(Obj);
}
/// <summary>
/// Corrections the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public Correction Correction(int Arg)
{
LavishScriptObject Obj = GetMember("Correction", Arg.ToString());
return new Correction(Obj);
}
/// <summary>
/// Begins this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public bool Begin()
{
return ExecuteMethod("Begin");
}
/// <summary>
/// Changes the toolbelt.
/// </summary>
/// <param name="ToolbeltID">The toolbelt ID.</param>
/// <returns></returns>
public bool ChangeToolbelt(int ToolbeltID)
{
return ExecuteMethod("ChangeToolbelt", ToolbeltID.ToString());
}
/// <summary>
/// Adds the item to table.
/// </summary>
/// <param name="ItemID">The item ID.</param>
/// <returns></returns>
public bool AddItemToTable(int ItemID)
{
return ExecuteMethod("AddItemToTable", ItemID.ToString());
}
/// <summary>
/// Does the setup.
/// </summary>
/// <returns></returns>
public bool DoSetup()
{
return ExecuteMethod("DoSetup");
}
/// <summary>
/// Starts this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public bool Start()
{
return ExecuteMethod("Start");
}
/// <summary>
/// Cancels this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public bool Cancel()
{
return ExecuteMethod("Cancel");
}
/// <summary>
/// Selects this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public bool Select()
{
return ExecuteMethod("Select");
}
/// <summary>
/// Ends this <see cref="Refining"/>.
/// </summary>
/// <returns></returns>
public bool End()
{
return ExecuteMethod("End");
}
}
}