RemoveEntry() public static méthode

public static RemoveEntry ( CampfireEntry entry ) : void
entry CampfireEntry
Résultat void
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                PlayerMobile pm = m_Entry.Player;

                m_CloseTimer.Stop();

                if (Campfire.GetEntry(pm) != m_Entry)
                {
                    return;
                }

                if (info.ButtonID == 1 && m_Entry.Safe && m_Bedroll.Parent == null && m_Bedroll.IsAccessibleTo(pm) &&
                    m_Bedroll.VerifyMove(pm) && m_Bedroll.Map == pm.Map && pm.InRange(m_Bedroll, 2))
                {
                    pm.PlaceInBackpack(m_Bedroll);

                    pm.BedrollLogout = true;
                    sender.Disconnect("Disconnected by logging with bedroll");
                }

                Campfire.RemoveEntry(m_Entry);
            }
Exemple #2
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                PlayerMobile pm = m_Entry.Player;

                m_CloseTimer.Stop();

                if (Campfire.GetEntry(pm) != m_Entry)
                {
                    return;
                }

                if (info.ButtonID == 1 && m_Entry.Safe && m_BlanketOfDarkness.Parent == null && m_BlanketOfDarkness.IsAccessibleTo(pm) &&
                    m_BlanketOfDarkness.VerifyMove(pm) && m_BlanketOfDarkness.Map == pm.Map && pm.InRange(m_BlanketOfDarkness, 2))
                {
                    pm.PlaceInBackpack(m_BlanketOfDarkness);

                    pm.BlanketOfDarknessLogout = true;
                    sender.Dispose();
                }

                Campfire.RemoveEntry(m_Entry);
            }
Exemple #3
0
 private void CloseGump()
 {
     Campfire.RemoveEntry(m_Entry);
     m_Entry.Player.CloseGump(typeof(LogoutGump));
 }
 private void CloseGump()
 {
     Campfire.RemoveEntry(m_Entry);
     m_Entry.Player.CloseGump <LogoutGump>();;
 }