Пример #1
0
 public static ItemBag CreateBag()
 {
     var bag = new Database.Records.ItemBagRecord();
     bag.ID = m_currentId;
     bag.Engine.Record = bag;
     m_currentId++;
     return bag.Engine;
 }
Пример #2
0
        public static ItemBag CreateBag()
        {
            var bag = new Database.Records.ItemBagRecord();

            bag.ID            = m_currentId;
            bag.Engine.Record = bag;
            m_currentId++;
            return(bag.Engine);
        }
Пример #3
0
 public ItemBag(ItemBagRecord record)
 {
     this.Record = record;
 }