-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPet.cs
97 lines (86 loc) · 2.89 KB
/
Pet.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
using System;
using LavishScriptAPI;
namespace Vanguard.ISXVG
{
/// <summary>
///
/// </summary>
public class Pet : LavishScriptObject
{
/// <summary>
/// Initializes a new instance of the <see cref="Pet"/> class.
/// </summary>
/// <param name="Obj">The obj.</param>
public Pet(LavishScriptObject Obj) : base(Obj) {}
/// <summary>
/// Initializes a new instance of the <see cref="Pet"/> class.
/// </summary>
public Pet() : base(LavishScript.Objects.GetObject("Pet")) {}
/// <summary>
/// Gets the name of this <see cref="Pet"/>.
/// </summary>
/// <value>The name.</value>
public string Name { get { return GetMember<string>("Name"); } }
/// <summary>
/// Gets the ID of this <see cref="Pet"/>.
/// </summary>
/// <value>The ID.</value>
public Int64 ID { get { return GetMember<Int64>("ID"); } }
/// <summary>
/// Gets the health of this <see cref="Pet"/>.
/// </summary>
/// <value>The health.</value>
public float Health { get { return GetMember<float>("Health"); } }
/// <summary>
/// Gets the ability count of this <see cref="Pet"/>.
/// </summary>
/// <value>The ability count.</value>
public int AbilityCount { get { return GetMember<int>("AbilityCount"); } }
/// <summary>
/// Defaults the ability.
/// </summary>
/// <returns></returns>
public PetAbility DefaultAbility()
{
LavishScriptObject Obj = GetMember("DefaultAbility");
return new PetAbility(Obj);
}
/// <summary>
/// Toes the pawn.
/// </summary>
/// <returns></returns>
public Pawn ToPawn()
{
LavishScriptObject Obj = GetMember("ToPawn");
return new Pawn(Obj);
}
/// <summary>
/// Abilities this <see cref="Pet"/>.
/// </summary>
/// <returns></returns>
public int Ability()
{
return GetMember<int>("Ability");
}
/// <summary>
/// Abilities the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public PetAbility Ability(int Arg)
{
LavishScriptObject Obj = GetMember("Ability", Arg.ToString());
return new PetAbility(Obj);
}
/// <summary>
/// Abilities the specified arg.
/// </summary>
/// <param name="Arg">The arg.</param>
/// <returns></returns>
public PetAbility Ability(string Arg)
{
LavishScriptObject Obj = GetMember("Ability", Arg);
return new PetAbility(Obj);
}
}
}