-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAion.cs
82 lines (77 loc) · 2.53 KB
/
Aion.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
using System;
using System.Collections.Generic;
using System.Text;
using InnerSpaceAPI;
using LavishScriptAPI;
namespace Aion.isxAion
{
public class Aion : LavishScriptObject
{
#region Constructors
public Aion(LavishScriptObject Obj)
: base(Obj)
{
}
public Aion()
: base(LavishScript.Objects.GetObject("Aion"))
{
}
#endregion
#region Members
public bool BlockingAntiAFK
{
get
{
return GetMember<bool>("BlockingAntiAFK");
}
}
/// <summary>
/// The heading from you to (ToX,ToY,...)
/// </summary>
public float HeadingTo(float ToX, float ToY)
{
return GetMember<float>("HeadingTo",ToX.ToString(),ToY.ToString());
}
/// <summary>
/// The heading from you to (ToX,ToY,...)
/// </summary>
public float Bearing(float ToX, float ToY)
{
return GetMember<float>("Bearing", ToX.ToString(), ToY.ToString());
}
/// <summary>
/// The heading from (FromX,FromY,...) to (ToX,ToY,...)
/// </summary>
public float HeadingTo(float FromX, float FromY, float ToX, float ToY)
{
return GetMember<float>("HeadingTo", FromX.ToString(), FromY.ToString(), ToX.ToString(), ToY.ToString());
}
/// <summary>
/// The heading from (FromX,FromY,...) to (ToX,ToY,...)
/// </summary>
public float Bearing(float FromX, float FromY, float ToX, float ToY)
{
return GetMember<float>("Bearing", FromX.ToString(), FromY.ToString(), ToX.ToString(), ToY.ToString());
}
#endregion
#region Methods
/// <summary>
/// *TOGGLE* This setting is persistant.
/// </summary>
public bool BlockAntiAFK()
{
return ExecuteMethod("BlockAntiAFK");
}
/// <summary>
/// If no optional parameters are used, then the given List is filled with an array
/// of entities visible to the client at the point of creation (sorted by distance.)
/// The optional parameters can be anything typically used with the entity search
/// routines (including 'sorting' parameters).
/// </summary>
public List<Entity> GetEntities(params string[] Args)
{
return Util.GetListFromMethod<Entity>(this, "GetEntities", "entity", Args);
}
#endregion
}
}