What does com.sulake.habbo.communication.parser do?

Results 1 to 3 of 3
  1. #1
    Proficient Member jaden83 is offline
    MemberRank
    Oct 2014 Join Date
    DESKTOP-2FLLV85Location
    176Posts

    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?


  2. #2
    Member Yannici is offline
    MemberRank
    Jan 2008 Join Date
    90Posts

    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.

  3. #3
    Proficient Member jaden83 is offline
    MemberRank
    Oct 2014 Join Date
    DESKTOP-2FLLV85Location
    176Posts

    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.



Advertisement