This repository has been archived by the owner on Jan 9, 2019. It is now read-only.
/
clsGlyph.vb
66 lines (55 loc) · 2.95 KB
/
clsGlyph.vb
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
' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Lesser General Public License (LGPL) Version 3.0.
Imports roncliProductions.LibWowAPI.Enums
Namespace roncliProductions.LibWowAPI.Data.Talents
''' <summary>
''' A class containing information about a glyph.
''' </summary>
''' <remarks>Information about a glyph can be retrieved from this class.</remarks>
Public Class Glyph
''' <summary>
''' The ID number of the glyph.
''' </summary>
''' <value>This property gets or sets the Glyph field.</value>
''' <returns>Returns the ID number of the glyph.</returns>
''' <remarks>Each glyph has its own ID number that is sepearate from its <see cref="Glyph.Item" /> number.</remarks>
Public Property Glyph As Integer
''' <summary>
''' The ID number of the item of the glyph.
''' </summary>
''' <value>This property gets or sets the Item field.</value>
''' <returns>Returns the ID number of the item of the glyph.</returns>
''' <remarks>This is the item ID number of the object used to teach this glyph.</remarks>
Public Property Item As Integer
''' <summary>
''' The name of the glyph.
''' </summary>
''' <value>This property gets or sets the Name field.</value>
''' <returns>Returns the name of the glyph.</returns>
''' <remarks>The name of the glyph doesn't necessarily name the ability it is modifying. Use the <see cref="Glyph.Item" /> ID number with the <see cref="LibWowAPI.Item.ItemLookup" /> class to learn more about the glyph.</remarks>
Public Property Name As String
''' <summary>
''' The path to the image of the glyph's icon on the server.
''' </summary>
''' <value>This property gets or sets the Icon field.</value>
''' <returns>Returns the path to the image of the glyph's icon on the server.</returns>
''' <remarks>The icon is stored on the server under the path http://<i>Base URL</i>/wow/icons/<i>size</i>/<i>Icon</i>.jpg. The Base URL is <i>region</i>.media.blizzard.com, except in China, where it is content.battlenet.com.cn. The size can be one of 18, 36, or 56.</remarks>
Public Property Icon As String
''' <summary>
''' The type of the glyph.
''' </summary>
''' <value>This property gets or sets the GlyphType field.</value>
''' <returns>Returns the type of glyph.</returns>
''' <remarks>This is a <see cref="GlyphType" /> enumeration that describes the type of glyph</remarks>
Public Property GlyphType As GlyphType
Friend Sub New(intGlyph As Integer, intItem As Integer, strName As String, strIcon As String, gtGlyphType As GlyphType)
Glyph = intGlyph
Item = intItem
Name = strName
Icon = strIcon
GlyphType = gtGlyphType
End Sub
End Class
End Namespace