80O / PlusEMU

39 stars 26 forks source link

Merge GameClient and Habbo classes #49

Closed 80O closed 2 years ago

80O commented 2 years ago

As there is a lot of session.GetHabbo() going on, it might be wise to merge these classes together and load the Habbo data at SSOTicketEvent.

We can split the class into two files by making it partial. Note that they must be in the same namespace for that to work.

Once this is done, all session == null and session != null checks can be removed as there will always be a session for each packet handler.