Esempio n. 1
0
        public UOACZStockpileContainer(string accountName) : base()
        {
            Name = "";

            m_AccountName  = accountName;
            m_AccountEntry = UOACZPersistance.FindUOACZAccountEntryByAccountName(m_AccountName);

            MaxItems = 15;

            Movable = false;
        }
Esempio n. 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            //Version 0
            if (version >= 0)
            {
                m_AccountName = reader.ReadString();
            }

            //--------

            m_AccountEntry = UOACZPersistance.FindUOACZAccountEntryByAccountName(m_AccountName);
        }