public void OnDecline(HabboHelper Helper) { DeclinedHelpers.Add(Helper); var newhelper = HelperToolsManager.GetHelpersToCase(this).FirstOrDefault(); if (newhelper != null) { HelperToolsManager.InvinteHelpCall(newhelper, this); } else { Session.SendMessage(new CallForHelperErrorComposer(1)); HelperToolsManager.RemoveCall(this); } }
public static HabboHelper AddHelper(GameClient Session, bool IsHelper, bool IsGard, bool IsGuide) { var h = GetHelper(Session); if (h != null) { return(h); } Session.GetHabbo().OnHelperDuty = true; h = new HabboHelper(Session, IsGuide, IsHelper, IsGard); Helpers.Add(h); return(h); }
public static void InvinteHelpCall(HabboHelper Helper, HelperCase hcase) { Helper.InvinteCase = hcase; Helper.Session.SendMessage(new CallForHelperWindowComposer(true, hcase)); hcase.Helper = Helper; }
public static void RemoveHelper(HabboHelper client) { Helpers.Remove(client); }