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

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

            MaxItems = 15;

            Movable = false;
        }
Exemplo 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);
        }