public void SetEnd(DateTime end) { m_EndTime = end; OnTick(); if (m_Game.m_UseGump) { m_Game.SendGMGump(); m_Game.SendPlayerGumps(); } }
public static void RemoveCustomMessage(BaseGame game, CustomGumpItem item) { if (m_CustomGameFields.ContainsKey(game)) { m_CustomGameFields[game].Remove(item); } game.SendPlayerGumps(); }
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(); }
public static void RemoveCustomMessage(BaseGame game, CustomGumpItem item) { if (m_CustomGameFields.ContainsKey(game)) m_CustomGameFields[game].Remove(item); game.SendPlayerGumps(); }
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(); }
protected override void OnTick() { m_Game.GameMaster.SendGump(new BaseGameGump(m_Game.GameMaster, m_Game)); m_Game.SendPlayerGumps(); }