You are browsing as a guest. Sign up (or log in) to start making projects!

6h 42m 30s logged

I do so much work that I forgot what to summarize here :cryign:
So before, everything is placed in TCPClient, which is fine for hard-coded packets.
But now, I’m making the dynamic packet translating for multiple version supports. And while making it, it need reference from TCPClient, then TCPClient need to a reference of it and so on…
So I have split the functionality into corresponding space. So now, each of class has its own responsibility:

  • TCPClient for throwing and receiving packets through TCP connection
  • VersionCodec for translating packets
  • Dispatcher for handling packet
  • SharedState for holding states
    So that is the whole update. Hope youre enjoy your day, also this project :D
0
17

Comments 0

No comments yet. Be the first!