Пример #1
0
 public InternalTarget(ContractSetupGump gump, RentalContract contract, TargetType type, Point3D point) : base(20, true, TargetFlags.None)
 {
     m_Gump     = gump;
     m_Contract = contract;
     m_Type     = type;
     m_BoundOne = point;
 }
Пример #2
0
        public static bool HasOtherContract(BaseHouse house, RentalContract contract)
        {
            foreach (Item item in TownHouseSign.AllSigns)
            {
                if (item is RentalContract && item != contract && house == ((RentalContract)item).ParentHouse)
                {
                    return(true);
                }
            }

            return(false);
        }
Пример #3
0
 public InternalTarget(ContractSetupGump gump, RentalContract contract, TargetType type) : this(gump, contract, type, Point3D.Zero)
 {
 }
Пример #4
0
        public ContractSetupGump(Mobile m, RentalContract contract) : base(m, 50, 50)
        {
            m.CloseGump(typeof(ContractSetupGump));

            m_Contract = contract;
        }
Пример #5
0
        public ContractConfirmGump(Mobile m, RentalContract rc) : base(m, 100, 100)
        {
            m.CloseGump(typeof(ContractConfirmGump));

            m_Contract = rc;
        }
Пример #6
0
 public RentalContractCopy(RentalContract contract)
 {
     Name       = "rental contract copy";
     ItemID     = 0x14F0;
     m_Contract = contract;
 }