Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add challenge mode leaderboard APIs.

  • Loading branch information...
roncli committed Apr 11, 2014
1 parent 1d3bb24 commit 970752f6d7031ec5a92a3da08975a4149cb0ae16
Showing with 1,652 additions and 59 deletions.
  1. +4 −0 LibWowAPI/BattlePet/clsAbility.vb
  2. +4 −0 LibWowAPI/BattlePet/clsSpecies.vb
  3. +4 −0 LibWowAPI/BattlePet/clsSpeciesAbility.vb
  4. +4 −0 LibWowAPI/BattlePet/clsStats.vb
  5. +16 −0 LibWowAPI/Challenge/Schema/challengeRealm.vb
  6. +18 −0 LibWowAPI/Challenge/Schema/challengeRealmMap.vb
  7. +16 −0 LibWowAPI/Challenge/Schema/challengeRegion.vb
  8. +17 −0 LibWowAPI/Challenge/Schema/challengeRegionMap.vb
  9. +27 −0 LibWowAPI/Challenge/Schema/character.vb
  10. +20 −0 LibWowAPI/Challenge/Schema/emblem.vb
  11. +23 −0 LibWowAPI/Challenge/Schema/group.vb
  12. +22 −0 LibWowAPI/Challenge/Schema/guild.vb
  13. +22 −0 LibWowAPI/Challenge/Schema/map.vb
  14. +17 −0 LibWowAPI/Challenge/Schema/member.vb
  15. +20 −0 LibWowAPI/Challenge/Schema/realm.vb
  16. +21 −0 LibWowAPI/Challenge/Schema/spec.vb
  17. +21 −0 LibWowAPI/Challenge/Schema/timeSpan.vb
  18. +53 −0 LibWowAPI/Challenge/clsChallenge.vb
  19. +242 −0 LibWowAPI/Challenge/clsChallengeRealm.vb
  20. +27 −0 LibWowAPI/Challenge/clsChallengeRealmOptions.vb
  21. +220 −0 LibWowAPI/Challenge/clsChallengeRegion.vb
  22. +131 −0 LibWowAPI/Challenge/clsCharacter.vb
  23. +66 −0 LibWowAPI/Challenge/clsEmblem.vb
  24. +100 −0 LibWowAPI/Challenge/clsGroup.vb
  25. +82 −0 LibWowAPI/Challenge/clsGuild.vb
  26. +85 −0 LibWowAPI/Challenge/clsMap.vb
  27. +41 −0 LibWowAPI/Challenge/clsMember.vb
  28. +66 −0 LibWowAPI/Challenge/clsRealm.vb
  29. +73 −0 LibWowAPI/Challenge/clsSpec.vb
  30. +52 −27 LibWowAPI/LibWowAPI.vbproj
  31. +129 −26 LibWowAPIDemo/modMain.vb
  32. +9 −6 README.markdown
@@ -7,6 +7,10 @@ Imports System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.BattlePet

''' <summary>
''' A class containing information about a battle pet ability.
''' </summary>
''' <remarks>This class contains information about a battle pet ability.</remarks>
Public Class Ability

''' <summary>
@@ -8,6 +8,10 @@ Imports System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.BattlePet

''' <summary>
''' A class containing information about a battle pet species.
''' </summary>
''' <remarks>This class contains information about a battle pet species.</remarks>
Public Class Species

''' <summary>
@@ -7,6 +7,10 @@ Imports System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.BattlePet

''' <summary>
''' A class containing information about a specific battle pet species's ability.
''' </summary>
''' <remarks>This class contains information about a specific battle pet species's ability.</remarks>
Public Class SpeciesAbility
Inherits Ability

@@ -8,6 +8,10 @@ Imports roncliProductions.LibWowAPI.Enums

Namespace roncliProductions.LibWowAPI.BattlePet

''' <summary>
''' A class containing information about a battle pet's stats.
''' </summary>
''' <remarks>This class contains information about a battle pet's stats.</remarks>
Public Class Stats

''' <summary>
@@ -0,0 +1,16 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class challengeRealm

<DataMember()> Public Property challenge As challengeRealmMap()

End Class

End Namespace
@@ -0,0 +1,18 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class challengeRealmMap

<DataMember()> Public Property realm As Realm
<DataMember()> Public Property map As map
<DataMember()> Public Property groups As group()

End Class

End Namespace
@@ -0,0 +1,16 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class challengeRegion

<DataMember()> Public Property challenge As challengeRegionMap()

End Class

End Namespace
@@ -0,0 +1,17 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class challengeRegionMap

<DataMember()> Public Property map As map
<DataMember()> Public Property groups As group()

End Class

End Namespace
@@ -0,0 +1,27 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class character

<DataMember()> Public Property name As String
<DataMember()> Public Property realm As String
<DataMember()> Public Property battlegroup As String
<DataMember()> Public Property [class] As Integer
<DataMember()> Public Property race As Integer
<DataMember()> Public Property gender As Integer
<DataMember()> Public Property level As Integer
<DataMember()> Public Property achievementPoints As Integer
<DataMember()> Public Property thumbnail As String
<DataMember()> Public Property spec As spec
<DataMember()> Public Property guild As String
<DataMember()> Public Property guildRealm As String

End Class

End Namespace
@@ -0,0 +1,20 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class emblem

<DataMember()> Public Property icon As Integer
<DataMember()> Public Property iconColor As String
<DataMember()> Public Property border As Integer
<DataMember()> Public Property borderColor As String
<DataMember()> Public Property backgroundColor As String

End Class

End Namespace
@@ -0,0 +1,23 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class group

<DataMember()> Public Property ranking As Integer
<DataMember()> Public Property time As timeSpan
<DataMember()> Public Property [date] As String
<DataMember()> Public Property medal As String
<DataMember()> Public Property faction As String
<DataMember()> Public Property isRecurring As Boolean
<DataMember()> Public Property members As member()
<DataMember()> Public Property guild As guild

End Class

End Namespace
@@ -0,0 +1,22 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class guild

<DataMember()> Public Property name As String
<DataMember()> Public Property realm As String
<DataMember()> Public Property battlegroup As String
<DataMember()> Public Property level As Integer
<DataMember()> Public Property members As Integer
<DataMember()> Public Property achievementPoints As Integer
<DataMember()> Public Property emblem As emblem

End Class

End Namespace
@@ -0,0 +1,22 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class map

<DataMember()> Public Property id As Integer
<DataMember()> Public Property name As String
<DataMember()> Public Property slug As String
<DataMember()> Public Property hasChallengeMode As Boolean
<DataMember()> Public Property bronzeCriteria As timeSpan
<DataMember()> Public Property silverCriteria As timeSpan
<DataMember()> Public Property goldCriteria As timeSpan

End Class

End Namespace
@@ -0,0 +1,17 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class member

<DataMember()> Public Property character As character
<DataMember()> Public Property spec As spec

End Class

End Namespace
@@ -0,0 +1,20 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class realm

<DataMember()> Public Property name As String
<DataMember()> Public Property slug As String
<DataMember()> Public Property battlegroup As String
<DataMember()> Public Property locale As String
<DataMember()> Public Property timezone As String

End Class

End Namespace
@@ -0,0 +1,21 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class spec

<DataMember()> Public Property name As String
<DataMember()> Public Property role As String
<DataMember()> Public Property backgroundImage As String
<DataMember()> Public Property icon As String
<DataMember()> Public Property description As String
<DataMember()> Public Property order As Integer

End Class

End Namespace
@@ -0,0 +1,21 @@
' 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 System.Runtime.Serialization

Namespace roncliProductions.LibWowAPI.Challenge.Schema

<DataContract()> Friend Class timeSpan

<DataMember()> Public Property time As Integer
<DataMember()> Public Property hours As Integer
<DataMember()> Public Property minutes As Integer
<DataMember()> Public Property seconds As Integer
<DataMember()> Public Property milliseconds As Integer
<DataMember()> Public Property isPositive As Boolean

End Class

End Namespace
@@ -0,0 +1,53 @@
' 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 System.Collections.ObjectModel

Namespace roncliProductions.LibWowAPI.Challenge

''' <summary>
''' A class containing challenge mode leaderboards.
''' </summary>
''' <remarks>This class contains challenge mode leaderboards.</remarks>
Public Class Challenge

''' <summary>
''' The realm that the data for this challenge mode is for.
''' </summary>
''' <value>This property gets or sets the Realm field.</value>
''' <returns>Returns the realm that the data for this challenge mode is for.</returns>
''' <remarks>When this property is null, the challenge mode data is for the entire region.</remarks>
Public Property Realm As Realm

''' <summary>
''' The map that the data for this challenge mode is for.
''' </summary>
''' <value>This property gets or sets the Map field.</value>
''' <returns>Returns the map that the data for this challenge mode is for.</returns>
''' <remarks>This represents the map that the data for this challenge mode is for.</remarks>
Public Property Map As Map

Private colGroups As Collection(Of Group)
''' <summary>
''' The groups that have completed this challenge mode.
''' </summary>
''' <value>This property gets the Groups field.</value>
''' <returns>Returns the groups that have completed this challenge mode.</returns>
''' <remarks>This represents the groups that have completed this challenge mode.</remarks>
Public ReadOnly Property Groups As Collection(Of Group)
Get
Return colGroups
End Get
End Property

Friend Sub New(rRealm As Realm, mMap As Map, gGroups As Collection(Of Group))
Realm = rRealm
Map = mMap
colGroups = gGroups
End Sub

End Class

End Namespace

0 comments on commit 970752f

Please sign in to comment.
You can’t perform that action at this time.