This is experimental documentation.
Calculates the revision check for the specified files.
Declaration Syntax
Parameters
- valueString (String)
- The value string for the check revision function specified by Battle.net's SID_AUTH_INFO message.
- files (array<String>[]()[][])
- The list of files for the given game client. This parameter must be exactly three files long.
- mpqNumber (Int32)
- The number of the MPQ file. To extract this number, see the ExtractMPQNumber method.
Return Value
The checksum value.
Remarks
The file list for this is product-specific and order-specific:
Product | File list |
---|---|
Starcraft; Starcraft: Brood War |
|
Warcraft II: Battle.net Edition |
|
Diablo II; Diablo II: Lord of Destruction |
|
Warcraft III: The Reign of Chaos; Warcraft III: The Frozen Throne |
|
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the valueString or files parameters are null
(Nothing in Visual Basic). |
ArgumentOutOfRangeException | Thrown if the files parameter is not a 3-string array. |
FileNotFoundException | Thrown if one of the specified game files is not found. |
IOException | Thrown in the event of a general I/O error. |
Assembly: Asgard5Library (Module: Asgard5Library)