public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event) { ServerMessage Message = new ServerMessage(Outgoing.ToggleGuideTicketTyping); //Rootkit Message.AppendBoolean(Event.PopWiredBoolean()); Essential.GetGame().GetGuideManager().GetTicket(Session.GetHabbo().Id).SendToOther(Message, Session.GetHabbo().Id); }
public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event) { if (!Session.GetHabbo().IsGuide) { return; } bool onDuty = Event.PopWiredBoolean(); Essential.GetGame().GetGuideManager().ToggleState(onDuty, Session.GetHabbo().Id); ServerMessage GuideTool = new ServerMessage(Outgoing.SerializeGuideTool); //Rootkit GuideTool.AppendBoolean(Essential.GetGame().GetGuideManager().OnDuty(Session.GetHabbo().Id)); //Im dienst? GuideTool.AppendInt32(Essential.GetGame().GetGuideManager().GuidesOnDutyCount); //Helper im Dienst GuideTool.AppendInt32(0); //Guardians on Duty (WILL NEVER EXIST!!) Session.SendMessage(GuideTool); }