This is the project for the Multiplayer Online RPG game. For the client, refer to (LINK SOON) repository.
[Client <-> Server] - Both uses their respective enumerators (ClientPackets/ServerPackets). By convention doing this, we can use a single strategy to handle messages.
{
"pkt": ClientPackets.WHICH,
"data": {}
}
{
"pkt": ServerPackets.WHICH,
"data": {}
}
src/
enums/*
types/*
structures/* -> structures used both by server and db.
database/* -> responsible for database abstractions.
handlers/* -> packet handlers for both received and sent packets.
scripts/* -> scripts to perform specific actions. used outside server.