MapleServer2 icon indicating copy to clipboard operation
MapleServer2 copied to clipboard

Project style

Open AngeloTadeucci opened this issue 2 years ago • 0 comments

MapleServer2

Handlers

  • All must implement LogUnknownMode if they have multiple modes.
  • All modes must be separated into different methods.
  • All must be stateless.

Packets

  • Only use one file per Send/Recv OP.
  • All modes must have their own method with an enum for the mode byte.

GameDataParser

  • Don't import MapleServer2 into GameDataParser project.
  • Metadatas must be readonly or init-only. You can use record for that.

Maple2Storage

  • Files that can be used by GameDataParser and MapleServer2 should live here. (e. g.: Metadata files)

AngeloTadeucci avatar Jul 05 '22 21:07 AngeloTadeucci