Esempio n. 1
0
        public PVPGump(ScriptMobile from, PVPStone stone)
            : base("", 0, 0)
        {
            m_From  = from;
            m_Stone = stone;

            m_From.CloseGump(typeof(PVPGump));

            AddBackground(0, 0, 400, 130, 5054);

            // Rejoindre un Event.
            AddButton(x, y + (line * scale), 0xFAE, 0xFB0, 1, GumpButtonType.Reply, 0);
            AddHtml(x + 100, y + (line * scale), 150, 20, "<h3> Rejoindre un event </h3>", false, false);

            line++;

            // Creer un Event.
            AddButton(x, y + (line * scale), 0xFAE, 0xFB0, 2, GumpButtonType.Reply, 0);
            AddHtml(x + 100, y + (line * scale), 150, 20, "<h3> Créer un event </h3>", false, false);
        }
Esempio n. 2
0
 public PVPGumpCreation(ScriptMobile from, PVPStone stone)
     : this(from, PVPEvent.CreateEvent(from, stone))
 {
 }