Esempio n. 1
0
            public void SetEnd(DateTime end)
            {
                m_EndTime = end;
                OnTick();

                if (m_Game.m_UseGump)
                {
                    m_Game.SendGMGump();
                    m_Game.SendPlayerGumps();
                }
            }
Esempio n. 2
0
 public static void RemoveCustomMessage(BaseGame game, CustomGumpItem item)
 {
     if (m_CustomGameFields.ContainsKey(game))
     {
         m_CustomGameFields[game].Remove(item);
     }
     game.SendPlayerGumps();
 }
Esempio n. 3
0
 public static void AddCustomMessage(BaseGame game, CustomGumpItem item)
 {
     if (m_CustomGameFields.ContainsKey(game))
     {
         m_CustomGameFields[game].Add(item);
     }
     else
     {
         List <CustomGumpItem> list = new List <CustomGumpItem>();
         list.Add(item);
         m_CustomGameFields.Add(game, list);
     }
     game.SendPlayerGumps();
 }
Esempio n. 4
0
 public static void RemoveCustomMessage(BaseGame game, CustomGumpItem item)
 {
     if (m_CustomGameFields.ContainsKey(game))
         m_CustomGameFields[game].Remove(item);
     game.SendPlayerGumps();
 }
Esempio n. 5
0
 public static void AddCustomMessage(BaseGame game, CustomGumpItem item)
 {
     if (m_CustomGameFields.ContainsKey(game))
         m_CustomGameFields[game].Add(item);
     else
     {
         List<CustomGumpItem> list = new List<CustomGumpItem>();
         list.Add(item);
         m_CustomGameFields.Add(game, list);
     }
     game.SendPlayerGumps();
 }
Esempio n. 6
0
 protected override void OnTick()
 {
     m_Game.GameMaster.SendGump(new BaseGameGump(m_Game.GameMaster, m_Game));
     m_Game.SendPlayerGumps();
 }