[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Assembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Completes a DataBuffer implementation with the additional
data used by the BNCS protocol.
Namespace:
MBNCSUtilAssembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Syntax
| C# |
|---|
public class BncsReader : DataReader |
| Visual Basic (Declaration) |
|---|
Public Class BncsReader _ Inherits DataReader |
| Visual C++ |
|---|
public ref class BncsReader : public DataReader |
Remarks
When using this class with a Stream, the BncsReader only takes the next packet's data off of the stream. An ideal example of this would be when using a NetworkSteam to connect to Battle.net. Incidentally, this constructor and method will block execution until new data has arrived. Therefore, if your main receiving loop is going to use these methods, it should be on a background worker loop.