Whired/jghost-portable — Issue #8: Packet Hardcoding
Author: Whired
Created: 2011-10-19 04:38:44+00:00
State: open

Packets should be registerable (IE Connection.registerPacket(Packet)).
This will resolve the design issue that relies on hardcoding packets.

Some packet definition interface could have final ints that will be used when adding a packet to some map.

Proposed patch: http://pastebin.com/vrc6q9uk