This is experimental documentation.
Provides a parser for .bni files from Starcraft and Warcraft II: Battle.net Edition.

C# | Visual Basic | Visual C++ |
public sealed class BniFileParser : IDisposable
Public NotInheritable Class BniFileParser _ Implements IDisposable
public ref class BniFileParser sealed : IDisposable

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | BniFileParser(String) |
Creates a new BNI file parser to parse the specified file.
|
![]() | BniFileParser(Stream) |
Creates a new BNI file parser from the specified stream.
|
![]() | AllIcons |
Gets all icons and their associated metadata.
|
![]() | Dispose()()()() |
Disposes the object, freeing any managed and unmanaged resources.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FullImage |
Gets the full image.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString()()()() | (Inherited from Object.) |

It is incorrect to attempt to use this class to read a Warcraft III .BNI file. Those files are .MPQ files, and should be read using the MpqArchive class.

Object | |
![]() | BniFileParser |
Assembly: Asgard5Library (Module: Asgard5Library)