ID

Uploaded

Status

Description

Work Items

Action

516
by Dihashi
Nov 30, 2007
4:50 PM

Being evaluated

This patch has the following files and changes:
ArmoryAuth.vb
- The definition of the ArmoryAuth class and all supporting functions/classes
ArmoryParser.vb
- Added GetAuthStream methods that use the ArmoryAuth class (this does need a .Net reference to be added to the project for System.Web)
- Added Public Shared Function GetGuildBankLog to fill out the placeholder implementation of the GuildBankLog class
- Added Protected Shared Function GetItemQualityEnumFromString to support GetGuildBankLog
- Added Protected Shared Function GetBankTransactionGoldSilverCopperFromString to support GetGuildBankLog
- Added Protected Shared Function GetBankTransactionTypeEnumFromString to support GetGuildBankLog
- Added Protected Friend Shared Function GetRegionPath(ByVal Region As RegionEnum, ByVal Secure As SecurityLevel) As String to facilitate generation of https/http region path strings
Collections.vb
- Added Public Class GuildBankTransactionCollection to facilitate the GuildBankTansaction list associated with GuildBankLog class
Enums.vb
- Added Public Enum SecurityLevel for use with new version of GetRegionPath
- Added Public Enum BankTranasctionType to support GuildBankLog class
Exception.vb
- Added Public Class ArmoryAuthNotAuthenticatedException for use in ArmoryAuth class
- Added Public Class GuildBankTransactionDateNotSetException for use in GuildBankLog class
- Added Public Class TransactionTypeNotValidException for use in GetGuildBankLog function
- Added Public Class ItemQualityNotValidExecption for use in GetGuildBankLog function
GuildBankLog.vb
- Created a custom class implemenation for parsing the GuildBank transaction log.

Auth Usage:
ArmoryAuth _ArmoryAuth = new ArmoryAuth();
Console.WriteLine("Autenticating to Armory...");
_ArmoryAuth.Authenticate("usr","pwd", RegionEnum.USA);
if (_ArmoryAuth.IsExpired){Console.WriteLine("Armory Authentication Failed"); return;}
GuildBankLog _Log = ArmoryParser.GetGuildBankLog(...

Download

View All
  • 1-1 of 1 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches