Skip to content

Solution setup

Bob edited this page Jun 30, 2020 · 2 revisions

The solution is set up in several projects, all with their own resposibility.

These projects are:

  • NetModuleWrapper
    C++ wrapper around MTA's (closed source) net library. The only purpose this project serves is setting up the network library, and sending and receiving packets to connected and from connected players.
  • MtaServer.Net
    C# wrapper around the C++ wrapper, using DllImports to call functions in the C++ wrapper.
  • MtaServer.Packets
    Packet definition for all reading and writing logic for MTA's packets. These only "speak" in native data types, and have no knowledge of elements and such.
  • MtaServer.Server
    The actual MTA server class library, this project will contain packet handling, the server class, and any related logic.
  • MtaServer.Console
    An example project, showing the usage of the MtaServer.Server library, with a console representation.
Clone this wiki locally