MapleServer2
MapleServer2 copied to clipboard
Project style
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)