-
Notifications
You must be signed in to change notification settings - Fork 14
/
DialogString.cs
56 lines (51 loc) · 1.21 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
56
using System;
using System.Collections.Generic;
using System.Text;
using EVE.ISXEVE.Extensions;
using InnerSpaceAPI;
using LavishScriptAPI;
using System.Globalization;
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(CultureInfo.CurrentCulture));
return ExecuteMethod("Say", ToWhomID.ToString(CultureInfo.CurrentCulture));
}
#endregion
}
}