-
What does com.sulake.habbo.communication.parser do?
Sulake has 3 messages folders
incoming
parsers
outgoing
what do they do exactly?
Does incoming call outgoing then outgoing calls parser which contains actual code?
-
-
Member
Re: What does com.sulake.habbo.communication.parser do?
Outgoing does nothing have to do with Incoming. When needed they use Outgoing to send messages/information to the emulator. When the SWF gets a packet from the emulator, the swf chooses the correct class in the incoming folder by packet id. This class basically inherits a parser. The parser "parses" the incoming packet and fetches the needed packet-parts (int, string, short ...). So the parsers contains the definiton of the parameters to handle the incoming packet correctly. The incoming classes are just wrappers and doesn't have any logic.
-
Re: What does com.sulake.habbo.communication.parser do?
Well I know how Incoming and Outgoing work, but I was just asking how Parser comes into play, but I figured it out, thanks anyway.