Rutherther / NosSmooth

Nostale bot library written in C#. May describe the current state of the game/character from packets. Multiple sources available for capturing the packets from running game.
MIT License
6 stars 3 forks source link

Add raw nostale client #65

Closed Rutherther closed 1 year ago

Rutherther commented 1 year ago

Currently there is only INostaleClient that works both with raw packets and managed deserilized packets.

There are use cases where deserialized packets are not important for us and the parsing errors, overhead is not worth it.

Rutherther commented 1 year ago

This could lead to splitting Core library in two and getting rid of packet dependency? Is that desired?

INostaleClient
  ReceivePacket(string)
  SendPacket(string)
  SendCommand(ICommand)

ManagedNostaleClient(INostaleClient) : INostaleClient
  SendPacket(IPacket)
  ReceivePacket(IPacket)