private static void ProcessMessengerInit(Habbo sender, IncomingMessage message) { MessengerObject messenger = CreateMessenger( sender); sender.SetInstanceVariable("Messenger.Instance", messenger); sender.SetInstanceVariable("Messenger.WaitingUpdateMessage", new MMessengerUpdate()); new MMessengerInit { Categories = messenger.GetAllCategories(), Friends = messenger.GetAllFriends(), UnknownA = 10, UnknownB = 20, UnknownC = 30, }.Send(sender); if (OnMessengerReady != null) { OnMessengerReady.Invoke(messenger, new MessengerEventArgs(sender)); } }