-
Notifications
You must be signed in to change notification settings - Fork 0
/
DialogString.cs
55 lines (50 loc) · 1.14 KB
/
DialogString.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
using System;
using System.Collections.Generic;
using System.Text;
using EVE.ISXEVE.Extensions;
using InnerSpaceAPI;
using LavishScriptAPI;
namespace EVE.ISXEVE
{
/// <summary>
/// Wrapper for the dialogstring data type.
/// </summary>
public class DialogString : LavishScriptObject
{
#region Constructors
/// <summary>
/// DialogString copy constructor.
/// </summary>
/// <param name="Obj"></param>
public DialogString(LavishScriptObject Obj)
: base(Obj)
{
}
#endregion
#region Members
public Int32 ID
{
get { return this.GetInt("ID"); }
}
/// <summary>
/// Wrapper for the Text member of a dialogstring type.
/// </summary>
public string Text
{
get { return this.GetString("Text"); }
}
#endregion
#region Methods
/// <summary>
/// Wrapper for the Say method of a dialogstring type.
/// </summary>
/// <param name="ToWhomID"></param>
/// <returns></returns>
public bool Say(int ToWhomID)
{
Tracing.SendCallback("DialogString.Say", ToWhomID.ToString());
return ExecuteMethod("Say", ToWhomID.ToString());
}
#endregion
}
}