-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPetAbility.cs
92 lines (80 loc) · 2.85 KB
/
PetAbility.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
using LavishScriptAPI;
namespace Vanguard.ISXVG
{
/// <summary>
///
/// </summary>
public class PetAbility : LavishScriptObject
{
/// <summary>
/// Initializes a new instance of the <see cref="PetAbility"/> class.
/// </summary>
/// <param name="Obj">The obj.</param>
public PetAbility(LavishScriptObject Obj)
: base(Obj) {}
/// <summary>
/// Initializes a new instance of the <see cref="PetAbility"/> class.
/// </summary>
public PetAbility()
: base(LavishScript.Objects.GetObject("PetAbility")) {}
/// <summary>
/// Gets the name of this <see cref="PetAbility"/>.
/// </summary>
/// <value>The name.</value>
public string Name { get { return GetMember<string>("Name"); } }
/// <summary>
/// Gets the description of this <see cref="PetAbility"/>.
/// </summary>
/// <value>The description.</value>
public string Description { get { return GetMember<string>("Description"); } }
/// <summary>
/// Gets a value indicating whether this <seealso cref="PetAbility"/> is ready.
/// </summary>
/// <value>
/// <c>true</c> if this <seealso cref="PetAbility"/> is ready; otherwise, <c>false</c>.
/// </value>
public bool IsReady { get { return GetMember<bool>("IsReady"); } }
/// <summary>
/// Gets the recovery time of this <see cref="PetAbility"/>.
/// </summary>
/// <value>The recovery time.</value>
public float RecoveryTime { get { return GetMember<float>("RecoveryTime"); } }
/// <summary>
/// Gets the icon ID of this <see cref="PetAbility"/>.
/// </summary>
/// <value>The icon ID.</value>
public int IconID { get { return GetMember<int>("IconID"); } }
/// <summary>
/// Gets the type of this <see cref="PetAbility"/>.
/// </summary>
/// <value>The type.</value>
public int Type { get { return GetMember<int>("Type"); } }
/// <summary>
/// Gets this as an Ability datatype.
/// </summary>
public Ability ToAbility
{
get
{
LavishScriptObject Obj = GetMember("ToAbility");
return new Ability(Obj);
}
}
/// <summary>
/// Uses this <see cref="PetAbility"/>.
/// </summary>
/// <returns></returns>
public bool Use()
{
return ExecuteMethod("Use");
}
/// <summary>
/// Makes the default.
/// </summary>
/// <returns></returns>
public bool MakeDefault()
{
return ExecuteMethod("MakeDefault");
}
}
}